| FreeER Grandmaster Cheater Supreme
 
 ![]() Reputation: 53 
 Joined: 09 Aug 2013
 Posts: 1091
 
 
 | 
			
				|  Posted: Thu Sep 13, 2018 5:38 am    Post subject: |   |  
				| 
 |  
				| perhaps Honestly I can't remember trying it with the pointer syntax like that but it may work. If not then some lua certainly would 	  | Code: |  	  | xxx.exe+2AE2370: readmem([[[["xxx.exe"+4AB2180]+08]+218]+80]+88,4)
 | 
  	  | Code: |  	  | {$lua} local src = '[[[["xxx.exe"+4AB2180]+08]+218]+80]+88'
 local dest = 'xxx.exe+2AE2370'
 local typeSize = 4
 local bytes = readBytes(src, typeSize, true)
 writeBytes(dest, bytes)
 | 
 
 Though if you wanted to do it with other asm code neither of those would work. You'd need something like
 and that would only work if none of the pointers changed during gameplay, if it did you'd need to do each pointer read separately eg. 	  | Code: |  	  | push eax mov eax, [[[[["xxx.exe"+4AB2180]+08]+218]+80]+88]
 mov [xxx.exe+2AE2370], eax
 pop eax
 | 
  	  | Code: |  	  | push rax mov rax, ["xxx.exe"+4AB2180]
 mov rax, [rax+8]
 mov rax, [rax+218]
 mov rax, [rax+80]
 mov eax, [rax+88]
 mov [xxx.exe+2AE2370], eax
 pop rax
 | 
 _________________
 
 |  |