Joined: 09 May 2003 Posts: 25859 Location: The netherlands
Posted: Sat Dec 03, 2011 3:59 am Post subject:
dec [eax+40]: Decrease the 4 byte value stored at the address pointed to by eax+40 with 1
to decrease with 2 you can replace this instruction with "sub [eax+40],2"
Note that this instruction is 1 byte longer than the original so it will break the next line (mov eax,...)
To get by this you need to do a code injection.
Do that by selecting the dec [eax+40] line
press ctrl+a (or go to tools->auto assemble)
click template->code injection
Just press ok (the input address should already be set to the address of dec [eax+40] )
And now you can just change the dec [eax+40] line with sub [eax+40],2
and press execute to do the code injection _________________
Do not ask me about online cheats. I don't know any and wont help finding them.
Like my help? Join me on Patreon so i can keep helping
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum You cannot attach files in this forum You can download files in this forum