SamboyCoding / Cpp2IL

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

Strange bug #129

Closed Gorge123 closed 1 year ago

Gorge123 commented 2 years ago

Hi! Every method has such error: Generated IL: Action of type Cpp2IL.Core.Analysis.Actions.ARM64.Arm64ReturnAction at (0xAC1620) is corrupt (Return value has a type of System.Int64, expecting an object of type Shared.Entities.InventoryItem) and cannot be created as IL. Aborting here.

and in generated dll only 'return null' on every method.

https://anonfiles.com/t0b8b637y1/test_zip

SamboyCoding commented 1 year ago

I doubt every single method has the same issue, and regardless, Arm64 support is still very limited. The return null thing is probably down to you not enabling saving of generated IL to the DLL file as described in the readme.