Ejemplo n.º 1
0
        public int method_4(Class47 class47_0, Class67 class67_0)
        {
            OGGClass3 @class = new OGGClass3();

            if (class67_0 != null)
            {
                @class.method_4(class67_0.byte_0, class67_0.int_0, class67_0.int_1);
                byte[] array = new byte[6];
                int    num   = @class.method_6(8);
                @class.method_5(array, 6);
                if (array[0] == 118 && array[1] == 111 && array[2] == 114 && array[3] == 98 && array[4] == 105)
                {
                    if (array[5] == 115)
                    {
                        switch (num)
                        {
                        case 1:
                            if (class67_0.int_2 == 0)
                            {
                                return(-1);
                            }
                            if (this.int_9 != 0)
                            {
                                return(-1);
                            }
                            return(this.method_2(@class));

                        case 2:
                        case 4:
                            return(-1);

                        case 3:
                            if (this.int_9 == 0)
                            {
                                return(-1);
                            }
                            return(class47_0.method_1(@class));

                        case 5:
                            if (this.int_9 != 0 && class47_0.byte_1 != null)
                            {
                                return(this.method_3(@class));
                            }
                            return(-1);

                        default:
                            return(-1);
                        }
                    }
                }
                return(-1);
            }
            return(-1);
        }
Ejemplo n.º 2
0
        public int method_1(OGGClass3 class38_0)
        {
            int num = class38_0.method_6(32);

            if (num < 0)
            {
                this.method_2();
                return(-1);
            }
            this.byte_1 = new byte[num + 1];
            class38_0.method_5(this.byte_1, num);
            this.int_2 = class38_0.method_6(32);
            if (this.int_2 < 0)
            {
                this.method_2();
                return(-1);
            }
            this.byte_0 = new byte[this.int_2 + 1][];
            this.int_1  = new int[this.int_2 + 1];
            for (int i = 0; i < this.int_2; i++)
            {
                int num2 = class38_0.method_6(32);
                if (num2 < 0)
                {
                    this.method_2();
                    return(-1);
                }
                this.int_1[i]  = num2;
                this.byte_0[i] = new byte[num2 + 1];
                class38_0.method_5(this.byte_0[i], num2);
            }
            if (class38_0.method_6(1) != 1)
            {
                this.method_2();
                return(-1);
            }
            return(0);
        }
Ejemplo n.º 3
0
 private int method_2(OGGClass3 oggClass3)
 {
     this.int_7 = oggClass3.method_6(32);
     if (this.int_7 != 0)
     {
         return(-1);
     }
     this.int_8     = oggClass3.method_6(8);
     this.int_9     = oggClass3.method_6(32);
     this.int_10    = oggClass3.method_6(32);
     this.int_11    = oggClass3.method_6(32);
     this.int_12    = oggClass3.method_6(32);
     this.int_13[0] = 1 << oggClass3.method_6(4);
     this.int_13[1] = 1 << oggClass3.method_6(4);
     if (this.int_9 >= 1 && this.int_8 >= 1 && this.int_13[0] >= 8 && this.int_13[1] >= this.int_13[0])
     {
         if (oggClass3.method_6(1) == 1)
         {
             return(0);
         }
     }
     this.method_1();
     return(-1);
 }
Ejemplo n.º 4
0
 public override object vmethod_0(OGGClass5 class49_0, OGGClass3 class38_0)
 {
     return("");
 }
