money
Code: Select all
define(address,"Dishonored2.exe"+56E96A)
define(bytes,41 2B 80 70 01 00 00)
[ENABLE]
assert(address,bytes)
alloc(newmem,$1000,"Dishonored2.exe"+56E96A)
label(code)
label(return)
newmem:
mov [r8+00000170],0
code:
sub eax,[r8+00000170]
jmp return
address:
jmp newmem
nop
nop
return:
[DISABLE]
address:
db bytes
// sub eax,[r8+00000170]
dealloc(newmem)
-----------------------------------------
add dark vision range, should be work
Code: Select all
define(hook, "Dishonored2.exe"+577E60)
define(bytes, F3 41 0F 58 BE E8 00 00 00)
[ENABLE]
assert(hook, bytes)
alloc(newmem, $100, hook)
label(code)
label(return)
newmem:
dd (float)5
code:
movss xmm7, [newmem]
mov [r14+54],(float)5
mov [r14+60],(float)30
mov [r14+70],(float)30
mov [r14+90],(float)5
mov [r14+9c],(float)30
mov [r14+ac],(float)30
jmp return
hook:
jmp code
db 90 90 90 90
return:
[DISABLE]
hook:
db bytes
// addss xmm7,dword ptr [r14+000000E8]
dealloc(newmem)