Tutorial [Discontinued] Android mod menu template for il2cpp and native games

Sketchware in playstore

I will take a look :))

@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. :face02:

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);
}
feature2 = !feature2; in your Changes method
 
help is ok to put the code?
dex.jpg
 
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:)
 
[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
 
what to do if the image does not display correctly please
 

Attachments

  • Screenshot_2020-07-08-18-21-00-031_uk.lgl.modmenu.jpg
    Screenshot_2020-07-08-18-21-00-031_uk.lgl.modmenu.jpg
    32.4 KB · Views: 254
Need a little help here ....
I want to load this toast from main.cpp when game starts.
Screenshot_4.png


thats why I made a call on FloatingModMenuService.java
Screenshot_6.png


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

Attachments

  • Screenshot_4.png
    Screenshot_4.png
    6.3 KB · Views: 151
  • Screenshot_6.png
    Screenshot_6.png
    16.3 KB · Views: 148
If I try to use the inbuilt toast, the menu crashes.
Logcat displays the following error:

java.lang.UnsatisfiedLinkError: No implementation found for java.lang.String uk.lgl.modmenu.FloatingModMenuService.Toast()

at uk.lgl.modmenu.FloatingModMenuService.Toast(Native Method)
at uk.lgl.modmenu.FloatingModMenuService.onCreate(FloatingModMenuService.java:128)
at android.app.ActivityThread.handleCreateService(ActivityThread.java:3194)
at android.app.ActivityThread.-wrap5(ActivityThread.java)
at android.app.ActivityThread$H.handleMessage(ActivityThread.java:1570)
at android.os.Handler.dispatchMessage(Handler.java:102)
at android.os.Looper.loop(Looper.java:154)
at android.app.ActivityThread.main(ActivityThread.java:6138)
at java.lang.reflect.Method.invoke(Native Method)
at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:893)
at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:783)
 
Last edited:
Need a little help here ....
I want to load this toast from main.cpp when game starts.
View attachment 240914

thats why I made a call on FloatingModMenuService.java
View attachment 240915

but now the app (Floating Mod Menu) is crashing when testing. What I am doing wrong or what else I need to do ?
Yeah I named it Gourovirus. And I usually use this Template but without the toast. Today I wanted use the toast and Did what I show up there but the game is crashing. Well I used the toast call on "on Touch" method too and its working as intended (showing toast when clicking the icon). But don't know why its crashing while I am using on onCreate.
If I try to use the inbuilt toast, the menu crashes.
Logcat displays the following error:

java.lang.UnsatisfiedLinkError: No implementation found for java.lang.String uk.lgl.modmenu.FloatingModMenuService.Toast()

at uk.lgl.modmenu.FloatingModMenuService.Toast(Native Method)
at uk.lgl.modmenu.FloatingModMenuService.onCreate(FloatingModMenuService.java:128)
at android.app.ActivityThread.handleCreateService(ActivityThread.java:3194)
at android.app.ActivityThread.-wrap5(ActivityThread.java)
at android.app.ActivityThread$H.handleMessage(ActivityThread.java:1570)
at android.os.Handler.dispatchMessage(Handler.java:102)
at android.os.Looper.loop(Looper.java:154)
at android.app.ActivityThread.main(ActivityThread.java:6138)
at java.lang.reflect.Method.invoke(Native Method)
at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:893)
at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:783)

Put the toast after loadlibrary.
I will improve the menu template soon
Stay tuned!
 
Back
Top Bottom