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

373 lines
14 KiB
Java

package o;
import android.os.SystemClock;
import android.text.TextUtils;
import android.util.TypedValue;
import android.view.KeyEvent;
import android.view.View;
import android.view.ViewConfiguration;
import android.widget.ExpandableListView;
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;
/* loaded from: classes3.dex */
public final class XDQ {
private String a;
private String b;
private String d;
private String e;
private static final byte[] $$a = {Ascii.US, -107, 35, 49};
private static final int $$b = CipherSuite.TLS_DH_anon_WITH_SEED_CBC_SHA;
private static int $10 = 0;
private static int $11 = 1;
private static int j = 0;
private static int f = 1;
private static char[] c = {49026};
private static char h = 35368;
public static /* synthetic */ Object c(Object[] objArr, int i, int i2, int i3) {
XDQ xdq = (XDQ) objArr[0];
int i4 = 2 % 2;
int i5 = j + 17;
f = i5 % 128;
int i6 = i5 % 2;
String str = xdq.b;
Object[] objArr2 = new Object[1];
i((ViewConfiguration.getScrollDefaultDelay() >> 16) + 1, new char[]{13779}, (byte) ((ViewConfiguration.getDoubleTapTimeout() >> 16) + 40), objArr2);
boolean equalsIgnoreCase = ((String) objArr2[0]).intern().equalsIgnoreCase(str);
int i7 = j + 29;
f = i7 % 128;
int i8 = i7 % 2;
return Boolean.valueOf(equalsIgnoreCase);
}
/* 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:0x002a). 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 g(byte r6, short r7, byte r8, java.lang.Object[] r9) {
/*
byte[] r0 = o.XDQ.$$a
int r7 = r7 + 117
int r6 = r6 * 4
int r1 = r6 + 1
int r8 = r8 + 4
byte[] r1 = new byte[r1]
r2 = 0
if (r0 != 0) goto L12
r3 = r8
r4 = r2
goto L2a
L12:
r3 = r2
L13:
int r8 = r8 + 1
byte r4 = (byte) r7
r1[r3] = r4
int r4 = r3 + 1
if (r3 != r6) goto L24
java.lang.String r6 = new java.lang.String
r6.<init>(r1, r2)
r9[r2] = r6
return
L24:
r3 = r0[r8]
r5 = r8
r8 = r7
r7 = r3
r3 = r5
L2a:
int r7 = r7 + r8
r8 = r3
r3 = r4
goto L13
*/
throw new UnsupportedOperationException("Method not decompiled: o.XDQ.g(byte, short, byte, java.lang.Object[]):void");
}
public static XDQ c() {
int i = 2 % 2;
XDQ xdq = new XDQ();
int i2 = j + 19;
f = i2 % 128;
if (i2 % 2 != 0) {
return xdq;
}
Object obj = null;
obj.hashCode();
throw null;
}
private static void i(int i, char[] cArr, byte b, Object[] objArr) {
int i2;
Object obj;
char c2;
int i3 = 2 % 2;
IRS irs = new IRS();
char[] cArr2 = c;
long j2 = 0;
Object obj2 = null;
if (cArr2 != null) {
int length = cArr2.length;
char[] cArr3 = new char[length];
int i4 = 0;
while (i4 < length) {
int i5 = $11 + 75;
$10 = i5 % 128;
if (i5 % 2 != 0) {
try {
Object[] objArr2 = {Integer.valueOf(cArr2[i4])};
Object obj3 = xzZ.y.get(-1987398494);
if (obj3 == null) {
Class cls = (Class) xzZ.c(298 - (ViewConfiguration.getKeyRepeatTimeout() >> 16), 5 - (ViewConfiguration.getScrollDefaultDelay() >> 16), (char) (1 - (SystemClock.elapsedRealtime() > j2 ? 1 : (SystemClock.elapsedRealtime() == j2 ? 0 : -1))));
byte b2 = (byte) 0;
byte b3 = b2;
Object[] objArr3 = new Object[1];
g(b2, b3, (byte) (b3 - 1), objArr3);
obj3 = cls.getMethod((String) objArr3[0], Integer.TYPE);
xzZ.y.put(-1987398494, obj3);
}
cArr3[i4] = ((Character) ((Method) obj3).invoke(null, objArr2)).charValue();
} catch (Throwable th) {
Throwable cause = th.getCause();
if (cause == null) {
throw th;
}
throw cause;
}
} else {
Object[] objArr4 = {Integer.valueOf(cArr2[i4])};
Object obj4 = xzZ.y.get(-1987398494);
if (obj4 == null) {
Class cls2 = (Class) xzZ.c(View.MeasureSpec.getMode(0) + 298, View.getDefaultSize(0, 0) + 5, (char) ((SystemClock.elapsedRealtimeNanos() > 0L ? 1 : (SystemClock.elapsedRealtimeNanos() == 0L ? 0 : -1)) - 1));
byte b4 = (byte) 0;
byte b5 = b4;
Object[] objArr5 = new Object[1];
g(b4, b5, (byte) (b5 - 1), objArr5);
obj4 = cls2.getMethod((String) objArr5[0], Integer.TYPE);
xzZ.y.put(-1987398494, obj4);
}
cArr3[i4] = ((Character) ((Method) obj4).invoke(null, objArr4)).charValue();
i4++;
}
j2 = 0;
}
cArr2 = cArr3;
}
Object[] objArr6 = {Integer.valueOf(h)};
Object obj5 = xzZ.y.get(-1987398494);
char c3 = '0';
char c4 = 4;
if (obj5 == null) {
Class cls3 = (Class) xzZ.c(ExpandableListView.getPackedPositionGroup(0L) + 298, 4 - TextUtils.lastIndexOf("", '0', 0), (char) (TypedValue.complexToFloat(0) > BitmapDescriptorFactory.HUE_RED ? 1 : (TypedValue.complexToFloat(0) == BitmapDescriptorFactory.HUE_RED ? 0 : -1)));
byte b6 = (byte) 0;
byte b7 = b6;
Object[] objArr7 = new Object[1];
g(b6, b7, (byte) (b7 - 1), objArr7);
obj5 = cls3.getMethod((String) objArr7[0], Integer.TYPE);
xzZ.y.put(-1987398494, obj5);
}
char charValue = ((Character) ((Method) obj5).invoke(null, objArr6)).charValue();
char[] cArr4 = new char[i];
if (i % 2 != 0) {
int i6 = $10 + 125;
$11 = i6 % 128;
int i7 = i6 % 2;
i2 = i - 1;
cArr4[i2] = (char) (cArr[i2] - b);
} else {
i2 = i;
}
if (i2 > 1) {
int i8 = $10 + 73;
$11 = i8 % 128;
int i9 = i8 % 2;
irs.e = 0;
while (irs.e < i2) {
irs.b = cArr[irs.e];
irs.c = cArr[irs.e + 1];
if (irs.b == irs.c) {
cArr4[irs.e] = (char) (irs.b - b);
cArr4[irs.e + 1] = (char) (irs.c - b);
c2 = c4;
obj = obj2;
} else {
Object[] objArr8 = new Object[13];
objArr8[12] = irs;
objArr8[11] = Integer.valueOf(charValue);
objArr8[10] = irs;
objArr8[9] = irs;
objArr8[8] = Integer.valueOf(charValue);
objArr8[7] = irs;
objArr8[6] = irs;
objArr8[5] = Integer.valueOf(charValue);
objArr8[c4] = irs;
objArr8[3] = irs;
objArr8[2] = Integer.valueOf(charValue);
objArr8[1] = irs;
objArr8[0] = irs;
Object obj6 = xzZ.y.get(822107368);
if (obj6 == null) {
Class cls4 = (Class) xzZ.c(233 - KeyEvent.normalizeMetaState(0), 4 - TextUtils.indexOf("", c3, 0, 0), (char) (22024 - (ViewConfiguration.getWindowTouchSlop() >> 8)));
byte b8 = (byte) 0;
byte b9 = (byte) (b8 + 3);
Object[] objArr9 = new Object[1];
g(b8, b9, (byte) (b9 - 4), objArr9);
obj6 = cls4.getMethod((String) objArr9[0], Object.class, Object.class, Integer.TYPE, Object.class, Object.class, Integer.TYPE, Object.class, Object.class, Integer.TYPE, Object.class, Object.class, Integer.TYPE, Object.class);
xzZ.y.put(822107368, obj6);
}
if (((Integer) ((Method) obj6).invoke(null, objArr8)).intValue() == irs.j) {
Object[] objArr10 = {irs, irs, Integer.valueOf(charValue), Integer.valueOf(charValue), irs, irs, Integer.valueOf(charValue), Integer.valueOf(charValue), irs, Integer.valueOf(charValue), irs};
Object obj7 = xzZ.y.get(-1152873385);
if (obj7 != null) {
c2 = 4;
} else {
Class cls5 = (Class) xzZ.c(327 - (ViewConfiguration.getKeyRepeatDelay() >> 16), 6 - (ViewConfiguration.getGlobalActionKeyTimeout() > 0L ? 1 : (ViewConfiguration.getGlobalActionKeyTimeout() == 0L ? 0 : -1)), (char) (ViewConfiguration.getTapTimeout() >> 16));
byte b10 = (byte) 0;
byte b11 = (byte) (b10 + 1);
Object[] objArr11 = new Object[1];
g(b10, b11, (byte) (-b11), objArr11);
c2 = 4;
obj7 = cls5.getMethod((String) objArr11[0], Object.class, Object.class, Integer.TYPE, Integer.TYPE, Object.class, Object.class, Integer.TYPE, Integer.TYPE, Object.class, Integer.TYPE, Object.class);
xzZ.y.put(-1152873385, obj7);
}
obj = null;
int intValue = ((Integer) ((Method) obj7).invoke(null, objArr10)).intValue();
int i10 = (irs.d * charValue) + irs.j;
cArr4[irs.e] = cArr2[intValue];
cArr4[irs.e + 1] = cArr2[i10];
} else {
obj = null;
c2 = 4;
if (irs.a == irs.d) {
irs.f = ((irs.f + charValue) - 1) % charValue;
irs.j = ((irs.j + charValue) - 1) % charValue;
int i11 = (irs.a * charValue) + irs.f;
int i12 = (irs.d * charValue) + irs.j;
cArr4[irs.e] = cArr2[i11];
cArr4[irs.e + 1] = cArr2[i12];
} else {
int i13 = (irs.a * charValue) + irs.j;
int i14 = (irs.d * charValue) + irs.f;
cArr4[irs.e] = cArr2[i13];
cArr4[irs.e + 1] = cArr2[i14];
}
}
}
irs.e += 2;
obj2 = obj;
c4 = c2;
c3 = '0';
}
}
for (int i15 = 0; i15 < i; i15++) {
cArr4[i15] = (char) (cArr4[i15] ^ 13722);
}
objArr[0] = new String(cArr4);
}
public final XDQ e(String str) {
int i = 2 % 2;
int i2 = j;
int i3 = i2 + 65;
f = i3 % 128;
int i4 = i3 % 2;
this.d = str;
int i5 = i2 + 95;
f = i5 % 128;
int i6 = i5 % 2;
return this;
}
public final XDQ b(String str) {
int i = 2 % 2;
int i2 = j + 71;
int i3 = i2 % 128;
f = i3;
int i4 = i2 % 2;
this.b = str;
int i5 = i3 + 3;
j = i5 % 128;
int i6 = i5 % 2;
return this;
}
public final XDQ d(String str) {
int i = 2 % 2;
int i2 = j;
int i3 = i2 + 25;
f = i3 % 128;
int i4 = i3 % 2;
this.a = str;
if (i4 == 0) {
throw null;
}
int i5 = i2 + 89;
f = i5 % 128;
int i6 = i5 % 2;
return this;
}
public final XDQ a(String str) {
int i = 2 % 2;
int i2 = j + 119;
int i3 = i2 % 128;
f = i3;
int i4 = i2 % 2;
this.e = str;
if (i4 == 0) {
Object obj = null;
obj.hashCode();
throw null;
}
int i5 = i3 + 121;
j = i5 % 128;
int i6 = i5 % 2;
return this;
}
public final boolean b() {
return ((Boolean) c(new Object[]{this}, 1635820003, -1635820003, System.identityHashCode(this))).booleanValue();
}
public final String d() {
int i = 2 % 2;
int i2 = f + 91;
j = i2 % 128;
if (i2 % 2 == 0) {
return this.d;
}
throw null;
}
public final String a() {
int i = 2 % 2;
int i2 = j;
int i3 = i2 + 111;
f = i3 % 128;
int i4 = i3 % 2;
String str = this.a;
int i5 = i2 + 107;
f = i5 % 128;
if (i5 % 2 == 0) {
int i6 = 30 / 0;
}
return str;
}
public final String e() {
int i = 2 % 2;
int i2 = f + 9;
j = i2 % 128;
if (i2 % 2 == 0) {
return this.e;
}
throw null;
}
}