/assembly-refactor

Simple program that renames all classes, methods and fields in a .NET binary.

Primary LanguageC#

assembly-refactor

Simple program that renames all classes, methods and fields in a .NET binary.
before after

How to use (Unity games)

  1. Download and run IL2CppDumper on your game of choice.
  2. Modify the code in "Refactor.cs" to detect obfuscated names and then simply run AssemblyRefactor.exe C:/path/to/file/ (or drag and drop the binary onto it)
  3. The modified binary should appear in the same directory as the original.

Why?

IL2Cpp has become a popular amongst game developers as a tool to "protect" their games. On top of using this, many developers have begun obfuscating the code in their games in order to make it harder to reverse engineer.

I created this program to assist me in reversing these protected assemblies by making them more manageable and easier to read.

Dependencies

dnlib, .NET module/assembly reader/writer library