Beispiel #1
0
        public override object vmethod_1(OGGClass1 class66_0, Class27 class27_0, object object_2)
        {
            OGGClass5 class49_ = class66_0.oggClass5;
            Class55   @class   = new Class55();
            Class54   class2   = @class.class54_0 = (Class54)object_2;

            @class.class27_0 = class27_0;
            @class.object_0  = new object[class2.int_0];
            @class.object_1  = new object[class2.int_0];
            @class.object_2  = new object[class2.int_0];
            @class.class50_0 = new Class50[class2.int_0];
            @class.class28_0 = new Class28[class2.int_0];
            @class.class23_0 = new Class23[class2.int_0];
            for (int i = 0; i < class2.int_0; i++)
            {
                int num  = class2.int_2[i];
                int num2 = class2.int_3[i];
                int num3 = class2.int_4[i];
                @class.class50_0[i] = Class50.class50_0[class49_.int_22[num]];
                @class.object_0[i]  = @class.class50_0[i].vmethod_1(class66_0, class27_0, class49_.object_1[num]);
                @class.class28_0[i] = Class28.class28_0[class49_.int_23[num2]];
                @class.object_1[i]  = @class.class28_0[i].vmethod_1(class66_0, class27_0, class49_.object_2[num2]);
                @class.class23_0[i] = Class23.class23_0[class49_.int_24[num3]];
                @class.object_2[i]  = @class.class23_0[i].vmethod_1(class66_0, class27_0, class49_.object_3[num3]);
            }
            if (class49_.int_20 == 0)
            {
            }
            @class.int_0 = class49_.int_8;
            return(@class);
        }
Beispiel #2
0
        private int method_11()
        {
            OGGClass5 oggClass5 = new OGGClass5();
            Class47   class47_  = new Class47();
            Class48   @class    = new Class48();

            int[] array = new int[1];
            int   num   = this.method_2(oggClass5, class47_, array, null);
            int   num2  = array[0];
            int   int_  = (int)this.long_0;

            this.class56_0.method_2();
            if (num == -1)
            {
                return(-1);
            }
            this.bool_0 = true;
            OGGStream.smethod_0(this.fileStream, 0L, OGGStream.int_5);
            this.long_0 = OGGStream.smethod_1(this.fileStream);
            long num3 = this.long_0;

            num3 = (long)this.method_1(@class);
            if (@class.method_5() != num2)
            {
                if (this.method_13(0L, 0L, num3 + 1L, num2, 0) < 0)
                {
                    this.method_22();
                    return(OGGStream.int_9);
                }
            }
            else if (this.method_13(0L, num3, num3 + 1L, num2, 0) < 0)
            {
                this.method_22();
                return(OGGStream.int_9);
            }
            this.method_3(oggClass5, class47_, int_);
            return(this.method_17(0));
        }
Beispiel #3
0
 public override object vmethod_0(OGGClass5 class49_0, OGGClass3 class38_0)
 {
     Class36 @class = new Class36();
     @class.int_0 = class38_0.method_6(8);
     @class.int_1 = class38_0.method_6(16);
     @class.int_2 = class38_0.method_6(16);
     @class.int_3 = class38_0.method_6(6);
     @class.int_4 = class38_0.method_6(8);
     @class.int_5 = class38_0.method_6(4) + 1;
     if (@class.int_0 >= 1 && @class.int_1 >= 1 && @class.int_2 >= 1 && @class.int_5 >= 1)
     {
         for (int i = 0; i < @class.int_5; i++)
         {
             @class.int_6[i] = class38_0.method_6(8);
             if (@class.int_6[i] < 0 || @class.int_6[i] >= class49_0.int_19)
             {
                 return null;
             }
         }
         return @class;
     }
     return null;
 }
