SamboyCoding / Cpp2IL

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

Invalid IL in Dummy Methods #198

Closed ds5678 closed 1 year ago

ds5678 commented 1 year ago

Context

As discussed in discord, the generated IL may be invalid for some edge cases.

Value Type Out Parameters

Currently all out parameters are being treated as reference types. The base type of the ByRefTypeSignature needs to be checked instead.

Generics

Verify that the IL for generic types and methods is correct.

Return by reference

Methods that return a ref should use the RefHelper.