[ENABLE]
aobscanmodule(health,hl.dll,D8 64 24 64 D9 98 60 01 00 00)
alloc(newmem,$100)
label(code)
label(return)
newmem:
cmp [eax+104],0
jne code
fstp dword ptr [eax+00000160]
mov [eax+00000160],(float)100
jmp return
code:
fsub dword ptr [esp+64]
fstp dword ptr [eax+00000160]
jmp return
health:
jmp newmem
nop
nop
nop
nop
nop
return:
registersymbol(health)
[DISABLE]
health:
db D8 64 24 64 D9 98 60 01 00 00
unregistersymbol(health)
dealloc(newmem)
[ENABLE]
aobscanmodule(health,hl.dll,D8 64 24 64 D9 98 60 01 00 00)
alloc(newmem,$100)
label(code)
label(return)
newmem:
cmp [eax+104],0
jne code
fstp dword ptr [eax+00000160]
mov [eax+00000160],(float)100
jmp return
code:
fsub dword ptr [esp+64]
fstp dword ptr [eax+00000160]
jmp return
health:
jmp newmem
nop
nop
nop
nop
nop
return:
registersymbol(health)
[DISABLE]
health:
db D8 64 24 64 D9 98 60 01 00 00
unregistersymbol(health)
dealloc(newmem)