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

◆ GetDimensionsBasedOnParentDimensions()

CalculatedStyle Terraria.UI.UIElement.GetDimensionsBasedOnParentDimensions ( CalculatedStyle parentDimensions)
inlineprivate

Definition at line 604 of file UIElement.cs.

605 {
606 /*
607An exception occurred when decompiling this method (06003C62)
608
609ICSharpCode.Decompiler.DecompilerException: Error decompiling Terraria.UI.CalculatedStyle Terraria.UI.UIElement::GetDimensionsBasedOnParentDimensions(Terraria.UI.CalculatedStyle)
610
611 ---> System.Exception: Basic block has to end with unconditional control flow.
612{
613 Block_0:
614 stloc:float32(var_0_0B, ldfld:float32(StyleDimension::Pixels, ldfld:StyleDimension[exp:valuetype Terraria.UI.StyleDimension&](UIElement::Left, ldloc:UIElement(this))))
615 stloc:float32(var_1_17, ldfld:float32(StyleDimension::Precent, ldfld:StyleDimension[exp:valuetype Terraria.UI.StyleDimension&](UIElement::Left, ldloc:UIElement(this))))
616 stloc:float32(var_2_23, ldfld:float32(StyleDimension::Pixels, ldfld:StyleDimension[exp:valuetype Terraria.UI.StyleDimension&](UIElement::Top, ldloc:UIElement(this))))
617 stloc:float32(var_3_2F, ldfld:float32(StyleDimension::Precent, ldfld:StyleDimension[exp:valuetype Terraria.UI.StyleDimension&](UIElement::Top, ldloc:UIElement(this))))
618 stloc:float32(var_4_3B, ldfld:float32(StyleDimension::Pixels, ldfld:StyleDimension[exp:valuetype Terraria.UI.StyleDimension&](UIElement::MinWidth, ldloc:UIElement(this))))
619 stloc:float32(var_5_48, ldfld:float32(StyleDimension::Precent, ldfld:StyleDimension[exp:valuetype Terraria.UI.StyleDimension&](UIElement::MinWidth, ldloc:UIElement(this))))
620 stloc:float32(var_6_55, ldfld:float32(StyleDimension::Pixels, ldfld:StyleDimension[exp:valuetype Terraria.UI.StyleDimension&](UIElement::MaxWidth, ldloc:UIElement(this))))
621 stloc:float32(var_7_62, ldfld:float32(StyleDimension::Precent, ldfld:StyleDimension[exp:valuetype Terraria.UI.StyleDimension&](UIElement::MaxWidth, ldloc:UIElement(this))))
622 stloc:float32(var_8_6F, ldfld:float32(StyleDimension::Pixels, ldfld:StyleDimension[exp:valuetype Terraria.UI.StyleDimension&](UIElement::MinHeight, ldloc:UIElement(this))))
623 stloc:float32(var_9_7C, ldfld:float32(StyleDimension::Precent, ldfld:StyleDimension[exp:valuetype Terraria.UI.StyleDimension&](UIElement::MinHeight, ldloc:UIElement(this))))
624 stloc:float32(var_10_89, ldfld:float32(StyleDimension::Pixels, ldfld:StyleDimension[exp:valuetype Terraria.UI.StyleDimension&](UIElement::Width, ldloc:UIElement(this))))
625 stloc:float32(var_11_96, ldfld:float32(StyleDimension::Precent, ldfld:StyleDimension[exp:valuetype Terraria.UI.StyleDimension&](UIElement::Width, ldloc:UIElement(this))))
626 stloc:float32(var_12_A3, ldfld:float32(StyleDimension::Pixels, ldfld:StyleDimension[exp:valuetype Terraria.UI.StyleDimension&](UIElement::MaxHeight, ldloc:UIElement(this))))
627 stloc:float32(var_13_B0, ldfld:float32(StyleDimension::Precent, ldfld:StyleDimension[exp:valuetype Terraria.UI.StyleDimension&](UIElement::MaxHeight, ldloc:UIElement(this))))
628 stloc:float32(var_16_C0, ldfld:float32(StyleDimension::Pixels, ldfld:StyleDimension[exp:valuetype Terraria.UI.StyleDimension&](UIElement::Height, ldloc:UIElement(this))))
629 stloc:float32(var_17_CD, ldfld:float32(StyleDimension::Precent, ldfld:StyleDimension[exp:valuetype Terraria.UI.StyleDimension&](UIElement::Height, ldloc:UIElement(this))))
630 stloc:float32(var_20_D8, ldfld:float32(UIElement::MarginTop, ldloc:UIElement(this)))
631 stloc:float32(var_21_E0, ldfld:float32(UIElement::MarginLeft, ldloc:UIElement(this)))
632 stloc:float32(var_22_E8, ldfld:float32(UIElement::MarginRight, ldloc:UIElement(this)))
633 stloc:float32(var_23_F0, ldfld:float32(UIElement::MarginBottom, ldloc:UIElement(this)))
634 stloc:float32(var_24_F8, ldfld:float32(UIElement::HAlign, ldloc:UIElement(this)))
635 stloc:float32(var_25_100, ldfld:float32(UIElement::VAlign, ldloc:UIElement(this)))
636}
637
638 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
639 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
640 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
641 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
642 --- End of inner exception stack trace ---
643 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
644 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
645*/;
646 }