Solved Help me hook this I want to learn

Status
Not open for further replies.

Kurumi0343

Platinian
Original poster
May 25, 2022
14
2
3
20
Ph
I got 3 PlayerName
1654702040485.png

1654702049722.png

1654702058401.png


I think the GameData.PlayerInfo is the one i need but if i need to hook 3 i want to know how i can hook 3 function with same name with different offsets
 

Sevol

Retired Staff
Retired but loved <3
Jun 8, 2019
219
5,928
193
Russia
Just hook one void 3 times with different offset. Btw i dont think that these methods will work for you
 

alsya

Solid & Active Platinian
Oct 21, 2021
80
18
8
unknown
C++:
void (*playerNameOne)(void *in, monoString* name);
void (*playerNameTwo)(void *in, monoString* nama);

void *(*old_LateUpdate)(void *instance);
void _LateUpdate(void *instance){
if(contoh != NULL){
namapemainSatu(.....)
nama pemainDua(.....)
}
}
[/KODE]

sThat's roughly the basics, I didn't explain in detail, but first learn the hook function Set
 
  • Wow
Reactions: Kurumi0343
Status
Not open for further replies.