Beispiel #1
0
        public int method_4(Class47 class470, Class67 class670)
        {
            var @class = new OggClass3();

            if (class670 != null)
            {
                @class.method_4(class670.Byte0, class670.Int0, class670.Int1);
                var array = new byte[6];
                var 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 (class670.Int2 == 0)
                            {
                                return(-1);
                            }
                            if (Int9 != 0)
                            {
                                return(-1);
                            }
                            return(method_2(@class));

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

                        case 3:
                            if (Int9 == 0)
                            {
                                return(-1);
                            }
                            return(class470.method_1(@class));

                        case 5:
                            if (Int9 != 0 && class470.Byte1 != null)
                            {
                                return(method_3(@class));
                            }
                            return(-1);

                        default:
                            return(-1);
                        }
                    }
                }
                return(-1);
            }
            return(-1);
        }
Beispiel #2
0
        public int method_1(OggClass3 class380)
        {
            var num = class380.method_6(32);

            if (num < 0)
            {
                method_2();
                return(-1);
            }
            Byte1 = new byte[num + 1];
            class380.method_5(Byte1, num);
            Int2 = class380.method_6(32);
            if (Int2 < 0)
            {
                method_2();
                return(-1);
            }
            Byte0 = new byte[Int2 + 1][];
            Int1  = new int[Int2 + 1];
            for (var i = 0; i < Int2; i++)
            {
                var num2 = class380.method_6(32);
                if (num2 < 0)
                {
                    method_2();
                    return(-1);
                }
                Int1[i]  = num2;
                Byte0[i] = new byte[num2 + 1];
                class380.method_5(Byte0[i], num2);
            }
            if (class380.method_6(1) != 1)
            {
                method_2();
                return(-1);
            }
            return(0);
        }
Beispiel #3
0
 private int method_2(OggClass3 oggClass3)
 {
     Int7 = oggClass3.method_6(32);
     if (Int7 != 0)
     {
         return(-1);
     }
     Int8     = oggClass3.method_6(8);
     Int9     = oggClass3.method_6(32);
     Int10    = oggClass3.method_6(32);
     Int11    = oggClass3.method_6(32);
     Int12    = oggClass3.method_6(32);
     Int13[0] = 1 << oggClass3.method_6(4);
     Int13[1] = 1 << oggClass3.method_6(4);
     if (Int9 >= 1 && Int8 >= 1 && Int13[0] >= 8 && Int13[1] >= Int13[0])
     {
         if (oggClass3.method_6(1) == 1)
         {
             return(0);
         }
     }
     method_1();
     return(-1);
 }
Beispiel #4
0
 public abstract object vmethod_0(OggClass5 class490, OggClass3 class380);
Beispiel #5
0
 public override object vmethod_0(OggClass5 class490, OggClass3 class380)
 {
     return("");
 }
Beispiel #6
0
        public int method_0(OggClass3 oggClass3)
        {
            if (oggClass3.method_6(24) != 5653314)
            {
                method_2();
                return(-1);
            }
            Int0 = oggClass3.method_6(16);
            Int1 = oggClass3.method_6(24);
            if (Int1 == -1)
            {
                method_2();
                return(-1);
            }
            switch (oggClass3.method_6(1))
            {
            case 0:
                Int2 = new int[Int1];
                if (oggClass3.method_6(1) != 0)
                {
                    for (var i = 0; i < Int1; i++)
                    {
                        if (oggClass3.method_6(1) != 0)
                        {
                            var num = oggClass3.method_6(5);
                            if (num == -1)
                            {
                                method_2();
                                return(-1);
                            }
                            Int2[i] = num + 1;
                        }
                        else
                        {
                            Int2[i] = 0;
                        }
                    }
                }
                else
                {
                    for (var i = 0; i < Int1; i++)
                    {
                        var num2 = oggClass3.method_6(5);
                        if (num2 == -1)
                        {
                            method_2();
                            return(-1);
                        }
                        Int2[i] = num2 + 1;
                    }
                }
                break;

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

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

            case 1:
            case 2:
            {
                Int4 = oggClass3.method_6(32);
                Int5 = oggClass3.method_6(32);
                Int6 = oggClass3.method_6(4) + 1;
                Int7 = oggClass3.method_6(1);
                var num5 = 0;
                switch (Int3)
                {
                case 1:
                    num5 = method_1();
                    break;

                case 2:
                    num5 = Int1 * Int0;
                    break;
                }
                Int8 = new int[num5];
                for (var i = 0; i < num5; i++)
                {
                    Int8[i] = oggClass3.method_6(Int6);
                }
                if (Int8[num5 - 1] == -1)
                {
                    method_2();
                    return(-1);
                }
                break;
            }

            default:
                method_2();
                return(-1);
            }
            return(0);
        }
