- 0
Searching an Value Using Offsets
-
Similar Content
-
- 11 answers
- 16,504 views
-
- 0 replies
- 5,841 views
-
- 2 answers
- 1,203 views
-
- 11 answers
- 3,096 views
-
- 0 comments
- 5,401 views
-
We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.
Question
GeorgeMonkey
Im trying to figure out how to search in a certain offsets.
Here's the script im trying to make
The game had a usual value variety from -20184193 to 2058149 there random when i tried this
local pi = gg.getRangesList("libnative-lib.so:bss")[1].start
local u = {}
u[1] = {address = pi + 0xC798, flags = 4}
a = gg.getValues(u)
local Value1 = a[1].value
u[1] = {address = pi + 0xD290 , flags = 4}
b = gg.getValues(u)
local Value2 = b[1].value
gg.clearResults()
gg.searchNumber(Value1..";0~0;"..Value2.."::2809", 4)
local count = gg.getResultsCount()
local result = gg.getResults(count)
for i,v in ipairs(result) do
v.value = 1
v.flags = 4
end
gg.setValues(result)
t = nil
end
end
Some of them doesn't get involved
I need a way to actually just put the offsets and the end offsets to search from that adress
Basically like this
First offsets - 8D
Values from the middle will be all collected starting from the point of the first offset and will end in the end offsets which is Value[2]
End offsets - 10A
Edited by GeorgeMonkey15 answers to this question
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now