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. …')
 
Line 7: Line 7:
 
Note: Use [[Auto Assembler:unregisterSymbol|unregisterSymbol]] to remove the symbol from the user-defined symbol list.
 
Note: Use [[Auto Assembler:unregisterSymbol|unregisterSymbol]] to remove the symbol from the user-defined symbol list.
  
=== Function Parameters ===
+
=== Command Parameters ===
 
{|width="85%" cellpadding="10%" cellpadding="5%" cellspacing="0" border="0"
 
{|width="85%" cellpadding="10%" cellpadding="5%" cellspacing="0" border="0"
 
!align="left"|Parameter
 
!align="left"|Parameter
Line 39: Line 39:
 
* [[Cheat_Engine:Auto Assembler|Auto Assembler]]
 
* [[Cheat_Engine:Auto Assembler|Auto Assembler]]
  
=== Related Functions ===
+
=== Related Commands ===
 
* [[Auto Assembler:aobScan|aobScan]]
 
* [[Auto Assembler:aobScan|aobScan]]
 
* [[Auto Assembler:aobScanModule|aobScanModule]]
 
* [[Auto Assembler:aobScanModule|aobScanModule]]

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