Difference between revisions of "Auto Assembler:registerSymbol"

From Cheat Engine
Jump to navigation Jump to search
(Created page with ''''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. …')
(No difference)

Revision as of 21:33, 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.

Function 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 Functions