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 :
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);
}