Skip to main content
1 vote
Accepted

How to declare a constructor in reversed class?

A cleaner and safer(no mem leaks) solution to this problem would be: struct Game { // Define fields so that the size matches the original struct size using ConstructorT = Game*(__fastcall)...
KulaGGin's user avatar
  • 356
1 vote

How to declare a constructor in reversed class?

Here is the solution: The constructor can be called like this: gladius::GameStruct* thisptr = (gladius::GameStruct*)malloc(sizeof(gladius::GameStruct)); gladius::get().gameConstructor(thisptr);...
Irbis77's user avatar
  • 328
1 vote
Accepted

Using struct objects and constructors in hooked function

This is been resolved here: Link So, the solution is to introduce the class structure functionally the same as the original one and then use the original constructor function to populate it. If the ...
Irbis77's user avatar
  • 328
1 vote
Accepted

DetourAttach breaks with Illegal Instruction 0xC000001D

Fixed with using EasyHook instead of Detours. I.e. replaced this piece of code: writeProtectedMemory(hook.first, hook.second); auto result = DetourAttach(hook.first, hook.second); with this: ...
Irbis77's user avatar
  • 328
1 vote

analyze how data is read in android usb device

You have two possible approaches in here: Analyze the APK of the device, reverse engineer it and try to make sense of how it communicates with the USB device. Connect the USB device to a computer, ...
Abdullah Mohamed's user avatar
1 vote

Reverse Engineering API's of Browser games

This depends on the implementation of the game in the browser. The API is likely a RESTful API and the format for data exchange is likely JSON. A modern full stack web development course will often ...
pythonpython's user avatar

Only top scored, non community-wiki answers of a minimum length are eligible