Jump to content
  • 0

Running an il2cpp Method


TheInfinityUser

Question

2 answers to this question

Recommended Posts

On 10/7/2022 at 6:50 AM, TheInfinityUser said:

I am a beginner in il2cpp hacking through gameguardian and would like to know how to run methods with parameters which are in the il2cpp dump file.

First find a method for a event you can find like a button being pressed

Branch the start of that method to the method you want to call

The parameters are loaded several lines down in the method, probably  LDR's

Edit those to MOV RX, #XXX or MOV WX, #XXX where X is the register the value is loaded to and XXX is the desired value

Link to comment
Share on other sites

On 10/7/2022 at 8:50 PM, TheInfinityUser said:

I am a beginner in il2cpp hacking through gameguardian and would like to know how to run methods with parameters which are in the il2cpp dump file.

Hi! You might need to state what you want to do; calling a methods from a dumped file is rather vague. Dumped IL2Cpp is mostly intended for debugging purposes, including offset findings. Calling a Method with custom Parameter and applied it to the game: cannot be done unless you have a source to rebuild the project from scratch. In general; to alter a parameter / methods from outside scope (using Game Guardian, etc) you need to learn Assembly. Every language the game use will always interpreted into Assembly when executed. You might want to read this:

If you have a personal Unity project and want to calling a method you've created. You can simply call it like a function:

Scope1.YourMethod(YourParam, YourParam2)
Link to comment
Share on other sites

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.