Пример #1
0
    private void method_2(Class1157 A_0)
    {
        object obj2 = A_0.method_12();

        if (obj2 != null)
        {
            Class297 class2 = (obj2 as Interface59).imethod_0();
            class2.method_5((byte)A_0.method_6());
            class2.method_7(this.method_3(A_0.method_0()));
            class2.method_9(this.method_3(A_0.method_2()));
            if (this.class297_0.method_10() < 0)
            {
                this.class297_0.method_11(class2.method_26());
            }
            Stream3 stream = obj2 as Stream3;
            if (stream != null)
            {
                class2.method_23((uint)stream.Length);
            }
        }
    }
Пример #2
0
    public void method_8(object A_0)
    {
        Class1157 class2 = this.method_10(A_0);

        if (!class2.method_8())
        {
            Class1157 class4;
            Class1157 class5;
            Class1157 class3 = class2;
            if (class3.method_0().method_8())
            {
                class5 = class3.method_2();
            }
            else if (class3.method_2().method_8())
            {
                class5 = class3.method_0();
            }
            else
            {
                class3 = smethod_2(class2);
                class5 = class3.method_2();
            }
            if (class3 == class2)
            {
                class4 = class2.method_4();
                if (!class5.method_8())
                {
                    class5.method_5(class4);
                }
                if (this.class1157_0.method_4() == class2)
                {
                    this.class1157_0.method_5(class5);
                }
                else if (class4.method_0() == class2)
                {
                    class4.method_1(class5);
                }
                else
                {
                    class4.method_3(class5);
                }
                if (this.class1157_0.method_0() == class2)
                {
                    this.class1157_0.method_1(class5.method_8() ? class4 : smethod_0(class5));
                }
                if (this.class1157_0.method_2() == class2)
                {
                    this.class1157_0.method_3(class5.method_8() ? class4 : smethod_1(class5));
                }
            }
            else
            {
                class2.method_0().method_5(class3);
                class3.method_1(class2.method_0());
                if (class3 == class2.method_2())
                {
                    class4 = class3;
                }
                else
                {
                    class4 = class3.method_4();
                    if (!class5.method_8())
                    {
                        class5.method_5(class4);
                    }
                    class4.method_1(class5);
                    class3.method_3(class2.method_2());
                    class2.method_2().method_5(class3);
                }
                if (this.class1157_0.method_4() == class2)
                {
                    this.class1157_0.method_5(class3);
                }
                else if (class2.method_4().method_0() == class2)
                {
                    class2.method_4().method_1(class3);
                }
                else
                {
                    class2.method_4().method_3(class3);
                }
                class3.method_5(class2.method_4());
                NodeColor color = class2.method_6();
                class2.method_7(class3.method_6());
                class3.method_7(color);
            }
            if (class2.method_6() == NodeColor.Black)
            {
                while (true)
                {
                    if ((class5 == this.class1157_0.method_4()) || (class5.method_6() != NodeColor.Black))
                    {
                        break;
                    }
                    if (class5 == class4.method_0())
                    {
                        class3 = class4.method_2();
                        if (class3.method_6() == NodeColor.Red)
                        {
                            class3.method_7(NodeColor.Black);
                            class4.method_7(NodeColor.Red);
                            this.method_12(class4);
                            class3 = class4.method_2();
                        }
                        if (class3.method_8())
                        {
                            class5 = class4;
                        }
                        else
                        {
                            if ((class3.method_0().method_6() != NodeColor.Black) || (class3.method_2().method_6() != NodeColor.Black))
                            {
                                if (class3.method_2().method_6() == NodeColor.Black)
                                {
                                    class3.method_0().method_7(NodeColor.Black);
                                    class3.method_7(NodeColor.Red);
                                    this.method_13(class3);
                                    class3 = class4.method_2();
                                }
                                class3.method_7(class4.method_6());
                                class4.method_7(NodeColor.Black);
                                class3.method_2().method_7(NodeColor.Black);
                                this.method_12(class4);
                                break;
                            }
                            class3.method_7(NodeColor.Red);
                            class5 = class4;
                        }
                    }
                    else
                    {
                        class3 = class4.method_0();
                        if (class3.method_6() == NodeColor.Red)
                        {
                            class3.method_7(NodeColor.Black);
                            class4.method_7(NodeColor.Red);
                            this.method_13(class4);
                            class3 = class4.method_0();
                        }
                        if (class3.method_8())
                        {
                            class5 = class4;
                        }
                        else
                        {
                            if ((class3.method_2().method_6() != NodeColor.Black) || (class3.method_0().method_6() != NodeColor.Black))
                            {
                                if (class3.method_0().method_6() == NodeColor.Black)
                                {
                                    class3.method_2().method_7(NodeColor.Black);
                                    class3.method_7(NodeColor.Red);
                                    this.method_12(class3);
                                    class3 = class4.method_0();
                                }
                                class3.method_7(class4.method_6());
                                class4.method_7(NodeColor.Black);
                                class3.method_0().method_7(NodeColor.Black);
                                this.method_13(class4);
                                break;
                            }
                            class3.method_7(NodeColor.Red);
                            class5 = class4;
                        }
                    }
                    class4 = class5.method_4();
                }
                class5.method_7(NodeColor.Black);
            }
            if (0 < this.int_0)
            {
                this.int_0--;
            }
        }
    }
