private static Class623 smethod_0(string A_0) { int num = Class576.smethod_2(Class1041.smethod_18(A_0)); if (num != -2147483648) { return(new Class623(num, false)); } return(new Class623()); }
internal static void smethod_12(Class857 A_0, string A_1, bool A_2, bool A_3, Class43 A_4) { bool_9 = false; bool_10 = false; double_2 = 1.0; if (Class567.smethod_16(A_1)) { string[] strArray = A_1.Trim().Split(new char[] { ' ' }); int[] numArray = new int[4]; for (int i = 0; i < strArray.Length; i++) { if (i >= 4) { break; } int num6 = Class1041.smethod_18(strArray[i]); if (num6 == -2147483648) { return; } numArray[i] = num6; } int num4 = numArray[2] - numArray[0]; int num5 = numArray[3] - numArray[1]; int_2 = numArray[2]; int_3 = numArray[3]; if (num5 > 0) { double num = ((double)num4) / ((double)num5); double num2 = A_0.method_47() / A_0.method_46(); if (A_2 && (num < num2)) { num4 = (int)(num4 * num2); double_2 = num2; bool_9 = true; } if (A_3 && (num > num2)) { num5 = (int)(((double)num5) / num2); double_2 = num2; bool_10 = true; } } if (Class576.smethod_4(num4, num5)) { Class576.smethod_3(num4, num5); num4 = Class576.smethod_2(num4); num5 = Class576.smethod_2(num5); } A_4.SetAttr(0x101d, numArray[0]); A_4.SetAttr(0x101e, numArray[1]); A_4.SetAttr(0x101f, num4); A_4.SetAttr(0x1020, num5); } }
private string method_14(Class623 A_0, bool A_1) { int num = A_0.method_0() ? this.int_0[A_0.method_1()] : A_0.method_1(); if (A_1) { num /= 0x10000; } else { num = Class576.smethod_2(num); } return(Class1041.smethod_8(num)); }
private void method_11(ShapeObject A_0) { int num = 0x10; string str = ""; for (int i = 0; i < 10; i++) { object obj2 = A_0.ShapePr.method_31(0x147 + i); if (obj2 == null) { Class43 class2 = Class565.smethod_1(A_0.ShapeType); if (class2 != null) { obj2 = class2.method_31(0x147 + i); } } if (obj2 != null) { int num3 = Class576.smethod_2((int)obj2); str = string.Format(BookmarkStart.b("䴵࠷䜹᰻䔽焿㽁", num), str, Class1041.smethod_8(num3)); } } this.class400_0.method_40(BookmarkStart.b("刵䨷嬹䬻нⴿⵁ⁃⽅⹇⍉⥋㱍⍏", num), str.Trim()); }
private void method_12(ShapeBase A_0) { this.class400_0.method_40(BookmarkStart.b("天娫䤭ਯ䐱崳匵伷砹医䘽", 4), string.Format(BookmarkStart.b("儩ᰫ匭ု䤱Գ䬵ᠷ䄹䌽怿㥁睃㭅", 4), new object[] { 0, 0, Class576.smethod_2(A_0.CoordSizeWidth), Class576.smethod_2(A_0.CoordSizeHeight) })); }