Beispiel #4
0
        private int method_10(Stream fileStream, byte[] nullArray, int zero)
        {
            this.fileStream = fileStream;
            this.class52_0.method_5();
            if (nullArray != null)
            {
                int dstOffset = this.class52_0.method_1(zero);
                Buffer.BlockCopy(nullArray, 0, this.class52_0.byte_0, dstOffset, zero);
                this.class52_0.method_2(zero);
            }
            int num;

            if (fileStream.CanSeek)
            {
                num = this.method_11();
            }
            else
            {
                num = this.method_12();
            }
            //int num = stream_1.CanSeek ? this.method_11() : this.method_12();
            OGGClass5 @class = this.method_21(-1);

            this.waveFormat_0 = new WaveFormat(@class.int_9, @class.int_8);
            this.double_0     = (double)(this.waveFormat_0.int_0 * (int)this.waveFormat_0.short_1) / ((double)this.method_20(-1) / 8.0);
            this.long_5       = this.method_15(-1) * (long)this.waveFormat_0.short_1;
            if (this.long_5 <= 0L)
            {
                this.long_5 = Convert.ToInt64((double)this.method_14(-1) * this.double_0);
            }
            if (num != 0)
            {
                this.fileStream = null;
                this.method_22();
            }
            return(num);
        }
Beispiel #5
0
        private void method_3(OGGClass5 class49_1, Class47 class47_1, int int_24)
        {
            Class48 @class = new Class48();

            this.oggClass5 = new OGGClass5[this.int_20];
            this.class47_0 = new Class47[this.int_20];
            this.long_2    = new long[this.int_20];
            this.long_3    = new long[this.int_20];
            this.int_21    = new int[this.int_20];
            int i = 0;

            while (i < this.int_20)
            {
                if (class49_1 != null && class47_1 != null && i == 0)
                {
                    this.oggClass5[i] = class49_1;
                    this.class47_0[i] = class47_1;
                    this.long_2[i]    = (long)int_24;
                }
                else
                {
                    this.method_8(this.long_1[i]);
                    if (this.method_2(this.oggClass5[i], this.class47_0[i], null, null) == -1)
                    {
                        Console.Error.WriteLine("Error opening logical bitstream #" + (i + 1) + "\n");
                        this.long_2[i] = -1L;
                    }
                    else
                    {
                        this.long_2[i] = this.long_0;
                        this.class56_0.method_2();
                    }
                }
                long long_ = this.long_1[i + 1];
                this.method_8(long_);
                long num2;
                while (true)
                {
                    int num = this.method_1(@class);
                    if (num == -1)
                    {
                        goto Block_6;
                    }
                    num2 = @class.method_4();
                    if (num2 != -1L)
                    {
                        goto Block_5;
                    }
                }
IL_189:
                i++;
                continue;
Block_5:
                this.int_21[i] = @class.method_5();
                this.long_3[i] = num2;
                goto IL_189;
Block_6:
                Console.Error.WriteLine("Could not find last page of logical bitstream #" + i + "\n");
                this.oggClass5[i].method_1();
                this.class47_0[i].method_2();
                goto IL_189;
            }
        }
Beispiel #6
0
        private int method_2(OGGClass5 oggClass5, Class47 class47_1, int[] int_24, Class48 class48_0)
        {
            Class48 @class   = new Class48();
            Class67 class67_ = new Class67();

            if (class48_0 == null)
            {
                int num = this.method_0(@class, (long)OGGStream.int_2);
                if (num == OGGStream.int_9)
                {
                    return(OGGStream.int_9);
                }
                if (num < 0)
                {
                    return(OGGStream.int_13);
                }
                class48_0 = @class;
            }
            if (int_24 != null)
            {
                int_24[0] = class48_0.method_5();
            }
            this.class56_0.method_1(class48_0.method_5());
            oggClass5.method_0();
            class47_1.method_0();
            int i = 0;

            while (i < 3)
            {
                this.class56_0.method_6(class48_0);
                while (i < 3)
                {
                    int num2 = this.class56_0.method_5(class67_);
                    if (num2 == 0)
                    {
                        break;
                    }
                    if (num2 == -1)
                    {
                        Console.Error.WriteLine("Corrupt header in logical bitstream.");
                        oggClass5.method_1();
                        class47_1.method_2();
                        this.class56_0.method_2();
                        return(-1);
                    }
                    if (oggClass5.method_4(class47_1, class67_) != 0)
                    {
                        Console.Error.WriteLine("Illegal header in logical bitstream.");
                        oggClass5.method_1();
                        class47_1.method_2();
                        this.class56_0.method_2();
                        return(-1);
                    }
                    i++;
                }
                if (i < 3 && this.method_0(class48_0, 1L) < 0)
                {
                    Console.Error.WriteLine("Missing header in logical bitstream.");
                    oggClass5.method_1();
                    class47_1.method_2();
                    this.class56_0.method_2();
                    return(-1);
                }
            }
            return(0);
        }
