Jump to content
  • 0

Find offset


trafo
 Share

Question

Pleas help me.

I have dump.cs, and want to use it manualy hack the game. Buy i don't know how ๐Ÿ˜…๐Ÿ™‡

I try to find the offset with search the methodh name with string search " : " but It's empty/not found.i have try in 'A','ca',and 'other' memory.

Btw they make the methodh name with random word

Link to comment
Share on other sites

9 answers to this question

Recommended Posts

  • 0
On 11/8/2023 at 5:29 AM, trafo said:

Pleas help me.

I have dump.cs, and want to use it manualy hack the game. Buy i don't know how ๐Ÿ˜…๐Ÿ™‡

I try to find the offset with search the methodh name with string search " : " but It's empty/not found.i have try in 'A','ca',and 'other' memory.

Btw they make the methodh name with random word

ย offset in xa rang

Filed offset in a rang

Use Filed offset and class name (Field Offset Finder) to get filed offsetย 

To use offset in xa there's alot of videos in youtube

Edited by MANDO01
Link to comment
Share on other sites

  • 0

Hi @trafo, you can edit method using these tools:

  1. -ย Il2Cpp Edits
  2. -ย GGIl2Cpp

Here's some example on how you can do it on GGIl2Cpp:

require("Il2cppApi")

Il2cpp()

classes = Il2cpp.FindClass( {{Class = val.class_name,  MethodsDump = true, FieldsDump = true}} )
for k, v in ipairs(classes) do
	for k, v in ipairs(v) do
		if v.Methods then
			local methods = v:GetMethodsWithName(your_method_name)
			if #methods > 0 then
				for i = 1, #methods do
					Il2cpp.PatchesAddress(tonumber(methods[i].AddressInMemory, 16), your_patches)
				end
			end
		end
	end
end

--- Notes
- Change "your_method_name", with the method name, example: get_Hp
- Change "your_patches", with ARM Patches (Hex), example: \x00\x00\x00\xE3\x10\x0A\x00\xEE\x40\x0B\xB8\xEE\x10\x0B\x51\xEC\x1E\xFF\x2F\xE1
- Add "\x" to every bytes, for example: 00 (Hex) -> \x00

You can use:ย ARM Converterย to get ARM Patches.

Link to comment
Share on other sites

  • 0
On 11/8/2023 at 12:29 PM, trafo said:

Pleas help me.

I have dump.cs, and want to use it manualy hack the game. Buy i don't know how ๐Ÿ˜…๐Ÿ™‡

I try to find the offset with search the methodh name with string search " : " but It's empty/not found.i have try in 'A','ca',and 'other' memory.

Btw they make the methodh name with random word

Formethod offset just use calculate offset or use any scriptย 

For field offset use script field offset finder (but not all field offset can search)ย 

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.