| MH00 Newbie cheater
 
 ![]() Reputation: 0 
 Joined: 29 Jul 2024
 Posts: 10
 Location: Ohio
 
 | 
			
				|  Posted: Mon Oct 28, 2024 10:39 pm    Post subject: How to mov/copy value within alloc of inject |   |  
				| 
 |  
				| I used aob inject to look at values of registers and would like to save last 3 values to try to spot some type of pattern. In my case the save of rsi works but my attempt to copy past values does not work 
  	  | Code: |  	  | newmem:
 mov [rsav00rsi]+16,[rsav00rsi]+8 // copy 2 previous values
 mov [rsav00rsi]+8,[rsav00rsi]
 mov [rsav00rsi],rsi
 
 | 
 I also tried
 
  	  | Code: |  	  | newmem:
 mov [rsav00rsi+16],[rsav00rsi+8] // copy 2 previous values
 mov [rsav00rsi+8],[rsav00rsi]
 mov [rsav00rsi],rsi
 
 | 
 
 Both failed with error below when I tried to save the code.
 I then  tried alloc some more 8 byte to do a save but it again fails.
 
  	  | Code: |  	  | newmem:
 mov [rsav00rsi2],[rsav00rsi1] // copy 2 previous values
 mov [rsav00rsi1],[rsav00rsi]
 mov [rsav00rsi],rsi
 
 | 
 
 So how can I mov/copy values (saved registers) inside an inject script using internal alloc memory???
 
 Here is error for above codes:
 
 
 
 
	
		
	 
		| Description: |  |  
		| Filesize: | 24.04 KB |  
		| Viewed: | 7949 Time(s) |  
		| 
  
 
 |  
 |  |