Tutorial How to make mod menu for il2cpp and native games

TheLGL

Awesome Active Platinian
Original poster
Skilled
Feb 19, 2020
156
4,205
193
UK
PATCH_SYM_SWITCH("_SymbolExample", "00 00 A0 E3 1E FF 2F E1", boolean);
RESTORE_SYM("_SymbolExample");

I notice these 2 on your wiki github, how do i call this switches? @TheLGL
There is a boolean, so you can use a switch to on / off the mod and simply call the same macro

Code:
PATCH_SYM_SWITCH("_SymbolExample", "00 00 A0 E3 1E FF 2F E1", true);
PATCH_SYM_SWITCH("_SymbolExample", "00 00 A0 E3 1E FF 2F E1", false);
RESTORE_SYM is just for another usage. If you used PATCH_SYM and want to restore later, you use RESTORE_SYM. As simple as that

And I updated the template to 3.0. Hope you enjoy!
 
  • Like
Reactions: Raebydett

NotALegitGuy

Solid & Active Platinian
Sep 24, 2018
69
67
18
Costa Rica
There is a boolean, so you can use a switch to on / off the mod and simply call the same macro

Code:
PATCH_SYM_SWITCH("_SymbolExample", "00 00 A0 E3 1E FF 2F E1", true);
PATCH_SYM_SWITCH("_SymbolExample", "00 00 A0 E3 1E FF 2F E1", false);
RESTORE_SYM is just for another usage. If you used PATCH_SYM and want to restore later, you use RESTORE_SYM. As simple as that

And I updated the template to 3.0. Hope you enjoy!
Hey man, you got any tutorials or websites to learn on how to do this kind of stuff?
I wanna do UIs but imGUI is a pain to set up for Android, and i don't know how to make them with Java
 
  • Like
Reactions: OnePlus

TheLGL

Awesome Active Platinian
Original poster
Skilled
Feb 19, 2020
156
4,205
193
UK
Hey man, you got any tutorials or websites to learn on how to do this kind of stuff?
I wanna do UIs but imGUI is a pain to set up for Android, and i don't know how to make them with Java
you don't make it in Java, you make in c++, you need high experience in c++.