what-the-bank/sources/o/Mtu.java

243 lines
7.7 KiB
Java
Raw Normal View History

2024-07-27 18:17:47 +07:00
package o;
import android.media.AudioTrack;
import android.os.Process;
import android.text.TextUtils;
import android.view.ViewConfiguration;
import com.google.android.gms.maps.model.BitmapDescriptorFactory;
import com.google.common.base.Ascii;
import java.lang.reflect.Method;
import org.bouncycastle.crypto.tls.CipherSuite;
/* JADX WARN: Failed to restore enum class, 'enum' modifier and super class removed */
/* JADX WARN: Unknown enum class pattern. Please report as an issue! */
/* loaded from: classes3.dex */
public final class Mtu {
private static final Mtu[] $VALUES;
public static final Mtu HIDE_BANNER;
public static final Mtu SHOW_BANNER;
private static int b;
private static long d;
private String status;
private static final byte[] $$a = {Ascii.ETB, -9, -41, -17};
private static final int $$b = CipherSuite.TLS_DHE_PSK_WITH_AES_128_CBC_SHA;
private static int $10 = 0;
private static int $11 = 1;
private static int a = 0;
private static void f(int i, short s, int i2, Object[] objArr) {
int i3 = 3 - (i2 * 2);
byte[] bArr = $$a;
int i4 = 121 - (i * 2);
int i5 = s * 4;
byte[] bArr2 = new byte[1 - i5];
int i6 = 0 - i5;
int i7 = -1;
if (bArr == null) {
i4 = i6 + i4;
}
while (true) {
i7++;
bArr2[i7] = (byte) i4;
if (i7 == i6) {
objArr[0] = new String(bArr2, 0);
return;
} else {
i3++;
i4 += bArr[i3];
}
}
}
public static Mtu valueOf(String str) {
int i = 2 % 2;
int i2 = b + 121;
a = i2 % 128;
int i3 = i2 % 2;
Mtu mtu = (Mtu) Enum.valueOf(Mtu.class, str);
if (i3 != 0) {
throw null;
}
int i4 = a + 53;
b = i4 % 128;
if (i4 % 2 != 0) {
return mtu;
}
throw null;
}
public static Mtu[] values() {
int i = 2 % 2;
int i2 = b + 75;
a = i2 % 128;
int i3 = i2 % 2;
Mtu[] mtuArr = (Mtu[]) $VALUES.clone();
int i4 = b + 45;
a = i4 % 128;
if (i4 % 2 != 0) {
int i5 = 91 / 0;
}
return mtuArr;
}
static {
b = 1;
a();
Object[] objArr = new Object[1];
e(new char[]{7381, 7396, 24467, 32080, 13369}, 1 - TextUtils.indexOf("", "", 0, 0), objArr);
SHOW_BANNER = new Mtu("SHOW_BANNER", 0, ((String) objArr[0]).intern());
Object[] objArr2 = new Object[1];
e(new char[]{27865, 27881, 44710, 25981, 17110}, (ViewConfiguration.getTapTimeout() >> 16) + 1, objArr2);
HIDE_BANNER = new Mtu("HIDE_BANNER", 1, ((String) objArr2[0]).intern());
$VALUES = d();
int i = a + 89;
b = i % 128;
int i2 = i % 2;
}
private Mtu(String str, int i, String str2) {
this.status = str2;
}
public static Mtu b(String str) {
int i = 2 % 2;
str.hashCode();
Object[] objArr = new Object[1];
e(new char[]{27865, 27881, 44710, 25981, 17110}, (ViewConfiguration.getScrollDefaultDelay() >> 16) + 1, objArr);
if (str.equals(((String) objArr[0]).intern())) {
Mtu mtu = HIDE_BANNER;
int i2 = a + 9;
b = i2 % 128;
if (i2 % 2 == 0) {
int i3 = 1 / 0;
}
return mtu;
}
e(new char[]{7381, 7396, 24467, 32080, 13369}, (ViewConfiguration.getScrollBarSize() >> 8) + 1, new Object[1]);
if (!(!str.equals(((String) r5[0]).intern()))) {
return SHOW_BANNER;
}
Mtu mtu2 = HIDE_BANNER;
int i4 = a + 85;
b = i4 % 128;
int i5 = i4 % 2;
return mtu2;
}
private static void e(char[] cArr, int i, Object[] objArr) {
Object obj;
int i2 = 2 % 2;
GuL guL = new GuL();
char[] a2 = GuL.a(d ^ (-7538262848231253921L), cArr, i);
int i3 = 4;
guL.a = 4;
int i4 = $11 + 49;
$10 = i4 % 128;
int i5 = i4 % 2;
while (true) {
obj = null;
if (guL.a >= a2.length) {
break;
}
guL.c = guL.a - i3;
int i6 = guL.a;
try {
Object[] objArr2 = {Long.valueOf(a2[guL.a] ^ a2[guL.a % i3]), Long.valueOf(guL.c), Long.valueOf(d)};
Object obj2 = xzZ.y.get(428080616);
if (obj2 == null) {
Class cls = (Class) xzZ.c(208 - TextUtils.indexOf("", "", 0), 4 - Process.getGidForName(""), (char) (1705 - TextUtils.indexOf((CharSequence) "", '0', 0, 0)));
byte b2 = (byte) 1;
byte b3 = (byte) (b2 - 1);
Object[] objArr3 = new Object[1];
f(b2, b3, b3, objArr3);
obj2 = cls.getMethod((String) objArr3[0], Long.TYPE, Long.TYPE, Long.TYPE);
xzZ.y.put(428080616, obj2);
}
a2[i6] = ((Character) ((Method) obj2).invoke(null, objArr2)).charValue();
try {
Object[] objArr4 = {guL, guL};
Object obj3 = xzZ.y.get(-1875914398);
if (obj3 == null) {
Class cls2 = (Class) xzZ.c(393 - (Process.getElapsedCpuTime() > 0L ? 1 : (Process.getElapsedCpuTime() == 0L ? 0 : -1)), 5 - (AudioTrack.getMinVolume() > BitmapDescriptorFactory.HUE_RED ? 1 : (AudioTrack.getMinVolume() == BitmapDescriptorFactory.HUE_RED ? 0 : -1)), (char) (ViewConfiguration.getMinimumFlingVelocity() >> 16));
byte b4 = (byte) 0;
byte b5 = b4;
Object[] objArr5 = new Object[1];
f(b4, b5, b5, objArr5);
obj3 = cls2.getMethod((String) objArr5[0], Object.class, Object.class);
xzZ.y.put(-1875914398, obj3);
}
((Method) obj3).invoke(null, objArr4);
i3 = 4;
} catch (Throwable th) {
Throwable cause = th.getCause();
if (cause == null) {
throw th;
}
throw cause;
}
} catch (Throwable th2) {
Throwable cause2 = th2.getCause();
if (cause2 == null) {
throw th2;
}
throw cause2;
}
}
String str = new String(a2, 4, a2.length - 4);
int i7 = $11 + 59;
$10 = i7 % 128;
if (i7 % 2 == 0) {
objArr[0] = str;
} else {
obj.hashCode();
throw null;
}
}
static void a() {
d = -6629041233591114506L;
}
public final String b() {
int i = 2 % 2;
int i2 = a;
int i3 = i2 + 5;
b = i3 % 128;
int i4 = i3 % 2;
String str = this.status;
int i5 = i2 + 99;
b = i5 % 128;
if (i5 % 2 != 0) {
return str;
}
Object obj = null;
obj.hashCode();
throw null;
}
private static /* synthetic */ Mtu[] d() {
Mtu[] mtuArr;
int i = 2 % 2;
int i2 = b + 43;
int i3 = i2 % 128;
a = i3;
if (i2 % 2 != 0) {
Mtu mtu = SHOW_BANNER;
Mtu mtu2 = HIDE_BANNER;
mtuArr = new Mtu[2];
mtuArr[1] = mtu;
mtuArr[1] = mtu2;
} else {
mtuArr = new Mtu[]{SHOW_BANNER, HIDE_BANNER};
}
int i4 = i3 + 73;
b = i4 % 128;
if (i4 % 2 != 0) {
return mtuArr;
}
Object obj = null;
obj.hashCode();
throw null;
}
}