memory
Access FiveM's memory
read
type memory.read(address: uintptr_t, type: ffi.typeof)
address
uintptr_t
address to read
type
type
type of variable to read
write
void memory.write(address: uintptr_t, any variable)
address
uintptr_t
address to write
variable
any
variable to write
modules
vector<MODULEENTRY32W> memory.modules()
Returns a list of MODULEENTRY32W
module
MODULEENTRY32W memory.module(module_name: string)
module name
string
module name
pattern_scan
uintptr_t memory.pattern_scan(module_name: string, pattern: string)
module name
string
module to scan
pattern
string
IDA styled pattern to find
pattern_scan_global
uintptr_t memory.pattern_scan_global(pattern: string)
pattern
string
IDA styled pattern to find
Scans all of the modules searching for pattern
rip
uintptr_t memory.rip(address: uintptr_t)
address
uintptr_t
address to rip
Last updated