Jump to content
  • 0

Help


tomorucih
 Share

Question

can someone make me a script?, for example 2 offsets structure and Appeared in save gg ,Because there are a lot of offsets when I play 1 by 1 It takes a long time to input, search for il2cpp on xa, I'm a beginner, please help 

The script i just edit offset is Automatically searches for xa in il2cpp and appears in save gg

IMG_20231207_222613.jpg

Edited by tomorucih
Link to comment
Share on other sites

4 answers to this question

Recommended Posts

  • 1

[ @tomorucih ]
---
You can use: GGIl2CPP. To use it: you can just save it in the same location as below script:

require("Il2cppApi")

Il2cpp()

class_name = "Put your class name here"
field_name = "Put your field name here (not use offset)"
value_type = gg.TYPE_DWORD --Change it accordingly
values = 1 --Change your value here
freezes = true --Freeze the value


fields = {}
local classes = Il2cpp.FindClass( {{Class = class_name,  MethodsDump = true, FieldsDump = true}} )
for k, v in ipairs(classes) do
	for k, v in ipairs(v) do
		local objects = Il2cpp.FindObject({tonumber(v.ClassAddress, 16)})
		for entry, object in ipairs(objects) do
			for i = 1, #object do
				fields[#fields + 1] = {
					address = object[i].address + tonumber(v:GetFieldWithName(field_name).Offset, 16)),
					flags = value_type,
					value = values,
					freeze = freezes
				}
			end
		end
	end
end

gg.addListItems(fields)

---
*Not tested.

Link to comment
Share on other sites

  • -5
2 hours ago, tomorucih said:

can someone make me a script?, for example 2 offsets structure and Appeared in save gg ,Because there are a lot of offsets when I play 1 by 1 It takes a long time to input, search for il2cpp on xa, I'm a beginner, please help 

The script i just edit offset is Automatically searches for xa in il2cpp and appears in save gg

IMG_20231207_222613.jpg

Check section download -> tool

Check script

Link to comment
Share on other sites

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.