[ENABLE]
//code from here to '[DISABLE]' will be used to enable the cheat
alloc(newmem,2048) //2kb should be enough
label(returnhere)
label(originalcode)
label(exit)
newmem:
cmp [eax+10C],4
jnz originalcode
movsx ecx,byte ptr [eax+47]
mov ecx,#9999
push esi
jmp 0059A9F2
originalcode:
movsx ecx,byte ptr [eax+47]
push esi
exit:
jmp returnhere
"San12PK.exe"+19A9ED:
jmp newmem
returnhere:
[DISABLE]
//code from here till the end of the code will be used to disable the cheat
dealloc(newmem)
"San12PK.exe"+19A9ED:
movsx ecx,byte ptr [eax+47]
push esi
//Alt: db 0F BE 48 47 56
以上是政治的脚本。