SplitScript reference / address / memoryPath

address.memoryPath

Method

address.memoryPath(dereferences: [i64], finalOffset: i64, pointerSize: PointerSize) -> MemoryPath

Builds a pointer path rooted at this address.

Each dereference offset is applied before reading the next native pointer. The final offset is applied without another dereference.

Parameters

  • dereferences: Signed offsets that each end in a native pointer read.
  • finalOffset: Signed offset applied after the final pointer read.
  • pointerSize: Native pointer width used by the target executable.

Effects: pure

Runtime behavior: available everywhere; synchronous

Examples

Describe a player health path

let health = 0x1000.memoryPath([0x100, 0x20], 0x18, PointerSize.Bit64)