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

◆ IDisposable [1/3]

class<LoadAssetsWhileInInitialBlackScreen_InSteps> Terraria.Initializers.AssetInitializer.IDisposable
setprivate

Definition at line 224 of file AssetInitializer.cs.

225 {
226 // Token: 0x06003479 RID: 13433 RVA: 0x00206EA4 File Offset: 0x002050A4
229 {
230 this.<>1__state = <>1__state;
231 }
232
233 // Token: 0x0600347A RID: 13434 RVA: 0x00206EC0 File Offset: 0x002050C0
235 void IDisposable.Dispose()
236 {
237 }
238
239 // Token: 0x0600347B RID: 13435 RVA: 0x00206ED0 File Offset: 0x002050D0
240 private bool MoveNext()
241 {
242 /*
243An exception occurred when decompiling this method (0600347B)
244
245ICSharpCode.Decompiler.DecompilerException: Error decompiling System.Boolean Terraria.Initializers.AssetInitializer/<LoadAssetsWhileInInitialBlackScreen_InSteps>d__3::MoveNext()
246
247 ---> System.Exception: Basic block has to end with unconditional control flow.
248{
249 IL_0150:
250 stloc:int64(var_38_157, ldfld:int64(int64::m_value, ldloc:int64[exp:int64&](var_36)))
251}
252
253 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
254 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
255 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
256 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
257 --- End of inner exception stack trace ---
258 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
259 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
260*/;
261 }
262
263 // Token: 0x17000680 RID: 1664
264 // (get) Token: 0x0600347C RID: 13436 RVA: 0x00207038 File Offset: 0x00205238
266 {
268 get
269 {
270 return this.<>2__current;
271 }
272 }
273
274 // Token: 0x0600347D RID: 13437 RVA: 0x000021DB File Offset: 0x000003DB
276 void IEnumerator.Reset()
277 {
278 throw new AnalysisFailedException("CPP2IL failed to recover any usable IL for this method.");
279 }
280
281 // Token: 0x17000681 RID: 1665
282 // (get) Token: 0x0600347E RID: 13438 RVA: 0x0020704C File Offset: 0x0020524C
284 {
286 get
287 {
288 return this.<>2__current;
289 }
290 }
291
292 // Token: 0x0400414C RID: 16716
293 private int <>1__state;
294
295 // Token: 0x0400414D RID: 16717
296 private object <>2__current;
297
298 // Token: 0x0400414E RID: 16718
300
301 // Token: 0x0400414F RID: 16719
303
304 // Token: 0x04004150 RID: 16720
306
307 // Token: 0x04004151 RID: 16721
309 }
class f__AnonymousType0<< Count > j__TPar
class< LoadAssetsWhileInInitialBlackScreen_InSteps > d__3