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
GUIControllerPageGroup.cs
Go to the documentation of this file.
1using System;
3
4// Token: 0x020000D2 RID: 210
6{
7 // Token: 0x06000543 RID: 1347 RVA: 0x00010260 File Offset: 0x0000E460
12
13 // Token: 0x06000544 RID: 1348 RVA: 0x0001027C File Offset: 0x0000E47C
14 public void Activate()
15 {
16 }
17
18 // Token: 0x06000545 RID: 1349 RVA: 0x0001028C File Offset: 0x0000E48C
20 {
21 /*
22An exception occurred when decompiling this method (06000545)
23
24ICSharpCode.Decompiler.DecompilerException: Error decompiling System.Int32 GUIControllerPageGroup::GetNavigationOutDirs()
25
26 ---> System.Exception: Basic block has to end with unconditional control flow.
27{
28 Block_0:
29 stloc:GUIPageIconGrouping(var_0_06, ldfld:GUIPageIconGrouping(GUIControllerPageGroup::Grouping, ldloc:GUIControllerPageGroup(this)))
30 stloc:int32(var_1_0D, ldfld:int32(GUIControllerPageGroup::MenuRow, ldloc:GUIControllerPageGroup(this)))
31 stloc:class [mscorlib]System.Collections.Generic.List`1<valuetype GUIPageIconGrouping/SettingCategory>(var_2_14, ldfld:class [mscorlib]System.Collections.Generic.List`1<valuetype GUIPageIconGrouping/SettingCategory>(GUIPageIconGrouping::_settings, ldloc:GUIPageIconGrouping(var_0_06)))
32 stloc:class [mscorlib]System.Collections.Generic.List`1<valuetype GUIPageIcons/Category>(var_3_1B, ldfld:class [mscorlib]System.Collections.Generic.List`1<valuetype GUIPageIcons/Category>(GUIPageIconGrouping::_options, ldloc:GUIPageIconGrouping(var_0_06)))
33 stloc:int32(var_4_22, ldfld:int32(List`1::_size, ldloc:class [mscorlib]System.Collections.Generic.List`1<valuetype GUIPageIconGrouping/SettingCategory>[exp:List`1](var_2_14)))
34 stloc:int32(var_5_2A, ldfld:int32(List`1::_size, ldloc:class [mscorlib]System.Collections.Generic.List`1<valuetype GUIPageIcons/Category>[exp:List`1](var_3_1B)))
35}
36
37 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
38 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
39 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
40 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
41 --- End of inner exception stack trace ---
42 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
43 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
44*/;
45 }
46
47 // Token: 0x06000546 RID: 1350 RVA: 0x000102C4 File Offset: 0x0000E4C4
49 {
52 int menuRow = this.MenuRow;
53 if (grouping.NavigateFromMenuIntoPage(menuRow) == null)
54 {
56 int menuRow2 = this.MenuRow;
58 if (guicontrollerItem == null)
59 {
60 return guicontrollerItem;
61 }
62 }
64 while (guicontrollerItem2 != null)
65 {
66 }
67 return guicontrollerItem2;
68 }
69
70 // Token: 0x06000547 RID: 1351 RVA: 0x000103C8 File Offset: 0x0000E5C8
71 public void ClampMenuItem(bool preferUp = true)
72 {
73 int menuRow = this.MenuRow;
74 }
75
76 // Token: 0x06000548 RID: 1352 RVA: 0x00010420 File Offset: 0x0000E620
78 {
79 /*
80An exception occurred when decompiling this method (06000548)
81
82ICSharpCode.Decompiler.DecompilerException: Error decompiling Microsoft.Xna.Framework.Rectangle GUIControllerPageGroup::GetSelectedItemRegion()
83
84 ---> System.Exception: Basic block has to end with unconditional control flow.
85{
86 IL_0035:
87 stloc:int32(var_4_3B, ldfld:int32(GUIControllerPageGroup::MenuRow, ldloc:GUIControllerPageGroup(this)))
88}
89
90 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
91 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
92 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
93 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
94 --- End of inner exception stack trace ---
95 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
96 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
97*/;
98 }
99
100 // Token: 0x0400047E RID: 1150
102
103 // Token: 0x0400047F RID: 1151
104 public int MenuRow;
105}
class f__AnonymousType0<< Count > j__TPar
void ClampMenuItem(bool preferUp=true)
GUIControllerPageGroup(GUIPageIconGrouping grouping)
GUIControllerItem Navigate(Vector2 navigationVector)
readonly GUIPageIconGrouping Grouping
LayoutCalculator.AnchorType Anchor
GUIControllerItem NavigateFromMenuIntoPage(int MenuRow)