//Author : unlock375
[ENABLE]
aobscanmodule(OHK_aob,EDF5.exe,C7 81 90 02 00 00 00 00 80 3F 8B) // should be unique
alloc(OHK,2014,OHK_aob)
registersymbol(OHK_aob)
OHK:
cmp [rcx+218],0
jne @f
cmp [rcx+258],0
jne @f
mov [rcx+290],(float)1000000
jmp return
@@:
mov [rcx+00000290],3F800000
jmp return
OHK_aob:
jmp OHK
db 90 90 90 90 90
return:
[DISABLE]
OHK_aob:
db C7 81 90 02 00 00 00 00 80 3F
unregistersymbol(OHK_aob)
dealloc(OHK)
[ENABLE]
aobscanmodule(OHK_aob,EDF5.exe,C7 81 90 02 00 00 00 00 80 3F 8B) // should be unique
alloc(OHK,2014,OHK_aob)
registersymbol(OHK_aob)
OHK:
cmp [rcx+218],0
jne @f
cmp [rcx+258],0
jne @f
mov [rcx+290],(float)1000000
jmp return
@@:
mov [rcx+00000290],3F800000
jmp return
OHK_aob:
jmp OHK
db 90 90 90 90 90
return:
[DISABLE]
OHK_aob:
db C7 81 90 02 00 00 00 00 80 3F
unregistersymbol(OHK_aob)
dealloc(OHK)
