View previous topic :: View next topic |
Author |
Message |
hamza_ali How do I cheat?
Reputation: 0
Joined: 06 Apr 2016 Posts: 8
|
Posted: Wed Apr 06, 2016 5:14 pm Post subject: modify fstp dword ptr [esi+00000394] |
|
|
sir,
i am a new user of cheat engine i need some help to move this address
tried every thing to change fstp dword ptr [esi+0000000394] but nothing work plz help me out and can i find here any article in ehich i could find all this suffix meanings for example fstp .mov,etc
my game code is :
alloc(newmem,2048)
label(returnhere)
label(originalcode)
label(exit)
newmem: //this is allocated memory, you have read,write,execute access
//place your code here
originalcode:
fstp dword ptr [esi+00000394]
exit:
jmp returnhere
|
|
Back to top |
|
 |
hhhuut Grandmaster Cheater
Reputation: 6
Joined: 08 Feb 2015 Posts: 607
|
Posted: Wed Apr 06, 2016 5:30 pm Post subject: |
|
|
A list of all the x86 commands can be found here: http://x86.renejeschke.de/
What exactly do you want to achieve with your code injection?
|
|
Back to top |
|
 |
Zanzer I post too much
Reputation: 126
Joined: 09 Jun 2013 Posts: 3278
|
Posted: Wed Apr 06, 2016 6:15 pm Post subject: |
|
|
Code: | originalcode:
//fstp dword ptr [esi+00000394]
fstp st(0) // need to pop the stack since we commented out the previous
mov dword ptr [esi+394],(float)100.0 // need to cast the number to a float |
|
|
Back to top |
|
 |
hamza_ali How do I cheat?
Reputation: 0
Joined: 06 Apr 2016 Posts: 8
|
Posted: Thu Apr 07, 2016 3:50 am Post subject: thanks sir |
|
|
thanks sir ..
actually the code i mentioned is my health in a game i want to modify that fstp dword etc so that my health dnt go down i have changed the values of edx and eax in other games and it worked but i couldnt find a way to change or modify these fstp dword [etc] value that my health dnt go down ,.
|
|
Back to top |
|
 |
hhhuut Grandmaster Cheater
Reputation: 6
Joined: 08 Feb 2015 Posts: 607
|
Posted: Thu Apr 07, 2016 4:07 am Post subject: |
|
|
Code: | alloc(newmem,2048)
label(returnhere)
label(originalcode)
label(exit)
newmem: //this is allocated memory, you have read,write,execute access
fstp st(0)
fld dword ptr [esi+390] //let's assume that [esi+390] contains your maximum health
originalcode:
fstp dword ptr [esi+00000394]
exit:
jmp returnhere |
If your maximum health is always the same value then try Zanzer's solution ...
|
|
Back to top |
|
 |
hamza_ali How do I cheat?
Reputation: 0
Joined: 06 Apr 2016 Posts: 8
|
Posted: Thu Apr 07, 2016 4:36 am Post subject: thanks |
|
|
thanks sir hhhuut and sir zanzer
|
|
Back to top |
|
 |
|