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
GUIWorldCreateController.cs
Go to the documentation of this file.
1using System;
3
4// Token: 0x020000AE RID: 174
6{
7 // Token: 0x0600040E RID: 1038 RVA: 0x0000D2D4 File Offset: 0x0000B4D4
8 public void Activate()
9 {
10 }
11
12 // Token: 0x0600040F RID: 1039 RVA: 0x0000D2E4 File Offset: 0x0000B4E4
14 {
15 }
16
17 // Token: 0x06000410 RID: 1040 RVA: 0x0000D2F4 File Offset: 0x0000B4F4
19 {
20 /*
21An exception occurred when decompiling this method (06000410)
22
23ICSharpCode.Decompiler.DecompilerException: Error decompiling GUIControllerItem GUIWorldCreateController::Navigate(Microsoft.Xna.Framework.Vector2)
24
25 ---> System.Exception: Basic block has to end with unconditional control flow.
26{
27 IL_0063:
28 stloc:int32(var_7_64, ldc.i4:int32(2))
29 stfld:int32(GUIWorldCreateController::difficultyIndex, ldloc:GUIWorldCreateController(this), ldloc:int32(var_7_64))
30 stloc:int32(var_9_72, ldc.i4:int32(5))
31 stfld:int32(GUIWorldCreateController::selectedItem, ldloc:GUIWorldCreateController(this), ldloc:int32(var_9_72))
32}
33
34 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
35 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
36 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
37 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
38 --- End of inner exception stack trace ---
39 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
40 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
41*/;
42 }
43
44 // Token: 0x06000411 RID: 1041 RVA: 0x0000D37C File Offset: 0x0000B57C
45 public void ActivateName()
46 {
47 this.nameActive = true;
48 }
49
50 // Token: 0x06000412 RID: 1042 RVA: 0x0000D390 File Offset: 0x0000B590
51 public void DeactivateName()
52 {
53 }
54
55 // Token: 0x06000413 RID: 1043 RVA: 0x0000D3A0 File Offset: 0x0000B5A0
56 public void ActivateSeed()
57 {
58 this.seedActive = true;
59 }
60
61 // Token: 0x06000414 RID: 1044 RVA: 0x0000D3B4 File Offset: 0x0000B5B4
62 public void DeactivateSeed()
63 {
64 }
65
66 // Token: 0x06000415 RID: 1045 RVA: 0x0000D3C4 File Offset: 0x0000B5C4
67 public void ActivateDifficultyOptions(int selectedOption, int wrapAround)
68 {
69 int num = 1;
70 this.difficultyActive = num != 0;
71 this.evilTypeActive = wrapAround != 0;
72 }
73
74 // Token: 0x06000416 RID: 1046 RVA: 0x0000D3E4 File Offset: 0x0000B5E4
76 {
77 }
78
79 // Token: 0x06000417 RID: 1047 RVA: 0x0000D3F4 File Offset: 0x0000B5F4
85
86 // Token: 0x06000418 RID: 1048 RVA: 0x0000D410 File Offset: 0x0000B610
88 {
89 }
90
91 // Token: 0x06000419 RID: 1049 RVA: 0x0000D420 File Offset: 0x0000B620
92 public void ActivateEvilTypeOptions(int selectedOption, int wrapAround)
93 {
94 int num = 1;
95 this.evilTypeActive = num != 0;
96 }
97
98 // Token: 0x0600041A RID: 1050 RVA: 0x0000D438 File Offset: 0x0000B638
100 {
101 }
102
103 // Token: 0x0600041B RID: 1051 RVA: 0x0000D448 File Offset: 0x0000B648
105 {
106 if (this.difficultyActive)
107 {
108 int num = this.difficultyIndex;
109 }
111 if (this.worldActive)
112 {
113 int num2 = this.worldIndex;
114 return rectangle;
115 }
116 if (this.evilTypeActive)
117 {
118 int num3 = this.evilTypeIndex;
119 return rectangle;
120 }
122 return rectangle2;
123 }
124
125 // Token: 0x0600041C RID: 1052 RVA: 0x0000D4AC File Offset: 0x0000B6AC
127 {
128 }
129
130 // Token: 0x040003F3 RID: 1011
131 public int selectedItem;
132
133 // Token: 0x040003F4 RID: 1012
134 private bool nameActive;
135
136 // Token: 0x040003F5 RID: 1013
137 private bool seedActive;
138
139 // Token: 0x040003F6 RID: 1014
140 private bool worldActive;
141
142 // Token: 0x040003F7 RID: 1015
143 private int worldIndex;
144
145 // Token: 0x040003F8 RID: 1016
146 private bool difficultyActive;
147
148 // Token: 0x040003F9 RID: 1017
149 private int difficultyIndex;
150
151 // Token: 0x040003FA RID: 1018
153
154 // Token: 0x040003FB RID: 1019
155 private bool evilTypeActive;
156
157 // Token: 0x040003FC RID: 1020
158 private int evilTypeIndex;
159
160 // Token: 0x040003FD RID: 1021
162}
class f__AnonymousType0<< Count > j__TPar
void ActivateDifficultyOptions(int selectedOption, int wrapAround)
void ActivateWorldOptions(int selectedOption)
GUIControllerItem Navigate(Vector2 navigationVector)
void ActivateEvilTypeOptions(int selectedOption, int wrapAround)