This is the AMP version of this page.
If you want to load the real page instead, click this text.

Tutorial How to make mod menu for il2cpp and native games

Braz-Mods

Approved Modder
Approved Modder
Oct 16, 2018
120
7,520
1,193
36
My world
@TheLGL
Hello, I have a huge doubt! How to start this function when clicking the button? I've tried and so far it doesn't work.

C++:
bool (*old_get_IsInvincible)(void *instance);

bool get_IsInvincible(void *instance) {
    if (instance != NULL && feature2) {
        LOGI("get_IsInvincible God Mod");
        return true;
    }
    //LOGI("get_IsInvincible");
    return old_get_IsInvincible(instance);
}
 
Reactions: apkghc

TheLGL

Awesome Active Platinian
Original poster
Skilled
Feb 19, 2020
156
4,234
193
UK
I will take a look :))

feature2 = !feature2; in your Changes method
 
Reactions: Braz-Mods

Dhubs

Platinian
Jan 10, 2019
28
180
33
42
California
I'd like to patch a list or vector or array kinda the same not really. Also any way to send a unity vector3d to a function thanks:)
 

isaiasgut

Platinian
Sep 12, 2019
7
0
1
26
argentina
[QUOTE = "Dhubs, publicación: 1393123, miembro: 354319"]
Debe proporcionar un logcat para que cualquiera pueda ayudar.
[/CITAR]
The mod runs on other games except Free Fire, which layer needs a bypass to inject the mod menu. the logcat has no errors
 

Braz-Mods

Approved Modder
Approved Modder
Oct 16, 2018
120
7,520
1,193
36
My world
what to do if the image does not display correctly please
@Gourov
If you are using .gif

This is due to permissions not given apk

(Requires android.permission.INTERNET)


If you are not going to use .gif do this.


And add your image here.

Use Base64 Encode and Decode - Online to encode your image to base64




Espero que isso te ajude ok.
Braz Mods
 
Last edited:

Gourov

Platinian
Dec 11, 2019
38
858
83
26
Bangladesh
Need a little help here ....
I want to load this toast from main.cpp when game starts.


thats why I made a call on FloatingModMenuService.java


but now the app (Floating Mod Menu) is crashing when testing. What I am doing wrong or what else I need to do ?
 

Attachments