Lua:disassemble

From Cheat Engine
Revision as of 19:26, 25 June 2026 by Leunsel (talk | contribs) (Syntax Highlighting.)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
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[edit]

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

Example[edit]

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

See Also[edit]

Main Pages

Assembler and Disassembler Related Lua Functions