Пример #3
0
    protected void method_15(bool A_0, Class1157 A_1, object A_2, object A_3)
    {
        Class1157 class2 = new Class1157(this.class1157_0, A_1, this.class1157_0, A_2, A_3);

        this.int_0++;
        if (A_1 == this.class1157_0)
        {
            Class1157 class3;
            Class1157 class4;
            this.class1157_0.method_3(class3 = class2);
            this.class1157_0.method_1(class4 = class3);
            this.class1157_0.method_5(class4);
        }
        else if (A_0)
        {
            A_1.method_1(class2);
            if (A_1 == this.class1157_0.method_0())
            {
                this.class1157_0.method_1(class2);
            }
        }
        else
        {
            A_1.method_3(class2);
            if (A_1 == this.class1157_0.method_2())
            {
                this.class1157_0.method_3(class2);
            }
        }
        Class1157 class5 = class2;

        while (class5.method_4().method_6() == NodeColor.Red)
        {
            if (class5.method_4() == class5.method_4().method_4().method_0())
            {
                A_1 = class5.method_4().method_4().method_2();
                if (A_1.method_6() == NodeColor.Red)
                {
                    class5.method_4().method_7(NodeColor.Black);
                    A_1.method_7(NodeColor.Black);
                    class5.method_4().method_4().method_7(NodeColor.Red);
                    class5 = class5.method_4().method_4();
                }
                else
                {
                    if (class5 == class5.method_4().method_2())
                    {
                        class5 = class5.method_4();
                        this.method_12(class5);
                    }
                    class5.method_4().method_7(NodeColor.Black);
                    class5.method_4().method_4().method_7(NodeColor.Red);
                    this.method_13(class5.method_4().method_4());
                }
            }
            else
            {
                A_1 = class5.method_4().method_4().method_0();
                if (A_1.method_6() == NodeColor.Red)
                {
                    class5.method_4().method_7(NodeColor.Black);
                    A_1.method_7(NodeColor.Black);
                    class5.method_4().method_4().method_7(NodeColor.Red);
                    class5 = class5.method_4().method_4();
                }
                else
                {
                    if (class5 == class5.method_4().method_0())
                    {
                        class5 = class5.method_4();
                        this.method_13(class5);
                    }
                    class5.method_4().method_7(NodeColor.Black);
                    class5.method_4().method_4().method_7(NodeColor.Red);
                    this.method_12(class5.method_4().method_4());
                }
            }
        }
        this.class1157_0.method_4().method_7(NodeColor.Black);
    }