Example #1
0
    private static spr᣼ smethod_11(spr᣼ A_0, spr᣼ A_1, ArrayList A_2, bool A_3, Class318 A_4)
    {
        float minValue = float.MinValue;
        int   index    = 0;

        for (int i = 0; i < A_4.method_4().Length; i++)
        {
            if ((A_3 && (A_4.method_4()[i] > minValue)) || (!A_3 && (A_4.method_4()[i] <= minValue)))
            {
                minValue = A_4.method_4()[i];
                index    = i;
            }
        }
        float num4 = A_4.method_4()[index];
        float num5 = A_4.method_6()[index];

        spr᣼[] r᣼Array  = smethod_22(A_0, num4);
        spr᣼[] r᣼Array2 = smethod_22(A_1, num5);
        if (!A_3)
        {
            A_0 = r᣼Array[0];
            A_1 = (r᣼Array2.Length > 1) ? r᣼Array2[1] : r᣼Array2[0];
        }
        else
        {
            A_0 = (r᣼Array.Length > 1) ? r᣼Array[1] : r᣼Array[0];
            A_1 = r᣼Array2[0];
        }
        A_2.Add(A_1);
        return(A_0);
    }
Example #2
0
 internal static void smethod_12(spr᣼[] A_0)
 {
     if (A_0.Length >= 2)
     {
         for (int i = 0; i < (A_0.Length - 1); i++)
         {
             Class318 class2 = smethod_13(A_0[i], A_0[i + 1]);
             if (class2.method_0())
             {
                 spr᣼[] r᣼Array = smethod_22(A_0[i], class2.method_4()[0]);
                 A_0[i]     = r᣼Array[0];
                 r᣼Array    = smethod_22(A_0[i + 1], class2.method_6()[0]);
                 A_0[i + 1] = (r᣼Array.Length > 1) ? r᣼Array[1] : r᣼Array[0];
             }
             A_0[i].ᜂ(A_0[i + 1].ᜁ());
         }
     }
 }