[ENABLE]
//code from here to '[DISABLE]' will be used to enable the cheat
alloc(newmem,2048)
label(returnhere)
label(originalcode)
label(exit)
newmem: //this is allocated memory, you have read,write,execute access
//place your code here
originalcode:
//je PlantsVsZombies.exe+13186B
jne PlantsVsZombies.exe+13186B
push esi
mov eax,ebp
exit:
jmp returnhere
"PlantsVsZombies.exe"+131861:
jmp newmem
returnhere:
[DISABLE]
//code from here till the end of the code will be used to disable the cheat
dealloc(newmem)
"PlantsVsZombies.exe"+131861:
je PlantsVsZombies.exe+13186B
push esi
mov eax,ebp
//Alt: db 75 08 56 8B C5
此代码将报纸僵尸类视为普通僵尸
[ENABLE]
//code from here to '[DISABLE]' will be used to enable the cheat
alloc(newmem,2048)
label(returnhere)
label(originalcode)
label(exit)
newmem: //this is allocated memory, you have read,write,execute access
//place your code here
originalcode:
//je PlantsVsZombies.exe+131856
jne PlantsVsZombies.exe+131856
test bl,01
exit:
jmp returnhere
"PlantsVsZombies.exe"+13183F:
jmp newmem
returnhere:
[DISABLE]
//code from here till the end of the code will be used to disable the cheat
dealloc(newmem)
"PlantsVsZombies.exe"+13183F:
je PlantsVsZombies.exe+131856
test bl,01
//Alt: db 75 15 F6 C3 01
此代码将血量归零
[ENABLE]
//code from here to '[DISABLE]' will be used to enable the cheat
alloc(newmem,2048)
label(returnhere)
label(originalcode)
label(exit)
newmem: //this is allocated memory, you have read,write,execute access
//place your code here
originalcode:
//sub edi,[esp+20]
xor edi,edi
mov [esp+1C],eax
exit:
jmp returnhere
"PlantsVsZombies.exe"+13130F:
jmp newmem
nop
nop
nop
returnhere:
[DISABLE]
//code from here till the end of the code will be used to disable the cheat
dealloc(newmem)
"PlantsVsZombies.exe"+13130F:
sub edi,[esp+20]
mov [esp+1C],eax
//Alt: db 2B 7C 24 20 89 44 24 1C