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
GUIControllerCraftingGuidePopup.cs
Go to the documentation of this file.
1using System;
2using Controller;
5
6// Token: 0x020000BE RID: 190
8{
9 // Token: 0x0600049F RID: 1183 RVA: 0x000021DB File Offset: 0x000003DB
11 {
12 throw new AnalysisFailedException("CPP2IL failed to recover any usable IL for this method.");
13 }
14
15 // Token: 0x060004A0 RID: 1184 RVA: 0x0000E734 File Offset: 0x0000C934
16 private int GetCollectionCount()
17 {
18 int num;
19 return num;
20 }
21
22 // Token: 0x060004A1 RID: 1185 RVA: 0x000021DB File Offset: 0x000003DB
23 private float GetItemScale()
24 {
25 throw new AnalysisFailedException("CPP2IL failed to recover any usable IL for this method.");
26 }
27
28 // Token: 0x060004A2 RID: 1186 RVA: 0x000021DB File Offset: 0x000003DB
29 private float GetScrollOffset()
30 {
31 throw new AnalysisFailedException("CPP2IL failed to recover any usable IL for this method.");
32 }
33
34 // Token: 0x060004A3 RID: 1187 RVA: 0x0000E744 File Offset: 0x0000C944
35 private void SetScrollOffset(float offset)
36 {
37 }
38
39 // Token: 0x060004A4 RID: 1188 RVA: 0x0000E754 File Offset: 0x0000C954
40 public bool IsInMenu()
41 {
42 return this.GridNav.InMenu;
43 }
44
45 // Token: 0x060004A5 RID: 1189 RVA: 0x0000E76C File Offset: 0x0000C96C
46 private int GetMenuItemCount()
47 {
48 }
49
50 // Token: 0x060004A6 RID: 1190 RVA: 0x0000E77C File Offset: 0x0000C97C
51 private int GetDisplayItemCount()
52 {
53 }
54
55 // Token: 0x17000084 RID: 132
56 // (get) Token: 0x060004A7 RID: 1191 RVA: 0x0000E78C File Offset: 0x0000C98C
58 {
59 get
60 {
61 /*
62An exception occurred when decompiling this method (060004A7)
63
64ICSharpCode.Decompiler.DecompilerException: Error decompiling GUIControllerDynamicGridNavigator GUIControllerCraftingGuidePopup::get_GridNav()
65
66 ---> System.Exception: Basic block has to end with unconditional control flow.
67{
68 IL_0000:
69 brtrue(IL_0000, ldfld:GUIControllerDynamicGridNavigator[exp:bool](GUIControllerCraftingGuidePopup::_gridNav, ldloc:GUIControllerCraftingGuidePopup(this)))
70}
71
72 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
73 at ICSharpCode.Decompiler.ILAst.ILAstOptimizer.FlattenBasicBlocks(ILNode node) in D:\a\dnSpy\dnSpy\Extensions\ILSpy.Decompiler\ICSharpCode.Decompiler\ICSharpCode.Decompiler\ILAst\ILAstOptimizer.cs:line 1878
74 at ICSharpCode.Decompiler.ILAst.ILAstOptimizer.FlattenBasicBlocks(ILNode node) in D:\a\dnSpy\dnSpy\Extensions\ILSpy.Decompiler\ICSharpCode.Decompiler\ICSharpCode.Decompiler\ILAst\ILAstOptimizer.cs:line 1878
75 at ICSharpCode.Decompiler.ILAst.ILAstOptimizer.FlattenBasicBlocks(ILNode node) in D:\a\dnSpy\dnSpy\Extensions\ILSpy.Decompiler\ICSharpCode.Decompiler\ICSharpCode.Decompiler\ILAst\ILAstOptimizer.cs:line 1846
76 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
77 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
78 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
79 --- End of inner exception stack trace ---
80 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
81 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
82*/;
83 }
84 }
85
86 // Token: 0x060004A8 RID: 1192 RVA: 0x0000E7A0 File Offset: 0x0000C9A0
88 {
89 return this.GridNav.GetNavigationOutDirs();
90 }
91
92 // Token: 0x060004A9 RID: 1193 RVA: 0x0000E7B8 File Offset: 0x0000C9B8
93 public void Activate()
94 {
96 long num = 0L;
97 gridNav.Activate((int)num);
98 }
99
100 // Token: 0x060004AA RID: 1194 RVA: 0x0000E7D8 File Offset: 0x0000C9D8
102 {
104 }
105
106 // Token: 0x060004AB RID: 1195 RVA: 0x0000E7F0 File Offset: 0x0000C9F0
107 protected void UpdateScroll()
108 {
109 }
110
111 // Token: 0x060004AC RID: 1196 RVA: 0x0000E800 File Offset: 0x0000CA00
126
127 // Token: 0x060004AD RID: 1197 RVA: 0x0000E84C File Offset: 0x0000CA4C
128 protected void ClampPosition()
129 {
130 }
131
132 // Token: 0x060004AE RID: 1198 RVA: 0x0000E85C File Offset: 0x0000CA5C
143
144 // Token: 0x060004AF RID: 1199 RVA: 0x0000E888 File Offset: 0x0000CA88
145 public void NavigateInto(int column, int row)
146 {
147 this.GridNav.NavigateInto(column, row);
148 }
149
150 // Token: 0x060004B0 RID: 1200 RVA: 0x0000E8A4 File Offset: 0x0000CAA4
154
155 // Token: 0x04000444 RID: 1092
157
158 // Token: 0x04000445 RID: 1093
160
161 // Token: 0x020000BF RID: 191
162 public enum Controls
163 {
164 // Token: 0x04000447 RID: 1095
165 Element,
166 // Token: 0x04000448 RID: 1096
167 Back
168 }
169}
class f__AnonymousType0<< Count > j__TPar
GUIControllerDynamicGridNavigator _gridNav
GUIControllerItem Navigate(Vector2 navigationVector)
GUIControllerCraftingGuidePopup.Controls selectedControl
GUIControllerDynamicGridNavigator GridNav