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 


How i can Move value into memory for [eax]

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

Joined: 07 Jul 2021
Posts: 7
Location: EUA

PostPosted: Mon Dec 06, 2021 1:41 am    Post subject: How i can Move value into memory for [eax] Reply with quote

I'm trying to move the value to memory in [eax+68]. As Mov [eax+68], [x] doesn't work, is there how?

I need it to get the value that is in 0090D1E4 and move it into [eax+68].
can anyone help?

Code:

originalcode:
mov [eax+00000034],ecx
//new
mov [eax+00000068],0090D1E4
jmp exit

exit:
jmp returnhere

"Swaat.exe"+E51D0:
jmp newmem
nop
returnhere:
Back to top
View user's profile Send private message AIM Address Yahoo Messenger MSN Messenger
atom0s
Moderator
Reputation: 198

Joined: 25 Jan 2006
Posts: 8516
Location: 127.0.0.1

PostPosted: Mon Dec 06, 2021 2:01 am    Post subject: Reply with quote

You can use another register as temporary storage with push/pop.

Code:

push ecx
mov ecx, [0090D1E4]
mov [eax+68], ecx
pop ecx

_________________
- Retired.
Back to top
View user's profile Send private message Visit poster's website
Display posts from previous:   
Post new topic   Reply to topic    Cheat Engine Forum Index -> General programming 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