Skip to content

Commit

Permalink
Update docs
Browse files Browse the repository at this point in the history
  • Loading branch information
Loomeh committed Aug 9, 2024
1 parent 3127706 commit c68fa4b
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions docs/auto-splitters.md
Original file line number Diff line number Diff line change
Expand Up @@ -293,10 +293,10 @@ Example:
`signature = sig_scan("89 5C 24 ?? 89 44 24 ?? 74 ?? 48 8D 15", 4)`

Returns:
`"14123ce19"`
`"0x14123ce19"`

### Notes
* Lua automatically handles the conversion of hexadecimal strings to numbers so parsing/casting it manually is not required.
* Lua automatically handles the conversion of hexadecimal strings to numbers (as long as the '0x' prefix is present) so parsing/casting it manually is not required.
* Until the address is found, sig_scan returns a 0.
* Signature scanning is an expensive action. So, once an address has been found, it's recommended to reassign the sig_scan variable with the result of the sig_scan function to stop the scanning.

Expand Down

0 comments on commit c68fa4b

Please sign in to comment.