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 mov only be filled with 4 bytes in length?

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

Joined: 22 Jan 2019
Posts: 183

PostPosted: Tue Sep 15, 2020 7:19 am    Post subject: Can mov only be filled with 4 bytes in length? Reply with quote

Code:

alloc(newmem,1024)
...

newmem:
mov [address],1234567810......


I need to change the value in address to more than 4 bytes? Can it be done?
:?
Back to top
View user's profile Send private message
Dark Byte
Site Admin
Reputation: 472

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

PostPosted: Tue Sep 15, 2020 7:28 am    Post subject: Reply with quote

not directly for addresses
You can do:
Code:

mov [address],10......
mov [address+4],12345678


or
Code:

push rax
mov rax,1234567810........
mov [address],rax
pop rax

_________________
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
yazigegeda
Expert Cheater
Reputation: 0

Joined: 22 Jan 2019
Posts: 183

PostPosted: Tue Sep 15, 2020 7:55 am    Post subject: Reply with quote

Dark Byte wrote:
not directly for addresses
You can do:
Code:

mov [address],10......
mov [address+4],12345678


or
Code:

push rax
mov rax,1234567810........
mov [address],rax
pop rax


Code:

alloc(mem,1024)
.....
mem:
address:
db 8B FF 55 8B EC


Is there any way to write like this? :?
Back to top
View user's profile Send private message
MMM-304
Expert Cheater
Reputation: 0

Joined: 17 Aug 2020
Posts: 170
Location: Milkey Way

PostPosted: Tue Sep 15, 2020 10:25 am    Post subject: Reply with quote

after 4 bytes separation:

for 4 byte addresses
Code:
address:
 db 8B FF 55 8B EC
address+4:
  db //bytes
address+8:
  db //bytes


for 8 byte address
Code:
address:
 db 8B FF 55 8B EC
address+8:
  db //bytes
address+10:
  db //bytes
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