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

Solved HELP HOOK VOID

Status
Not open for further replies.

BeginnerBR

Solid & Active Platinian
I tried to make a void hook but it's not working can anyone tell if I'm wrong?
C++:
bool Climb;


void (*GravityClimb)(void *_this, float value);
void (*_Gravity)(void *player);
void Gravity(void *player) {
    if (player != NULL) {
        if (Climb) {
    GravityClimb(player, 1.0f);
        }
    }
    _Gravity(player);
}

GravityClimb = (void(*)(void *,float))getAbsoluteAddress("libil2cpp.so", 0xA62594);
   HOOK_LIB("libil2cpp.so","0xA64C08", Gravity, _Gravity);


case 10:
            Climb = boolean;
            break;
 
Last edited:
Status
Not open for further replies.