ByNameModding is a library for modding il2cpp games by classes, methods, field names on Android. It includes everything you need for modding unity games.
- First clone the repo and add it to your project.
- Add BNM.cpp to Android.mk or CMakeLists.txt.
Android.mkCMakeLists.txtLOCAL_SRC_FILES += ByNameModding/BNM.cpp
add_library("Your lib name" SHARED ByNameModding/BNM.cpp "...other cpp files")
- Change
UNITY_VER
, include your string obfuscator and hooking software, uncommentBNM_DOTNET35
if the game uses .NET 3.5 in BNM_settings.hpp - Done! See Examples.cpp or add it to your project to understand how to work with BNM.
UTF8-CPP used by il2cpp and by BNM too.
Dobby - recomended
Substrate with And64InlineHook - may don't work