knah / Il2CppAssemblyUnhollower

A tool to generate Managed->IL2CPP proxy assemblies
GNU Lesser General Public License v3.0
499 stars 88 forks source link

how to make more readable #83

Closed muveso closed 2 years ago

muveso commented 2 years ago

hi, I wondered how to make unfollowed assemblies more readable?

knah commented 2 years ago

Unhollower-generated assemblies are not supposed to be readable - it's just auto-generated interface code. Perhaps you'd be interested in Cpp2IL, which attempts to produce human-readable code?

muveso commented 2 years ago

@knah when I use Cpp2IL, method/void bodies ​​return blank, there are only class definitions. but if I use yours, I can see interface codes each method's. why is that?

knah commented 2 years ago

Unhollower produces automatically generated code that calls underlying native function. It has no relation to the actual code of that function (other than parameter list). Cpp2IL has many options that tune how much information it produces and in which format. I'd recommend spending more time with it and its documentation - it's a great tool for game reverse engineering.