Difference between revisions of "Auto Assembler:registerSymbol"

From Cheat Engine
Jump to navigation Jump to search
m
Line 1: Line 1:
 +
[[Category:Assembler]]
 
'''Auto Assembler''' registerSymbol(''SymbolName'')
 
'''Auto Assembler''' registerSymbol(''SymbolName'')
  

Revision as of 11:37, 19 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 an 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