Example #1
0
        public static int smethod_1(Class103 class103_1, int[] int_25, int[] int_26, int[] int_27, int[] int_28, Class102 class102_0)
        {
            int num = 0;
            int result = 1;
            int num2 = -2147483648;
            if (class103_1.int_3 == null)
            {
                return 2;
            }
            if (class103_1.int_4 == 0)
            {
                int arg_26_1 = 0;
                int_26[0] = 0;
                int_25[arg_26_1] = 0;
                return 0;
            }
            bool ILE4 = false;
            for (; ; )
            {
                while (ILE4 || class103_1.int_3[num, 0] != 0)
                {
                    if (!ILE4)
                    {
                        if (class102_0.method_2() != 0)
                        {
                            while (class103_1.int_3[num, 1] >= 250)
                            {
                                num += class103_1.int_3[num, 1];
                            }
                            num += class103_1.int_3[num, 1];
                        }
                        else
                        {
                            while (class103_1.int_3[num, 0] >= 250)
                            {
                                num += class103_1.int_3[num, 0];
                            }
                            num += class103_1.int_3[num, 0];
                        }

                        num2 >>= 1;
                    }
                    if (ILE4 || num2 == 0 && num >= 0)
                    {
                        //IL_E4:
                        if (class103_1.char_0 == '3' && (class103_1.char_1 == '2' || class103_1.char_1 == '3'))
                        {
                            int_27[0] = (int_26[0] >> 3 & 1);
                            int_28[0] = (int_26[0] >> 2 & 1);
                            int_25[0] = (int_26[0] >> 1 & 1);
                            int_26[0] = (int_26[0] & 1);
                            if (int_27[0] != 0 && class102_0.method_2() != 0)
                            {
                                int_27[0] = -int_27[0];
                            }
                            if (int_28[0] != 0 && class102_0.method_2() != 0)
                            {
                                int_28[0] = -int_28[0];
                            }
                            if (int_25[0] != 0 && class102_0.method_2() != 0)
                            {
                                int_25[0] = -int_25[0];
                            }
                            if (int_26[0] != 0 && class102_0.method_2() != 0)
                            {
                                int_26[0] = -int_26[0];
                            }
                        }
                        else
                        {
                            if (class103_1.int_2 != 0 && class103_1.int_0 - 1 == int_25[0])
                            {
                                int_25[0] += class102_0.method_1(class103_1.int_2);
                            }
                            if (int_25[0] != 0 && class102_0.method_2() != 0)
                            {
                                int_25[0] = -int_25[0];
                            }
                            if (class103_1.int_2 != 0 && class103_1.int_1 - 1 == int_26[0])
                            {
                                int_26[0] += class102_0.method_1(class103_1.int_2);
                            }
                            if (int_26[0] != 0 && class102_0.method_2() != 0)
                            {
                                int_26[0] = -int_26[0];
                            }
                        }
                        return result;
                    }
                }
                int num3 = class103_1.int_3[num, 1];
                int_25[0] = num3 >> 4;
                int_26[0] = (class103_1.int_3[num, 1] & 15);
                result = 0;
                ILE4 = true;
            }
            //goto IL_E4;
        }