Beispiel #7
0
 public override object vmethod_0(OGGClass5 class49_0, OGGClass3 class38_0)
 {
     int num = 0;
     Class40 @class = new Class40();
     @class.int_0 = class38_0.method_6(24);
     @class.int_1 = class38_0.method_6(24);
     @class.int_2 = class38_0.method_6(24) + 1;
     @class.int_3 = class38_0.method_6(6) + 1;
     @class.int_4 = class38_0.method_6(8);
     for (int i = 0; i < @class.int_3; i++)
     {
         int num2 = class38_0.method_6(3);
         if (class38_0.method_6(1) != 0)
         {
             num2 |= class38_0.method_6(5) << 3;
         }
         @class.int_5[i] = num2;
         num += Class24.smethod_3(num2);
     }
     for (int j = 0; j < num; j++)
     {
         @class.int_6[j] = class38_0.method_6(8);
     }
     if (@class.int_4 >= class49_0.int_19)
     {
         this.vmethod_2(@class);
         return null;
     }
     for (int k = 0; k < num; k++)
     {
         if (@class.int_6[k] >= class49_0.int_19)
         {
             this.vmethod_2(@class);
             return null;
         }
     }
     return @class;
 }
Beispiel #8
0
 private int method_0(OGGClass5 oggClass5, bool bool_0)
 {
     this.oggClass5 = oggClass5;
     this.int_3 = OGGClass1.smethod_0(oggClass5.int_14);
     this.object_0[0] = new object[OGGClass1.int_0];
     this.object_0[1] = new object[OGGClass1.int_0];
     this.object_0[0][0] = new Class68();
     this.object_0[1][0] = new Class68();
     ((Class68)this.object_0[0][0]).method_0(oggClass5.int_13[0]);
     ((Class68)this.object_0[1][0]).method_0(oggClass5.int_13[1]);
     this.float_2[0][0][0] = new float[OGGClass1.int_1][];
     this.float_2[0][0][1] = this.float_2[0][0][0];
     this.float_2[0][1][0] = this.float_2[0][0][0];
     this.float_2[0][1][1] = this.float_2[0][0][0];
     this.float_2[1][0][0] = new float[OGGClass1.int_1][];
     this.float_2[1][0][1] = new float[OGGClass1.int_1][];
     this.float_2[1][1][0] = new float[OGGClass1.int_1][];
     this.float_2[1][1][1] = new float[OGGClass1.int_1][];
     for (int i = 0; i < OGGClass1.int_1; i++)
     {
         this.float_2[0][0][0][i] = OGGClass1.smethod_1(i, oggClass5.int_13[0], oggClass5.int_13[0] >> 1, oggClass5.int_13[0] >> 1);
         this.float_2[1][0][0][i] = OGGClass1.smethod_1(i, oggClass5.int_13[1], oggClass5.int_13[0] >> 1, oggClass5.int_13[0] >> 1);
         this.float_2[1][0][1][i] = OGGClass1.smethod_1(i, oggClass5.int_13[1], oggClass5.int_13[0] >> 1, oggClass5.int_13[1] >> 1);
         this.float_2[1][1][0][i] = OGGClass1.smethod_1(i, oggClass5.int_13[1], oggClass5.int_13[1] >> 1, oggClass5.int_13[0] >> 1);
         this.float_2[1][1][1][i] = OGGClass1.smethod_1(i, oggClass5.int_13[1], oggClass5.int_13[1] >> 1, oggClass5.int_13[1] >> 1);
     }
     this.oggClass4 = new OGGClass4[oggClass5.int_19];
     for (int j = 0; j < oggClass5.int_19; j++)
     {
         this.oggClass4[j] = new OGGClass4();
         this.oggClass4[j].method_6(oggClass5.oggClass2[j]);
     }
     this.int_4 = 8192;
     this.float_1 = new float[oggClass5.int_8][];
     for (int k = 0; k < oggClass5.int_8; k++)
     {
         this.float_1[k] = new float[this.int_4];
     }
     this.int_8 = 0;
     this.int_9 = 0;
     this.int_11 = oggClass5.int_13[1] >> 1;
     this.int_5 = this.int_11;
     this.object_1 = new object[oggClass5.int_14];
     for (int l = 0; l < oggClass5.int_14; l++)
     {
         int num = oggClass5.class27_0[l].int_3;
         int num2 = oggClass5.int_21[num];
         this.object_1[l] = Class34.class34_0[num2].vmethod_1(this, oggClass5.class27_0[l], oggClass5.object_0[num]);
     }
     return 0;
 }
