LM_SigScan
Searches for a specific signature pattern in memory starting from a given address within a specified scan size in the current process.The signature to be scanned for in memory. It is used to identify a specific pattern of bytes in memory. You can use
?? to match against any byte, or the byte’s hexadecimal value. Example: "DE AD BE EF ?? ?? 13 37".The starting memory address where the signature scanning will begin. The function will scan the memory starting from this address to find the pattern match.
The size of the memory region to scan starting from the
address parameter. It specifies the number of bytes to search for the signature pattern within the memory region.Returns
Returns either the address of the pattern match found in the specified memory range orLM_ADDRESS_BAD if no match is found (or an error occurs).
LM_SigScanEx
Searches for a specific signature pattern in memory from a remote process starting from a specific address within a specified scan size.The process whose memory will be scanned.
The signature to be scanned for in memory. It is used to identify a specific pattern of bytes in memory. You can use
?? to match against any byte, or the byte’s hexadecimal value. Example: "DE AD BE EF ?? ?? 13 37".The starting memory address where the signature scanning will begin. The function will scan the memory starting from this address to find the pattern match.
The size of the memory region to scan starting from the
address parameter. It specifies the number of bytes to search for the signature pattern within the memory region.Returns
Returns either the address of the pattern match found in the specified memory range orLM_ADDRESS_BAD if no match is found (or an error occurs).
Example (Rust)
?? wildcards for bytes that may vary between game versions.