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
LayoutRebuilder.cs
Go to the documentation of this file.
1using System;
7
8namespace UnityEngine.UI
9{
10 // Token: 0x0200004E RID: 78
12 {
13 // Token: 0x060002FA RID: 762 RVA: 0x0000A620 File Offset: 0x00008820
19
20 // Token: 0x060002FB RID: 763 RVA: 0x0000A63C File Offset: 0x0000883C
21 private void Clear()
22 {
23 }
24
25 // Token: 0x060002FC RID: 764 RVA: 0x0000A64C File Offset: 0x0000884C
27 {
28 if (!true)
29 {
30 }
31 }
32
33 // Token: 0x060002FD RID: 765 RVA: 0x0000A660 File Offset: 0x00008860
35 {
36 if (!true)
37 {
38 }
40 }
41
42 // Token: 0x170000D4 RID: 212
43 // (get) Token: 0x060002FE RID: 766 RVA: 0x0000A678 File Offset: 0x00008878
45 {
46 get
47 {
48 /*
49An exception occurred when decompiling this method (060002FE)
50
51ICSharpCode.Decompiler.DecompilerException: Error decompiling UnityEngine.Transform UnityEngine.UI.LayoutRebuilder::get_transform()
52
53 ---> System.Exception: Basic block has to end with unconditional control flow.
54{
55 Block_0:
56 stloc:RectTransform(var_0_06, ldfld:RectTransform(LayoutRebuilder::m_ToRebuild, ldloc:LayoutRebuilder(this)))
57}
58
59 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
60 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
61 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
62 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
63 --- End of inner exception stack trace ---
64 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
65 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
66*/;
67 }
68 }
69
70 // Token: 0x060002FF RID: 767 RVA: 0x0000A68C File Offset: 0x0000888C
71 public bool IsDestroyed()
72 {
74 if (!true)
75 {
76 }
77 bool flag;
78 return flag;
79 }
80
81 // Token: 0x06000300 RID: 768 RVA: 0x0000A6A4 File Offset: 0x000088A4
82 private static void StripDisabledBehavioursFromList(List<Component> components)
83 {
84 if (!true)
85 {
86 }
87 if (!true)
88 {
89 }
90 }
91
92 // Token: 0x06000301 RID: 769 RVA: 0x00002207 File Offset: 0x00000407
94 {
95 throw new AnalysisFailedException("CPP2IL failed to recover any usable IL for this method.");
96 }
97
98 // Token: 0x06000302 RID: 770 RVA: 0x0000A6B8 File Offset: 0x000088B8
100 {
102 if (!true)
103 {
104 }
105 if (!true)
106 {
107 }
111 }
112
113 // Token: 0x06000303 RID: 771 RVA: 0x0000A6E8 File Offset: 0x000088E8
115 {
116 if (!true)
117 {
118 }
119 }
120
121 // Token: 0x06000304 RID: 772 RVA: 0x0000A724 File Offset: 0x00008924
123 {
124 if (!true)
125 {
126 }
127 }
128
129 // Token: 0x06000305 RID: 773 RVA: 0x0000A764 File Offset: 0x00008964
130 public static void MarkLayoutForRebuild(RectTransform rect)
131 {
132 if (!true)
133 {
134 }
135 GameObject gameObject = rect.gameObject;
136 }
137
138 // Token: 0x06000306 RID: 774 RVA: 0x0000A7A4 File Offset: 0x000089A4
140 {
141 if (!true)
142 {
143 }
144 if (layoutRoot != null)
145 {
146 return;
147 }
148 }
149
150 // Token: 0x06000307 RID: 775 RVA: 0x00002207 File Offset: 0x00000407
152 {
153 throw new AnalysisFailedException("CPP2IL failed to recover any usable IL for this method.");
154 }
155
156 // Token: 0x06000308 RID: 776 RVA: 0x0000A7C0 File Offset: 0x000089C0
157 public void LayoutComplete()
158 {
159 if (!true)
160 {
161 }
162 }
163
164 // Token: 0x06000309 RID: 777 RVA: 0x0000A7D0 File Offset: 0x000089D0
166 {
167 }
168
169 // Token: 0x0600030A RID: 778 RVA: 0x0000A7E0 File Offset: 0x000089E0
170 public override int GetHashCode()
171 {
172 return this.m_CachedHashFromTransform;
173 }
174
175 // Token: 0x0600030B RID: 779 RVA: 0x00002207 File Offset: 0x00000407
176 public override bool Equals(object obj)
177 {
178 throw new AnalysisFailedException("CPP2IL failed to recover any usable IL for this method.");
179 }
180
181 // Token: 0x0600030C RID: 780 RVA: 0x0000A7F4 File Offset: 0x000089F4
182 public override string ToString()
183 {
184 if (this.m_ToRebuild != null)
185 {
186 }
187 string text;
188 return text;
189 }
190
191 // Token: 0x0600030D RID: 781 RVA: 0x0000A80C File Offset: 0x00008A0C
193 {
194 }
195
196 // Token: 0x04000180 RID: 384
198
199 // Token: 0x04000181 RID: 385
201
202 // Token: 0x04000182 RID: 386
204
205 // Token: 0x0200004F RID: 79
207 [Serializable]
208 private sealed class <>c
209 {
210 // Token: 0x0600030E RID: 782 RVA: 0x0000A820 File Offset: 0x00008A20
211 // Note: this type is marked as 'beforefieldinit'.
212 static <>c()
213 {
214 }
215
216 // Token: 0x0600030F RID: 783 RVA: 0x0000A830 File Offset: 0x00008A30
217 public <>c()
218 {
219 }
220
221 // Token: 0x06000310 RID: 784 RVA: 0x00002207 File Offset: 0x00000407
222 internal LayoutRebuilder <.cctor>b__5_0()
223 {
224 throw new AnalysisFailedException("CPP2IL failed to recover any usable IL for this method.");
225 }
226
227 // Token: 0x06000311 RID: 785 RVA: 0x0000A844 File Offset: 0x00008A44
228 internal void <.cctor>b__5_1(LayoutRebuilder x)
229 {
230 }
231
232 // Token: 0x06000312 RID: 786 RVA: 0x0000A854 File Offset: 0x00008A54
234 {
235 if (e != null)
236 {
237 }
238 throw new MissingMethodException();
239 }
240
241 // Token: 0x06000313 RID: 787 RVA: 0x0000A86C File Offset: 0x00008A6C
243 {
244 }
245
246 // Token: 0x06000314 RID: 788 RVA: 0x0000A87C File Offset: 0x00008A7C
248 {
249 }
250
251 // Token: 0x06000315 RID: 789 RVA: 0x0000A88C File Offset: 0x00008A8C
253 {
254 }
255
256 // Token: 0x06000316 RID: 790 RVA: 0x0000A89C File Offset: 0x00008A9C
258 {
259 }
260
261 // Token: 0x04000183 RID: 387
262 public static readonly LayoutRebuilder.<>c <>9;
263
264 // Token: 0x04000184 RID: 388
265 public static Predicate<Component> <>9__10_0;
266
267 // Token: 0x04000185 RID: 389
268 public static UnityAction<Component> <>9__12_0;
269
270 // Token: 0x04000186 RID: 390
271 public static UnityAction<Component> <>9__12_1;
272
273 // Token: 0x04000187 RID: 391
274 public static UnityAction<Component> <>9__12_2;
275
276 // Token: 0x04000188 RID: 392
277 public static UnityAction<Component> <>9__12_3;
278 }
279 }
280}
class f__AnonymousType0<< Count > j__TPar
GameObject gameObject
Definition Component.cs:31
void PerformLayoutControl(RectTransform rect, UnityAction< Component > action)
static void StripDisabledBehavioursFromList(List< Component > components)
static void ForceRebuildLayoutImmediate(RectTransform layoutRoot)
static void ReapplyDrivenProperties(RectTransform driven)
static void MarkLayoutRootForRebuild(RectTransform controller)
static void MarkLayoutForRebuild(RectTransform rect)
void Initialize(RectTransform controller)
static ObjectPool< LayoutRebuilder > s_Rebuilders
static bool ValidController(RectTransform layoutRoot, List< Component > comps)
override bool Equals(object obj)
void PerformLayoutCalculation(RectTransform rect, UnityAction< Component > action)
void Rebuild(CanvasUpdate executing)