Beispiel #9
0
 public override object vmethod_0(OGGClass5 class49_0, OGGClass3 class38_0)
 {
     return "";
 }
Beispiel #10
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;
 }
Beispiel #11
0
        public override int vmethod_3(OGGClass6 class71_0, object object_2)
        {
            int result;

            lock (this.object_0)
            {
                OGGClass1 class66_ = class71_0.oggClass1;
                OGGClass5 class49_ = class66_.oggClass5;
                Class55   @class   = (Class55)object_2;
                Class54   class54_ = @class.class54_0;
                Class27   class27_ = @class.class27_0;
                int       num      = class71_0.int_3 = class49_.int_13[class71_0.int_1];
                float[]   array    = class66_.float_2[class71_0.int_1][class71_0.int_0][class71_0.int_2][class27_.int_1];
                if (this.float_0 == null || this.float_0.Length < class49_.int_8)
                {
                    this.float_0  = new float[class49_.int_8][];
                    this.int_1    = new int[class49_.int_8];
                    this.int_0    = new int[class49_.int_8];
                    this.object_1 = new object[class49_.int_8];
                }
                for (int i = 0; i < class49_.int_8; i++)
                {
                    float[] array2 = class71_0.float_0[i];
                    int     num2   = class54_.int_1[i];
                    this.object_1[i] = @class.class28_0[num2].vmethod_3(class71_0, @class.object_1[num2], this.object_1[i]);
                    if (this.object_1[i] != null)
                    {
                        this.int_1[i] = 1;
                    }
                    else
                    {
                        this.int_1[i] = 0;
                    }
                    for (int j = 0; j < num / 2; j++)
                    {
                        array2[j] = 0f;
                    }
                }
                for (int k = 0; k < class54_.int_6; k++)
                {
                    if (this.int_1[class54_.int_7[k]] != 0 || this.int_1[class54_.int_8[k]] != 0)
                    {
                        this.int_1[class54_.int_7[k]] = 1;
                        this.int_1[class54_.int_8[k]] = 1;
                    }
                }
                for (int l = 0; l < class54_.int_0; l++)
                {
                    int num3 = 0;
                    for (int m = 0; m < class49_.int_8; m++)
                    {
                        if (class54_.int_1[m] == l)
                        {
                            if (this.int_1[m] != 0)
                            {
                                this.int_0[num3] = 1;
                            }
                            else
                            {
                                this.int_0[num3] = 0;
                            }
                            this.float_0[num3++] = class71_0.float_0[m];
                        }
                    }
                    @class.class23_0[l].vmethod_3(class71_0, @class.object_2[l], this.float_0, this.int_0, num3);
                }
                for (int n = class54_.int_6 - 1; n >= 0; n--)
                {
                    float[] array3 = class71_0.float_0[class54_.int_7[n]];
                    float[] array4 = class71_0.float_0[class54_.int_8[n]];
                    for (int num4 = 0; num4 < num / 2; num4++)
                    {
                        float num5 = array3[num4];
                        float num6 = array4[num4];
                        if (num5 > 0f)
                        {
                            if (num6 > 0f)
                            {
                                array3[num4] = num5;
                                array4[num4] = num5 - num6;
                            }
                            else
                            {
                                array4[num4] = num5;
                                array3[num4] = num5 + num6;
                            }
                        }
                        else if (num6 > 0f)
                        {
                            array3[num4] = num5;
                            array4[num4] = num5 + num6;
                        }
                        else
                        {
                            array4[num4] = num5;
                            array3[num4] = num5 - num6;
                        }
                    }
                }
                for (int num7 = 0; num7 < class49_.int_8; num7++)
                {
                    float[] array5 = class71_0.float_0[num7];
                    int     num8   = class54_.int_1[num7];
                    @class.class28_0[num8].vmethod_4(class71_0, @class.object_1[num8], this.object_1[num7], array5);
                }
                for (int num9 = 0; num9 < class49_.int_8; num9++)
                {
                    float[] array6 = class71_0.float_0[num9];
                    ((Class68)class66_.object_0[class71_0.int_1][0]).method_1(array6, array6);
                }
                for (int num10 = 0; num10 < class49_.int_8; num10++)
                {
                    float[] array7 = class71_0.float_0[num10];
                    if (this.int_1[num10] != 0)
                    {
                        for (int num11 = 0; num11 < num; num11++)
                        {
                            array7[num11] *= array[num11];
                        }
                    }
                    else
                    {
                        for (int num12 = 0; num12 < num; num12++)
                        {
                            array7[num12] = 0f;
                        }
                    }
                }
                result = 0;
            }
            return(result);
        }
