Пример #1
0
        public override object vmethod_1(OGGClass1 class66_0, Class27 class27_0, object object_0)
        {
            Class40 @class = (Class40)object_0;
            Class39 class2 = new Class39();
            int     num    = 0;
            int     num2   = 0;

            class2.class40_0 = @class;
            class2.int_0     = class27_0.int_3;
            class2.int_1     = @class.int_3;
            class2.class21_0 = class66_0.oggClass4;
            class2.class21_1 = class66_0.oggClass4[@class.int_4];
            int num3 = class2.class21_1.int_0;

            class2.int_3 = new int[class2.int_1][];
            for (int i = 0; i < class2.int_1; i++)
            {
                int num4 = Class24.smethod_2(@class.int_5[i]);
                if (num4 != 0)
                {
                    if (num4 > num2)
                    {
                        num2 = num4;
                    }
                    class2.int_3[i] = new int[num4];
                    for (int j = 0; j < num4; j++)
                    {
                        if ((@class.int_5[i] & 1 << j) != 0)
                        {
                            class2.int_3[i][j] = @class.int_6[num++];
                        }
                    }
                }
            }
            class2.int_4 = (int)Math.Round(Math.Pow((double)class2.int_1, (double)num3));
            class2.int_2 = num2;
            class2.int_5 = new int[class2.int_4][];
            for (int k = 0; k < class2.int_4; k++)
            {
                int num5 = k;
                int num6 = class2.int_4 / class2.int_1;
                class2.int_5[k] = new int[num3];
                for (int l = 0; l < num3; l++)
                {
                    int num7 = num5 / num6;
                    num5 -= num7 * num6;
                    num6 /= class2.int_1;
                    class2.int_5[k][l] = num7;
                }
            }
            return(class2);
        }
Пример #2
0
 public override object vmethod_1(OGGClass1 class66_0, Class27 class27_0, object object_1)
 {
     OGGClass5 class49_ = class66_0.oggClass5;
     Class36 @class = (Class36)object_1;
     Class37 class2 = new Class37();
     class2.int_2 = @class.int_0;
     class2.int_0 = class49_.int_13[class27_0.int_0] / 2;
     class2.int_1 = @class.int_2;
     class2.class36_0 = @class;
     class2.class63_0.method_0(class2.int_1, class2.int_2);
     float num = (float)class2.int_1 / (float)Class30.smethod_0((float)((double)@class.int_1 / 2.0));
     class2.int_3 = new int[class2.int_0];
     for (int i = 0; i < class2.int_0; i++)
     {
         int num2 = (int)Math.Floor(Class30.smethod_0((float)((double)@class.int_1 / 2.0 / (double)class2.int_0 * (double)i)) * (double)num);
         if (num2 >= class2.int_1)
         {
             num2 = class2.int_1;
         }
         class2.int_3[i] = num2;
     }
     return class2;
 }
Пример #3
0
 public abstract object vmethod_1(OGGClass1 class66_0, Class27 class27_0, object object_0);
Пример #4
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;
 }
Пример #5
0
 public override object vmethod_1(OGGClass1 class66_0, Class27 class27_0, object object_0)
 {
     int num = 0;
     int[] array = new int[Class29.int_1 + 2];
     Class31 @class = (Class31)object_0;
     Class32 class2 = new Class32();
     class2.class31_0 = @class;
     class2.int_7 = @class.int_7[1];
     for (int i = 0; i < @class.int_0; i++)
     {
         num += @class.int_2[@class.int_1[i]];
     }
     num += 2;
     class2.int_6 = num;
     for (int j = 0; j < num; j++)
     {
         array[j] = j;
     }
     for (int k = 0; k < num - 1; k++)
     {
         for (int l = k; l < num; l++)
         {
             if (@class.int_7[array[k]] > @class.int_7[array[l]])
             {
                 int num2 = array[l];
                 array[l] = array[k];
                 array[k] = num2;
             }
         }
     }
     for (int m = 0; m < num; m++)
     {
         class2.int_2[m] = array[m];
     }
     for (int n = 0; n < num; n++)
     {
         class2.int_3[class2.int_2[n]] = n;
     }
     for (int num3 = 0; num3 < num; num3++)
     {
         class2.int_1[num3] = @class.int_7[class2.int_2[num3]];
     }
     switch (@class.int_6)
     {
     case 1:
         class2.int_8 = 256;
         break;
     case 2:
         class2.int_8 = 128;
         break;
     case 3:
         class2.int_8 = 86;
         break;
     case 4:
         class2.int_8 = 64;
         break;
     default:
         class2.int_8 = -1;
         break;
     }
     for (int num4 = 0; num4 < num - 2; num4++)
     {
         int num5 = 0;
         int num6 = 1;
         int num7 = 0;
         int num8 = class2.int_7;
         int num9 = @class.int_7[num4 + 2];
         for (int num10 = 0; num10 < num4 + 2; num10++)
         {
             int num11 = @class.int_7[num10];
             if (num11 > num7 && num11 < num9)
             {
                 num5 = num10;
                 num7 = num11;
             }
             if (num11 < num8 && num11 > num9)
             {
                 num6 = num10;
                 num8 = num11;
             }
         }
         class2.int_5[num4] = num5;
         class2.int_4[num4] = num6;
     }
     return class2;
 }
