heyimyuuta Newbie cheater
Reputation: 0
Joined: 14 Sep 2023 Posts: 12
|
Posted: Sat Jan 06, 2024 3:14 pm Post subject: Search for a String within a Range including its pointers |
|
|
I want to search for a specific string within a given address range, such as from 0x400 to 0x700.
However, I also want to scan through all the pointers within that range with a certain depth, let's say 4.
Although I could use the "Start" -> "Stop" address range, it doesn't allow me to scan through each pointer x times within that range.
Let me try to explain what I want to achieve:
1. Scan from 0x400 to 0x700 for the string.
2. If the string is not found, search for addresses pointing to another address within that range (pointers).
3. Follow the first pointer and search within a range of 0x200 for the string.
4. If the string is still not found, search within that 0x200 range for another pointer path and follow it to find the string.
5. If the string is not found there either, go back and search for more pointers within the 0x200 range, if all pointers have been followed go back to the 0x400 to 0x700 range, and so on.
To avoid searching indefinitely, I would like to adjust the number of times it follows a pointer and the range it searches for the string and new pointers within the first followed pointer (e.g., 0x200).
Basically like a pointer map to find that string within the address range while following the pointers a certain number of times within that range.
Is it possible to achieve this, perhaps with a Lua script, or would I need to code it myself?
|
|