ASM
Is there a way to put the following Cheat Engine script into a C# project?
[ENABLE]
aobscanmodule(AttackDelay,DCGAME.EXE,8B 50 3C C1 EA 03) // should be unique
alloc(newmem,$1000)
label(code)
label(return)
newmem:
code:
mov [eax+3C],#0
mov edx,[eax+3C]
shr edx,03
jmp return
AttackDelay:
jmp newmem
nop
return:
registersymbol(AttackDelay)
[DISABLE]
AttackDelay:
db 8B 50 3C C1 EA 03
unregistersymbol(AttackDelay)
dealloc(newmem)[ENABLE]
aobscanmodule(AttackDelay,DCGAME.EXE,8B 50 3C C1 EA 03) // should be unique
alloc(newmem,$1000)
label(code)
label(return)
newmem:
code:
mov [eax+3C],#0
mov edx,[eax+3C]
shr edx,03
jmp return
AttackDelay:
jmp newmem
nop
return:
registersymbol(AttackDelay)
[DISABLE]
AttackDelay:
db 8B 50 3C C1 EA 03
unregistersymbol(AttackDelay)
dealloc(newmem)