Пример #6
0
 public override object vmethod_1(OGGClass1 class66_0, Class27 class27_0, object object_0)
 {
     Class40 @class = (Class40)object_0;
     Class39 class2 = new Class39();
     int num = 0;
     int num2 = 0;
     class2.class40_0 = @class;
     class2.int_0 = class27_0.int_3;
     class2.int_1 = @class.int_3;
     class2.class21_0 = class66_0.oggClass4;
     class2.class21_1 = class66_0.oggClass4[@class.int_4];
     int num3 = class2.class21_1.int_0;
     class2.int_3 = new int[class2.int_1][];
     for (int i = 0; i < class2.int_1; i++)
     {
         int num4 = Class24.smethod_2(@class.int_5[i]);
         if (num4 != 0)
         {
             if (num4 > num2)
             {
                 num2 = num4;
             }
             class2.int_3[i] = new int[num4];
             for (int j = 0; j < num4; j++)
             {
                 if ((@class.int_5[i] & 1 << j) != 0)
                 {
                     class2.int_3[i][j] = @class.int_6[num++];
                 }
             }
         }
     }
     class2.int_4 = (int)Math.Round(Math.Pow((double)class2.int_1, (double)num3));
     class2.int_2 = num2;
     class2.int_5 = new int[class2.int_4][];
     for (int k = 0; k < class2.int_4; k++)
     {
         int num5 = k;
         int num6 = class2.int_4 / class2.int_1;
         class2.int_5[k] = new int[num3];
         for (int l = 0; l < num3; l++)
         {
             int num7 = num5 / num6;
             num5 -= num7 * num6;
             num6 /= class2.int_1;
             class2.int_5[k][l] = num7;
         }
     }
     return class2;
 }
Пример #7
0
 public override object vmethod_1(OGGClass1 class66_0, Class27 class27_0, object object_0)
 {
     return "";
 }
Пример #8
0
        public override object vmethod_1(OGGClass1 class66_0, Class27 class27_0, object object_0)
        {
            int num = 0;

            int[]   array  = new int[Class29.int_1 + 2];
            Class31 @class = (Class31)object_0;
            Class32 class2 = new Class32();

            class2.class31_0 = @class;
            class2.int_7     = @class.int_7[1];
            for (int i = 0; i < @class.int_0; i++)
            {
                num += @class.int_2[@class.int_1[i]];
            }
            num         += 2;
            class2.int_6 = num;
            for (int j = 0; j < num; j++)
            {
                array[j] = j;
            }
            for (int k = 0; k < num - 1; k++)
            {
                for (int l = k; l < num; l++)
                {
                    if (@class.int_7[array[k]] > @class.int_7[array[l]])
                    {
                        int num2 = array[l];
                        array[l] = array[k];
                        array[k] = num2;
                    }
                }
            }
            for (int m = 0; m < num; m++)
            {
                class2.int_2[m] = array[m];
            }
            for (int n = 0; n < num; n++)
            {
                class2.int_3[class2.int_2[n]] = n;
            }
            for (int num3 = 0; num3 < num; num3++)
            {
                class2.int_1[num3] = @class.int_7[class2.int_2[num3]];
            }
            switch (@class.int_6)
            {
            case 1:
                class2.int_8 = 256;
                break;

            case 2:
                class2.int_8 = 128;
                break;

            case 3:
                class2.int_8 = 86;
                break;

            case 4:
                class2.int_8 = 64;
                break;

            default:
                class2.int_8 = -1;
                break;
            }
            for (int num4 = 0; num4 < num - 2; num4++)
            {
                int num5 = 0;
                int num6 = 1;
                int num7 = 0;
                int num8 = class2.int_7;
                int num9 = @class.int_7[num4 + 2];
                for (int num10 = 0; num10 < num4 + 2; num10++)
                {
                    int num11 = @class.int_7[num10];
                    if (num11 > num7 && num11 < num9)
                    {
                        num5 = num10;
                        num7 = num11;
                    }
                    if (num11 < num8 && num11 > num9)
                    {
                        num6 = num10;
                        num8 = num11;
                    }
                }
                class2.int_5[num4] = num5;
                class2.int_4[num4] = num6;
            }
            return(class2);
        }
Пример #9
0
 public abstract object vmethod_1(OGGClass1 class66_0, Class27 class27_0, object object_0);