acast15 How do I cheat?
Reputation: 0
Joined: 28 Sep 2020 Posts: 1
|
Posted: Mon Sep 28, 2020 1:29 am Post subject: Need to set a value to an address (modifying 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.
Is this an array?
| Code: |
fstp dword ptr [esi*8+game.exe+B14710]
|
Here's the generated script (no changes made yet)
| Code: |
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)
|
|
|