Lua:disassemble

From Cheat Engine
Revision as of 00:28, 5 December 2025 by Leunsel (talk | contribs) (Added CodeBox Template.)
Jump to navigation Jump to search

<> Reference

function disassemble(address) : String

Disassembles the instruction at the given memory address and returns a string in the format: "address - bytes - opcode : extra".

Function Parameters

Parameter Type Description
address Integer The memory address of the instruction to disassemble.

Example

local instr = disassemble(0x401000)
print(instr)
-- Output: "00401000 - FF 25 FA580601  - jmp qword ptr [01466900]"

See Also

Main Pages

Assembler and Disassembler Related Lua Functions