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 


Can you guys explain these instructions to me?

 
Post new topic   Reply to topic    Cheat Engine Forum Index -> Cheat Engine
View previous topic :: View next topic  
Author Message
vng21092
Grandmaster Cheater
Reputation: 15

Joined: 05 Apr 2013
Posts: 644

PostPosted: Sat Jan 18, 2014 12:37 pm    Post subject: Can you guys explain these instructions to me? Reply with quote

I'm trying to find what affects gravity in modern warfare 3, so I found my Z coordinate and tried to find what accesses the address, I got the following instructions:

iw5sp.exe+22AEAD - D9 5B 08 - fstp dword ptr [ebx+08]
iw5sp.exe+A7342 - D9 5E 08 - fstp dword ptr [esi+08]
iw5sp.exe+DEEF9 - D9 5A 08 - fstp dword ptr [edx+08]
iw5sp.exe+A757C - D9 5E 08 - fstp dword ptr [esi+08]
iw5sp.exe+11E841 - D9 59 08 - fstp dword ptr [ecx+08]

I know fstp stores a float... or something like that? Can you guys explain what they do? Also, how do you find something like a max jump height value since it's constant?


iw5sp.exe+22AEAD - D9 5B 08 - fstp dword ptr [ebx+08]
^That's the one that runs when falling
Back to top
View user's profile Send private message
UnIoN
Expert Cheater
Reputation: 2

Joined: 17 May 2011
Posts: 146

PostPosted: Sat Jan 18, 2014 1:39 pm    Post subject: Reply with quote

you already know it, the value is getting stored at the pointed address
the value from the first floating pointer register stack st(0) is being written to [ebx+08], after that the value from st(0) is being deleted and the next values pops 1 point up
Back to top
View user's profile Send private message
vng21092
Grandmaster Cheater
Reputation: 15

Joined: 05 Apr 2013
Posts: 644

PostPosted: Sat Jan 18, 2014 2:17 pm    Post subject: Reply with quote

but [ebx+08] doesn't hold a value, it just points to other pointers


Back to top
View user's profile Send private message
Zaladine
Expert Cheater
Ban
Reputation: 3

Joined: 14 Oct 2012
Posts: 129
Location: Djokdja, Indonesia

PostPosted: Sat Jan 18, 2014 6:38 pm    Post subject: Reply with quote

It was actually a float value: 0x45988880 = 4881.0625

CE misinterpreted it as a pointer. It happens quite often...

_________________
... to boldly go where no eagle has gone before ...
Back to top
View user's profile Send private message
Dark Byte
Site Admin
Reputation: 470

Joined: 09 May 2003
Posts: 25806
Location: The netherlands

PostPosted: Sat Jan 18, 2014 6:57 pm    Post subject: Reply with quote

Yup it's a float, that's why CE asks you to let it GUESS the fields for you instead of asking to fill in the fields for you. (Pointer beats Float if the float value contains a part after the decimal, and pointer actually points to valid memory)

(Next ce version it KNOWS the field declaration for mono and .net apps)

_________________
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
Back to top
View user's profile Send private message MSN Messenger
vng21092
Grandmaster Cheater
Reputation: 15

Joined: 05 Apr 2013
Posts: 644

PostPosted: Sat Jan 18, 2014 7:10 pm    Post subject: Reply with quote

hmm well I tried adding the address to my address list anyway, under value theres a Hex value, which keeps fluctuating, so I tried changing it to some random value, all it did was flash my screen to a different location for like a split second and it went back to where it was before. Don't know what to make of that...
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