Jump to content

Sakanya

Newbie
  • Posts

    4
  • Joined

  • Last visited

Community Answers

  1. Sakanya's post in error: use of undeclared identifier 'mp' was marked as the answer   
    You're getting this error because the given example for hooking has not been updated to conform with the rest of the changes made to the library and template.
     
    You can work around this issue by trying the following :
    // You must do this if you're working with a 64-bit binary because of ASLR MSHookFunction((void*)(_dyld_get_image_vmaddr_slide(0) + 0x000000000), (void*)newFunction, (void**)&oldFunction); //Otherwise, you can omit "_dyld_get_image_vmaddr_slide(0)" MSHookFunction((void*)(0x000000000), (void*)newFunction, (void**)&oldFunction);  
    Moreover, if you're only applying a hook, you don't need to define offsets or patches. All you need is the label and description.
×
  • Create New...

Important Information

We would like to place cookies on your device to help make this website better. The website cannot give you the best user experience without cookies. You can accept or decline our cookies. You may also adjust your cookie settings. Privacy Policy - Guidelines