- 0
Searching an Value Using Offsets
-
Similar Content
-
- 11 answers
- 4,639 views
-
- 2 answers
- 1,378 views
-
- 2 answers
- 982 views
-
- 1 reply
- 422 views
-
How to 'os.exit' it, while someone peek at searching value, when gg are searching values? 1 2
By nio04,
- 23 answers
- 10,671 views
-
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