Esempio n. 1
0
 public int method_0(float[] float1, int int3, OggClass3 oggClass3, int int4)
 {
     var num = int4 / Int0;
     if (Int2.Length < num)
     {
         Int2 = new int[num];
     }
     int i;
     for (i = 0; i < num; i++)
     {
         var num2 = method_4(oggClass3);
         if (num2 == -1)
         {
             return -1;
         }
         Int2[i] = num2 * Int0;
     }
     i = 0;
     var num3 = 0;
     while (i < Int0)
     {
         for (var j = 0; j < num; j++)
         {
             float1[int3 + num3 + j] += Float0[Int2[j] + i];
         }
         i++;
         num3 += num;
     }
     return 0;
 }
Esempio n. 2
0
 public int method_4(OggClass3 oggClass3)
 {
     var num = 0;
     var @class = OggData;
     if (@class == null)
     {
         return num;
     }
     var num2 = oggClass3.method_2(@class.Int2);
     if (num2 >= 0)
     {
         num = @class.Int0[num2];
         oggClass3.method_3(@class.Int1[num2]);
         if (num <= 0)
         {
             return -num;
         }
     }
     do
     {
         switch (oggClass3.method_7())
         {
             case 0:
                 num = @class.Int3[num];
                 goto IL_46;
             case 1:
                 num = @class.Int4[num];
                 goto IL_46;
         }
         return -1;
         IL_46:
         ;
     } while (num > 0);
     return -num;
 }
Esempio n. 3
0
 public int method_3(float[][] float1, int int3, int int4, OggClass3 oggClass3, int int5)
 {
     var num = 0;
     var i = int3 / int4;
     while (i < (int3 + int5) / int4)
     {
         var num2 = method_4(oggClass3);
         if (num2 == -1)
         {
             return -1;
         }
         var num3 = num2 * Int0;
         for (var j = 0; j < Int0; j++)
         {
             float1[num][i] += Float0[num3 + j];
             num++;
             if (num == int4)
             {
                 num = 0;
                 i++;
             }
         }
     }
     return 0;
 }
Esempio n. 4
0
 public int method_2(float[] float1, int int3, OggClass3 oggClass3, int int4)
 {
     var i = 0;
     while (i < int4)
     {
         var num = method_4(oggClass3);
         if (num == -1)
         {
             return -1;
         }
         var num2 = num * Int0;
         var j = 0;
         while (j < Int0)
         {
             float1[int3 + i++] = Float0[num2 + j++];
         }
     }
     return 0;
 }
Esempio n. 5
0
 public int method_1(float[] float1, int int3, OggClass3 oggClass3, int int4)
 {
     if (Int0 > 8)
     {
         var i = 0;
         while (i < int4)
         {
             var num = method_4(oggClass3);
             if (num == -1)
             {
                 return -1;
             }
             var num2 = num * Int0;
             var j = 0;
             while (j < Int0)
             {
                 float1[int3 + i++] += Float0[num2 + j++];
             }
         }
     }
     else
     {
         var i = 0;
         while (i < int4)
         {
             var num = method_4(oggClass3);
             if (num == -1)
             {
                 return -1;
             }
             var num2 = num * Int0;
             var j = 0;
             for (var k = 0; k < Int0; k++)
             {
                 float1[int3 + i++] += Float0[num2 + j++];
             }
         }
     }
     return 0;
 }
Esempio n. 6
0
        public override object vmethod_0(OggClass5 class490, OggClass3 class380)
        {
            var num    = 0;
            var @class = new Class40();

            @class.Int0 = class380.method_6(24);
            @class.Int1 = class380.method_6(24);
            @class.Int2 = class380.method_6(24) + 1;
            @class.Int3 = class380.method_6(6) + 1;
            @class.Int4 = class380.method_6(8);
            for (var i = 0; i < @class.Int3; i++)
            {
                var num2 = class380.method_6(3);
                if (class380.method_6(1) != 0)
                {
                    num2 |= class380.method_6(5) << 3;
                }
                @class.Int5[i] = num2;
                num           += smethod_3(num2);
            }
            for (var j = 0; j < num; j++)
            {
                @class.Int6[j] = class380.method_6(8);
            }
            if (@class.Int4 >= class490.Int19)
            {
                vmethod_2(@class);
                return(null);
            }
            for (var k = 0; k < num; k++)
            {
                if (@class.Int6[k] >= class490.Int19)
                {
                    vmethod_2(@class);
                    return(null);
                }
            }
            return(@class);
        }
Esempio n. 7
0
        public override object vmethod_0(OggClass5 class490, OggClass3 class380)
        {
            var @class = new Class36();

            @class.Int0 = class380.method_6(8);
            @class.Int1 = class380.method_6(16);
            @class.Int2 = class380.method_6(16);
            @class.Int3 = class380.method_6(6);
            @class.Int4 = class380.method_6(8);
            @class.Int5 = class380.method_6(4) + 1;
            if (@class.Int0 >= 1 && @class.Int1 >= 1 && @class.Int2 >= 1 && @class.Int5 >= 1)
            {
                for (var i = 0; i < @class.Int5; i++)
                {
                    @class.Int6[i] = class380.method_6(8);
                    if (@class.Int6[i] < 0 || @class.Int6[i] >= class490.Int19)
                    {
                        return(null);
                    }
                }
                return(@class);
            }
            return(null);
        }
Esempio n. 8
0
 public abstract object vmethod_0(OggClass5 class490, OggClass3 class380);
Esempio n. 9
0
        public override object vmethod_0(OggClass5 class490, OggClass3 class380)
        {
            var num    = 0;
            var num2   = -1;
            var @class = new Class31();

            @class.Int0 = class380.method_6(5);
            for (var i = 0; i < @class.Int0; i++)
            {
                @class.Int1[i] = class380.method_6(4);
                if (num2 < @class.Int1[i])
                {
                    num2 = @class.Int1[i];
                }
            }
            for (var j = 0; j < num2 + 1; j++)
            {
                @class.Int2[j] = class380.method_6(3) + 1;
                @class.Int3[j] = class380.method_6(2);
                if (@class.Int3[j] < 0)
                {
                    @class.method_0();
                    return(null);
                }
                if (@class.Int3[j] != 0)
                {
                    @class.Int4[j] = class380.method_6(8);
                }
                if (@class.Int4[j] < 0 || @class.Int4[j] >= class490.Int19)
                {
                    @class.method_0();
                    return(null);
                }
                for (var k = 0; k < 1 << @class.Int3[j]; k++)
                {
                    @class.Int5[j][k] = class380.method_6(8) - 1;
                    if (@class.Int5[j][k] < -1 || @class.Int5[j][k] >= class490.Int19)
                    {
                        @class.method_0();
                        return(null);
                    }
                }
            }
            @class.Int6 = class380.method_6(2) + 1;
            var num3 = class380.method_6(4);
            var l    = 0;
            var m    = 0;

            while (l < @class.Int0)
            {
                num += @class.Int2[@class.Int1[l]];
                while (m < num)
                {
                    var num4 = @class.Int7[m + 2] = class380.method_6(num3);
                    if (num4 < 0 || num4 >= 1 << num3)
                    {
                        @class.method_0();
                        return(null);
                    }
                    m++;
                }
                l++;
            }
            @class.Int7[0] = 0;
            @class.Int7[1] = 1 << num3;
            return(@class);
        }