Difference between revisions of "Lua:getInstructionSize"

From Cheat Engine
Jump to navigation Jump to search
Line 1: Line 1:
'''function''' getInstructionSize(''Address'')
+
'''function''' getInstructionSize(''Address'') ''':''' integer
  
 
Returns the size of an instruction (basically it disassembles the instruction and returns the number of bytes for you).
 
Returns the size of an instruction (basically it disassembles the instruction and returns the number of bytes for you).

Revision as of 02:15, 11 March 2017

function getInstructionSize(Address) : integer

Returns the size of an instruction (basically it disassembles the instruction and returns the number of bytes for you).

Function Parameters

Parameter Type Description
Address CEAddressString or Integer The address of the instruction


See also

Related Functions