CrackMe.apk
Download file
package com.google.android.gms.internal.p002firebaseauthapi;
/* renamed from: com.google.android.gms.internal.firebase-auth-api.zzy reason: invalid package */
/* compiled from: com.google.firebase:firebase-auth@@21.1.0 */
public final class zzy {
public static int zza(int i, int i2, String str) {
String str2;
if (i >= 0 && i < i2) {
return i;
}
if (i < 0) {
str2 = zzag.zzb("%s (%s) must not be negative", "index", Integer.valueOf(i));
} else if (i2 < 0) {
throw new IllegalArgumentException("negative size: " + i2);
} else {
str2 = zzag.zzb("%s (%s) must be less than size (%s)", "index", Integer.valueOf(i), Integer.valueOf(i2));
}
throw new IndexOutOfBoundsException(str2);
}
public static int zzb(int i, int i2, String str) {
if (i >= 0 && i <= i2) {
return i;
}
throw new IndexOutOfBoundsException(zzd(i, i2, "index"));
}
public static void zzc(int i, int i2, int i3) {
String str;
if (i < 0 || i2 < i || i2 > i3) {
if (i < 0 || i > i3) {
str = zzd(i, i3, "start index");
} else if (i2 < 0 || i2 > i3) {
str = zzd(i2, i3, "end index");
} else {
str = zzag.zzb("end index (%s) must not be less than start index (%s)", Integer.valueOf(i2), Integer.valueOf(i));
}
throw new IndexOutOfBoundsException(str);
}
}
private static String zzd(int i, int i2, String str) {
if (i < 0) {
return zzag.zzb("%s (%s) must not be negative", str, Integer.valueOf(i));
} else if (i2 >= 0) {
return zzag.zzb("%s (%s) must not be greater than size (%s)", str, Integer.valueOf(i), Integer.valueOf(i2));
} else {
throw new IllegalArgumentException("negative size: " + i2);
}
}
}
Download file