internal static Color smethod_9(string A_0) { int num = 0x12; A_0 = A_0.ToLower(); Match match = regex_0.Match(A_0); if (match.Success) { Group group = match.Groups[1]; if (group.Success) { string str = group.Value; if (str.Length == 6) { return(Color.FromArgb(-16777216 + Class1041.smethod_26(str))); } int num5 = Class567.smethod_31(str[0]); int num6 = Class567.smethod_31(str[1]); int num7 = Class567.smethod_31(str[2]); return(Color.FromArgb(num5 * 0x11, num6 * 0x11, num7 * 0x11)); } int red = smethod_10(match.Groups[2].Value, match.Groups[3].Success); int green = smethod_10(match.Groups[4].Value, match.Groups[5].Success); int blue = smethod_10(match.Groups[6].Value, match.Groups[7].Success); return(Color.FromArgb(red, green, blue)); } if (A_0.EndsWith(BookmarkStart.b("強䠹夻䜽", num))) { A_0 = A_0.Substring(0, A_0.Length - BookmarkStart.b("強䠹夻䜽", num).Length) + BookmarkStart.b("強䠹崻䜽", num); } return(Color.FromName(A_0)); }
private static char smethod_22(string A_0) { return((char)((Class567.smethod_31(A_0[1]) * 0x10) + Class567.smethod_31(A_0[2]))); }