define(base,00E32F9D) //????ɻ???ת HOOK
[ENABLE]
//code from here to '[DISABLE]' will be used to enable the cheat
alloc(newmem,2048)
label(returnhere)
label(originalcode)
label(exit)
base-17:
db EB
//00AA7CA1 /75 07 jnz short 00AA7CAA
newmem: //this is allocated memory, you have read,write,execute access
//place your code here
pushad
add esi,4C
mov [esi+34],5
mov [esi+50],#1626880 //18D300
push esi
call 28CAA90//.? ?????ƶ?
popad
mov [esi+54],#1146805440 //445ADCC0
mov [esi+58],#6357093 // 610065
originalcode:
call eax
pop edi
pop esi
mov al,01
exit:
jmp returnhere
base+15:
jmp newmem
nop
returnhere:
[DISABLE]
//code from here till the end of the code will be used to disable the cheat
dealloc(newmem)
base+15:
call eax
pop edi
pop esi
mov al,01
//Alt: db FF D0 5F 5E B0 01
[ENABLE]
//code from here to '[DISABLE]' will be used to enable the cheat
alloc(newmem,2048)
label(returnhere)
label(originalcode)
label(exit)
base-17:
db EB
//00AA7CA1 /75 07 jnz short 00AA7CAA
newmem: //this is allocated memory, you have read,write,execute access
//place your code here
pushad
add esi,4C
mov [esi+34],5
mov [esi+50],#1626880 //18D300
push esi
call 28CAA90//.? ?????ƶ?
popad
mov [esi+54],#1146805440 //445ADCC0
mov [esi+58],#6357093 // 610065
originalcode:
call eax
pop edi
pop esi
mov al,01
exit:
jmp returnhere
base+15:
jmp newmem
nop
returnhere:
[DISABLE]
//code from here till the end of the code will be used to disable the cheat
dealloc(newmem)
base+15:
call eax
pop edi
pop esi
mov al,01
//Alt: db FF D0 5F 5E B0 01









