Example #1
0
        public override object vmethod_1(OggClass1 class660, Class27 class270, object object1)
        {
            var class49 = class660.OggClass5;
            var @class  = (Class36)object1;
            var class2  = new Class37();

            class2.Int2     = @class.Int0;
            class2.Int0     = class49.Int13[class270.Int0] / 2;
            class2.Int1     = @class.Int2;
            class2.Class360 = @class;
            class2.Class630.method_0(class2.Int1, class2.Int2);
            var num = class2.Int1 / (float)smethod_0((float)(@class.Int1 / 2.0));

            class2.Int3 = new int[class2.Int0];
            for (var i = 0; i < class2.Int0; i++)
            {
                var num2 = (int)Math.Floor(smethod_0((float)(@class.Int1 / 2.0 / class2.Int0 * i)) * num);
                if (num2 >= class2.Int1)
                {
                    num2 = class2.Int1;
                }
                class2.Int3[i] = num2;
            }
            return(class2);
        }
Example #2
0
        public override object vmethod_1(OggClass1 class660, Class27 class270, object object2)
        {
            var class49 = class660.OggClass5;
            var @class  = new Class55();
            var class2  = @class.Class540 = (Class54)object2;

            @class.Class270 = class270;
            @class.Object0  = new object[class2.Int0];
            @class.Object1  = new object[class2.Int0];
            @class.Object2  = new object[class2.Int0];
            @class.Class500 = new Class50[class2.Int0];
            @class.Class280 = new Class28[class2.Int0];
            @class.Class230 = new Class23[class2.Int0];
            for (var i = 0; i < class2.Int0; i++)
            {
                var num  = class2.Int2[i];
                var num2 = class2.Int3[i];
                var num3 = class2.Int4[i];
                @class.Class500[i] = Class50.Class500[class49.Int22[num]];
                @class.Object0[i]  = @class.Class500[i].vmethod_1(class660, class270, class49.Object1[num]);
                @class.Class280[i] = Class28.Class280[class49.Int23[num2]];
                @class.Object1[i]  = @class.Class280[i].vmethod_1(class660, class270, class49.Object2[num2]);
                @class.Class230[i] = Class23.Class230[class49.Int24[num3]];
                @class.Object2[i]  = @class.Class230[i].vmethod_1(class660, class270, class49.Object3[num3]);
            }
            if (class49.Int20 == 0)
            {
            }
            @class.Int0 = class49.Int8;
            return(@class);
        }
Example #3
0
        public override object vmethod_1(OggClass1 class660, Class27 class270, object object0)
        {
            var @class = (Class40)object0;
            var class2 = new Class39();
            var num    = 0;
            var num2   = 0;

            class2.Class400 = @class;
            class2.Int0     = class270.Int3;
            class2.Int1     = @class.Int3;
            class2.Class210 = class660.OggClass4;
            class2.Class211 = class660.OggClass4[@class.Int4];
            var num3 = class2.Class211.Int0;

            class2.Int3 = new int[class2.Int1][];
            for (var i = 0; i < class2.Int1; i++)
            {
                var num4 = smethod_2(@class.Int5[i]);
                if (num4 != 0)
                {
                    if (num4 > num2)
                    {
                        num2 = num4;
                    }
                    class2.Int3[i] = new int[num4];
                    for (var j = 0; j < num4; j++)
                    {
                        if ((@class.Int5[i] & 1 << j) != 0)
                        {
                            class2.Int3[i][j] = @class.Int6[num++];
                        }
                    }
                }
            }
            class2.Int4 = (int)Math.Round(Math.Pow(class2.Int1, num3));
            class2.Int2 = num2;
            class2.Int5 = new int[class2.Int4][];
            for (var k = 0; k < class2.Int4; k++)
            {
                var num5 = k;
                var num6 = class2.Int4 / class2.Int1;
                class2.Int5[k] = new int[num3];
                for (var l = 0; l < num3; l++)
                {
                    var num7 = num5 / num6;
                    num5 -= num7 * num6;
                    num6 /= class2.Int1;
                    class2.Int5[k][l] = num7;
                }
            }
            return(class2);
        }
Example #4
0
 public abstract object vmethod_1(OggClass1 class660, Class27 class270, object object0);
Example #5
0
        public override object vmethod_1(OggClass1 class660, Class27 class270, object object0)
        {
            var num    = 0;
            var array  = new int[Int1 + 2];
            var @class = (Class31)object0;
            var class2 = new Class32();

            class2.Class310 = @class;
            class2.Int7     = @class.Int7[1];
            for (var i = 0; i < @class.Int0; i++)
            {
                num += @class.Int2[@class.Int1[i]];
            }
            num        += 2;
            class2.Int6 = num;
            for (var j = 0; j < num; j++)
            {
                array[j] = j;
            }
            for (var k = 0; k < num - 1; k++)
            {
                for (var l = k; l < num; l++)
                {
                    if (@class.Int7[array[k]] > @class.Int7[array[l]])
                    {
                        var num2 = array[l];
                        array[l] = array[k];
                        array[k] = num2;
                    }
                }
            }
            for (var m = 0; m < num; m++)
            {
                class2.Int2[m] = array[m];
            }
            for (var n = 0; n < num; n++)
            {
                class2.Int3[class2.Int2[n]] = n;
            }
            for (var num3 = 0; num3 < num; num3++)
            {
                class2.Int1[num3] = @class.Int7[class2.Int2[num3]];
            }
            switch (@class.Int6)
            {
            case 1:
                class2.Int8 = 256;
                break;

            case 2:
                class2.Int8 = 128;
                break;

            case 3:
                class2.Int8 = 86;
                break;

            case 4:
                class2.Int8 = 64;
                break;

            default:
                class2.Int8 = -1;
                break;
            }
            for (var num4 = 0; num4 < num - 2; num4++)
            {
                var num5 = 0;
                var num6 = 1;
                var num7 = 0;
                var num8 = class2.Int7;
                var num9 = @class.Int7[num4 + 2];
                for (var num10 = 0; num10 < num4 + 2; num10++)
                {
                    var num11 = @class.Int7[num10];
                    if (num11 > num7 && num11 < num9)
                    {
                        num5 = num10;
                        num7 = num11;
                    }
                    if (num11 < num8 && num11 > num9)
                    {
                        num6 = num10;
                        num8 = num11;
                    }
                }
                class2.Int5[num4] = num5;
                class2.Int4[num4] = num6;
            }
            return(class2);
        }
Example #6
0
 private OggStream()
 {
     _class560  = new Class56();
     _oggClass1 = new OggClass1();
     _oggClass6 = new OggClass6(_oggClass1);
 }