ByNameModding / BNM-Android

Modding il2cpp games by classes, methods, field names on Android.
MIT License
172 stars 37 forks source link
android android-modding bnm bynamemodding il2cpp il2cpp-modding il2cpp-unity unity unity-modding unity3d

ByNameModding

English | Русский

ByNameModding is a library for modding il2cpp games by classes, methods, field names on Android. This edition is focused on working on Android with il2cpp. It includes everything you need for modding Unity games.
Requires C++20 minimum.

What you can do with BNM?

New classes

BNM can add your own class to game, it requires C++20 and above.
If you nest your class from MonoBehaviour (or other class with events) methods like Update will work.
And it fully computable with AssetBundles!
For bundles need add your class to dlls that listed in ScriptingAssemblies.json.
Basically BNM add classes to Assembly-CSharp.dll that always in this list.
If you want to use your own dll with bundles, add it to this file, but this will work only if you use BNM internally.

Getting Started

Supported Unity versions: 2017.x - 2023.1.x

Dependencies

UTF8-CPP used by il2cpp and by BNM too.
Open-hierarchy custom RTTI used to optimize memory usage

Android hookinng software for example:

Dobby
ShadowHook
Substrate with And64InlineHook - do not support unhook