This is the AMP version of this page.
If you want to load the real page instead, click this text.

Help! Hook not working

fdsfsdf

Rookie
Can someone tell what is wrong with my hook it is not working. I did the same thing with frida and it worked so the offset is correct.

In the hack_thread:

Code:
    HOOK("libil2cpp.so",
         str2Offset("0x9D29D4"),
         LoginButton,
         old_LoginButton);


Functions
Code:
void (*old_LoginButton)(void *instance);
void LoginButton(void *instance) {
    enterBreach = true;
    LOGI("Login button Clicked!");
}

Login button Clicked! is never printed so I assume the LoginButton() is never run