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

◆ GetRegion()

Rectangle GUIPageIconGrouping.GetRegion ( )
inline

Definition at line 30 of file GUIPageIconGrouping.cs.

31 {
32 /*
33An exception occurred when decompiling this method (060009A3)
34
35ICSharpCode.Decompiler.DecompilerException: Error decompiling Microsoft.Xna.Framework.Rectangle GUIPageIconGrouping::GetRegion()
36
37 ---> System.Exception: Basic block has to end with unconditional control flow.
38{
39 Block_0:
40 call:void(GUIPageIconGrouping::LoadPageAnchor, ldloc:GUIPageIconGrouping(this))
41 stloc:class [mscorlib]System.Collections.Generic.List`1<valuetype GUIPageIcons/Category>(var_1_0C, ldfld:class [mscorlib]System.Collections.Generic.List`1<valuetype GUIPageIcons/Category>(GUIPageIconGrouping::AllowedCategories, ldloc:GUIPageIconGrouping(this)))
42 stloc:Category(var_2_13, callgetter:Category(GUIPageIconGrouping::get_SelectedCategory, ldloc:GUIPageIconGrouping(this)))
43 stloc:InterfaceProfile_Layout(var_4_1B, callgetter:InterfaceProfile_Layout(InterfaceStyles_Layout::get_Active))
44 stloc:Category(var_5_23, callgetter:Category(GUIPageIconGrouping::get_SelectedCategory, ldloc:GUIPageIconGrouping(this)))
45 stloc:bool(var_6_30, call:bool(GUIPageIconGrouping::CanCollapse, callgetter:Category(GUIPageIconGrouping::get_SelectedCategory, ldloc:GUIPageIconGrouping(this))))
46 stloc:Category(var_7_38, callgetter:Category(GUIPageIconGrouping::get_SelectedCategory, ldloc:GUIPageIconGrouping(this)))
47 stloc:bool(var_8_43, call:bool(InterfaceProfile_Layout::IsCollapsed, ldloc:InterfaceProfile_Layout(var_4_1B), ldloc:Category(var_7_38)))
48 stloc:InterfaceProfile_Layout(var_10_4D, callgetter:InterfaceProfile_Layout(InterfaceStyles_Layout::get_Active))
49 stloc:Category(var_11_55, callgetter:Category(GUIPageIconGrouping::get_SelectedCategory, ldloc:GUIPageIconGrouping(this)))
50 stloc:bool(var_12_62, call:bool(GUIPageIconGrouping::CanCollapse, callgetter:Category(GUIPageIconGrouping::get_SelectedCategory, ldloc:GUIPageIconGrouping(this))))
51 stloc:Category(var_13_6A, callgetter:Category(GUIPageIconGrouping::get_SelectedCategory, ldloc:GUIPageIconGrouping(this)))
52 stloc:bool(var_14_75, call:bool(InterfaceProfile_Layout::IsCollapsed, ldloc:InterfaceProfile_Layout(var_10_4D), ldloc:Category(var_13_6A)))
53 stloc:ControlId(var_15_7D, ldfld:ControlId(GUIPageIconGrouping::AnchorControl, ldloc:GUIPageIconGrouping(this)))
54 stloc:Vector2(var_16_85, ldfld:Vector2(GUIPageIconGrouping::Location, ldloc:GUIPageIconGrouping(this)))
55 stloc:float32(var_17_92, ldfld:float32(Vector2::X, ldfld:Vector2[exp:valuetype Microsoft.Xna.Framework.Vector2&](GUIPageIconGrouping::Location, ldloc:GUIPageIconGrouping(this))))
56 stloc:float32(var_18_9F, ldfld:float32(Vector2::Y, ldfld:Vector2[exp:valuetype Microsoft.Xna.Framework.Vector2&](GUIPageIconGrouping::Location, ldloc:GUIPageIconGrouping(this))))
57}
58
59 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
60 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
61 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
62 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
63 --- End of inner exception stack trace ---
64 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
65 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
66*/;
67 }

Referenced by GUIVirtualInputController.IsOverGroupRegion(), and GUIVirtualInputControllerEdit.ResolveCollisions().