Lua:autoAssemble

From Cheat Engine
Revision as of 14:34, 12 April 2012 by Dark Byte (talk | contribs)
Jump to navigation Jump to search

function autoAssemble(AutoAssemblerScript, TargetSelf OPTIONAL)

Executes the given string by ce's auto assembler.

tip: Use [[ ]] quotes for multiline script.

Example:

 autoAssemble([[
   alloc(myscript)
   label(returnhere)
   
   myscript:
   mov eax,123
   jmp returnhere
   
   00400500:
   jmp myscript
   returnhere:    
 ]])


Function Parameters

Parameter Type Description
AutoAssemblerScript String The script to execute by the auto assembler
TargetSelf Boolean When set to true the autoassembler will assemble the given script in Cheat Engine's address space instead of the target process.


See also