jnz originalcode
movsx ecx,byte ptr [eax+45]
mov ecx,#9999
push esi
jmp 0059A83F
originalcode:
movsx ecx,byte ptr [eax+45]
push esi
exit:
jmp returnhere
"San12PK.exe"+19A83A:
jmp newmem
returnhere:
[DISABLE]
//code from here till the end of the code will be used to disable the cheat
dealloc(newmem)
"San12PK.exe"+19A83A:
movsx ecx,byte ptr [eax+45]
push esi
//Alt: db 0F BE 48 45 56
以上是武力的脚本。
[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+46]
mov ecx,#9999
push esi
jmp 0059A8E2
originalcode:
movsx ecx,byte ptr [eax+46]
push esi
exit:
jmp returnhere
"San12PK.exe"+19A8DD:
jmp newmem
returnhere:
[DISABLE]
//code from here till the end of the code will be used to disable the cheat
dealloc(newmem)
"San12PK.exe"+19A8DD:
movsx ecx,byte ptr [eax+46]
push esi
//Alt: db 0F BE 48 46 56
以上是智力的脚本。