the process event adress
sopoka1999 opened this issue · 3 comments
how to get the process event adress?
(long)( *MyShooterWeapon + 0x230) = (long)WeaponProcessEvent;
To get the game original process event address, you change the address, you can Read(*MyShooterWeapon + 0x230) - (long)_dyld_get_image_header(0)
How do you know that *MyShooterWeapon + 0x230 is bound to this function. I only know to get the attributes of each class through the sdk? Thanks
because when you read the code in IDA or Ghidra, read any Server function for the game you are working on. For ARK, the process event address is stored at 0x230, while in other games it may be different. The server function finds the function pointer for process event by looking at that address, so in order to find it you can do the same.