2Moons Hacks - GM detect script (CE)
Posted: October 25th, 2009, 8:43 am
[ENABLE]
alloc(DetectGM,512)
label(ReturnName)
registersymbol(DetectGM)
DetectGM:
cmp [eax+70],5D4D475B //[GM]
je 00000000
mov [esi+0c],00000000
jmp ReturnName
00553763: //C7 46 0C 00 00 00 00 89 47 04
jmp DetectGM
nop
nop
ReturnName:
[DISABLE]
dealloc(DetectGM)
unregistersymbol(DetectGM)
00553763:
mov [esi+0c],00000000
here you go
Edit: Credits go to Keith
alloc(DetectGM,512)
label(ReturnName)
registersymbol(DetectGM)
DetectGM:
cmp [eax+70],5D4D475B //[GM]
je 00000000
mov [esi+0c],00000000
jmp ReturnName
00553763: //C7 46 0C 00 00 00 00 89 47 04
jmp DetectGM
nop
nop
ReturnName:
[DISABLE]
dealloc(DetectGM)
unregistersymbol(DetectGM)
00553763:
mov [esi+0c],00000000
here you go
Edit: Credits go to Keith