Difference between revisions of "Auto Assembler:registerSymbol"

From Cheat Engine
Jump to navigation Jump to search
(Related Commands)
Line 54: Line 54:
 
* [[Auto Assembler:readMem|readMem]]
 
* [[Auto Assembler:readMem|readMem]]
 
* [[Auto Assembler:unregisterSymbol|unregisterSymbol]]
 
* [[Auto Assembler:unregisterSymbol|unregisterSymbol]]
* [[Auto Assembler:LUA|LUA]]
+
* [[Auto Assembler:LUA ASM|LUA ASM]]
* [[Auto Assembler:ASM|ASM]]
 

Revision as of 21:52, 11 March 2017

Auto Assembler registerSymbol(SymbolName)

Adds a symbol to the user-defined symbol list so cheat tables and the memory browser can use that name instead of a address.

Note: The symbol has to be declared in the script when using it.

Note: Use unregisterSymbol to remove the symbol from the user-defined symbol list.

Command Parameters

Parameter Type Description
SymbolName string The symbol name to register


Examples

aobScan(SomeSymbol, 00 53 48 8D 64 24 E0)
registerSymbol(SomeSymbol)
aobScan(someAobSymbol, 00 53 48 8D 64 24 E0)
define(SomeInjectionSymbol,someAobSymbol+C)
registerSymbol(SomeInjectionSymbol)
define(SomeSymbol,00123ABC)
registerSymbol(SomeSymbol)
label(SomeSymbol)
registerSymbol(SomeSymbol)
00123ABC:
SomeSymbol:


See also

Related Commands