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

333 lines
11 KiB
Java
Raw Normal View History

2024-07-27 18:17:47 +07:00
package o;
import android.graphics.Color;
import android.os.SystemClock;
import android.text.TextUtils;
import android.view.KeyEvent;
import android.view.View;
import android.view.ViewConfiguration;
import com.google.common.base.Ascii;
import java.lang.reflect.Method;
import net.sf.scuba.smartcards.ISOFileInfo;
import org.bouncycastle.crypto.signers.PSSSigner;
/* 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 JI {
private static final JI[] $VALUES;
public static final JI HIDE_IMAGE_ON_BANNER;
public static final JI SHOW_IMAGE_ON_BANNER;
private static long a;
private static int c;
private String status;
private static final byte[] $$a = {55, PSSSigner.TRAILER_IMPLICIT, ISOFileInfo.LCS_BYTE, Ascii.SYN};
private static final int $$b = 103;
private static int $10 = 0;
private static int $11 = 1;
private static int b = 0;
/* JADX WARN: Removed duplicated region for block: B:10:0x0024 */
/* JADX WARN: Removed duplicated region for block: B:7:0x001c */
/* JADX WARN: Unsupported multi-entry loop pattern (BACK_EDGE: B:10:0x0024 -> B:4:0x0026). Please report as a decompilation issue!!! */
/*
Code decompiled incorrectly, please refer to instructions dump.
To view partially-correct add '--show-bad-code' argument
*/
private static void f(int r5, byte r6, int r7, java.lang.Object[] r8) {
/*
byte[] r0 = o.JI.$$a
int r7 = r7 + 77
int r5 = r5 * 4
int r5 = 4 - r5
int r6 = r6 * 4
int r6 = r6 + 1
byte[] r1 = new byte[r6]
r2 = 0
if (r0 != 0) goto L14
r4 = r5
r3 = r2
goto L26
L14:
r3 = r2
L15:
byte r4 = (byte) r7
r1[r3] = r4
int r3 = r3 + 1
if (r3 != r6) goto L24
java.lang.String r5 = new java.lang.String
r5.<init>(r1, r2)
r8[r2] = r5
return
L24:
r4 = r0[r5]
L26:
int r5 = r5 + 1
int r7 = r7 + r4
goto L15
*/
throw new UnsupportedOperationException("Method not decompiled: o.JI.f(int, byte, int, java.lang.Object[]):void");
}
public static JI valueOf(String str) {
int i = 2 % 2;
int i2 = c + 41;
b = i2 % 128;
int i3 = i2 % 2;
JI ji = (JI) Enum.valueOf(JI.class, str);
int i4 = b + 123;
c = i4 % 128;
int i5 = i4 % 2;
return ji;
}
public static JI[] values() {
int i = 2 % 2;
int i2 = c + 123;
b = i2 % 128;
int i3 = i2 % 2;
JI[] jiArr = (JI[]) $VALUES.clone();
int i4 = c + 85;
b = i4 % 128;
if (i4 % 2 != 0) {
int i5 = 76 / 0;
}
return jiArr;
}
static {
c = 1;
c();
Object[] objArr = new Object[1];
e(new char[]{33152}, (ViewConfiguration.getGlobalActionKeyTimeout() > 0L ? 1 : (ViewConfiguration.getGlobalActionKeyTimeout() == 0L ? 0 : -1)) + 44586, objArr);
SHOW_IMAGE_ON_BANNER = new JI("SHOW_IMAGE_ON_BANNER", 0, ((String) objArr[0]).intern());
Object[] objArr2 = new Object[1];
e(new char[]{33153}, 52361 - (KeyEvent.getMaxKeyCode() >> 16), objArr2);
HIDE_IMAGE_ON_BANNER = new JI("HIDE_IMAGE_ON_BANNER", 1, ((String) objArr2[0]).intern());
$VALUES = d();
int i = b + 117;
c = i % 128;
int i2 = i % 2;
}
private JI(String str, int i, String str2) {
this.status = str2;
}
/* JADX WARN: Code restructure failed: missing block: B:12:0x0071, code lost:
if (r9.equals(((java.lang.String) r1[0]).intern()) == false) goto L16;
*/
/* JADX WARN: Code restructure failed: missing block: B:14:0x0097, code lost:
return o.JI.SHOW_IMAGE_ON_BANNER;
*/
/* JADX WARN: Code restructure failed: missing block: B:16:0x0094, code lost:
return o.JI.HIDE_IMAGE_ON_BANNER;
*/
/* JADX WARN: Code restructure failed: missing block: B:18:0x0090, code lost:
if (r9.equals(((java.lang.String) r3[0]).intern()) != true) goto L16;
*/
/*
Code decompiled incorrectly, please refer to instructions dump.
To view partially-correct add '--show-bad-code' argument
*/
public static o.JI c(java.lang.String r9) {
/*
r0 = 2
int r1 = r0 % r0
r9.hashCode()
r1 = 1
char[] r2 = new char[r1]
r3 = 33153(0x8181, float:4.6457E-41)
r4 = 0
r2[r4] = r3
java.lang.String r3 = ""
r5 = 48
int r3 = android.text.TextUtils.indexOf(r3, r5, r4, r4)
r5 = 52360(0xcc88, float:7.3372E-41)
int r5 = r5 - r3
java.lang.Object[] r3 = new java.lang.Object[r1]
e(r2, r5, r3)
r2 = r3[r4]
java.lang.String r2 = (java.lang.String) r2
java.lang.String r2 = r2.intern()
boolean r2 = r9.equals(r2)
r2 = r2 ^ r1
if (r2 == r1) goto L42
o.JI r9 = o.JI.HIDE_IMAGE_ON_BANNER
int r1 = o.JI.b
int r1 = r1 + 125
int r2 = r1 % 128
o.JI.c = r2
int r1 = r1 % r0
if (r1 == 0) goto L3d
return r9
L3d:
r9 = 0
r9.hashCode()
throw r9
L42:
int r2 = o.JI.b
int r2 = r2 + 69
int r3 = r2 % 128
o.JI.c = r3
int r2 = r2 % r0
r5 = 0
r0 = 44588(0xae2c, float:6.2481E-41)
r3 = 33152(0x8180, float:4.6456E-41)
if (r2 != 0) goto L74
char[] r2 = new char[r1]
r2[r4] = r3
long r7 = android.os.SystemClock.elapsedRealtimeNanos()
int r3 = (r7 > r5 ? 1 : (r7 == r5 ? 0 : -1))
int r0 = r0 % r3
java.lang.Object[] r1 = new java.lang.Object[r1]
e(r2, r0, r1)
r0 = r1[r4]
java.lang.String r0 = (java.lang.String) r0
java.lang.String r0 = r0.intern()
boolean r9 = r9.equals(r0)
if (r9 != 0) goto L95
goto L92
L74:
char[] r2 = new char[r1]
r2[r4] = r3
long r7 = android.os.SystemClock.elapsedRealtimeNanos()
int r3 = (r7 > r5 ? 1 : (r7 == r5 ? 0 : -1))
int r0 = r0 - r3
java.lang.Object[] r3 = new java.lang.Object[r1]
e(r2, r0, r3)
r0 = r3[r4]
java.lang.String r0 = (java.lang.String) r0
java.lang.String r0 = r0.intern()
boolean r9 = r9.equals(r0)
if (r9 == r1) goto L95
L92:
o.JI r9 = o.JI.HIDE_IMAGE_ON_BANNER
return r9
L95:
o.JI r9 = o.JI.SHOW_IMAGE_ON_BANNER
return r9
*/
throw new UnsupportedOperationException("Method not decompiled: o.JI.c(java.lang.String):o.JI");
}
private static void e(char[] cArr, int i, Object[] objArr) {
int i2 = 2 % 2;
C4593bdB c4593bdB = new C4593bdB();
c4593bdB.a = i;
int length = cArr.length;
long[] jArr = new long[length];
c4593bdB.e = 0;
while (c4593bdB.e < cArr.length) {
int i3 = c4593bdB.e;
try {
Object[] objArr2 = {Integer.valueOf(cArr[c4593bdB.e]), c4593bdB, c4593bdB};
Object obj = xzZ.y.get(-1229953068);
if (obj == null) {
Class cls = (Class) xzZ.c((ViewConfiguration.getEdgeSlop() >> 16) + 402, 5 - View.MeasureSpec.getMode(0), (char) ((ViewConfiguration.getTapTimeout() >> 16) + 21608));
byte b2 = (byte) 0;
byte b3 = b2;
Object[] objArr3 = new Object[1];
f(b2, b3, b3, objArr3);
obj = cls.getMethod((String) objArr3[0], Integer.TYPE, Object.class, Object.class);
xzZ.y.put(-1229953068, obj);
}
jArr[i3] = ((Long) ((Method) obj).invoke(null, objArr2)).longValue() ^ (a ^ (-6958928035870403642L));
Object[] objArr4 = {c4593bdB, c4593bdB};
Object obj2 = xzZ.y.get(-1143917229);
if (obj2 == null) {
Class cls2 = (Class) xzZ.c(239 - (SystemClock.elapsedRealtimeNanos() > 0L ? 1 : (SystemClock.elapsedRealtimeNanos() == 0L ? 0 : -1)), 5 - KeyEvent.getDeadChar(0, 0), (char) (ViewConfiguration.getPressedStateDuration() >> 16));
byte b4 = (byte) 0;
byte b5 = b4;
Object[] objArr5 = new Object[1];
f(b4, b5, (byte) (b5 + 1), objArr5);
obj2 = cls2.getMethod((String) objArr5[0], Object.class, Object.class);
xzZ.y.put(-1143917229, obj2);
}
((Method) obj2).invoke(null, objArr4);
int i4 = $11 + 85;
$10 = i4 % 128;
if (i4 % 2 != 0) {
int i5 = 4 % 3;
}
} catch (Throwable th) {
Throwable cause = th.getCause();
if (cause == null) {
throw th;
}
throw cause;
}
}
char[] cArr2 = new char[length];
c4593bdB.e = 0;
while (c4593bdB.e < cArr.length) {
cArr2[c4593bdB.e] = (char) jArr[c4593bdB.e];
Object[] objArr6 = {c4593bdB, c4593bdB};
Object obj3 = xzZ.y.get(-1143917229);
if (obj3 == null) {
Class cls3 = (Class) xzZ.c(237 - TextUtils.indexOf((CharSequence) "", '0', 0), TextUtils.indexOf("", "", 0, 0) + 5, (char) Color.red(0));
byte b6 = (byte) 0;
byte b7 = b6;
Object[] objArr7 = new Object[1];
f(b6, b7, (byte) (b7 + 1), objArr7);
obj3 = cls3.getMethod((String) objArr7[0], Object.class, Object.class);
xzZ.y.put(-1143917229, obj3);
}
((Method) obj3).invoke(null, objArr6);
}
String str = new String(cArr2);
int i6 = $11 + 95;
$10 = i6 % 128;
int i7 = i6 % 2;
objArr[0] = str;
}
static void c() {
a = -5933198039375310217L;
}
public final String b() {
int i = 2 % 2;
int i2 = c + 87;
int i3 = i2 % 128;
b = i3;
int i4 = i2 % 2;
String str = this.status;
int i5 = i3 + 55;
c = i5 % 128;
if (i5 % 2 == 0) {
int i6 = 92 / 0;
}
return str;
}
private static /* synthetic */ JI[] d() {
JI[] jiArr;
int i = 2 % 2;
int i2 = c + 3;
int i3 = i2 % 128;
b = i3;
if (i2 % 2 != 0) {
JI ji = SHOW_IMAGE_ON_BANNER;
JI ji2 = HIDE_IMAGE_ON_BANNER;
jiArr = new JI[4];
jiArr[1] = ji;
jiArr[0] = ji2;
} else {
jiArr = new JI[]{SHOW_IMAGE_ON_BANNER, HIDE_IMAGE_ON_BANNER};
}
int i4 = i3 + 109;
c = i4 % 128;
if (i4 % 2 != 0) {
return jiArr;
}
Object obj = null;
obj.hashCode();
throw null;
}
}