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

class<DrawToMap_Section_Sliced> GUIMap.IDisposable
setprivate

Definition at line 508 of file GUIMap.cs.

509 {
510 // Token: 0x0600096E RID: 2414 RVA: 0x0002B0A8 File Offset: 0x000292A8
513 {
514 this.<>1__state = <>1__state;
515 }
516
517 // Token: 0x0600096F RID: 2415 RVA: 0x0002B0C4 File Offset: 0x000292C4
519 void IDisposable.Dispose()
520 {
521 }
522
523 // Token: 0x06000970 RID: 2416 RVA: 0x0002B0D4 File Offset: 0x000292D4
524 private bool MoveNext()
525 {
526 /*
527An exception occurred when decompiling this method (06000970)
528
529ICSharpCode.Decompiler.DecompilerException: Error decompiling System.Boolean GUIMap/<DrawToMap_Section_Sliced>d__41::MoveNext()
530
531 ---> System.Exception: Basic block has to end with unconditional control flow.
532{
533 IL_00CD:
534 stloc:int32(var_12_D6, ldfld:int32('<DrawToMap_Section_Sliced>d__41'::<ty>5__5, ldloc:'<DrawToMap_Section_Sliced>d__41'(this)))
535 stloc:int32(var_13_DE, ldfld:int32('<DrawToMap_Section_Sliced>d__41'::<chunkEndY>5__7, ldloc:'<DrawToMap_Section_Sliced>d__41'(this)))
536 call:void(GUIMap::ApplySection, ldloc:GUIMap(var_1_0D), ldloc:int32(var_7), ldc.i4:int32(-2147483648), ldloc:int32(var_12_D6), ldloc:int32(var_13_DE))
537 call:void(GUIMap::ApplyMap, ldloc:GUIMap(var_1_0D))
538 stloc:int32(var_14_F8, ldc.i4:int32(1))
539 stfld:int32('<DrawToMap_Section_Sliced>d__41'::<tx>5__6, ldloc:'<DrawToMap_Section_Sliced>d__41'(this), ldc.i4:int32(-2147483648))
540 stfld:int32('<DrawToMap_Section_Sliced>d__41'::<>1__state, ldloc:'<DrawToMap_Section_Sliced>d__41'(this), ldloc:int32(var_14_F8))
541}
542
543 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
544 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
545 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
546 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
547 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
548 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
549 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
550 --- End of inner exception stack trace ---
551 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
552 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
553*/;
554 }
555
556 // Token: 0x170000ED RID: 237
557 // (get) Token: 0x06000971 RID: 2417 RVA: 0x0002B1F0 File Offset: 0x000293F0
559 {
561 get
562 {
563 return this.<>2__current;
564 }
565 }
566
567 // Token: 0x06000972 RID: 2418 RVA: 0x000021DB File Offset: 0x000003DB
569 void IEnumerator.Reset()
570 {
571 throw new AnalysisFailedException("CPP2IL failed to recover any usable IL for this method.");
572 }
573
574 // Token: 0x170000EE RID: 238
575 // (get) Token: 0x06000973 RID: 2419 RVA: 0x0002B204 File Offset: 0x00029404
577 {
579 get
580 {
581 return this.<>2__current;
582 }
583 }
584
585 // Token: 0x04000939 RID: 2361
586 private int <>1__state;
587
588 // Token: 0x0400093A RID: 2362
589 private object <>2__current;
590
591 // Token: 0x0400093B RID: 2363
592 public GUIMap <>4__this;
593
594 // Token: 0x0400093C RID: 2364
595 public int secX;
596
597 // Token: 0x0400093D RID: 2365
598 public int secY;
599
600 // Token: 0x0400093E RID: 2366
601 private int <xStart>5__2;
602
603 // Token: 0x0400093F RID: 2367
604 private int <xEnd>5__3;
605
606 // Token: 0x04000940 RID: 2368
607 private int <yEnd>5__4;
608
609 // Token: 0x04000941 RID: 2369
610 private int <ty>5__5;
611
612 // Token: 0x04000942 RID: 2370
613 private int <tx>5__6;
614
615 // Token: 0x04000943 RID: 2371
616 private int <chunkEndY>5__7;
617 }
class f__AnonymousType0<< Count > j__TPar
class< DrawToMap_Section_Sliced > d__41
Definition GUIMap.cs:508