SamboyCoding / Cpp2IL

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

code #278

Closed bbajm closed 1 month ago

bbajm commented 5 months ago

[Warn] [Analyze] Failed to perform analysis on method System.Void ConfirmExitUI::ExitGame() While analysing instruction ldr s1, [x19, #0x28] at 0x20C2238 Got exception: System.Exception: GetFieldInType: Encountered a field with a null def? endValue of type UnityEngine.Color in DG.Tweening.Core.TweenerCore3 has null FieldDef. at Cpp2IL.Core.Utils.FieldUtils.GetIndirectlyPointedAtField(List1 allFields, UInt64 offset, Boolean tryFindFloatingPointValue) at Cpp2IL.Core.Utils.FieldUtils.GetFieldBeingAccessed(TypeReference onWhat, UInt64 offset, Boolean tryFindFloatingPointValue) at Cpp2IL.Core.Analysis.Actions.ARM64.Arm64FieldReadToRegAction..ctor(MethodAnalysis1 context, Arm64Instruction instruction, String sourceReg, UInt64 offset, String destReg) at Cpp2IL.Core.Analysis.Actions.ARM64.Arm64FieldReadToRegAction..ctor(MethodAnalysis1 context, Arm64Instruction instruction) at Cpp2IL.Core.Analysis.AsmAnalyzerArmV8A.CheckForTwoOpInstruction(Arm64Instruction instruction) at Cpp2IL.Core.Analysis.AsmAnalyzerArmV8A.PerformInstructionChecks(Arm64Instruction instruction) at Cpp2IL.Core.Analysis.AsmAnalyzerBase`1.AnalyzeMethod()