Floating mod menu for il2cpp base on ByNameModding
Edit and Build Android-Mod-Menu-BNM with Android Studio
-
edit
app/com/android/support/Menu.ktconst val TITLE = "Modded by (YourName)" const val SUB_TITLE = "whatever here" const val START_ICON = "data:image/png;base64,..."
-
edit
app/cpp/native-lib.cpp// feature list getFeatureList() {} // value change valueChange() {} // hook methods OnLoaded() {}
-
build
app-debug.apkBuild > Generate App Bundles or APKs > Generate APKs
Decoding app-debug.apk with apktool
apktool d -f app-debug.apkDecoding game.apk with apktool
apktool d -f game.apkcp app-debug/lib/${ARCH_ABI}/libModBNM.so game/lib/${ARCH_ABI}/libModBNM.so
cp -r app-debug/smali_classes{2,3,4,5} game/-
find
mainactivity ingame/AndroidManifest.xml<activity android:configChanges="mcc|mnc|locale|touchscreen|keyboard|keyboardHidden|navigation|orientation|screenLayout|uiMode|screenSize|smallestScreenSize|density|layoutDirection|fontScale" android:exported="true" android:hardwareAccelerated="false" android:label="@string/app_name" android:launchMode="singleTask" android:maxAspectRatio="2.0" android:name="com.nutaku.unity.UnityPlayerActivity" android:resizeableActivity="false" android:screenOrientation="userLandscape"> <meta-data android:name="unityplayer.UnityActivity" android:value="true" /> </activity>
-
edit
onCreatemethod ingame/smali/com/nutaku/unity/UnityPlayerActivity.smali.method protected onCreate(Landroid/os/Bundle;)V # invoke Main.start(context) invoke-static {p0}, Lcom/android/support/Main;->start(Landroid/content/Context;)V ... .end method
Rebuilding game with apktool
apktool b -f gameSign game/dist/game.apk with AndroidToolKit or apksigner
- Android-Mod-Menu Floating mod menu for il2cpp and other native android games.
- ByNameModding Modding il2cpp games by classes, methods, fields names on Android.
- Dobby a lightweight, multi-platform, multi-architecture hook framework.

