private static spr smethod_10(spr A_0, spr[] A_1, ArrayList A_2, bool A_3, Class318 A_4) { // This item is obfuscated and can not be translated. int index = !A_3 ? (A_1.Length - 1) : 0; while (!A_3) { Label_0012: if (index <= -1) { return(A_0); } spr r = A_1[index]; Class318 class2 = smethod_13(A_0, r); if (class2.method_0()) { A_0 = smethod_11(A_0, r, A_2, A_3, class2); A_4.method_1(true); return(A_0); } A_2.Add(r); if (!A_3) { index--; } else { index++; continue; } } goto Label_0012; }
private static bool smethod_9(spr[] A_0, spr[] A_1, ArrayList A_2, ArrayList A_3, bool A_4) { // This item is obfuscated and can not be translated. bool flag = false; int index = A_4 ? (A_0.Length - 1) : 0; while (A_4) { Label_0015: if (index <= -1) { return(flag); } spr r = A_0[index]; A_3.Clear(); Class318 class2 = Class318.smethod_0(); r = smethod_10(r, A_1, A_3, A_4, class2); flag = class2.method_0(); A_2.Add(r); if (flag) { return(flag); } if (A_4) { index--; } else { index++; continue; } } goto Label_0015; }
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[] rArray = smethod_22(A_0[i], class2.method_4()[0]); A_0[i] = rArray[0]; rArray = smethod_22(A_0[i + 1], class2.method_6()[0]); A_0[i + 1] = (rArray.Length > 1) ? rArray[1] : rArray[0]; } A_0[i].ᜂ(A_0[i + 1].ᜁ()); } } }