SamboyCoding / Cpp2IL

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

Dummy DLL's function generic parameter is incorrect #96

Closed YinTianer closed 2 years ago

YinTianer commented 2 years ago

Cpp2IL: 屏幕截图 2022-04-07 062153 Il2CppDumper: 屏幕截图 2022-04-07 062221 public void RegisterHandler(Action handler) It's Milestone 2022.0.2

SamboyCoding commented 2 years ago

Your issue seems to have lost some of the detail, perhaps due to markdown. It might be best if you upload a screenshot. Also, I assume you mean the rewrite (2022.1 pre-release) builds of cpp2il?

SamboyCoding commented 2 years ago

Hold on, if this is a pre-release build, how does the method have a body? The pre-release builds do not have any functionality to create method bodies.

YinTianer commented 2 years ago

I'm wrong. It's the latest releases version and I used the "--experimental-enable-il-to-assembly-please" Option

SamboyCoding commented 2 years ago

Is the parameter correct if you choose not to output IL? Also, is the parameter correct on the latest pre-release build?

YinTianer commented 2 years ago

I compiled the pre-release build version myself, and it seems to have no problem