Beispiel #12
0
 private void method_3(OGGClass5 class49_1, Class47 class47_1, int int_24)
 {
     Class48 @class = new Class48();
     this.oggClass5 = new OGGClass5[this.int_20];
     this.class47_0 = new Class47[this.int_20];
     this.long_2 = new long[this.int_20];
     this.long_3 = new long[this.int_20];
     this.int_21 = new int[this.int_20];
     int i = 0;
     while (i < this.int_20)
     {
         if (class49_1 != null && class47_1 != null && i == 0)
         {
             this.oggClass5[i] = class49_1;
             this.class47_0[i] = class47_1;
             this.long_2[i] = (long)int_24;
         }
         else
         {
             this.method_8(this.long_1[i]);
             if (this.method_2(this.oggClass5[i], this.class47_0[i], null, null) == -1)
             {
                 Console.Error.WriteLine("Error opening logical bitstream #" + (i + 1) + "\n");
                 this.long_2[i] = -1L;
             }
             else
             {
                 this.long_2[i] = this.long_0;
                 this.class56_0.method_2();
             }
         }
         long long_ = this.long_1[i + 1];
         this.method_8(long_);
         long num2;
         while (true)
         {
             int num = this.method_1(@class);
             if (num == -1)
             {
                 goto Block_6;
             }
             num2 = @class.method_4();
             if (num2 != -1L)
             {
                 goto Block_5;
             }
         }
     IL_189:
         i++;
         continue;
         Block_5:
         this.int_21[i] = @class.method_5();
         this.long_3[i] = num2;
         goto IL_189;
         Block_6:
         Console.Error.WriteLine("Could not find last page of logical bitstream #" + i + "\n");
         this.oggClass5[i].method_1();
         this.class47_0[i].method_2();
         goto IL_189;
     }
 }
Beispiel #13
0
 private int method_2(OGGClass5 oggClass5, Class47 class47_1, int[] int_24, Class48 class48_0)
 {
     Class48 @class = new Class48();
     Class67 class67_ = new Class67();
     if (class48_0 == null)
     {
         int num = this.method_0(@class, (long)OGGStream.int_2);
         if (num == OGGStream.int_9)
         {
             return OGGStream.int_9;
         }
         if (num < 0)
         {
             return OGGStream.int_13;
         }
         class48_0 = @class;
     }
     if (int_24 != null)
     {
         int_24[0] = class48_0.method_5();
     }
     this.class56_0.method_1(class48_0.method_5());
     oggClass5.method_0();
     class47_1.method_0();
     int i = 0;
     while (i < 3)
     {
         this.class56_0.method_6(class48_0);
         while (i < 3)
         {
             int num2 = this.class56_0.method_5(class67_);
             if (num2 == 0)
             {
                 break;
             }
             if (num2 == -1)
             {
                 Console.Error.WriteLine("Corrupt header in logical bitstream.");
                 oggClass5.method_1();
                 class47_1.method_2();
                 this.class56_0.method_2();
                 return -1;
             }
             if (oggClass5.method_4(class47_1, class67_) != 0)
             {
                 Console.Error.WriteLine("Illegal header in logical bitstream.");
                 oggClass5.method_1();
                 class47_1.method_2();
                 this.class56_0.method_2();
                 return -1;
             }
             i++;
         }
         if (i < 3 && this.method_0(class48_0, 1L) < 0)
         {
             Console.Error.WriteLine("Missing header in logical bitstream.");
             oggClass5.method_1();
             class47_1.method_2();
             this.class56_0.method_2();
             return -1;
         }
     }
     return 0;
 }
