Auto Assembler:globalAlloc

From Cheat Engine
Revision as of 19:57, 11 March 2017 by TheyCallMeTim13 (talk | contribs) (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…')
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

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)

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