Example #2
0
 public Class85(Class82 class82_1, zzSoundClass class107_1, Class80 class80_2, Class80 class80_3, Class84 class84_1, Enum4 enum4_1)
     : base()
 {
     int[] array = new int[1];
     this.int_12 = array;
     int[] array2 = new int[1];
     this.int_13 = array2;
     int[] array3 = new int[1];
     this.int_14 = array3;
     int[] array4 = new int[1];
     this.int_15 = array4;
     this.int_16 = new int[576];
     this.float_7 = new float[576];
     this.float_8 = new float[18];
     this.float_9 = new float[36];
     //base..ctor();
     Class103.smethod_0();
     this.int_2 = new int[580];
     this.float_0 = new float[2][,];
     this.float_0[0] = new float[32, 18];
     this.float_0[1] = new float[32, 18];
     this.float_1 = new float[2][,];
     this.float_1[0] = new float[32, 18];
     this.float_1[1] = new float[32, 18];
     this.float_2 = new float[576];
     this.float_3 = new float[2, 576];
     this.float_4 = new float[2, 576];
     this.int_3 = new int[2];
     this.class90_0 = new Class85.Class90[2];
     this.class90_0[0] = new Class85.Class90();
     this.class90_0[1] = new Class85.Class90();
     this.class90_1 = this.class90_0;
     this.class86_0 = new Class85.Class86[9];
     int[] array5 = new int[]
     {
         0,
         6,
         12,
         18,
         24,
         30,
         36,
         44,
         54,
         66,
         80,
         96,
         116,
         140,
         168,
         200,
         238,
         284,
         336,
         396,
         464,
         522,
         576
     };
     int[] array6 = new int[]
     {
         0,
         4,
         8,
         12,
         18,
         24,
         32,
         42,
         56,
         74,
         100,
         132,
         174,
         192
     };
     int[] array7 = new int[]
     {
         0,
         6,
         12,
         18,
         24,
         30,
         36,
         44,
         54,
         66,
         80,
         96,
         114,
         136,
         162,
         194,
         232,
         278,
         330,
         394,
         464,
         540,
         576
     };
     int[] array8 = new int[]
     {
         0,
         4,
         8,
         12,
         18,
         26,
         36,
         48,
         62,
         80,
         104,
         136,
         180,
         192
     };
     int[] array9 = new int[]
     {
         0,
         6,
         12,
         18,
         24,
         30,
         36,
         44,
         54,
         66,
         80,
         96,
         116,
         140,
         168,
         200,
         238,
         284,
         336,
         396,
         464,
         522,
         576
     };
     int[] array10 = new int[]
     {
         0,
         4,
         8,
         12,
         18,
         26,
         36,
         48,
         62,
         80,
         104,
         134,
         174,
         192
     };
     int[] array11 = new int[]
     {
         0,
         4,
         8,
         12,
         16,
         20,
         24,
         30,
         36,
         44,
         52,
         62,
         74,
         90,
         110,
         134,
         162,
         196,
         238,
         288,
         342,
         418,
         576
     };
     int[] array12 = new int[]
     {
         0,
         4,
         8,
         12,
         16,
         22,
         30,
         40,
         52,
         66,
         84,
         106,
         136,
         192
     };
     int[] array13 = new int[]
     {
         0,
         4,
         8,
         12,
         16,
         20,
         24,
         30,
         36,
         42,
         50,
         60,
         72,
         88,
         106,
         128,
         156,
         190,
         230,
         276,
         330,
         384,
         576
     };
     int[] array14 = new int[]
     {
         0,
         4,
         8,
         12,
         16,
         22,
         28,
         38,
         50,
         64,
         80,
         100,
         126,
         192
     };
     int[] array15 = new int[]
     {
         0,
         4,
         8,
         12,
         16,
         20,
         24,
         30,
         36,
         44,
         54,
         66,
         82,
         102,
         126,
         156,
         194,
         240,
         296,
         364,
         448,
         550,
         576
     };
     int[] array16 = new int[]
     {
         0,
         4,
         8,
         12,
         16,
         22,
         30,
         42,
         58,
         78,
         104,
         138,
         180,
         192
     };
     int[] array17 = new int[]
     {
         0,
         6,
         12,
         18,
         24,
         30,
         36,
         44,
         54,
         66,
         80,
         96,
         116,
         140,
         168,
         200,
         238,
         284,
         336,
         396,
         464,
         522,
         576
     };
     int[] array18 = new int[]
     {
         0,
         4,
         8,
         12,
         18,
         26,
         36,
         48,
         62,
         80,
         104,
         134,
         174,
         192
     };
     int[] array19 = new int[]
     {
         0,
         6,
         12,
         18,
         24,
         30,
         36,
         44,
         54,
         66,
         80,
         96,
         116,
         140,
         168,
         200,
         238,
         284,
         336,
         396,
         464,
         522,
         576
     };
     int[] array20 = new int[]
     {
         0,
         4,
         8,
         12,
         18,
         26,
         36,
         48,
         62,
         80,
         104,
         134,
         174,
         192
     };
     int[] array21 = new int[]
     {
         0,
         12,
         24,
         36,
         48,
         60,
         72,
         88,
         108,
         132,
         160,
         192,
         232,
         280,
         336,
         400,
         476,
         566,
         568,
         570,
         572,
         574,
         576
     };
     int[] array22 = new int[]
     {
         0,
         8,
         16,
         24,
         36,
         52,
         72,
         96,
         124,
         160,
         162,
         164,
         166,
         192
     };
     this.class86_0[0] = new Class85.Class86(array5, array6);
     this.class86_0[1] = new Class85.Class86(array7, array8);
     this.class86_0[2] = new Class85.Class86(array9, array10);
     this.class86_0[3] = new Class85.Class86(array11, array12);
     this.class86_0[4] = new Class85.Class86(array13, array14);
     this.class86_0[5] = new Class85.Class86(array15, array16);
     this.class86_0[6] = new Class85.Class86(array17, array18);
     this.class86_0[7] = new Class85.Class86(array19, array20);
     this.class86_0[8] = new Class85.Class86(array21, array22);
     if (Class85.int_22 == null)
     {
         Class85.int_22 = new int[9][];
         for (int i = 0; i < 9; i++)
         {
             Class85.int_22[i] = Class85.smethod_1(this.class86_0[i].int_1);
         }
     }
     int[] array23 = new int[]
     {
         0,
         6,
         11,
         16,
         21
     };
     int[] array24 = new int[]
     {
         0,
         6,
         12
     };
     this.class91_0 = new Class85.Class91(this, array23, array24);
     this.int_0 = new int[54];
     this.class82_0 = class82_1;
     this.class107_0 = class107_1;
     this.class80_0 = class80_2;
     this.class80_1 = class80_3;
     this.class84_0 = class84_1;
     this.enum4_0 = enum4_1;
     this.int_5 = 0;
     this.int_7 = ((this.class107_0.method_8() == Enum5.const_3) ? 1 : 2);
     this.int_4 = ((this.class107_0.method_3() == Enum3.const_1) ? 2 : 1);
     this.int_10 = this.class107_0.method_6() + ((this.class107_0.method_3() == Enum3.const_1) ? 3 : ((this.class107_0.method_3() == Enum3.const_2) ? 6 : 0));
     if (this.int_7 == 2)
     {
         switch (this.enum4_0)
         {
         case Enum4.const_0:
             IL_4E3:
             this.int_8 = 0;
             this.int_9 = 1;
             goto IL_521;
         case Enum4.const_1:
         case Enum4.const_3:
             this.int_9 = 0;
             this.int_8 = 0;
             goto IL_521;
         case Enum4.const_2:
             this.int_9 = 1;
             this.int_8 = 1;
             goto IL_521;
         }
     //  goto IL_4E3
         this.int_8 = 0;
         this.int_9 = 1;
         goto IL_521;
     }
     this.int_9 = 0;
     this.int_8 = 0;
     IL_521:
     Array.Clear(this.float_3, 0, 1152);
     int[] arg_54B_0 = this.int_3;
     int arg_54B_1 = 0;
     this.int_3[1] = 576;
     arg_54B_0[arg_54B_1] = 576;
     this.class102_0 = new Class102();
     this.class89_0 = new Class85.Class89();
 }