private static int smethod_4(int A_0, int A_1, spr⅔ A_2) { for (int i = 0; i < A_1; i++) { if (A_2.ᜁ()[(A_0 * A_1) + i] != 0) { return(i); } } return(-1); }
private static int smethod_5(int A_0, int A_1, spr⅔ A_2) { for (int i = A_1 - 1; i > -1; i--) { if (A_2.ᜁ()[(A_0 * A_1) + i] != 0) { return(i); } } return(-1); }
private static void smethod_3(spr⅔ A_0, int A_1, int A_2, int[] A_3, int[] A_4) { for (int i = 0; i < A_2; i++) { A_3[i] = smethod_4(i, A_1, A_0); if (A_3[i] != -1) { A_4[i] = smethod_5(i, A_1, A_0); } else { A_4[i] = -1; } } }
private static Class622 smethod_1(spr⅔ A_0, int A_1, int A_2) { if (!A_0.ᜂ()) { PointF[] tfArray = new PointF[] { new PointF(0f, 0f), new PointF((float)A_1, 0f), new PointF((float)A_1, (float)A_2), new PointF(0f, (float)A_2) }; return(new Class622(new Class722(tfArray))); } int[] numArray2 = new int[A_2]; int[] numArray = new int[A_2]; smethod_3(A_0, A_1, A_2, numArray2, numArray); Class622 class3 = new Class622(); Class722 class2 = new Class722(); int num2 = A_2; bool flag = true; for (int i = A_2 - 1; i >= 0; i--) { if (numArray[i] != -1) { smethod_6(class2, new PointF((float)numArray[i], (float)i)); if (!flag) { num2 = i + 1; } flag = true; if (i == 0) { smethod_2(class2, numArray2, i, num2); } } else if (flag) { flag = false; smethod_2(class2, numArray2, i, num2); class3.method_2(class2); class2 = new Class722(); } } if (class2.method_19() > 0) { class3.method_2(class2); } return(class3); }