terraria-cpp2il-methodrecon v1.4.4.9
Terraria mobile dump, with reconstructed method body. Dump with CallAnalysis: https://infinitynichto.github.io/terraria-cpp2il
Loading...
Searching...
No Matches

◆ GetMaxResolution()

float XNAUICameraSettings.GetMaxResolution ( )
inline

Definition at line 119 of file XNAUICameraSettings.cs.

120 {
121 /*
122An exception occurred when decompiling this method (06001211)
123
124ICSharpCode.Decompiler.DecompilerException: Error decompiling System.Single XNAUICameraSettings::GetMaxResolution()
125
126 ---> System.Exception: Basic block has to end with unconditional control flow.
127{
128 Block_0:
129 stloc:float32(var_0_10, callgetter:float32(Keyframe::get_time, callgetter:valuetype [UnityEngine.CoreModule]UnityEngine.Keyframe[][exp:valuetype [UnityEngine.CoreModule]UnityEngine.Keyframe&](AnimationCurve::get_keys, ldfld:AnimationCurve(DeviceVPPICalculator::PhysicalToResolution, ldloc:XNAUICameraSettings[exp:DeviceVPPICalculator](this)))))
130 stloc:float32(var_1_17, ldfld:float32(DeviceVPPICalculator::PhysicalHeight, ldloc:XNAUICameraSettings[exp:DeviceVPPICalculator](this)))
131 stloc:float32(var_2_28, callgetter:float32(Keyframe::get_value, callgetter:valuetype [UnityEngine.CoreModule]UnityEngine.Keyframe[][exp:valuetype [UnityEngine.CoreModule]UnityEngine.Keyframe&](AnimationCurve::get_keys, ldfld:AnimationCurve(DeviceVPPICalculator::PhysicalToResolution, ldloc:XNAUICameraSettings[exp:DeviceVPPICalculator](this)))))
132}
133
134 at ICSharpCode.Decompiler.ILAst.ILAstOptimizer.FlattenBasicBlocks(ILNode node) in D:\a\dnSpy\dnSpy\Extensions\ILSpy.Decompiler\ICSharpCode.Decompiler\ICSharpCode.Decompiler\ILAst\ILAstOptimizer.cs:line 1852
135 at ICSharpCode.Decompiler.ILAst.ILAstOptimizer.Optimize(DecompilerContext context, ILBlock method, AutoPropertyProvider autoPropertyProvider, StateMachineKind& stateMachineKind, MethodDef& inlinedMethod, AsyncMethodDebugInfo& asyncInfo, ILAstOptimizationStep abortBeforeStep) in D:\a\dnSpy\dnSpy\Extensions\ILSpy.Decompiler\ICSharpCode.Decompiler\ICSharpCode.Decompiler\ILAst\ILAstOptimizer.cs:line 355
136 at ICSharpCode.Decompiler.Ast.AstMethodBodyBuilder.CreateMethodBody(IEnumerable`1 parameters, MethodDebugInfoBuilder& builder) in D:\a\dnSpy\dnSpy\Extensions\ILSpy.Decompiler\ICSharpCode.Decompiler\ICSharpCode.Decompiler\Ast\AstMethodBodyBuilder.cs:line 123
137 at ICSharpCode.Decompiler.Ast.AstMethodBodyBuilder.CreateMethodBody(MethodDef methodDef, DecompilerContext context, AutoPropertyProvider autoPropertyProvider, IEnumerable`1 parameters, Boolean valueParameterIsKeyword, StringBuilder sb, MethodDebugInfoBuilder& stmtsBuilder) in D:\a\dnSpy\dnSpy\Extensions\ILSpy.Decompiler\ICSharpCode.Decompiler\ICSharpCode.Decompiler\Ast\AstMethodBodyBuilder.cs:line 88
138 --- End of inner exception stack trace ---
139 at ICSharpCode.Decompiler.Ast.AstMethodBodyBuilder.CreateMethodBody(MethodDef methodDef, DecompilerContext context, AutoPropertyProvider autoPropertyProvider, IEnumerable`1 parameters, Boolean valueParameterIsKeyword, StringBuilder sb, MethodDebugInfoBuilder& stmtsBuilder) in D:\a\dnSpy\dnSpy\Extensions\ILSpy.Decompiler\ICSharpCode.Decompiler\ICSharpCode.Decompiler\Ast\AstMethodBodyBuilder.cs:line 92
140 at ICSharpCode.Decompiler.Ast.AstBuilder.AddMethodBody(EntityDeclaration methodNode, EntityDeclaration& updatedNode, MethodDef method, IEnumerable`1 parameters, Boolean valueParameterIsKeyword, MethodKind methodKind) in D:\a\dnSpy\dnSpy\Extensions\ILSpy.Decompiler\ICSharpCode.Decompiler\ICSharpCode.Decompiler\Ast\AstBuilder.cs:line 1683
141*/;
142 }