Jump to content

Error on theos "getRealOffset"


Bellako23

2 posts in this topic

Recommended Posts

Posted


error i get: https://imgur.com/2mvw2hu

what im using

 

uint64_t getRealOffset(uint64_t offset){
return _dyld_get_image_vmaddr_slide(0)+offset;
}


void (* PlayerMovement_Update)(void *PlayerMovement);
void _PlayerMovement_Update(void *PlayerMovement) {
*(float *)((uint64_t)PlayerMovement + 0x74) = 100.0f;
PlayerMovement_Update(PlayerMovement);

}



%ctor {
MSHookFunction((void *)getRealOffset(0x1011D3888), (void *)_PlayerMovement_Update, (void **)&PlayerMovement_Update);
}

 

Archived

This topic is now archived and is closed to further replies.

×
  • Create New...

Important Information

We would like to place cookies on your device to help make this website better. The website cannot give you the best user experience without cookies. You can accept or decline our cookies. You may also adjust your cookie settings. Privacy Policy - Guidelines