internal static ShapeObject smethod_0(Interface50 A_0)
    {
        int       num    = 8;
        Class1132 class2 = null;
        string    str    = "";
        string    str2   = "";
        Class394  class3 = A_0.imethod_1();

        while (class3.method_19())
        {
            string str7 = class3.method_3();
            string str4 = class3.method_1();
            if (str4 != null)
            {
                if (str4 != BookmarkStart.b("䜭启", num))
                {
                    if (!(str4 == BookmarkStart.b("崭堯匱䐳匵儷帹", num)))
                    {
                        if (str4 == BookmarkStart.b("䀭儯弱儳", num))
                        {
                        }
                    }
                    else
                    {
                        str = str7;
                    }
                }
                else
                {
                    str2 = str7;
                }
            }
        }
        ShapeObject obj2 = (ShapeObject)A_0.imethod_8(str);

        obj2.SetShapeType(ShapeType.OleControl);
        Class467 class5 = new Class467(A_0.imethod_4(str2), string.Empty);
        Class394 class6 = new Class394(class5.method_4());
        string   str6   = class6.method_12(BookmarkStart.b("席唯䀱䜳張䬷丹夻倽⌿❁", num), null);
        string   g      = class6.method_12(BookmarkStart.b("䴭尯匱䜳䔵儷帹", num), null);
        string   str3   = str6;

        if (str3 != null)
        {
            if (str3 == BookmarkStart.b("席唯䀱䜳張䬷丹氻䰽⼿㉁⅃㑅㱇㍉๋⽍㝏", num))
            {
                return(obj2);
            }
            if ((str3 == BookmarkStart.b("席唯䀱䜳張䬷丹漻䨽⼿ぁ╃ⅅⵇ", num)) || (str3 == BookmarkStart.b("席唯䀱䜳張䬷丹漻䨽㈿❁╃⭅", num)))
            {
                Class467 class4 = new Class467(class5.method_8(BookmarkStart.b("尭礯嘱Գ", num)), string.Empty);
                if (str6 == BookmarkStart.b("席唯䀱䜳張䬷丹漻䨽⼿ぁ╃ⅅⵇ", num))
                {
                    class2 = new Class1132(class4.method_10());
                    return(obj2);
                }
                class2 = new Class1132(new Guid(g));
                class2.method_0().method_2(BookmarkStart.b("ⴭ缯焱氳爵礷渹紻", num), class4.method_10());
                return(obj2);
            }
            if (str3 == BookmarkStart.b("席唯䀱䜳張䬷丹漻䨽㈿❁╃⭅Ň⑉╋㩍", num))
            {
                return(obj2);
            }
        }
        throw new InvalidOperationException(BookmarkStart.b("札帯䐱唳娵儷帹᰻丽┿ぁ㝃⽅㭇㹉⥋⁍㍏㝑瑓⁕㥗㙙⥛㭝也", num));
    }