SplitScript reference / Process / follow

Process.follow

Method

Process.follow(base: address, offsets: [i64]) -> address!

Follows a pointer path.

Each signed offset is applied with wrapping 64-bit address arithmetic before reading the next 64-bit target pointer. A failed or null pointer read returns an error; use retry in onAttach to wait for success.

Parameters

  • base: The initial address.
  • offsets: Signed pointer offsets to follow.

Effects: reads process memory, requires an attached process

Runtime behavior: available while a process is attached, except in onDetach; synchronous

Examples

Follow a pointer path

let player = retry process.follow(module.address, [0x100, 0x20])