https://github.com/Pubert-CS/BNM-Il2CppSDKGenerator might be better on what your doing
- Compile this tool (or use the release version, if available).
- Dump your game’s
DummyDllusing Il2CppDumper. - Place the entire
DummyDllfolder inside a new folder namedFilesin the same directory as this tool’s executable. - Run the tool and wait for your SDK to be generated automatically.
- Copy the generated SDK into your project.
- Copy the pre-written Il2Cpp headers into your project, and include them in your
Android.mkorCMakeLists.txt.
✅ Done!
- Use
-sor--single-fileto output the entire SDK in one single file.