internal static Color smethod_0(string A_0) { int num3; int num = 7; Match match = regex_0.Match(A_0); string str = match.Groups[2].Value; string str2 = match.Groups[8].Value; string str3 = match.Groups[6].Value; string str4 = match.Groups[10].Value; string str5 = match.Groups[12].Value; if (string.IsNullOrEmpty(str)) { if (!string.IsNullOrEmpty(str2)) { if (str2 == BookmarkStart.b("娬䘮弰圲娴䀶", num)) { return(Color.FromArgb(0xef, 0x11, 0, 0)); } if (str2 == BookmarkStart.b("娬䘮弰圲娴䀶洸帺䔼䬾", num)) { return(Color.Black); } if (str2 == BookmarkStart.b("夬䜮堰䀲", num)) { return(Color.Empty); } return(Class1086.smethod_0(str2)); } if (!string.IsNullOrEmpty(str3)) { return(Class114.smethod_13(str3)); } if (!string.IsNullOrEmpty(str4)) { return(Class114.smethod_13(str4)); } if (string.IsNullOrEmpty(str5)) { throw new InvalidOperationException(smethod_4(A_0)); } StringBuilder builder = new StringBuilder(6); for (int i = 0; i < str5.Length; i++) { char ch = str5[i]; builder.Append(ch); builder.Append(ch); } return(Class114.smethod_13(builder.ToString())); } int alpha = 0xef; string str6 = match.Groups[3].Value; if (str6 == null) { goto Label_01A2; } if (str6 != BookmarkStart.b("䬬䘮崰弲", num)) { if (str6 != BookmarkStart.b("䄬䘮弰嘲稴䔶缸刺儼匾", num)) { if (!(str6 == BookmarkStart.b("䄬䘮弰嘲", num))) { if (!(str6 == BookmarkStart.b("帬䜮倰圲娴䀶", num))) { goto Label_01A2; } num3 = 0xf3; } else { num3 = 0xf2; } } else { num3 = 0xf1; } } else { num3 = 240; } string str7 = match.Groups[4].Value; if (str7 != null) { int num5; if (str7 != BookmarkStart.b("䤬丮䌰堲倴夶", num)) { if (!(str7 == BookmarkStart.b("䄬䘮嘰嬲䄴制圸", num))) { if (!(str7 == BookmarkStart.b("䰬䬮唰", num))) { goto Label_0196; } num5 = 3; } else { num5 = 2; } } else { num5 = 1; } int blue = Class1041.smethod_23(match.Groups[5].Value); return(Color.FromArgb(alpha, num3, num5, blue)); } Label_0196: throw new InvalidOperationException(smethod_4(A_0)); Label_01A2: throw new InvalidOperationException(smethod_4(A_0)); }
internal static string smethod_2(Color A_0, bool A_1, bool A_2) { int num = 8; if (A_0.IsEmpty) { return(BookmarkStart.b("娭堯嬱䜳", num)); } if (A_0.A != 0xef) { string str = Class1086.smethod_1(A_0); if (str != "") { return(str); } if (((A_1 && (A_0.A == 0xff)) && (smethod_7(A_0.R) && smethod_7(A_0.G))) && smethod_7(A_0.B)) { return(string.Format(BookmarkStart.b("ഭ䬯ȱ䤳䴵ष䜹䜻ఽ㴿", num), smethod_6(A_0.R), smethod_6(A_0.G), smethod_6(A_0.B))); } string str2 = string.Format(BookmarkStart.b("ഭ䬯ȱ䤳䴵ष䜹䜻ఽ㴿", num), smethod_5(A_0.R), smethod_5(A_0.G), smethod_5(A_0.B)); if (A_2) { return(str2.ToUpper()); } return(str2); } StringBuilder builder = new StringBuilder(); if (A_0.R < 240) { byte r = A_0.R; if (r == 1) { return(null); } if (r != 0x11) { throw new InvalidOperationException(smethod_3(A_0)); } builder.Append(BookmarkStart.b("夭夯就倳夵伷", num)); } else { switch (A_0.R) { case 240: builder.Append(BookmarkStart.b("䠭夯帱堳ᘵ", num)); break; case 0xf1: builder.Append(BookmarkStart.b("䈭夯就儳礵䨷簹唻刽ⰿ扁", num)); break; case 0xf2: builder.Append(BookmarkStart.b("䈭夯就儳ᘵ", num)); break; case 0xf3: builder.Append(BookmarkStart.b("崭堯匱倳夵伷ᨹ", num)); break; case 0xf4: return(null); case 0xf7: return(null); default: throw new InvalidOperationException(smethod_3(A_0)); } switch (A_0.G) { case 1: builder.Append(BookmarkStart.b("䨭儯䀱弳匵嘷", num)); break; case 2: builder.Append(BookmarkStart.b("䈭夯唱尳䈵崷吹", num)); break; case 3: builder.Append(BookmarkStart.b("伭启嘱", num)); break; default: throw new InvalidOperationException(smethod_3(A_0)); } builder.AppendFormat(BookmarkStart.b("ح䬯ȱ䤳ἵ", num), A_0.B); } return(builder.ToString()); }