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

280 lines
12 KiB
Java
Raw Permalink Normal View History

2024-07-27 18:17:47 +07:00
package o;
import android.content.SharedPreferences;
import android.content.res.Resources;
import android.graphics.drawable.Drawable;
import android.media.AudioTrack;
import android.os.SystemClock;
import android.telephony.cdma.CdmaCellLocation;
import android.text.TextUtils;
import android.view.ViewConfiguration;
import android.widget.ExpandableListView;
import com.google.android.gms.maps.model.BitmapDescriptorFactory;
import java.lang.reflect.Method;
/* renamed from: o.Bf, reason: case insensitive filesystem */
/* loaded from: classes3.dex */
public final class C0204Bf extends AbstractC16173lt<WvL, C1203Xy> {
private final C0206Bh b;
private final C0218Bp d;
private static final byte[] $$d = {60, -87, -31, 8};
private static final int $$e = 45;
private static int $10 = 0;
private static int $11 = 1;
private static int f = 0;
private static int h = 1;
private static char[] a = {49026};
private static char i = 35368;
/* JADX WARN: Removed duplicated region for block: B:10:0x0021 */
/* JADX WARN: Removed duplicated region for block: B:7:0x0019 */
/* JADX WARN: Unsupported multi-entry loop pattern (BACK_EDGE: B:10:0x0021 -> 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 q(int r6, byte r7, short r8, java.lang.Object[] r9) {
/*
byte[] r0 = o.C0204Bf.$$d
int r6 = 120 - r6
int r7 = r7 + 4
int r8 = r8 * 2
int r1 = r8 + 1
byte[] r1 = new byte[r1]
r2 = 0
if (r0 != 0) goto L13
r6 = r7
r4 = r8
r3 = r2
goto L2a
L13:
r3 = r2
L14:
byte r4 = (byte) r6
r1[r3] = r4
if (r3 != r8) goto L21
java.lang.String r6 = new java.lang.String
r6.<init>(r1, r2)
r9[r2] = r6
return
L21:
int r7 = r7 + 1
int r3 = r3 + 1
r4 = r0[r7]
r5 = r7
r7 = r6
r6 = r5
L2a:
int r7 = r7 + r4
r5 = r7
r7 = r6
r6 = r5
goto L14
*/
throw new UnsupportedOperationException("Method not decompiled: o.C0204Bf.q(int, byte, short, java.lang.Object[]):void");
}
@Override // o.AbstractC16173lt
public final /* synthetic */ C1203Xy d(WvL wvL) {
int i2 = 2 % 2;
int i3 = f + 99;
h = i3 % 128;
int i4 = i3 % 2;
C1203Xy a2 = a(wvL);
if (i4 == 0) {
int i5 = 47 / 0;
}
int i6 = f + 51;
h = i6 % 128;
int i7 = i6 % 2;
return a2;
}
@InterfaceC13391fZD
public C0204Bf(Resources resources, SharedPreferences sharedPreferences, C0218Bp c0218Bp, C0206Bh c0206Bh) {
super(resources, sharedPreferences);
this.d = c0218Bp;
this.b = c0206Bh;
}
public final C1203Xy a(WvL wvL) {
int i2 = 2 % 2;
C1203Xy c1203Xy = new C1203Xy(wvL.a, wvL.y, wvL.v, wvL.u, wvL.b, C0218Bp.n(wvL.m), wvL.A, this.b.d(wvL.i), wvL.c, wvL.C, wvL.g, wvL.h, wvL.f);
int i3 = h + 47;
f = i3 % 128;
if (i3 % 2 == 0) {
return c1203Xy;
}
throw null;
}
public static C1203Xy d(C1193Xr c1193Xr) {
int i2 = 2 % 2;
String str = c1193Xr.g;
String str2 = c1193Xr.K;
String str3 = c1193Xr.J;
String str4 = c1193Xr.N;
double doubleValue = C6583cXR.c(c1193Xr.j).doubleValue();
String str5 = c1193Xr.R;
String str6 = c1193Xr.f;
String str7 = c1193Xr.m;
Object[] objArr = new Object[1];
n(1 - (ViewConfiguration.getTouchSlop() >> 8), new char[]{13810}, (byte) (ExpandableListView.getPackedPositionGroup(0L) + 71), objArr);
C1203Xy c1203Xy = new C1203Xy(str, str2, str3, str4, doubleValue, "BP", str5, null, str6, false, ((String) objArr[0]).intern(), str7, c1193Xr.f8453o);
int i3 = h + 115;
f = i3 % 128;
if (i3 % 2 != 0) {
int i4 = 17 / 0;
}
return c1203Xy;
}
private static void n(int i2, char[] cArr, byte b, Object[] objArr) {
int i3;
Object obj;
int i4 = 2 % 2;
IRS irs = new IRS();
char[] cArr2 = a;
Object obj2 = null;
int i5 = 3;
int i6 = 5;
if (cArr2 != null) {
int length = cArr2.length;
char[] cArr3 = new char[length];
int i7 = 0;
while (i7 < length) {
try {
Object[] objArr2 = {Integer.valueOf(cArr2[i7])};
Object obj3 = xzZ.y.get(-1987398494);
if (obj3 == null) {
Class cls = (Class) xzZ.c((SystemClock.elapsedRealtimeNanos() > 0L ? 1 : (SystemClock.elapsedRealtimeNanos() == 0L ? 0 : -1)) + 297, Drawable.resolveOpacity(0, 0) + i6, (char) (ViewConfiguration.getScrollBarFadeDuration() >> 16));
byte b2 = (byte) i5;
byte b3 = (byte) (b2 - 4);
Object[] objArr3 = new Object[1];
q(b2, b3, (byte) (b3 + 1), objArr3);
obj3 = cls.getMethod((String) objArr3[0], Integer.TYPE);
xzZ.y.put(-1987398494, obj3);
}
cArr3[i7] = ((Character) ((Method) obj3).invoke(null, objArr2)).charValue();
i7++;
i5 = 3;
i6 = 5;
} catch (Throwable th) {
Throwable cause = th.getCause();
if (cause == null) {
throw th;
}
throw cause;
}
}
int i8 = $10 + 47;
$11 = i8 % 128;
int i9 = i8 % 2;
cArr2 = cArr3;
}
Object[] objArr4 = {Integer.valueOf(i)};
Object obj4 = xzZ.y.get(-1987398494);
float f2 = BitmapDescriptorFactory.HUE_RED;
if (obj4 == null) {
Class cls2 = (Class) xzZ.c((ViewConfiguration.getTapTimeout() >> 16) + 298, 5 - (ViewConfiguration.getScrollBarFadeDuration() >> 16), (char) ((AudioTrack.getMaxVolume() > BitmapDescriptorFactory.HUE_RED ? 1 : (AudioTrack.getMaxVolume() == BitmapDescriptorFactory.HUE_RED ? 0 : -1)) - 1));
byte b4 = (byte) 3;
byte b5 = (byte) (b4 - 4);
Object[] objArr5 = new Object[1];
q(b4, b5, (byte) (b5 + 1), objArr5);
obj4 = cls2.getMethod((String) objArr5[0], Integer.TYPE);
xzZ.y.put(-1987398494, obj4);
}
char charValue = ((Character) ((Method) obj4).invoke(null, objArr4)).charValue();
char[] cArr4 = new char[i2];
if (i2 % 2 != 0) {
i3 = i2 - 1;
cArr4[i3] = (char) (cArr[i3] - b);
} else {
i3 = i2;
}
if (i3 > 1) {
irs.e = 0;
int i10 = $11 + 89;
$10 = i10 % 128;
int i11 = 2;
int i12 = i10 % 2;
while (irs.e < i3) {
int i13 = $11 + 49;
$10 = i13 % 128;
int i14 = i13 % i11;
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);
obj = obj2;
} else {
Object[] objArr6 = {irs, irs, Integer.valueOf(charValue), irs, irs, Integer.valueOf(charValue), irs, irs, Integer.valueOf(charValue), irs, irs, Integer.valueOf(charValue), irs};
Object obj5 = xzZ.y.get(822107368);
if (obj5 == null) {
Class cls3 = (Class) xzZ.c(TextUtils.lastIndexOf("", '0') + 234, 5 - (ViewConfiguration.getEdgeSlop() >> 16), (char) ((ViewConfiguration.getScrollFriction() > f2 ? 1 : (ViewConfiguration.getScrollFriction() == f2 ? 0 : -1)) + 22023));
byte b6 = (byte) 0;
byte b7 = (byte) (b6 - 1);
Object[] objArr7 = new Object[1];
q(b6, b7, (byte) (b7 + 1), objArr7);
obj5 = cls3.getMethod((String) objArr7[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, obj5);
}
if (((Integer) ((Method) obj5).invoke(null, objArr6)).intValue() == irs.j) {
int i15 = $11 + 19;
$10 = i15 % 128;
int i16 = i15 % 2;
Object[] objArr8 = {irs, irs, Integer.valueOf(charValue), Integer.valueOf(charValue), irs, irs, Integer.valueOf(charValue), Integer.valueOf(charValue), irs, Integer.valueOf(charValue), irs};
Object obj6 = xzZ.y.get(-1152873385);
if (obj6 == null) {
Class cls4 = (Class) xzZ.c(327 - TextUtils.indexOf("", "", 0, 0), 5 - (ViewConfiguration.getWindowTouchSlop() >> 8), (char) (CdmaCellLocation.convertQuartSecToDecDegrees(0) > 0.0d ? 1 : (CdmaCellLocation.convertQuartSecToDecDegrees(0) == 0.0d ? 0 : -1)));
byte b8 = (byte) 2;
byte b9 = (byte) (b8 - 3);
Object[] objArr9 = new Object[1];
q(b8, b9, (byte) (b9 + 1), objArr9);
obj6 = cls4.getMethod((String) objArr9[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, obj6);
}
obj = null;
int intValue = ((Integer) ((Method) obj6).invoke(null, objArr8)).intValue();
int i17 = (irs.d * charValue) + irs.j;
cArr4[irs.e] = cArr2[intValue];
cArr4[irs.e + 1] = cArr2[i17];
} else {
obj = null;
if (irs.a == irs.d) {
irs.f = ((irs.f + charValue) - 1) % charValue;
irs.j = ((irs.j + charValue) - 1) % charValue;
int i18 = (irs.a * charValue) + irs.f;
int i19 = (irs.d * charValue) + irs.j;
cArr4[irs.e] = cArr2[i18];
cArr4[irs.e + 1] = cArr2[i19];
} else {
int i20 = (irs.a * charValue) + irs.j;
int i21 = (irs.d * charValue) + irs.f;
cArr4[irs.e] = cArr2[i20];
cArr4[irs.e + 1] = cArr2[i21];
}
}
}
irs.e += 2;
int i22 = $11 + 1;
$10 = i22 % 128;
if (i22 % 2 != 0) {
int i23 = 4 % 3;
}
obj2 = obj;
f2 = BitmapDescriptorFactory.HUE_RED;
i11 = 2;
}
}
for (int i24 = 0; i24 < i2; i24++) {
int i25 = $11 + 73;
$10 = i25 % 128;
int i26 = i25 % 2;
cArr4[i24] = (char) (cArr4[i24] ^ 13722);
}
objArr[0] = new String(cArr4);
}
}