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
GUIInputRegionManager.cs
Go to the documentation of this file.
1using System;
6
7// Token: 0x0200017E RID: 382
9{
10 // Token: 0x06000AD1 RID: 2769 RVA: 0x000021DB File Offset: 0x000003DB
12 {
13 throw new AnalysisFailedException("CPP2IL failed to recover any usable IL for this method.");
14 }
15
16 // Token: 0x17000116 RID: 278
17 // (get) Token: 0x06000AD2 RID: 2770 RVA: 0x00037098 File Offset: 0x00035298
19 {
20 get
21 {
22 int mouseX = this._mouseX;
23 int mouseY = this._mouseY;
24 Vector2 vector;
25 return vector;
26 }
27 }
28
29 // Token: 0x06000AD3 RID: 2771 RVA: 0x000370B4 File Offset: 0x000352B4
30 public void DisableAllPicking()
31 {
33 }
34
35 // Token: 0x06000AD4 RID: 2772 RVA: 0x000370C8 File Offset: 0x000352C8
36 public void RenablePicking()
37 {
38 }
39
40 // Token: 0x06000AD5 RID: 2773 RVA: 0x000370D8 File Offset: 0x000352D8
41 public void SetMousePosition(int x, int y, bool inUISpace = false)
42 {
43 this._mouseX = x;
45 }
46
47 // Token: 0x06000AD6 RID: 2774 RVA: 0x000370F8 File Offset: 0x000352F8
49 {
50 bool flag;
51 return flag;
52 }
53
54 // Token: 0x06000AD7 RID: 2775 RVA: 0x00037108 File Offset: 0x00035308
55 public bool RegisterInputRegion(int x, int y, Texture2D texture, float scale)
56 {
57 int width = texture.Width;
58 int height = texture.Height;
59 bool flag;
60 return flag;
61 }
62
63 // Token: 0x06000AD8 RID: 2776 RVA: 0x00037124 File Offset: 0x00035324
64 public bool RegisterInputRegion(int x, int y, Texture2D texture, float scale, Vector2 padding)
65 {
66 int width = texture.Width;
67 int height = texture.Height;
68 bool flag;
69 return flag;
70 }
71
72 // Token: 0x06000AD9 RID: 2777 RVA: 0x000021DB File Offset: 0x000003DB
73 public bool RegisterInputRegion(int xMin, int xMax, int yMin, int yMax)
74 {
75 throw new AnalysisFailedException("CPP2IL failed to recover any usable IL for this method.");
76 }
77
78 // Token: 0x06000ADA RID: 2778 RVA: 0x00037140 File Offset: 0x00035340
80 {
81 /*
82An exception occurred when decompiling this method (06000ADA)
83
84ICSharpCode.Decompiler.DecompilerException: Error decompiling System.Boolean GUIInputRegionManager::IsOverExclusiveRegion()
85
86 ---> System.Exception: Basic block has to end with unconditional control flow.
87{
88 Block_0:
89 stloc:class [mscorlib]System.Collections.Generic.List`1<class GUIInputRegionExclusive>(var_0_06, ldfld:class [mscorlib]System.Collections.Generic.List`1<class GUIInputRegionExclusive>(GUIInputRegionManager::_exclusiveRegion, ldloc:GUIInputRegionManager(this)))
90 stloc:int32(var_1_08, ldc.i4:int32(1))
91 stfld:bool(GUIInputRegionManager::_checkingExclusiveRegions, ldloc:GUIInputRegionManager(this), ldloc:int32[exp:bool](var_1_08))
92 stloc:int32(var_2_16, ldfld:int32(List`1::_size, ldloc:class [mscorlib]System.Collections.Generic.List`1<class GUIInputRegionExclusive>[exp:List`1](var_0_06)))
93 stloc:int32(var_4_1F, ldfld:int32(GUIInputRegionManager::_mouseX, ldloc:GUIInputRegionManager(this)))
94 stloc:bool(var_5_27, ldfld:bool(GUIInputRegionManager::_checkingExclusiveRegions, ldloc:GUIInputRegionManager(this)))
95 stloc:int32(var_7_34, ldfld:int32(List`1::_size, ldfld:class [mscorlib]System.Collections.Generic.List`1<class GUIInputRegionExclusive>[exp:List`1](GUIInputRegionManager::_exclusiveRegion, ldloc:GUIInputRegionManager(this))))
96 call:void(GUIInputRegionManager::RemovePendingRegions, ldloc:GUIInputRegionManager(this))
97}
98
99 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
100 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
101 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
102 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
103 --- End of inner exception stack trace ---
104 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
105 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
106*/;
107 }
108
109 // Token: 0x06000ADB RID: 2779 RVA: 0x000021DB File Offset: 0x000003DB
110 private void RemovePendingRegions()
111 {
112 throw new AnalysisFailedException("CPP2IL failed to recover any usable IL for this method.");
113 }
114
115 // Token: 0x06000ADC RID: 2780 RVA: 0x000021DB File Offset: 0x000003DB
117 {
118 throw new AnalysisFailedException("CPP2IL failed to recover any usable IL for this method.");
119 }
120
121 // Token: 0x06000ADD RID: 2781 RVA: 0x000021DB File Offset: 0x000003DB
123 {
124 throw new AnalysisFailedException("CPP2IL failed to recover any usable IL for this method.");
125 }
126
127 // Token: 0x06000ADE RID: 2782 RVA: 0x0003718C File Offset: 0x0003538C
128 public bool RegisterInputRegion(int x, int y, Vector2 size)
129 {
130 bool flag;
131 return flag;
132 }
133
134 // Token: 0x06000ADF RID: 2783 RVA: 0x000021DB File Offset: 0x000003DB
135 public bool IsOverRegion()
136 {
137 throw new AnalysisFailedException("CPP2IL failed to recover any usable IL for this method.");
138 }
139
140 // Token: 0x06000AE0 RID: 2784 RVA: 0x0003719C File Offset: 0x0003539C
142 {
143 }
144
145 // Token: 0x06000AE1 RID: 2785 RVA: 0x000021DB File Offset: 0x000003DB
147 {
148 throw new AnalysisFailedException("CPP2IL failed to recover any usable IL for this method.");
149 }
150
151 // Token: 0x06000AE2 RID: 2786 RVA: 0x000021DB File Offset: 0x000003DB
152 public void Clear()
153 {
154 throw new AnalysisFailedException("CPP2IL failed to recover any usable IL for this method.");
155 }
156
157 // Token: 0x06000AE3 RID: 2787 RVA: 0x000371B0 File Offset: 0x000353B0
159 {
160 }
161
162 // Token: 0x04000B2B RID: 2859
164
165 // Token: 0x04000B2C RID: 2860
166 private bool _disableAllRegions;
167
168 // Token: 0x04000B2D RID: 2861
169 private int _mouseX;
170
171 // Token: 0x04000B2E RID: 2862
172 private int _mouseY;
173
174 // Token: 0x04000B2F RID: 2863
176
177 // Token: 0x04000B30 RID: 2864
179
180 // Token: 0x04000B31 RID: 2865
182
183 // Token: 0x04000B32 RID: 2866
185
186 // Token: 0x04000B33 RID: 2867
188}
class f__AnonymousType0<< Count > j__TPar
List< GUIInputRegion > _currentRegion
List< GUIInputRegion > _availableRegion
GUIInputRegionExclusive RegisterPickingInterceptor(GUIInputRegionExclusive.IsOverHandler handler)
void SetMousePosition(int x, int y, bool inUISpace=false)
bool IsPositionOverUI(Vector2 uiPosition)
bool RegisterInputRegion(int x, int y, Texture2D texture, float scale)
bool RegisterInputRegion(Rectangle rect)
List< GUIInputRegionExclusive > _prendingExclusiveRegionRemoves
bool RegisterInputRegion(int x, int y, Texture2D texture, float scale, Vector2 padding)
bool RegisterInputRegion(int x, int y, Vector2 size)
void UnregisterPickingInterceptor(GUIInputRegionExclusive region)
bool RegisterInputRegion(int xMin, int xMax, int yMin, int yMax)
List< GUIInputRegionExclusive > _exclusiveRegion
static GUIInputRegionManager Create()
static GUIInputRegionManager Instance