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

◆ MenuColumn

int GUIControllerDynamicGridNavigator.MenuColumn
getprivate

Definition at line 451 of file GUIControllerDynamicGridNavigator.cs.

452 {
453 get
454 {
455 /*
456An exception occurred when decompiling this method (060005E8)
457
458ICSharpCode.Decompiler.DecompilerException: Error decompiling System.Int32 GUIControllerDynamicGridNavigator::get_MenuColumn()
459
460 ---> System.Exception: Basic block has to end with unconditional control flow.
461{
462 Block_0:
463 stloc:GetGrid(var_1_06, ldfld:GetGrid(GUIControllerDynamicGridNavigator::_grid, ldloc:GUIControllerDynamicGridNavigator(this)))
464 stloc:native int(var_2_0D, ldfld:native int(Delegate::method_code, ldloc:GetGrid[exp:Delegate](var_1_06)))
465 stloc:native int(var_3_14, ldfld:native int(Delegate::invoke_impl, ldloc:GetGrid[exp:Delegate](var_1_06)))
466 stloc:native int(var_4_1B, ldfld:native int(Delegate::method, ldloc:GetGrid[exp:Delegate](var_1_06)))
467 stloc:GetGrid(var_5_23, ldfld:GetGrid(GUIControllerDynamicGridNavigator::_grid, ldloc:GUIControllerDynamicGridNavigator(this)))
468 stloc:native int(var_6_2C, ldfld:native int(Delegate::invoke_impl, ldloc:GetGrid[exp:Delegate](var_5_23)))
469 stloc:native int(var_7_35, ldfld:native int(Delegate::method_code, ldloc:GetGrid[exp:Delegate](var_5_23)))
470 stloc:native int(var_8_3E, ldfld:native int(Delegate::method, ldloc:GetGrid[exp:Delegate](var_5_23)))
471}
472
473 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
474 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
475 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
476 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
477 --- End of inner exception stack trace ---
478 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
479 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
480*/;
481 }
482 }

Referenced by ClampPosition(), GetNavigationOutDirs(), GetSelectedItemRegion(), and NavigateInto().