SamboyCoding / Cpp2IL

Work-in-progress tool to reverse unity's IL2CPP toolchain.
MIT License
1.55k stars 178 forks source link

Output dump.cs file #303

Open phamquangbaoplus opened 1 week ago

phamquangbaoplus commented 1 week ago

Hello,

Thank your for your works.

I would like to ask if there is a way to output a dump.cs file containing all the classes and methods from Assembly-CSharp.dll like il2cppdumper? It would be quite useful to see without DnSpy.

ds5678 commented 1 week ago

Is the C# formatting important or are you just looking for a text dump?

phamquangbaoplus commented 1 week ago

Yes I love c# format.

dnspy has option to export dll to c# project but it contains many .cs file. il2cppdumper dump to only 1 .cs file so it easier to see all methods.

Hope Cpp2IL have this too.

ds5678 commented 1 week ago

1 cs file with all methods in the game?

ds5678 commented 1 week ago

Even if there's a 100 thousand?

phamquangbaoplus commented 1 week ago

In short, yes

SamboyCoding commented 1 week ago

PRs welcome. It's not something I'm interesting in spending time implementing personally.