Jump to content
  • 0

How to load previous search or something like that


TimerRP
 Share

Question

Posted (edited)

I have been working on a function that makes it search for values and edit them to zero, the problem is that I cannot reload those values after a while since I cannot save them in a list due to the function I am using since the values They don't appear in the current search only in the previous search, and there is no function to load the previous search, so my only chance is to make the function I am using if it saves me to a list, help me please

The code used

function OffsetEdit(offset,hex)  r=gg.getRangesList("libil2cpp.so")[1].start local h={} h[1]={} h[1].address=r+offset h[1].flags=0x20 h[1].value=hex gg.setValues(h) end

function savelist() 
OffsetEdit(0x100,'h')
OffsetEdit(0x200,'h')
OffsetEdit(0x300,'h')
end 

function loadlist()
gg.loadList("/storage/emulated/0/.hack", 0)
revert = gg.getListItems()
local t = gg.getListItems()
for i, v in ipairs(t) do
	if v.flags == gg.TYPE_QWORD then
		v.value = "1"
		v.freeze = true
		v.freezeType = gg.FREEZE_NORMAL
	end
end
gg.addListItems(t)
t = nil
 
end

then the objective is to save in a list the offset sought in the function savelist() 

Edited by TimerRP
Link to comment
Share on other sites

0 answers to this question

Recommended Posts

There have been no answers to this question yet

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 account

Sign in

Already have an account? Sign in here.

Sign In Now
 Share

×
×
  • Create New...

Important Information

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.