[This is preliminary documentation and is subject to change.]
Finds all occurrences of the specified pattern of bytes in the game's memory.
Namespace: Rage
Assembly: RagePluginHook (in RagePluginHook.dll) Version: 0.0.0.0 (0.56.1131.11510)
Syntax
Parameters
- pattern
- Type: SystemString
The pattern to find. Wildcard ?? is supported.
Return Value
Type: IntPtrAn IntPtr representing the memory location the pattern was found at, or Zero if the pattern wasn't found.
Remarks
Scan starts at the base address. Use overload to specify start address.
The pattern should be in the following format:
XX XX XX XX XX XX XX XX XX XX
Where each XX is a hexadecimal value representing the byte, or ?? to indicate a wildcard.
eg. "77 37 E8 ?? ?? ?? ?? 84 C0"
All white space is ignored.
Even though the search algorithm is fast, you shouldn't be calling this every frame.
Ideally, you want to find all the patterns you need when your plugin initializes.
See Also