Difference between revisions of "Lua:getPreviousOpcode"

From Cheat Engine
Jump to navigation Jump to search
m
 
(2 intermediate revisions by one other user not shown)
Line 15: Line 15:
 
|The address of the instruction
 
|The address of the instruction
 
|}
 
|}
 
  
 
{{LuaSeeAlso}}
 
{{LuaSeeAlso}}
  
=== Related Functions ===
+
{{Assembly}}
* [[disassemble]]
 
* [[getInstructionSize]]
 
* [[splitDisassembledString]]
 
* [[AOBScan]]
 
* [[autoAssemble]]
 
* [[readBytes]]
 
* [[readPointer]]
 
* [[writeBytes]]
 
* [[readBytesLocal]]
 
* [[readPointerLocal]]
 
* [[writeBytesLocal]]
 
* [[wordToByteTable]]
 
* [[dwordToByteTable]]
 
* [[qwordToByteTable]]
 
* [[floatToByteTable]]
 
* [[doubleToByteTable]]
 
* [[stringToByteTable]]
 
* [[wideStringToByteTable]]
 
* [[byteTableToWord]]
 
* [[byteTableToDword]]
 
* [[byteTableToQword]]
 
* [[byteTableToFloat]]
 
* [[byteTableToDouble]]
 
* [[byteTableToString]]
 
* [[byteTableToWideString]]
 

Latest revision as of 00:19, 5 December 2025

function getPreviousOpcode(Address) : integer

Returns the address of the previous opcode (this is just an estimated guess).

Function Parameters[edit]

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

See also[edit]

Lua
Script Engine

Related Functions[edit]

autoAssemble
autoAssembleCheck
disassemble
splitDisassembledString
getInstructionSize
getPreviousOpcode
registerAssembler
unregisterAssembler