Cheat Engine Forum Index Cheat Engine
The Official Site of Cheat Engine
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 


modify fstp dword ptr [esi+00000394]

 
Post new topic   Reply to topic    Cheat Engine Forum Index -> Cheat Engine
View previous topic :: View next topic  
Author Message
hamza_ali
How do I cheat?
Reputation: 0

Joined: 06 Apr 2016
Posts: 8

PostPosted: Wed Apr 06, 2016 5:14 pm    Post subject: modify fstp dword ptr [esi+00000394] Reply with quote

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
View user's profile Send private message
hhhuut
Grandmaster Cheater
Reputation: 6

Joined: 08 Feb 2015
Posts: 607

PostPosted: Wed Apr 06, 2016 5:30 pm    Post subject: Reply with quote

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
View user's profile Send private message
Zanzer
I post too much
Reputation: 126

Joined: 09 Jun 2013
Posts: 3278

PostPosted: Wed Apr 06, 2016 6:15 pm    Post subject: This post has 1 review(s) Reply with quote

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
View user's profile Send private message
hamza_ali
How do I cheat?
Reputation: 0

Joined: 06 Apr 2016
Posts: 8

PostPosted: Thu Apr 07, 2016 3:50 am    Post subject: thanks sir Reply with quote

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
View user's profile Send private message
hhhuut
Grandmaster Cheater
Reputation: 6

Joined: 08 Feb 2015
Posts: 607

PostPosted: Thu Apr 07, 2016 4:07 am    Post subject: Reply with quote

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
View user's profile Send private message
hamza_ali
How do I cheat?
Reputation: 0

Joined: 06 Apr 2016
Posts: 8

PostPosted: Thu Apr 07, 2016 4:36 am    Post subject: thanks Reply with quote

thanks sir hhhuut and sir zanzer Very Happy
Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic   Reply to topic    Cheat Engine Forum Index -> Cheat Engine All times are GMT - 6 Hours
Page 1 of 1

 
Jump to:  
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


Powered by phpBB © 2001, 2005 phpBB Group

CE Wiki   IRC (#CEF)   Twitter
Third party websites