
[ENABLE]
//code from here to '[DISABLE]' will be used to enable the cheat
15c72cc://hook基址
jmp 00400F00//空白基址不用更新
nop
00400F00:
cmp dword ptr [ecx+00000720],00//这里过滤阵营 720阵营偏移
jne 00400F12
mov [ebp+10],00f4240//这里是倍数十六进制 倍数*100
jmp 00400F1B
mov [ebp+10],0000000//怪物打我们0血
nop
nop
mov [ebp-0000016c],eax//hook倍功偏移
push 15c72d2//hook基址+6
ret
nop
nop
[DISABLE]
//code from here till the end of the code will be used to disable the cheat
复制以上代码
//code from here to '[DISABLE]' will be used to enable the cheat
15c72cc://hook基址
jmp 00400F00//空白基址不用更新
nop
00400F00:
cmp dword ptr [ecx+00000720],00//这里过滤阵营 720阵营偏移
jne 00400F12
mov [ebp+10],00f4240//这里是倍数十六进制 倍数*100
jmp 00400F1B
mov [ebp+10],0000000//怪物打我们0血
nop
nop
mov [ebp-0000016c],eax//hook倍功偏移
push 15c72d2//hook基址+6
ret
nop
nop
[DISABLE]
//code from here till the end of the code will be used to disable the cheat

