Difference between revisions of "Auto Assembler:globalAlloc"

From Cheat Engine
Jump to navigation Jump to search
(See also)
Line 28: Line 28:
 
== See also ==
 
== See also ==
 
* [[Cheat_Engine:Auto Assembler|Auto Assembler]]
 
* [[Cheat_Engine:Auto Assembler|Auto Assembler]]
 +
* [[Auto_Assembler:Commands|Auto Assembler Commands]]
  
 
=== Related Commands ===
 
=== Related Commands ===

Revision as of 00:28, 13 January 2018

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