FIRESKY Cheater
Reputation: 0
Joined: 01 Mar 2017 Posts: 34
|
Posted: Wed Sep 04, 2019 1:51 pm Post subject: How to RESTORE a VALUE by Disabling The Same Script |
|
|
Hi everyone, I tried to modify this script by entering this value:
mov [rax+000000FC],(Float)550 "and everything works perfectly"
However when you disable the script, even though everything works correctly,
but the value remains 550 (Float), when normally it should be 268.5 (float)
Ultimately I need a method to make the value come back or be changed to 268.5 (float),
but what interests me most is that this happens by disabling the script itself.
would be very nice to have a practical example on my original script, in order to analyze the various errors I have made so far
[ENABLE]
aobscanmodule(BLABLA,game.exe,F3 0F 10 A0 FC 00 00 00)
alloc(newmem,$1000,"Game.exe"+1D8084B)
label(code)
label(return)
newmem:
code:
mov [rax+000000FC],(Float)550 // -> "Original Value Need Restore Is: 268.5" -> Original Code Is : movss xmm6,[rax+000000FC]
jmp return
BLABLA:
jmp newmem
nop 3
return:
registersymbol(BLABLA)
[DISABLE]
BLABLA:
db F3 0F 10 A0 FC 00 00 00
unregistersymbol(BLABLA)
dealloc(newmem)
Thank you in advance if someone can solve this problem!
|
|