Help! Help About Hook ARMv8-a

tienbm

Rookie
Pls help me how to solved it , i try to learning modding . With armv7 my Mshook working fine , but when i try to hook armv8-a with A64Hookfuntion , same function it got crash , pls help tks in advance !
Here is my code work on armv7-a , and crash on armv8-a hook :

Code:
int (*orig_get_HP)(void* instance, int a1);
int hook_get_HP(void* instance, int a1)
{
   if (instance != NULL)
{
    return 99999999;
}
    return orig_get_HP(instance, a1);
}
 
did you use the correct address?
did you compile it to 64bit
did you use just HOOK cause symbol isnt working.

not really the full code you posted here, i hope you already solved it and learned that you need to give more infos the next time you ask.

3/10 i give you
 
Back
Top Bottom