memory

Access FiveM's memory

read

type memory.read(address: uintptr_t, type: ffi.typeof)

name
type
description

address

uintptr_t

address to read

type

type

type of variable to read

write

void memory.write(address: uintptr_t, any variable)

name
type
description

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)

name
type
description

module name

string

module name

pattern_scan

uintptr_t memory.pattern_scan(module_name: string, pattern: string)

name
type
description

module name

string

module to scan

pattern

string

IDA styled pattern to find

pattern_scan_global

uintptr_t memory.pattern_scan_global(pattern: string)

name
type
description

pattern

string

IDA styled pattern to find

Scans all of the modules searching for pattern

rip

uintptr_t memory.rip(address: uintptr_t)

name
type
description

address

uintptr_t

address to rip

Last updated