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 


Moving a value from one address to another?

 
Post new topic   Reply to topic    Cheat Engine Forum Index -> Cheat Engine
View previous topic :: View next topic  
Author Message
Davethewave
Expert Cheater
Reputation: 0

Joined: 06 Mar 2005
Posts: 210

PostPosted: Wed Feb 28, 2007 2:27 am    Post subject: Moving a value from one address to another? Reply with quote

Hello, if I have two addresses like

0068F89A value blablabla1
and
00695026 value blablabla2

and I want to move 00695026's value INTO 0068F9A's address so that blablabla1 becomes a mirror of 00695026 and is then blablabla2 how would I do this without code injection since I don't yet understand it. I tried opening the browse memory region and changing the code at 0068f89a into jmp 00695026 thinking if there is a jmp command it will jump to the second value I desire but this didn't work out. If anyone can tell me the method of moving the second addresses value into the first address please let me know! Thanks!
Back to top
View user's profile Send private message
Dark Byte
Site Admin
Reputation: 475

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

PostPosted: Wed Feb 28, 2007 2:40 am    Post subject: Reply with quote

currently can only be done with code injection
Code:

alloc(mymem,1024)

mymem:
originalcode that was overwritten

push eax
mov eax,[00695026]
mov [0068F9A],eax
pop eax

jmp afterhookedaddress


oftenexecuteadaddress:
jmp mymem
afterhookedaddress:



I recommend using the code injection template of the auto assembler and give it the address of "oftenexecuteadaddress" so it fills in most code for you so you only need to put the stuff from push till pop in it

_________________
Tools give you results. Knowledge gives you control.

Like my help? Join me on Patreon so i can keep helping
Back to top
View user's profile Send private message MSN Messenger
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