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: 
			
		
	
								
								
									
	
		
			
		
		
	
	
	
		
			
		
		
	
								
							
							 
	 
 
		