| View previous topic :: View next topic   | 
	
	
	
		| Author | 
		Message | 
	
	
		Y-one How do I cheat?
  Reputation: 0
  Joined: 06 Jan 2025 Posts: 3
 
  | 
		
			
				 Posted: Mon Jan 06, 2025 8:07 am    Post subject: How to get multiple access addresses to the same code | 
				       | 
			 
			
				
  | 
			 
			
				please help me. I am new and I have a problem that when I use AOBscan to find the static address and get the value I need. But in the code that I need there are 3 addresses accessed and it always takes the value at the last address to display.
 
- For example:
 
In [rax+14] there are 3 addresses accessed at the same time:
 
- 23D83C3C104: 9898
 
- 23D83C3C014: 52
 
- 23DB4BF3A04: 6
 
I need all 3 of these addresses but when I use this code it always displays the last value as 6
 
 
 	  | Code: | 	 		  
 
[ENABLE]
 
 
aobscanmodule(INJECT,GameAssembly.dll,8B 68 14 F6 81 33 01 00 00 02) // should be unique
 
alloc(newmem,$1000,INJECT)
 
 
label(code)
 
label(return)
 
label(HOC)
 
registersymbol(HOC)
 
 
 
newmem:
 
  mov [HOC],rax
 
code:
 
  mov ebp,[rax+14]
 
  test byte ptr [rcx+00000133],02
 
  jmp return
 
HOC:
 
dd 0
 
 
INJECT:
 
  jmp newmem
 
  nop 5
 
return:
 
registersymbol(INJECT)
 
 
[DISABLE]
 
 
INJECT:
 
  db 8B 68 14 F6 81 33 01 00 00 02
 
 
unregistersymbol(INJECT)
 
unregistersymbol(HOC)
 
dealloc(newmem) | 	  
 
 
I create memory records with the addresses:
 
[HOC+14] 
 
 
Is there any way I can get all 3 or more values? Thanks a lot
	
  
	 
	
	
		
	 
	
		|  Description: | 
		
			
		 | 
	 
	
		|  Filesize: | 
		 183.66 KB | 
	 
	
		|  Viewed: | 
		 6060 Time(s) | 
	 
	
		
  
 
  | 
	 
	 
	 
 | 
			 
		  | 
	
	
		| Back to top | 
		 | 
	
	
		  | 
	
	
		Csimbi I post too much
  Reputation: 97
  Joined: 14 Jul 2007 Posts: 3327
 
  | 
		
			
				 Posted: Sat Jan 11, 2025 3:35 am    Post subject:  | 
				       | 
			 
			
				
  | 
			 
			
				If you want just one address, you need to implement a filter (a few checks) to see which address is correct.
 
If you want multiple addresses, you need to save them into an array - not recommended though.
 | 
			 
		  | 
	
	
		| Back to top | 
		 | 
	
	
		  | 
	
	
		Y-one How do I cheat?
  Reputation: 0
  Joined: 06 Jan 2025 Posts: 3
 
  | 
		
			
				 Posted: Tue Jan 14, 2025 10:24 pm    Post subject:  | 
				       | 
			 
			
				
  | 
			 
			
				 	  | Csimbi wrote: | 	 		  If you want just one address, you need to implement a filter (a few checks) to see which address is correct.
 
If you want multiple addresses, you need to save them into an array - not recommended though. | 	  
 
 
 
Yes, I know how to get 1 of the 3 values I want but is there a way I can get all three addresses using Aobscans?
 | 
			 
		  | 
	
	
		| Back to top | 
		 | 
	
	
		  | 
	
	
		ParkourPenguin I post too much
  Reputation: 152
  Joined: 06 Jul 2014 Posts: 4706
 
  | 
		
			
				 Posted: Wed Jan 15, 2025 1:17 am    Post subject:  | 
				       | 
			 
			
				
  | 
			 
			
				Find comparisons for all of them (see step 9 of the CE tutorial) and store each address into its own memory location: e.g. HOC1, HOC2, HOC3
 _________________
 I don't know where I'm going, but I'll figure it out when I get there.  | 
			 
		  | 
	
	
		| Back to top | 
		 | 
	
	
		  | 
	
	
		Y-one How do I cheat?
  Reputation: 0
  Joined: 06 Jan 2025 Posts: 3
 
  | 
		
			
				 Posted: Wed Jan 15, 2025 3:55 am    Post subject:  | 
				       | 
			 
			
				
  | 
			 
			
				 	  | ParkourPenguin wrote: | 	 		  | Find comparisons for all of them (see step 9 of the CE tutorial) and store each address into its own memory location: e.g. HOC1, HOC2, HOC3 | 	  
 
 
Thank you very much. I did it. X>.      
 | 
			 
		  | 
	
	
		| Back to top | 
		 | 
	
	
		  | 
	
	
		 |