Generate DLL injection templates for reverse engineering and modding Unity il2cpp games.
So you've been researching how to do some hacky stuff in Unity games and stumbled upon the amazing IL2CppDumper.
You have learned how to get and analyze the dump.cs
and now you know exactly what you want to do, but you do not know how to do it.
You know that you have to override some method, replace the value of some field in an object or something like that, but your low level programming skills with all that nasty pointer arithmetic and assembly are not quite there yet (don't worry, mine barely are, just practice and you'll get better!).
Well this is the project for you! il2cpp-modder lets you describre what to do and it will generate all the code to do it. That's it, you don't have to program at all!
- Make a method return a fixed value. Some ideas:
- Make a validation always return true or false.
- Make a getter always return 0 or a really high number.
- Skip validation methods.
- Replace the arguments for a method call. Some ideas:
- Make a setter always set 999999 coins to your player.
- Set the value of an object field. Some ideas:
- Keep your player health always at 100%.
- Change your player height at any moment to any value.
- Replace the implementation of a method.
- If the other mods just don't cut it, you can just replace the whole thing for something different that suits your needs! The sky is the limit. You do need to program C++ for this though...
- NodeJS
- IL2CppDumper (add to PATH!)
- Visual Studio (Or any C++ compiler)
git clone https://github.com/juanmjacobs/il2cpp-modder
cd il2cpp-modder
sh install.sh
See the usage documentation
Issues and PRs are welcome!