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

◆ GetCategoryGrouping()

GUIPageIconGrouping InterfaceProfile_Layout.GetCategoryGrouping ( GUIPageIcons::Category category,
bool includeOptions = true )
inline

Definition at line 133 of file InterfaceProfile_Layout.cs.

134 {
135 /*
136An exception occurred when decompiling this method (06000C1D)
137
138ICSharpCode.Decompiler.DecompilerException: Error decompiling GUIPageIconGrouping InterfaceProfile_Layout::GetCategoryGrouping(GUIPageIcons/Category,System.Boolean)
139
140 ---> System.Exception: Basic block has to end with unconditional control flow.
141{
142 Block_0:
143 stloc:bool(var_0_06, call:bool(GUIPageIconGrouping::InteractionCategory, ldloc:Category(category)))
144 stloc:class [mscorlib]System.Collections.Generic.List`1<class GUIPageIconGrouping>(var_1_0D, ldfld:class [mscorlib]System.Collections.Generic.List`1<class GUIPageIconGrouping>(InterfaceProfile_Layout::LeftGroupings, ldloc:InterfaceProfile_Layout(this)))
145 stloc:int32(var_2_14, ldfld:int32(List`1::_size, ldloc:class [mscorlib]System.Collections.Generic.List`1<class GUIPageIconGrouping>[exp:List`1](var_1_0D)))
146 stloc:object(var_4_1D, ldfld:object(List`1::_syncRoot, ldloc:class [mscorlib]System.Collections.Generic.List`1<class GUIPageIconGrouping>[exp:List`1](var_1_0D)))
147 stloc:int32(var_5_2A, ldfld:int32(List`1::_size, ldfld:class [mscorlib]System.Collections.Generic.List`1<class GUIPageIconGrouping>[exp:List`1](InterfaceProfile_Layout::LeftGroupings, ldloc:InterfaceProfile_Layout(this))))
148 stloc:class [mscorlib]System.Collections.Generic.List`1<class GUIPageIconGrouping>(var_6_32, ldfld:class [mscorlib]System.Collections.Generic.List`1<class GUIPageIconGrouping>(InterfaceProfile_Layout::RightGroupings, ldloc:InterfaceProfile_Layout(this)))
149 stloc:int32(var_7_3B, ldfld:int32(List`1::_size, ldloc:class [mscorlib]System.Collections.Generic.List`1<class GUIPageIconGrouping>[exp:List`1](var_6_32)))
150 stloc:object(var_9_47, ldfld:object(List`1::_syncRoot, ldloc:class [mscorlib]System.Collections.Generic.List`1<class GUIPageIconGrouping>[exp:List`1](var_6_32)))
151 stloc:int32(var_10_54, ldfld:int32(List`1::_size, ldfld:class [mscorlib]System.Collections.Generic.List`1<class GUIPageIconGrouping>[exp:List`1](InterfaceProfile_Layout::RightGroupings, ldloc:InterfaceProfile_Layout(this))))
152 stloc:int32(var_11_61, ldfld:int32(List`1::_size, ldfld:class [mscorlib]System.Collections.Generic.List`1<class GUIPageIconGrouping>[exp:List`1](InterfaceProfile_Layout::LeftGroupings, ldloc:InterfaceProfile_Layout(this))))
153 stloc:int32(var_12_6E, ldfld:int32(List`1::_size, ldfld:class [mscorlib]System.Collections.Generic.List`1<class GUIPageIconGrouping>[exp:List`1](InterfaceProfile_Layout::LeftGroupings, ldloc:InterfaceProfile_Layout(this))))
154 stloc:int32(var_13_7B, ldfld:int32(List`1::_size, ldfld:class [mscorlib]System.Collections.Generic.List`1<class GUIPageIconGrouping>[exp:List`1](InterfaceProfile_Layout::RightGroupings, ldloc:InterfaceProfile_Layout(this))))
155 stloc:int32(var_15_8B, ldfld:int32(List`1::_size, ldfld:class [mscorlib]System.Collections.Generic.List`1<class GUIPageIconGrouping>[exp:List`1](InterfaceProfile_Layout::RightGroupings, ldloc:InterfaceProfile_Layout(this))))
156 stloc:class [mscorlib]System.Collections.Generic.List`1<class GUIPageIconGrouping>(var_17_96, ldfld:class [mscorlib]System.Collections.Generic.List`1<class GUIPageIconGrouping>(InterfaceProfile_Layout::LeftGroupings, ldloc:InterfaceProfile_Layout(this)))
157 stloc:class [mscorlib]System.Collections.Generic.List`1<class GUIPageIconGrouping>(var_18_9E, ldfld:class [mscorlib]System.Collections.Generic.List`1<class GUIPageIconGrouping>(InterfaceProfile_Layout::RightGroupings, ldloc:InterfaceProfile_Layout(this)))
158 stloc:class [mscorlib]System.Collections.Generic.List`1<class GUIPageIconGrouping>(var_19_A6, ldfld:class [mscorlib]System.Collections.Generic.List`1<class GUIPageIconGrouping>(InterfaceProfile_Layout::LeftGroupings, ldloc:InterfaceProfile_Layout(this)))
159 stloc:class [mscorlib]System.Collections.Generic.List`1<class GUIPageIconGrouping>(var_20_AE, ldfld:class [mscorlib]System.Collections.Generic.List`1<class GUIPageIconGrouping>(InterfaceProfile_Layout::RightGroupings, ldloc:InterfaceProfile_Layout(this)))
160}
161
162 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
163 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
164 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
165 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
166 --- End of inner exception stack trace ---
167 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
168 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
169*/;
170 }

Referenced by GUIResearch.Draw(), GUIResearch.IsOver(), and GUIBuilderAccToggles.IsOverBuilderTools().