Tutorial Basic Hooking Tutorial

Hi now i understand basic of hooking and patching but now i want to know if it's possible to just read an adress and toast it? Or moddify a type that something like this
Void method(SimSocial Media, int views)
So i found something like that i want to modify the views
Is it possible?
 
Hey, bro, help. I'm learning about hooking with mod-menu. I have a question. I don't understand the meaning of the two lines:
*(int *) ((uint64_t) instance + 0x30) = 5000;
MSHookFunction((void *)getAbsoluteAddress("libil2cpp.so", 0x00000), (void *) GameMode_Update, (void **) &old_GameMode_Update);
How can we know the offset(always 0?) of a Class to hook the field? And does the name of the hook method should be the same with the Class(GameMode_Update, old_GameMode_Update)?Can you offer me a full script of a game. Thank u very much.
 
I got it..but it seems for non il2cpp games.....what if I want to edit arm code through hxd for freeze?? Any specific code?? Can you explain?? Thanx for great tutorial
冻结的本质是循环修改,
while(boolean on-off){
//Control the start or close of the thread through the switch.
// do revise

Sleep(1000)
}
 
is this correct
 

Attachments

  • Screenshot_20221010_215857.jpg
    Screenshot_20221010_215857.jpg
    145.5 KB · Views: 229
Back
Top Bottom