Beispiel #7
0
 private int method_3(OggClass3 oggClass3)
 {
     Int19 = oggClass3.method_6(8) + 1;
     if (OggClass2 == null || OggClass2.Length != Int19)
     {
         OggClass2 = new OggClass2[Int19];
     }
     for (var i = 0; i < Int19; i++)
     {
         OggClass2[i] = new OggClass2();
         if (OggClass2[i].method_0(oggClass3) != 0)
         {
             method_1();
             return(-1);
         }
     }
     Int16 = oggClass3.method_6(6) + 1;
     if (Int22 == null || Int22.Length != Int16)
     {
         Int22 = new int[Int16];
     }
     if (Object1 == null || Object1.Length != Int16)
     {
         Object1 = new object[Int16];
     }
     for (var j = 0; j < Int16; j++)
     {
         Int22[j] = oggClass3.method_6(16);
         if (Int22[j] < 0 || Int22[j] >= Int2)
         {
             method_1();
             return(-1);
         }
         Object1[j] = Class50.Class500[Int22[j]].vmethod_0(this, oggClass3);
         if (Object1[j] == null)
         {
             method_1();
             return(-1);
         }
     }
     Int17 = oggClass3.method_6(6) + 1;
     if (Int23 == null || Int23.Length != Int17)
     {
         Int23 = new int[Int17];
     }
     if (Object2 == null || Object2.Length != Int17)
     {
         Object2 = new object[Int17];
     }
     for (var k = 0; k < Int17; k++)
     {
         Int23[k] = oggClass3.method_6(16);
         if (Int23[k] < 0 || Int23[k] >= Int3)
         {
             method_1();
             return(-1);
         }
         Object2[k] = Class28.Class280[Int23[k]].vmethod_0(this, oggClass3);
         if (Object2[k] == null)
         {
             method_1();
             return(-1);
         }
     }
     Int18 = oggClass3.method_6(6) + 1;
     if (Int24 == null || Int24.Length != Int18)
     {
         Int24 = new int[Int18];
     }
     if (Object3 == null || Object3.Length != Int18)
     {
         Object3 = new object[Int18];
     }
     for (var l = 0; l < Int18; l++)
     {
         Int24[l] = oggClass3.method_6(16);
         if (Int24[l] < 0 || Int24[l] >= Int4)
         {
             method_1();
             return(-1);
         }
         Object3[l] = Class23.Class230[Int24[l]].vmethod_0(this, oggClass3);
         if (Object3[l] == null)
         {
             method_1();
             return(-1);
         }
     }
     Int15 = oggClass3.method_6(6) + 1;
     if (Int21 == null || Int21.Length != Int15)
     {
         Int21 = new int[Int15];
     }
     if (Object0 == null || Object0.Length != Int15)
     {
         Object0 = new object[Int15];
     }
     for (var m = 0; m < Int15; m++)
     {
         Int21[m] = oggClass3.method_6(16);
         if (Int21[m] < 0 || Int21[m] >= Int5)
         {
             method_1();
             return(-1);
         }
         Object0[m] = Class34.Class340[Int21[m]].vmethod_0(this, oggClass3);
         if (Object0[m] == null)
         {
             method_1();
             return(-1);
         }
     }
     Int14 = oggClass3.method_6(6) + 1;
     if (Class270 == null || Class270.Length != Int14)
     {
         Class270 = new Class27[Int14];
     }
     for (var n = 0; n < Int14; n++)
     {
         Class270[n]      = new Class27();
         Class270[n].Int0 = oggClass3.method_6(1);
         Class270[n].Int1 = oggClass3.method_6(16);
         Class270[n].Int2 = oggClass3.method_6(16);
         Class270[n].Int3 = oggClass3.method_6(8);
         if (Class270[n].Int1 >= Int6 || Class270[n].Int2 >= Int6 || Class270[n].Int3 >= Int15)
         {
             method_1();
             return(-1);
         }
     }
     if (oggClass3.method_6(1) != 1)
     {
         method_1();
         return(-1);
     }
     return(0);
 }
Beispiel #8
0
        public override object vmethod_0(OggClass5 class490, OggClass3 class380)
        {
            var @class = new Class54();

            if (class380.method_6(1) != 0)
            {
                @class.Int0 = class380.method_6(4) + 1;
            }
            else
            {
                @class.Int0 = 1;
            }
            if (class380.method_6(1) != 0)
            {
                @class.Int6 = class380.method_6(8) + 1;
                for (var i = 0; i < @class.Int6; i++)
                {
                    var num  = @class.Int7[i] = class380.method_6(smethod_0(class490.Int8));
                    var num2 = @class.Int8[i] = class380.method_6(smethod_0(class490.Int8));
                    if (num < 0 || num2 < 0 || num == num2 || num >= class490.Int8 || num2 >= class490.Int8)
                    {
                        @class.method_0();
                        return(null);
                    }
                }
            }
            if (class380.method_6(2) > 0)
            {
                @class.method_0();
                return(null);
            }
            if (@class.Int0 > 1)
            {
                for (var j = 0; j < class490.Int8; j++)
                {
                    @class.Int1[j] = class380.method_6(4);
                    if (@class.Int1[j] >= @class.Int0)
                    {
                        @class.method_0();
                        return(null);
                    }
                }
            }
            for (var k = 0; k < @class.Int0; k++)
            {
                @class.Int2[k] = class380.method_6(8);
                if (@class.Int2[k] >= class490.Int16)
                {
                    @class.method_0();
                    return(null);
                }
                @class.Int3[k] = class380.method_6(8);
                if (@class.Int3[k] >= class490.Int17)
                {
                    @class.method_0();
                    return(null);
                }
                @class.Int4[k] = class380.method_6(8);
                if (@class.Int4[k] >= class490.Int18)
                {
                    @class.method_0();
                    return(null);
                }
            }
            return(@class);
        }