Beispiel #14
0
 private int method_11()
 {
     OGGClass5 oggClass5 = new OGGClass5();
     Class47 class47_ = new Class47();
     Class48 @class = new Class48();
     int[] array = new int[1];
     int num = this.method_2(oggClass5, class47_, array, null);
     int num2 = array[0];
     int int_ = (int)this.long_0;
     this.class56_0.method_2();
     if (num == -1)
     {
         return -1;
     }
     this.bool_0 = true;
     OGGStream.smethod_0(this.fileStream, 0L, OGGStream.int_5);
     this.long_0 = OGGStream.smethod_1(this.fileStream);
     long num3 = this.long_0;
     num3 = (long)this.method_1(@class);
     if (@class.method_5() != num2)
     {
         if (this.method_13(0L, 0L, num3 + 1L, num2, 0) < 0)
         {
             this.method_22();
             return OGGStream.int_9;
         }
     }
     else if (this.method_13(0L, num3, num3 + 1L, num2, 0) < 0)
     {
         this.method_22();
         return OGGStream.int_9;
     }
     this.method_3(oggClass5, class47_, int_);
     return this.method_17(0);
 }
Beispiel #15
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);
        }
Beispiel #16
0
 public override object vmethod_0(OGGClass5 class49_0, OGGClass3 class38_0)
 {
     int num = 0;
     int num2 = -1;
     Class31 @class = new Class31();
     @class.int_0 = class38_0.method_6(5);
     for (int i = 0; i < @class.int_0; i++)
     {
         @class.int_1[i] = class38_0.method_6(4);
         if (num2 < @class.int_1[i])
         {
             num2 = @class.int_1[i];
         }
     }
     for (int j = 0; j < num2 + 1; j++)
     {
         @class.int_2[j] = class38_0.method_6(3) + 1;
         @class.int_3[j] = class38_0.method_6(2);
         if (@class.int_3[j] < 0)
         {
             @class.method_0();
             return null;
         }
         if (@class.int_3[j] != 0)
         {
             @class.int_4[j] = class38_0.method_6(8);
         }
         if (@class.int_4[j] < 0 || @class.int_4[j] >= class49_0.int_19)
         {
             @class.method_0();
             return null;
         }
         for (int k = 0; k < 1 << @class.int_3[j]; k++)
         {
             @class.int_5[j][k] = class38_0.method_6(8) - 1;
             if (@class.int_5[j][k] < -1 || @class.int_5[j][k] >= class49_0.int_19)
             {
                 @class.method_0();
                 return null;
             }
         }
     }
     @class.int_6 = class38_0.method_6(2) + 1;
     int num3 = class38_0.method_6(4);
     int l = 0;
     int m = 0;
     while (l < @class.int_0)
     {
         num += @class.int_2[@class.int_1[l]];
         while (m < num)
         {
             int num4 = @class.int_7[m + 2] = class38_0.method_6(num3);
             if (num4 < 0 || num4 >= 1 << num3)
             {
                 @class.method_0();
                 return null;
             }
             m++;
         }
         l++;
     }
     @class.int_7[0] = 0;
     @class.int_7[1] = 1 << num3;
     return @class;
 }
Beispiel #17
0
 public int method_1(OGGClass5 oggClass5)
 {
     this.method_0(oggClass5, false);
     this.int_6 = this.int_11;
     this.int_11 -= (oggClass5.int_13[this.int_9] >> 2) + (oggClass5.int_13[this.int_8] >> 2);
     this.long_0 = -1L;
     this.long_1 = -1L;
     return 0;
 }
Beispiel #18
0
 public abstract object vmethod_0(OGGClass5 class49_0, OGGClass3 class38_0);
Beispiel #19
0
 public abstract object vmethod_0(OGGClass5 class49_0, OGGClass3 class38_0);