Jump to content
  • 0

How to Change this String with gameguardian?


douglaspo

Question

Posted

i need to change this:

    // RVA: 0xED1418 Offset: 0xED1418 VA: 0xED1418

    public string GetConnectionURL() { }

but idk how to change string with gameguardian

2 answers to this question

Recommended Posts

Posted
3 hours ago, douglaspo said:

i need to change this:

    // RVA: 0xED1418 Offset: 0xED1418 VA: 0xED1418

    public string GetConnectionURL() { }

but idk how to change string with gameguardian

Idk about modif string use gameguardian

Posted

Hi @douglaspo, you can use: GGIL2CPP and use this to change strings:

require("Il2cppApi")
Il2cpp()

classes = Il2cpp.FindClass( {{Class = your_class_name,  MethodsDump = true, FieldsDump = true}} )
for k, v in ipairs(classes) do
	for k, v in ipairs(v) do
		if v.Fields then
			if v:GetFieldWithName(your_field_name) then
				objects = Il2cpp.FindObject({tonumber(v.ClassAddress, 16)})
				for m, objects in ipairs(objects) do
					for i = 1, #objects do
						str = Il2cpp.String.From(objects[i].address + tonumber(v:GetFieldWithName(your_field_name).Offset, 16))
						if str then
							str:EditString(your_string)
						end
					end
				end
			end
		end
	end
end

Dont forget to adjust these yourself:

  • - "your_class_name"
  • - "your_field_name"
  • - "your_string"

Archived

This topic is now archived and is closed to further replies.

×
×
  • 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.