SplitScript reference / SignatureMatch / index
SignatureMatch.index
field
SignatureMatch.index: u32
Zero-based index in the supplied signature array.
The index preserves the order passed to Process.scanMemoryAny, so it can select a layout or interpretation without rescanning the process.
Examples
Select the associated layout
let found = await process.scanMemoryAny([sig"48 8B ??"])
let layoutIndex = found.index