Difference between revisions of "Lua:getPreviousOpcode"

From Cheat Engine
Jump to navigation Jump to search
(Created page with ''''function''' getPreviousOpcode(''Address'') Returns the address of the previous opcode (this is just an estimated guess). === Function Parameters === {|width="85%" cellpaddi…')
 
m
 
(6 intermediate revisions by one other user not shown)
Line 1: Line 1:
'''function''' getPreviousOpcode(''Address'')
+
[[Category:Lua]]
 +
'''function''' getPreviousOpcode(''Address'') ''':''' integer
  
 
Returns the address of the previous opcode (this is just an estimated guess).
 
Returns the address of the previous opcode (this is just an estimated guess).
Line 15: Line 16:
 
|}
 
|}
  
 +
{{LuaSeeAlso}}
  
== See also ==
+
{{Assembly}}
* [[Lua]]
 
* [[Help_File:Script engine|Script engine]]
 
 
 
=== Related Functions ===
 
* [[disassemble]]
 
* [[getInstructionSize]]
 
* [[splitDisassembledString]]
 
* [[AOBScan]]
 
* [[autoAssemble]]
 
* [[readBytes]]
 
* [[readPointer]]
 
* [[writeBytes]]
 
* [[writeFloat]]
 
* [[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