Lua:getInstructionSize

From Cheat Engine
Revision as of 00:19, 5 December 2025 by Leunsel (talk | contribs)
Jump to navigation Jump to search

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

Lua
Script Engine

Related Functions

autoAssemble
autoAssembleCheck
disassemble
splitDisassembledString
getInstructionSize
getPreviousOpcode
registerAssembler
unregisterAssembler