Difference between revisions of "Auto Assembler:globalAlloc"

From Cheat Engine
Jump to navigation Jump to search
(Created page with ''''Auto Assembler''' globalAlloc(''Symbol'', ''Size'') Allocates a certain amount of memory and registers the specified name. Using GlobalAlloc in other scripts will then not a…')
 
Line 5: Line 5:
 
(Or allocate it anyhow if found it wasn't allocated yet)
 
(Or allocate it anyhow if found it wasn't allocated yet)
  
=== 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 28: Line 28:
 
* [[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:42, 11 March 2017

Auto Assembler globalAlloc(Symbol, Size)

Allocates a certain amount of memory and registers the specified name. Using GlobalAlloc in other scripts will then not allocate the memory again, but reuse the already existing memory. (Or allocate it anyhow if found it wasn't allocated yet)

Command Parameters

Parameter Type Description
Symbol string The symbol to allocate globally
Size integer The byte size of the memory block to allocate globally


Examples

globalAlloc(SomeSymbol, 0x4)


See also

Related Commands