Ejemplo n.º 5
0
 private int method_3(OGGClass3 oggClass3)
 {
     this.int_19 = oggClass3.method_6(8) + 1;
     if (this.oggClass2 == null || this.oggClass2.Length != this.int_19)
     {
         this.oggClass2 = new OGGClass2[this.int_19];
     }
     for (int i = 0; i < this.int_19; i++)
     {
         this.oggClass2[i] = new OGGClass2();
         if (this.oggClass2[i].method_0(oggClass3) != 0)
         {
             this.method_1();
             return(-1);
         }
     }
     this.int_16 = oggClass3.method_6(6) + 1;
     if (this.int_22 == null || this.int_22.Length != this.int_16)
     {
         this.int_22 = new int[this.int_16];
     }
     if (this.object_1 == null || this.object_1.Length != this.int_16)
     {
         this.object_1 = new object[this.int_16];
     }
     for (int j = 0; j < this.int_16; j++)
     {
         this.int_22[j] = oggClass3.method_6(16);
         if (this.int_22[j] < 0 || this.int_22[j] >= OGGClass5.int_2)
         {
             this.method_1();
             return(-1);
         }
         this.object_1[j] = Class50.class50_0[this.int_22[j]].vmethod_0(this, oggClass3);
         if (this.object_1[j] == null)
         {
             this.method_1();
             return(-1);
         }
     }
     this.int_17 = oggClass3.method_6(6) + 1;
     if (this.int_23 == null || this.int_23.Length != this.int_17)
     {
         this.int_23 = new int[this.int_17];
     }
     if (this.object_2 == null || this.object_2.Length != this.int_17)
     {
         this.object_2 = new object[this.int_17];
     }
     for (int k = 0; k < this.int_17; k++)
     {
         this.int_23[k] = oggClass3.method_6(16);
         if (this.int_23[k] < 0 || this.int_23[k] >= OGGClass5.int_3)
         {
             this.method_1();
             return(-1);
         }
         this.object_2[k] = Class28.class28_0[this.int_23[k]].vmethod_0(this, oggClass3);
         if (this.object_2[k] == null)
         {
             this.method_1();
             return(-1);
         }
     }
     this.int_18 = oggClass3.method_6(6) + 1;
     if (this.int_24 == null || this.int_24.Length != this.int_18)
     {
         this.int_24 = new int[this.int_18];
     }
     if (this.object_3 == null || this.object_3.Length != this.int_18)
     {
         this.object_3 = new object[this.int_18];
     }
     for (int l = 0; l < this.int_18; l++)
     {
         this.int_24[l] = oggClass3.method_6(16);
         if (this.int_24[l] < 0 || this.int_24[l] >= OGGClass5.int_4)
         {
             this.method_1();
             return(-1);
         }
         this.object_3[l] = Class23.class23_0[this.int_24[l]].vmethod_0(this, oggClass3);
         if (this.object_3[l] == null)
         {
             this.method_1();
             return(-1);
         }
     }
     this.int_15 = oggClass3.method_6(6) + 1;
     if (this.int_21 == null || this.int_21.Length != this.int_15)
     {
         this.int_21 = new int[this.int_15];
     }
     if (this.object_0 == null || this.object_0.Length != this.int_15)
     {
         this.object_0 = new object[this.int_15];
     }
     for (int m = 0; m < this.int_15; m++)
     {
         this.int_21[m] = oggClass3.method_6(16);
         if (this.int_21[m] < 0 || this.int_21[m] >= OGGClass5.int_5)
         {
             this.method_1();
             return(-1);
         }
         this.object_0[m] = Class34.class34_0[this.int_21[m]].vmethod_0(this, oggClass3);
         if (this.object_0[m] == null)
         {
             this.method_1();
             return(-1);
         }
     }
     this.int_14 = oggClass3.method_6(6) + 1;
     if (this.class27_0 == null || this.class27_0.Length != this.int_14)
     {
         this.class27_0 = new Class27[this.int_14];
     }
     for (int n = 0; n < this.int_14; n++)
     {
         this.class27_0[n]       = new Class27();
         this.class27_0[n].int_0 = oggClass3.method_6(1);
         this.class27_0[n].int_1 = oggClass3.method_6(16);
         this.class27_0[n].int_2 = oggClass3.method_6(16);
         this.class27_0[n].int_3 = oggClass3.method_6(8);
         if (this.class27_0[n].int_1 >= OGGClass5.int_6 || this.class27_0[n].int_2 >= OGGClass5.int_6 || this.class27_0[n].int_3 >= this.int_15)
         {
             this.method_1();
             return(-1);
         }
     }
     if (oggClass3.method_6(1) != 1)
     {
         this.method_1();
         return(-1);
     }
     return(0);
 }
