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

318 lines
13 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.Color;
import android.graphics.PointF;
import android.os.Process;
import android.os.SystemClock;
import android.util.TypedValue;
import android.view.View;
import android.view.ViewConfiguration;
import com.google.android.gms.maps.model.BitmapDescriptorFactory;
import java.lang.reflect.Method;
import java.util.List;
import o.PRA;
/* renamed from: o.yz, reason: case insensitive filesystem */
/* loaded from: classes3.dex */
public final class C17702yz extends C16157lj {
private static final byte[] $$d = {13, 13, 103, -97};
private static final int $$e = 30;
private static int $10 = 0;
private static int $11 = 1;
private static int a = 0;
private static int j = 1;
private static char[] d = {49026};
private static char b = 35368;
/* JADX WARN: Removed duplicated region for block: B:10:0x0026 */
/* JADX WARN: Removed duplicated region for block: B:7:0x001e */
/* JADX WARN: Unsupported multi-entry loop pattern (BACK_EDGE: B:10:0x0026 -> B:4:0x002d). 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, int r7, int r8, java.lang.Object[] r9) {
/*
byte[] r0 = o.C17702yz.$$d
int r7 = r7 * 3
int r7 = 4 - r7
int r6 = r6 * 2
int r1 = r6 + 1
int r8 = r8 + 117
byte[] r1 = new byte[r1]
r2 = 0
if (r0 != 0) goto L15
r4 = r8
r3 = r2
r8 = r7
goto L2d
L15:
r3 = r2
L16:
r5 = r8
r8 = r7
r7 = r5
byte r4 = (byte) r7
r1[r3] = r4
if (r3 != r6) goto L26
java.lang.String r6 = new java.lang.String
r6.<init>(r1, r2)
r9[r2] = r6
return
L26:
int r3 = r3 + 1
r4 = r0[r8]
r5 = r8
r8 = r7
r7 = r5
L2d:
int r7 = r7 + 1
int r8 = r8 + r4
goto L16
*/
throw new UnsupportedOperationException("Method not decompiled: o.C17702yz.q(int, int, int, java.lang.Object[]):void");
}
@InterfaceC13391fZD
public C17702yz(Resources resources, SharedPreferences sharedPreferences) {
super(resources, sharedPreferences);
}
public final List<C0987Tb> c(List<YFD> list) {
int i = 2 % 2;
int i2 = a + 75;
j = i2 % 128;
int i3 = i2 % 2;
if (list == null) {
return null;
}
YKU yku = new YKU(list);
List<C0987Tb> list2 = (List) new YKU(yku.a, new wxK(yku.b, new C17591yA(this))).a(new PRA.Sts(new PRA.AnonymousClass4(), new PRA.AnonymousClass8()));
int i4 = a + 31;
j = i4 % 128;
int i5 = i4 % 2;
return list2;
}
/* JADX INFO: Access modifiers changed from: package-private */
public static /* synthetic */ boolean d(C0987Tb c0987Tb) {
int i = 2 % 2;
int i2 = j + 121;
a = i2 % 128;
int i3 = i2 % 2;
Object[] objArr = new Object[1];
n(1 - Color.blue(0), new char[]{13739}, (byte) View.MeasureSpec.getSize(0), objArr);
boolean equals = ((String) objArr[0]).intern().equals(c0987Tb.h);
int i4 = a + 111;
j = i4 % 128;
int i5 = i4 % 2;
return equals;
}
public final List<C0987Tb> d(List<YFD> list) {
List<C0987Tb> list2;
int i = 2 % 2;
int i2 = a + 125;
j = i2 % 128;
Object obj = null;
if (i2 % 2 == 0) {
throw null;
}
if (list != null) {
YKU yku = new YKU(list);
YKU yku2 = new YKU(yku.a, new wxK(yku.b, new C17591yA(this)));
YKU yku3 = new YKU(yku2.a, new GEP(yku2.b, new Jel() { // from class: o.yC
@Override // o.Jel
public final boolean e(Object obj2) {
return C17702yz.d((C0987Tb) obj2);
}
}));
list2 = (List) new YKU(yku3.a, new C17745zRk(yku3.b, xNZ.a(new InterfaceC1244Ytw() { // from class: o.yB
@Override // o.InterfaceC1244Ytw
public final Object d(Object obj2) {
return Integer.valueOf(((C0987Tb) obj2).n);
}
}))).a(new PRA.Sts(new PRA.AnonymousClass4(), new PRA.AnonymousClass8()));
int i3 = j + 51;
a = i3 % 128;
int i4 = i3 % 2;
} else {
list2 = null;
}
int i5 = a + 23;
j = i5 % 128;
if (i5 % 2 != 0) {
return list2;
}
obj.hashCode();
throw null;
}
public static C0987Tb a(YFD yfd) {
C0987Tb c0987Tb;
int i = 2 % 2;
Object obj = null;
if (yfd == null) {
int i2 = a + 27;
j = i2 % 128;
int i3 = i2 % 2;
c0987Tb = null;
} else {
c0987Tb = new C0987Tb(yfd.m, yfd.b, yfd.c, yfd.d, yfd.g, yfd.j.intValue(), yfd.e, yfd.f, yfd.i, yfd.a, yfd.h);
}
int i4 = j + 51;
a = i4 % 128;
if (i4 % 2 == 0) {
return c0987Tb;
}
obj.hashCode();
throw null;
}
private static void n(int i, char[] cArr, byte b2, Object[] objArr) {
int i2;
Object obj;
int i3 = 2 % 2;
IRS irs = new IRS();
char[] cArr2 = d;
Object obj2 = null;
int i4 = 6;
float f = BitmapDescriptorFactory.HUE_RED;
int i5 = 5;
if (cArr2 != null) {
int length = cArr2.length;
char[] cArr3 = new char[length];
int i6 = $11 + 117;
$10 = i6 % 128;
int i7 = i6 % 2;
int i8 = 0;
while (i8 < length) {
try {
Object[] objArr2 = {Integer.valueOf(cArr2[i8])};
Object obj3 = xzZ.y.get(-1987398494);
if (obj3 == null) {
Class cls = (Class) xzZ.c(((Process.getThreadPriority(0) + 20) >> i4) + 298, View.MeasureSpec.makeMeasureSpec(0, 0) + i5, (char) (PointF.length(f, f) > f ? 1 : (PointF.length(f, f) == f ? 0 : -1)));
byte b3 = (byte) 0;
byte b4 = b3;
Object[] objArr3 = new Object[1];
q(b3, b4, b4, objArr3);
obj3 = cls.getMethod((String) objArr3[0], Integer.TYPE);
xzZ.y.put(-1987398494, obj3);
}
cArr3[i8] = ((Character) ((Method) obj3).invoke(null, objArr2)).charValue();
i8++;
i4 = 6;
f = BitmapDescriptorFactory.HUE_RED;
i5 = 5;
} catch (Throwable th) {
Throwable cause = th.getCause();
if (cause == null) {
throw th;
}
throw cause;
}
}
cArr2 = cArr3;
}
Object[] objArr4 = {Integer.valueOf(b)};
Object obj4 = xzZ.y.get(-1987398494);
if (obj4 == null) {
Class cls2 = (Class) xzZ.c(298 - (ViewConfiguration.getDoubleTapTimeout() >> 16), (TypedValue.complexToFraction(0, BitmapDescriptorFactory.HUE_RED, BitmapDescriptorFactory.HUE_RED) > BitmapDescriptorFactory.HUE_RED ? 1 : (TypedValue.complexToFraction(0, BitmapDescriptorFactory.HUE_RED, BitmapDescriptorFactory.HUE_RED) == BitmapDescriptorFactory.HUE_RED ? 0 : -1)) + 5, (char) View.resolveSize(0, 0));
byte b5 = (byte) 0;
byte b6 = b5;
Object[] objArr5 = new Object[1];
q(b5, b6, b6, 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[i];
if (i % 2 != 0) {
i2 = i - 1;
cArr4[i2] = (char) (cArr[i2] - b2);
} else {
i2 = i;
}
if (i2 > 1) {
irs.e = 0;
while (irs.e < i2) {
int i9 = $11 + 83;
$10 = i9 % 128;
int i10 = i9 % 2;
irs.b = cArr[irs.e];
irs.c = cArr[irs.e + 1];
if (irs.b == irs.c) {
int i11 = $10 + 41;
$11 = i11 % 128;
int i12 = i11 % 2;
cArr4[irs.e] = (char) (irs.b - b2);
cArr4[irs.e + 1] = (char) (irs.c - b2);
int i13 = $10 + 17;
$11 = i13 % 128;
int i14 = i13 % 2;
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(Color.blue(0) + 233, 6 - (SystemClock.elapsedRealtime() > 0L ? 1 : (SystemClock.elapsedRealtime() == 0L ? 0 : -1)), (char) (View.resolveSizeAndState(0, 0, 0) + 22024));
byte b7 = (byte) 0;
byte b8 = b7;
Object[] objArr7 = new Object[1];
q(b7, b8, (byte) (b8 + 3), 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 = $10 + 21;
$11 = 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 - View.resolveSize(0, 0), 5 - (ViewConfiguration.getDoubleTapTimeout() >> 16), (char) (1 - (SystemClock.uptimeMillis() > 0L ? 1 : (SystemClock.uptimeMillis() == 0L ? 0 : -1))));
byte b9 = (byte) 0;
byte b10 = b9;
Object[] objArr9 = new Object[1];
q(b9, b10, (byte) (b10 + 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) {
int i18 = $11 + 103;
$10 = i18 % 128;
int i19 = i18 % 2;
irs.f = ((irs.f + charValue) - 1) % charValue;
irs.j = ((irs.j + charValue) - 1) % charValue;
int i20 = (irs.a * charValue) + irs.f;
int i21 = (irs.d * charValue) + irs.j;
cArr4[irs.e] = cArr2[i20];
cArr4[irs.e + 1] = cArr2[i21];
} else {
int i22 = (irs.a * charValue) + irs.j;
int i23 = (irs.d * charValue) + irs.f;
cArr4[irs.e] = cArr2[i22];
cArr4[irs.e + 1] = cArr2[i23];
}
}
}
irs.e += 2;
obj2 = obj;
}
}
for (int i24 = 0; i24 < i; i24++) {
cArr4[i24] = (char) (cArr4[i24] ^ 13722);
}
objArr[0] = new String(cArr4);
}
}