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 


Storing the addresses that an instruction writes to.

 
Post new topic   Reply to topic    Cheat Engine Forum Index -> General Gamehacking
View previous topic :: View next topic  
Author Message
Tatsu808
Newbie cheater
Reputation: 0

Joined: 15 Nov 2014
Posts: 20

PostPosted: Mon Feb 01, 2016 10:11 pm    Post subject: Storing the addresses that an instruction writes to. Reply with quote

Hi, in Fallout 4, I found an instruction which writes to all enemy Y coordinates. It is below:

Code:
movaps [rdi],xmm0


I believe that in the instruction above, xmm0 is a float value representing the enemy Y coordinate, and it is storing it in address [rdi]. I want to be able to capture each enemies' Y-coordinate on the map, so I did the following:

Code:

push eax
mov eax, [rdi]
mov [storage], eax
pop eax
movaps [rdi],xmm0


From the above, I thought that [storage] would contain rapidly changing values representing addresses of the enemy-y coordinates, however, this is not the case.... How do I capture all enemy-y coordinates from the instruction above without using "Find out what addresses this instruction accesses"?



rdiValue.png
 Description:
 Filesize:  17.59 KB
 Viewed:  2535 Time(s)

rdiValue.png




Last edited by Tatsu808 on Mon Feb 01, 2016 10:46 pm; edited 1 time in total
Back to top
View user's profile Send private message
Zanzer
I post too much
Reputation: 126

Joined: 09 Jun 2013
Posts: 3278

PostPosted: Mon Feb 01, 2016 10:14 pm    Post subject: Reply with quote

Code:
mov [storage],rdi
movaps [rdi],xmm0
Back to top
View user's profile Send private message
Tatsu808
Newbie cheater
Reputation: 0

Joined: 15 Nov 2014
Posts: 20

PostPosted: Mon Feb 01, 2016 10:27 pm    Post subject: Reply with quote

Thanks for the reply. Edit: I was being dumb. My [storage] does contain the addresses of the enemy y-coordinates afterall. Thanks!! +Repped.
Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic   Reply to topic    Cheat Engine Forum Index -> General Gamehacking 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