Ejemplo n.º 6
0
        public override object vmethod_0(OGGClass5 class49_0, OGGClass3 class38_0)
        {
            Class54 @class = new Class54();

            if (class38_0.method_6(1) != 0)
            {
                @class.int_0 = class38_0.method_6(4) + 1;
            }
            else
            {
                @class.int_0 = 1;
            }
            if (class38_0.method_6(1) != 0)
            {
                @class.int_6 = class38_0.method_6(8) + 1;
                for (int i = 0; i < @class.int_6; i++)
                {
                    int num  = @class.int_7[i] = class38_0.method_6(Class35.smethod_0(class49_0.int_8));
                    int num2 = @class.int_8[i] = class38_0.method_6(Class35.smethod_0(class49_0.int_8));
                    if (num < 0 || num2 < 0 || num == num2 || num >= class49_0.int_8 || num2 >= class49_0.int_8)
                    {
                        @class.method_0();
                        return(null);
                    }
                }
            }
            if (class38_0.method_6(2) > 0)
            {
                @class.method_0();
                return(null);
            }
            if (@class.int_0 > 1)
            {
                for (int j = 0; j < class49_0.int_8; j++)
                {
                    @class.int_1[j] = class38_0.method_6(4);
                    if (@class.int_1[j] >= @class.int_0)
                    {
                        @class.method_0();
                        return(null);
                    }
                }
            }
            for (int k = 0; k < @class.int_0; k++)
            {
                @class.int_2[k] = class38_0.method_6(8);
                if (@class.int_2[k] >= class49_0.int_16)
                {
                    @class.method_0();
                    return(null);
                }
                @class.int_3[k] = class38_0.method_6(8);
                if (@class.int_3[k] >= class49_0.int_17)
                {
                    @class.method_0();
                    return(null);
                }
                @class.int_4[k] = class38_0.method_6(8);
                if (@class.int_4[k] >= class49_0.int_18)
                {
                    @class.method_0();
                    return(null);
                }
            }
            return(@class);
        }
Ejemplo n.º 7
0
 public abstract object vmethod_0(OGGClass5 class49_0, OGGClass3 class38_0);
Ejemplo n.º 8
0
        public int method_0(OGGClass3 oggClass3)
        {
            if (oggClass3.method_6(24) != 5653314)
            {
                this.method_2();
                return(-1);
            }
            this.int_0 = oggClass3.method_6(16);
            this.int_1 = oggClass3.method_6(24);
            if (this.int_1 == -1)
            {
                this.method_2();
                return(-1);
            }
            switch (oggClass3.method_6(1))
            {
            case 0:
                this.int_2 = new int[this.int_1];
                if (oggClass3.method_6(1) != 0)
                {
                    for (int i = 0; i < this.int_1; i++)
                    {
                        if (oggClass3.method_6(1) != 0)
                        {
                            int num = oggClass3.method_6(5);
                            if (num == -1)
                            {
                                this.method_2();
                                return(-1);
                            }
                            this.int_2[i] = num + 1;
                        }
                        else
                        {
                            this.int_2[i] = 0;
                        }
                    }
                }
                else
                {
                    for (int i = 0; i < this.int_1; i++)
                    {
                        int num2 = oggClass3.method_6(5);
                        if (num2 == -1)
                        {
                            this.method_2();
                            return(-1);
                        }
                        this.int_2[i] = num2 + 1;
                    }
                }
                break;

            case 1:
            {
                int num3 = oggClass3.method_6(5) + 1;
                this.int_2 = new int[this.int_1];
                int i = 0;
                while (i < this.int_1)
                {
                    int num4 = oggClass3.method_6(OGGClass2.smethod_0(this.int_1 - i));
                    if (num4 == -1)
                    {
                        this.method_2();
                        return(-1);
                    }
                    int j = 0;
                    while (j < num4)
                    {
                        this.int_2[i] = num3;
                        j++;
                        i++;
                    }
                    num3++;
                }
                break;
            }

            default:
                return(-1);
            }
            switch (this.int_3 = oggClass3.method_6(4))
            {
            case 0:
                break;

            case 1:
            case 2:
            {
                this.int_4 = oggClass3.method_6(32);
                this.int_5 = oggClass3.method_6(32);
                this.int_6 = oggClass3.method_6(4) + 1;
                this.int_7 = oggClass3.method_6(1);
                int num5 = 0;
                switch (this.int_3)
                {
                case 1:
                    num5 = this.method_1();
                    break;

                case 2:
                    num5 = this.int_1 * this.int_0;
                    break;
                }
                this.int_8 = new int[num5];
                for (int i = 0; i < num5; i++)
                {
                    this.int_8[i] = oggClass3.method_6(this.int_6);
                }
                if (this.int_8[num5 - 1] == -1)
                {
                    this.method_2();
                    return(-1);
                }
                break;
            }

            default:
                this.method_2();
                return(-1);
            }
            return(0);
        }