[ENABLE] alloc(newmem,2048) label(returnhere) label(originalcode) label(exit) newmem: originalcode: mov [ebp+5C],0B fstp dword ptr [esp+18] exit: jmp returnhere "PlantsVsZombies.exe"+9187C: jmp newmem nop nop returnhere: [DISABLE] dealloc(newmem) "PlantsVsZombies.exe"+9187C: mov [ebp+5C],eax fstp dword ptr [esp+18] 改射手 [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 mov [ESI+28],3 originalcode: fstp dword ptr [esi+2C] jne PlantsVsZombies.exe+16058A exit: jmp returnhere "PlantsVsZombies.exe"+1604E7: jmp newmem nop 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"+1604E7: fstp dword ptr [esi+2C] jne PlantsVsZombies.exe+16058A //Alt: db D9 5E 2C 0F 85 9A 00 00 00 秒杀的 改大嘴秒吞 [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: mov [edi+54],00 cmp dword ptr [edi+54],00 jne PlantsVsZombies.exe+85656 exit: jmp returnhere "PlantsVsZombies.exe"+855F1: jmp newmem nop returnhere: [DISABLE] //code from here till the end of the code will be used to disable the cheat dealloc(newmem) "PlantsVsZombies.exe"+855F1: cmp dword ptr [edi+54],00 jne PlantsVsZombies.exe+85656 //Alt: db 83 7F 54 00 75 5F