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

◆ MaxScrollOffset_Horizontal

int GUIControllerDynamicGridNavigator.MaxScrollOffset_Horizontal
getprivate

Definition at line 497 of file GUIControllerDynamicGridNavigator.cs.

498 {
499 get
500 {
501 /*
502An exception occurred when decompiling this method (060005EA)
503
504ICSharpCode.Decompiler.DecompilerException: Error decompiling System.Int32 GUIControllerDynamicGridNavigator::get_MaxScrollOffset_Horizontal()
505
506 ---> System.Exception: Basic block has to end with unconditional control flow.
507{
508 Block_0:
509 stloc:GetCollectionCount(var_0_06, ldfld:GetCollectionCount(GUIControllerDynamicGridNavigator::_collectionCount, ldloc:GUIControllerDynamicGridNavigator(this)))
510 stloc:native int(var_1_0D, ldfld:native int(Delegate::invoke_impl, ldloc:GetCollectionCount[exp:Delegate](var_0_06)))
511 stloc:native int(var_2_14, ldfld:native int(Delegate::method_code, ldloc:GetCollectionCount[exp:Delegate](var_0_06)))
512 stloc:native int(var_3_1B, ldfld:native int(Delegate::method, ldloc:GetCollectionCount[exp:Delegate](var_0_06)))
513 stloc:GetGrid(var_4_22, ldfld:GetGrid(GUIControllerDynamicGridNavigator::_grid, ldloc:GUIControllerDynamicGridNavigator(this)))
514 stloc:native int(var_5_2B, ldfld:native int(Delegate::method_code, ldloc:GetGrid[exp:Delegate](var_4_22)))
515 stloc:native int(var_6_34, ldfld:native int(Delegate::invoke_impl, ldloc:GetGrid[exp:Delegate](var_4_22)))
516 stloc:native int(var_7_3D, ldfld:native int(Delegate::method, ldloc:GetGrid[exp:Delegate](var_4_22)))
517 stloc:GetGrid(var_8_45, ldfld:GetGrid(GUIControllerDynamicGridNavigator::_grid, ldloc:GUIControllerDynamicGridNavigator(this)))
518 stloc:native int(var_9_4E, ldfld:native int(Delegate::invoke_impl, ldloc:GetGrid[exp:Delegate](var_8_45)))
519 stloc:native int(var_10_57, ldfld:native int(Delegate::method_code, ldloc:GetGrid[exp:Delegate](var_8_45)))
520 stloc:native int(var_11_60, ldfld:native int(Delegate::method, ldloc:GetGrid[exp:Delegate](var_8_45)))
521 stloc:GetGrid(var_12_68, ldfld:GetGrid(GUIControllerDynamicGridNavigator::_grid, ldloc:GUIControllerDynamicGridNavigator(this)))
522 stloc:native int(var_13_71, ldfld:native int(Delegate::invoke_impl, ldloc:GetGrid[exp:Delegate](var_12_68)))
523 stloc:native int(var_14_7A, ldfld:native int(Delegate::method_code, ldloc:GetGrid[exp:Delegate](var_12_68)))
524 stloc:native int(var_15_83, ldfld:native int(Delegate::method, ldloc:GetGrid[exp:Delegate](var_12_68)))
525 stloc:GetGrid(var_16_8B, ldfld:GetGrid(GUIControllerDynamicGridNavigator::_grid, ldloc:GUIControllerDynamicGridNavigator(this)))
526 stloc:native int(var_17_94, ldfld:native int(Delegate::invoke_impl, ldloc:GetGrid[exp:Delegate](var_16_8B)))
527 stloc:native int(var_18_9D, ldfld:native int(Delegate::method_code, ldloc:GetGrid[exp:Delegate](var_16_8B)))
528 stloc:native int(var_19_A6, ldfld:native int(Delegate::method, ldloc:GetGrid[exp:Delegate](var_16_8B)))
529}
530
531 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
532 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
533 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
534 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
535 --- End of inner exception stack trace ---
536 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
537 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
538*/;
539 }
540 }

Referenced by RefreshScrollOffset(), and UpdateScroll().