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

420 lines
16 KiB
Java

package o;
import android.graphics.ImageFormat;
import android.graphics.PointF;
import android.media.AudioTrack;
import android.os.Process;
import android.text.AndroidCharacter;
import android.text.TextUtils;
import android.util.TypedValue;
import android.view.ViewConfiguration;
import android.widget.ExpandableListView;
import com.google.android.gms.maps.model.BitmapDescriptorFactory;
import java.lang.reflect.Method;
@fZH
/* renamed from: o.beu, reason: case insensitive filesystem */
/* loaded from: classes.dex */
public final class C4691beu {
private static final byte[] $$a = {76, 73, -112, -126};
private static final int $$b = 72;
private static int $10 = 0;
private static int $11 = 1;
private static int a = 0;
private static int[] b;
private static int d;
private final C15828itU c;
/* JADX WARN: Removed duplicated region for block: B:10:0x0023 */
/* JADX WARN: Removed duplicated region for block: B:7:0x001b */
/* JADX WARN: Unsupported multi-entry loop pattern (BACK_EDGE: B:10:0x0023 -> B:4:0x002e). 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(byte r6, short r7, int r8, java.lang.Object[] r9) {
/*
int r6 = r6 + 4
int r8 = r8 * 2
int r8 = 104 - r8
byte[] r0 = o.C4691beu.$$a
int r7 = r7 * 2
int r1 = r7 + 1
byte[] r1 = new byte[r1]
r2 = 0
if (r0 != 0) goto L15
r8 = r6
r3 = r7
r4 = r2
goto L2e
L15:
r3 = r2
L16:
byte r4 = (byte) r8
r1[r3] = r4
if (r3 != r7) goto L23
java.lang.String r6 = new java.lang.String
r6.<init>(r1, r2)
r9[r2] = r6
return
L23:
int r3 = r3 + 1
int r6 = r6 + 1
r4 = r0[r6]
r5 = r8
r8 = r6
r6 = r4
r4 = r3
r3 = r5
L2e:
int r6 = -r6
int r6 = r6 + r3
r3 = r4
r5 = r8
r8 = r6
r6 = r5
goto L16
*/
throw new UnsupportedOperationException("Method not decompiled: o.C4691beu.f(byte, short, int, java.lang.Object[]):void");
}
@InterfaceC13391fZD
public C4691beu(C15828itU c15828itU) {
C14957gcv.e(c15828itU, "");
this.c = c15828itU;
}
public final C17293vak c(iAr iar) {
int i = 2 % 2;
C14957gcv.e(iar, "");
String str = iar.j;
String str2 = iar.i;
String str3 = iar.m;
String str4 = iar.e;
String str5 = iar.h;
int i2 = iar.f;
String str6 = iar.c;
C17107twJ d2 = C15828itU.d(iar.l);
C17107twJ d3 = C15828itU.d(iar.k);
C17107twJ d4 = C15828itU.d(iar.s);
String str7 = iar.r;
String str8 = iar.n;
String str9 = iar.b;
String str10 = iar.d;
C17107twJ d5 = C15828itU.d(iar.t);
String str11 = iar.q;
String str12 = iar.f9168o;
boolean d6 = d(iar.g);
C17293vak c17293vak = new C17293vak(str, str2, str3, str4, str5, i2, str6, d2, d3, d4, str7, str8, str9, str10, d5, str11, str12, Boolean.valueOf(d6), iar.a);
int i3 = a + 63;
d = i3 % 128;
int i4 = i3 % 2;
return c17293vak;
}
/* JADX WARN: Code restructure failed: missing block: B:10:0x0050, code lost:
if (o.C14957gcv.b((java.lang.Object) r6, (java.lang.Object) ((java.lang.String) r5[0]).intern()) == false) goto L16;
*/
/* JADX WARN: Code restructure failed: missing block: B:11:0x0052, code lost:
r6 = o.C4691beu.d + 29;
o.C4691beu.a = r6 % 128;
r6 = r6 % 2;
*/
/* JADX WARN: Code restructure failed: missing block: B:12:?, code lost:
return true;
*/
/* JADX WARN: Code restructure failed: missing block: B:15:0x002b, code lost:
if (o.gdZ.d((java.lang.CharSequence) r2) == false) goto L13;
*/
/* JADX WARN: Code restructure failed: missing block: B:8:0x0024, code lost:
if (r1 == false) goto L13;
*/
/* JADX WARN: Code restructure failed: missing block: B:9:0x002d, code lost:
r5 = new java.lang.Object[1];
e(new int[]{1949615949, -1626956259}, (android.view.ViewConfiguration.getTapTimeout() >> 16) + 1, r5);
*/
/*
Code decompiled incorrectly, please refer to instructions dump.
To view partially-correct add '--show-bad-code' argument
*/
private static boolean d(java.lang.String r6) {
/*
r0 = 2
int r1 = r0 % r0
int r1 = o.C4691beu.a
int r2 = r1 + 37
int r3 = r2 % 128
o.C4691beu.d = r3
int r2 = r2 % r0
if (r2 == 0) goto L67
r2 = r6
java.lang.CharSequence r2 = (java.lang.CharSequence) r2
r3 = 0
if (r2 == 0) goto L5d
int r1 = r1 + 39
int r4 = r1 % 128
o.C4691beu.d = r4
int r1 = r1 % r0
if (r1 != 0) goto L27
boolean r1 = o.gdZ.d(r2)
r2 = 26
int r2 = r2 / r3
if (r1 != 0) goto L5d
goto L2d
L27:
boolean r1 = o.gdZ.d(r2)
if (r1 != 0) goto L5d
L2d:
r1 = 1949615949(0x7434c74d, float:5.7291E31)
r2 = -1626956259(0xffffffff9f069e1d, float:-2.8506392E-20)
int[] r1 = new int[]{r1, r2}
int r2 = android.view.ViewConfiguration.getTapTimeout()
int r2 = r2 >> 16
r4 = 1
int r2 = r2 + r4
java.lang.Object[] r5 = new java.lang.Object[r4]
e(r1, r2, r5)
r1 = r5[r3]
java.lang.String r1 = (java.lang.String) r1
java.lang.String r1 = r1.intern()
boolean r6 = o.C14957gcv.b(r6, r1)
if (r6 == 0) goto L5d
int r6 = o.C4691beu.d
int r6 = r6 + 29
int r1 = r6 % 128
o.C4691beu.a = r1
int r6 = r6 % r0
r3 = r4
goto L66
L5d:
int r6 = o.C4691beu.a
int r6 = r6 + 31
int r1 = r6 % 128
o.C4691beu.d = r1
int r6 = r6 % r0
L66:
return r3
L67:
java.lang.CharSequence r6 = (java.lang.CharSequence) r6
r6 = 0
r6.hashCode()
throw r6
*/
throw new UnsupportedOperationException("Method not decompiled: o.C4691beu.d(java.lang.String):boolean");
}
/* renamed from: o.beu$HBt */
/* loaded from: classes.dex */
public static final class HBt {
private HBt() {
}
public /* synthetic */ HBt(byte b) {
this();
}
}
private static void e(int[] iArr, int i, Object[] objArr) {
int i2;
int length;
int[] iArr2;
int i3;
int i4 = 2;
int i5 = 2 % 2;
C4403bZM c4403bZM = new C4403bZM();
char[] cArr = new char[4];
char[] cArr2 = new char[iArr.length * 2];
int[] iArr3 = b;
int i6 = 729798706;
int i7 = 1;
int i8 = 0;
if (iArr3 != null) {
int i9 = $11 + 3;
$10 = i9 % 128;
if (i9 % 2 != 0) {
length = iArr3.length;
iArr2 = new int[length];
i3 = 1;
} else {
length = iArr3.length;
iArr2 = new int[length];
i3 = 0;
}
while (i3 < length) {
int i10 = $11 + 51;
$10 = i10 % 128;
if (i10 % i4 != 0) {
try {
Object[] objArr2 = new Object[1];
objArr2[i8] = Integer.valueOf(iArr3[i3]);
Object obj = xzZ.y.get(Integer.valueOf(i6));
if (obj == null) {
Class cls = (Class) xzZ.c(TextUtils.getTrimmedLength("") + 15, (TypedValue.complexToFraction(i8, BitmapDescriptorFactory.HUE_RED, BitmapDescriptorFactory.HUE_RED) > BitmapDescriptorFactory.HUE_RED ? 1 : (TypedValue.complexToFraction(i8, BitmapDescriptorFactory.HUE_RED, BitmapDescriptorFactory.HUE_RED) == BitmapDescriptorFactory.HUE_RED ? 0 : -1)) + 5, (char) (ImageFormat.getBitsPerPixel(i8) + 58135));
Class<?>[] clsArr = new Class[1];
clsArr[i8] = Integer.TYPE;
obj = cls.getMethod("i", clsArr);
xzZ.y.put(729798706, obj);
}
iArr2[i3] = ((Integer) ((Method) obj).invoke(null, objArr2)).intValue();
i3 >>>= 1;
} catch (Throwable th) {
Throwable cause = th.getCause();
if (cause == null) {
throw th;
}
throw cause;
}
} else {
try {
Object[] objArr3 = {Integer.valueOf(iArr3[i3])};
Object obj2 = xzZ.y.get(729798706);
if (obj2 == null) {
obj2 = ((Class) xzZ.c(14 - TextUtils.indexOf((CharSequence) "", '0', 0), 4 - TextUtils.indexOf((CharSequence) "", '0', 0, 0), (char) (58134 - (ViewConfiguration.getPressedStateDuration() >> 16)))).getMethod("i", Integer.TYPE);
xzZ.y.put(729798706, obj2);
}
iArr2[i3] = ((Integer) ((Method) obj2).invoke(null, objArr3)).intValue();
i3++;
} catch (Throwable th2) {
Throwable cause2 = th2.getCause();
if (cause2 == null) {
throw th2;
}
throw cause2;
}
}
int i11 = $10 + 101;
$11 = i11 % 128;
int i12 = i11 % 2;
i4 = 2;
i6 = 729798706;
i8 = 0;
}
iArr3 = iArr2;
}
int length2 = iArr3.length;
int[] iArr4 = new int[length2];
int[] iArr5 = b;
if (iArr5 != null) {
int length3 = iArr5.length;
int[] iArr6 = new int[length3];
int i13 = 0;
while (i13 < length3) {
int i14 = $10 + 85;
$11 = i14 % 128;
if (i14 % 2 == 0) {
Object[] objArr4 = new Object[i7];
objArr4[0] = Integer.valueOf(iArr5[i13]);
Object obj3 = xzZ.y.get(729798706);
if (obj3 != null) {
i2 = length3;
} else {
obj3 = ((Class) xzZ.c(AndroidCharacter.getMirror('0') - '!', TextUtils.lastIndexOf("", '0', 0, 0) + 6, (char) ((ViewConfiguration.getGlobalActionKeyTimeout() > 0L ? 1 : (ViewConfiguration.getGlobalActionKeyTimeout() == 0L ? 0 : -1)) + 58133))).getMethod("i", Integer.TYPE);
i2 = length3;
xzZ.y.put(729798706, obj3);
}
iArr6[i13] = ((Integer) ((Method) obj3).invoke(null, objArr4)).intValue();
length3 = i2;
i13 = 0;
} else {
int i15 = length3;
Object[] objArr5 = {Integer.valueOf(iArr5[i13])};
Object obj4 = xzZ.y.get(729798706);
if (obj4 == null) {
Method method = ((Class) xzZ.c(TextUtils.indexOf((CharSequence) "", '0', 0, 0) + 16, ExpandableListView.getPackedPositionType(0L) + 5, (char) ((ViewConfiguration.getZoomControlsTimeout() > 0L ? 1 : (ViewConfiguration.getZoomControlsTimeout() == 0L ? 0 : -1)) + 58133))).getMethod("i", Integer.TYPE);
xzZ.y.put(729798706, method);
obj4 = method;
}
iArr6[i13] = ((Integer) ((Method) obj4).invoke(null, objArr5)).intValue();
i13++;
length3 = i15;
}
i7 = 1;
}
iArr5 = iArr6;
}
char c = 0;
System.arraycopy(iArr5, 0, iArr4, 0, length2);
c4403bZM.b = 0;
while (c4403bZM.b < iArr.length) {
cArr[c] = (char) (iArr[c4403bZM.b] >> 16);
cArr[1] = (char) iArr[c4403bZM.b];
cArr[2] = (char) (iArr[c4403bZM.b + 1] >> 16);
cArr[3] = (char) iArr[c4403bZM.b + 1];
c4403bZM.e = (cArr[0] << 16) + cArr[1];
c4403bZM.a = (cArr[2] << 16) + cArr[3];
C4403bZM.d(iArr4);
int i16 = 0;
for (int i17 = 16; i16 < i17; i17 = 16) {
int i18 = $10 + 113;
$11 = i18 % 128;
int i19 = i18 % 2;
c4403bZM.e ^= iArr4[i16];
Object[] objArr6 = {c4403bZM, Integer.valueOf(C4403bZM.d(c4403bZM.e)), c4403bZM, c4403bZM};
Object obj5 = xzZ.y.get(-1196964548);
if (obj5 == null) {
Class cls2 = (Class) xzZ.c((PointF.length(BitmapDescriptorFactory.HUE_RED, BitmapDescriptorFactory.HUE_RED) > BitmapDescriptorFactory.HUE_RED ? 1 : (PointF.length(BitmapDescriptorFactory.HUE_RED, BitmapDescriptorFactory.HUE_RED) == BitmapDescriptorFactory.HUE_RED ? 0 : -1)) + 118, 5 - TextUtils.indexOf("", ""), (char) (ImageFormat.getBitsPerPixel(0) + 1));
byte b2 = (byte) (-1);
byte b3 = (byte) (b2 + 1);
Object[] objArr7 = new Object[1];
f(b2, b3, b3, objArr7);
obj5 = cls2.getMethod((String) objArr7[0], Object.class, Integer.TYPE, Object.class, Object.class);
xzZ.y.put(-1196964548, obj5);
}
int intValue = ((Integer) ((Method) obj5).invoke(null, objArr6)).intValue();
c4403bZM.e = c4403bZM.a;
c4403bZM.a = intValue;
i16++;
}
int i20 = c4403bZM.e;
c4403bZM.e = c4403bZM.a;
c4403bZM.a = i20;
c4403bZM.a ^= iArr4[16];
c4403bZM.e ^= iArr4[17];
int i21 = c4403bZM.e;
int i22 = c4403bZM.a;
cArr[0] = (char) (c4403bZM.e >>> 16);
cArr[1] = (char) c4403bZM.e;
cArr[2] = (char) (c4403bZM.a >>> 16);
cArr[3] = (char) c4403bZM.a;
C4403bZM.d(iArr4);
cArr2[c4403bZM.b * 2] = cArr[0];
cArr2[(c4403bZM.b * 2) + 1] = cArr[1];
cArr2[(c4403bZM.b * 2) + 2] = cArr[2];
cArr2[(c4403bZM.b * 2) + 3] = cArr[3];
Object[] objArr8 = {c4403bZM, c4403bZM};
Object obj6 = xzZ.y.get(1914371176);
if (obj6 == null) {
Class cls3 = (Class) xzZ.c(98 - (ViewConfiguration.getLongPressTimeout() >> 16), 6 - (AudioTrack.getMaxVolume() > BitmapDescriptorFactory.HUE_RED ? 1 : (AudioTrack.getMaxVolume() == BitmapDescriptorFactory.HUE_RED ? 0 : -1)), (char) ((Process.getThreadPriority(0) + 20) >> 6));
byte b4 = (byte) (-1);
byte b5 = (byte) (b4 + 1);
Object[] objArr9 = new Object[1];
f(b4, b5, (byte) (b5 + 1), objArr9);
obj6 = cls3.getMethod((String) objArr9[0], Object.class, Object.class);
xzZ.y.put(1914371176, obj6);
}
((Method) obj6).invoke(null, objArr8);
c = 0;
}
objArr[0] = new String(cArr2, 0, i);
}
static void d() {
b = new int[]{-505382015, -1949914585, -233427091, 957451351, -1527489732, 1935978428, 955817379, -291834028, -438876821, -362378175, -294207696, -183817681, -221275355, 1929736916, 484785198, -1804468428, -188546369, 1544536357};
}
static {
d = 1;
d();
new HBt((byte) 0);
int i = a + 69;
d = i % 128;
int i2 = i % 2;
}
}