Ejemplo n.º 1
0
    private void method_9(int A_0)
    {
        this.binaryWriter_0.Write((ushort)4);
        Class547 latentStyles = this.styleCollection_0.LatentStyles;
        int      num          = 0;

        num  = 0 | (latentStyles.method_2() ? 1 : 0);
        num |= latentStyles.method_6() ? 2 : 0;
        num |= latentStyles.method_10() ? 4 : 0;
        num |= latentStyles.method_4() ? 8 : 0;
        num |= latentStyles.method_8() << 4;
        for (int i = 0; i < A_0; i++)
        {
            int     num3   = 0;
            Class66 class3 = latentStyles.method_14().method_3((StyleIdentifier)i);
            if (class3 != null)
            {
                num3 |= class3.method_3() ? 1 : 0;
                num3 |= class3.method_7() ? 2 : 0;
                num3 |= class3.method_11() ? 4 : 0;
                num3 |= class3.method_5() ? 8 : 0;
                num3 |= class3.method_9() << 4;
            }
            else
            {
                num3 = num;
            }
            this.binaryWriter_0.Write(num3);
        }
    }
Ejemplo n.º 2
0
    private static void smethod_2(Class582 A_0)
    {
        int      num          = 5;
        Class547 latentStyles = A_0.Interface50.imethod_0().Styles.LatentStyles;
        Class394 class3       = A_0.imethod_1();
        bool     flag         = latentStyles.method_2();
        string   str          = "";
        bool     flag2        = latentStyles.method_4();
        bool     flag3        = latentStyles.method_6();
        int      num2         = latentStyles.method_8();
        bool     flag4        = latentStyles.method_10();

        while (class3.method_19())
        {
            string str2 = class3.method_1();
            if (str2 != null)
            {
                if (!(str2 == BookmarkStart.b("䜪䈬䰮娰嘲儴", num)))
                {
                    if (str2 == BookmarkStart.b("䔪䰬䈮吰", num))
                    {
                        str = class3.method_3();
                    }
                }
                else
                {
                    flag = class3.method_63();
                }
            }
        }
        StyleIdentifier identifier = Class417.smethod_25(str);

        if (identifier != StyleIdentifier.User)
        {
            latentStyles.method_14().method_1(new Class66(identifier, flag, flag2, flag3, num2, flag4));
        }
    }