Difference between revisions of "Auto Assembler:readMem"

From Cheat Engine
Jump to navigation Jump to search
(Related Commands)
Line 43: Line 43:
 
* [[Auto Assembler:aobScan|aobScan]]
 
* [[Auto Assembler:aobScan|aobScan]]
 
* [[Auto Assembler:aobScanModule|aobScanModule]]
 
* [[Auto Assembler:aobScanModule|aobScanModule]]
 +
* [[Auto_Assembler:aobScanRegion|aobScanRegion]]
 
* [[Auto Assembler:alloc|alloc]]
 
* [[Auto Assembler:alloc|alloc]]
 
* [[Auto Assembler:dealloc|dealloc]]
 
* [[Auto Assembler:dealloc|dealloc]]
 +
* [[Auto Assembler:globalAlloc|globalAlloc]]
 
* [[Auto Assembler:createThread|createThread]]
 
* [[Auto Assembler:createThread|createThread]]
 
* [[Auto Assembler:define|define]]
 
* [[Auto Assembler:define|define]]
 
* [[Auto Assembler:fullAccess|fullAccess]]
 
* [[Auto Assembler:fullAccess|fullAccess]]
* [[Auto Assembler:globalAlloc|globalAlloc]]
 
 
* [[Auto Assembler:include|include]]
 
* [[Auto Assembler:include|include]]
 
* [[Auto Assembler:label|label]]
 
* [[Auto Assembler:label|label]]

Revision as of 22:28, 4 January 2018

Auto Assembler readMem(Address, Size)

Writes the memory at the specified address with the specified size to the current location.

Tip: Use to store the original bytes if the injection location has a changing address that is hard coded in on game or level load. Or if there are code changes with updates when using a shifted aobScan.

Command Parameters

Parameter Type Description
Address string The address or symbol to read
Size integer The number of bytes to read


Examples

SomeSymbol:
readMem(00123ABC, 5)
alloc(x,16)
alloc(script,2048)

script:
mov eax,[x]
mov edx,[x+c]
ret

x:
readmem(00410000,16) //place the contents of address 00410000 at the address of X

See also

Related Commands