Need to set a value to an address (modifying fstp)
Posted: Fri Oct 02, 2020 12:18 pm
I'm new to this kind scripting with fld and fstp. I'm working on a game and trying to set a certain float value to the current weapon the character is using. When I set the value, it affects everything else in the game. Hope someone can help me. Thanks
Is this an array?
Here's the generated script (no changes made yet)
Is this an array?
Code: Select all
fstp dword ptr [esi*8+game.exe+B14710]
Code: Select all
aobscanmodule(infAmmo,game.exe,D9 1C F5 10 47 F1 00)
alloc(newmem,$100)
label(code)
label(return)
newmem:
code:
fstp dword ptr [esi*8+game.exe+B14710] // SET VALUE HERE
jmp return
infAmmo:
jmp newmem
nop 2
return:
registersymbol(infAmmo)