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

192 lines
8.4 KiB
Java
Raw Permalink Normal View History

2024-07-27 18:17:47 +07:00
package o;
import android.graphics.drawable.Drawable;
import android.media.AudioTrack;
import android.text.TextUtils;
import android.view.KeyEvent;
import android.view.View;
import android.view.ViewConfiguration;
import com.google.android.gms.maps.model.BitmapDescriptorFactory;
import java.lang.reflect.Method;
import net.sf.scuba.smartcards.ISO7816;
/* renamed from: o.hPT, reason: case insensitive filesystem */
/* loaded from: classes3.dex */
public final class C15643hPT {
private static final byte[] $$a = {39, 45, ISO7816.INS_PUT_DATA, 49};
private static final int $$b = 251;
private static int $10 = 0;
private static int $11 = 1;
private static int b = 0;
private static int d = 1;
private static long a = 9051040786702654117L;
private static int c = 452713125;
private static char e = 9721;
/* 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: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(short r7, short r8, int r9, java.lang.Object[] r10) {
/*
int r7 = 115 - r7
byte[] r0 = o.C15643hPT.$$a
int r9 = r9 + 4
int r8 = r8 * 3
int r8 = 1 - r8
byte[] r1 = new byte[r8]
r2 = 0
if (r0 != 0) goto L13
r3 = r8
r7 = r9
r4 = r2
goto L2a
L13:
r3 = r2
L14:
int r4 = r3 + 1
byte r5 = (byte) r7
r1[r3] = r5
if (r4 != r8) goto L23
java.lang.String r7 = new java.lang.String
r7.<init>(r1, r2)
r10[r2] = r7
return
L23:
int r9 = r9 + 1
r3 = r0[r9]
r6 = r9
r9 = r7
r7 = r6
L2a:
int r3 = -r3
int r9 = r9 + r3
r3 = r4
r6 = r9
r9 = r7
r7 = r6
goto L14
*/
throw new UnsupportedOperationException("Method not decompiled: o.C15643hPT.g(short, short, int, java.lang.Object[]):void");
}
@InterfaceC13391fZD
public C15643hPT() {
}
public static BmF a(ZQZ zqz) {
Object obj;
String intern;
int i = 2 % 2;
int i2 = d + 17;
b = i2 % 128;
if (i2 % 2 == 0) {
C14957gcv.e(zqz, "");
String str = zqz.e;
if (zqz.a) {
int i3 = d + 43;
b = i3 % 128;
if (i3 % 2 != 0) {
Object[] objArr = new Object[1];
f((char) (54076 >> Drawable.resolveOpacity(1, 0)), (-1836408896) >>> TextUtils.indexOf((CharSequence) "", (char) 27), new char[]{49535, 35487, 15506, 50643}, new char[]{26788}, new char[]{0, 0, 0, 0}, objArr);
intern = ((String) objArr[0]).intern();
return new BmF(str, intern);
}
Object[] objArr2 = new Object[1];
f((char) (Drawable.resolveOpacity(0, 0) + 54076), (-1836408896) - TextUtils.indexOf((CharSequence) "", '0'), new char[]{49535, 35487, 15506, 50643}, new char[]{26788}, new char[]{0, 0, 0, 0}, objArr2);
obj = objArr2[0];
} else {
Object[] objArr3 = new Object[1];
f((char) (TextUtils.lastIndexOf("", '0', 0, 0) + 38101), View.MeasureSpec.getSize(0) - 60106100, new char[]{36039, 27354, 54524, 25236}, new char[]{19895}, new char[]{0, 0, 0, 0}, objArr3);
obj = objArr3[0];
}
intern = ((String) obj).intern();
return new BmF(str, intern);
}
C14957gcv.e(zqz, "");
String str2 = zqz.e;
boolean z = zqz.a;
throw null;
}
private static void f(char c2, int i, char[] cArr, char[] cArr2, char[] cArr3, Object[] objArr) {
int i2 = 2;
int i3 = 2 % 2;
Nhs nhs = new Nhs();
int length = cArr.length;
char[] cArr4 = new char[length];
int length2 = cArr3.length;
char[] cArr5 = new char[length2];
System.arraycopy(cArr, 0, cArr4, 0, length);
System.arraycopy(cArr3, 0, cArr5, 0, length2);
cArr4[0] = (char) (cArr4[0] ^ c2);
cArr5[2] = (char) (cArr5[2] + ((char) i));
int length3 = cArr2.length;
char[] cArr6 = new char[length3];
nhs.a = 0;
while (nhs.a < length3) {
int i4 = $11 + 95;
$10 = i4 % 128;
int i5 = i4 % i2;
try {
Object[] objArr2 = {nhs};
Object obj = xzZ.y.get(263693715);
if (obj == null) {
obj = ((Class) xzZ.c((ViewConfiguration.getGlobalActionKeyTimeout() > 0L ? 1 : (ViewConfiguration.getGlobalActionKeyTimeout() == 0L ? 0 : -1)) + 44, (ViewConfiguration.getScrollFriction() > BitmapDescriptorFactory.HUE_RED ? 1 : (ViewConfiguration.getScrollFriction() == BitmapDescriptorFactory.HUE_RED ? 0 : -1)) + 4, (char) (ViewConfiguration.getMaximumFlingVelocity() >> 16))).getMethod("t", Object.class);
xzZ.y.put(263693715, obj);
}
int intValue = ((Integer) ((Method) obj).invoke(null, objArr2)).intValue();
Object[] objArr3 = {nhs};
Object obj2 = xzZ.y.get(-484664112);
if (obj2 == null) {
Class cls = (Class) xzZ.c(352 - (ViewConfiguration.getKeyRepeatDelay() >> 16), 5 - (AudioTrack.getMinVolume() > BitmapDescriptorFactory.HUE_RED ? 1 : (AudioTrack.getMinVolume() == BitmapDescriptorFactory.HUE_RED ? 0 : -1)), (char) (KeyEvent.normalizeMetaState(0) + 52128));
byte b2 = (byte) 0;
byte b3 = b2;
Object[] objArr4 = new Object[1];
g(b2, b3, (byte) (b3 - 1), objArr4);
obj2 = cls.getMethod((String) objArr4[0], Object.class);
xzZ.y.put(-484664112, obj2);
}
int intValue2 = ((Integer) ((Method) obj2).invoke(null, objArr3)).intValue();
Object[] objArr5 = {nhs, Integer.valueOf(cArr4[nhs.a % 4] * 32718), Integer.valueOf(cArr5[intValue])};
Object obj3 = xzZ.y.get(430099516);
if (obj3 == null) {
obj3 = ((Class) xzZ.c((ViewConfiguration.getJumpTapTimeout() >> 16) + 748, View.MeasureSpec.getSize(0) + 5, (char) (ViewConfiguration.getLongPressTimeout() >> 16))).getMethod(com.pingan.ai.p.a, Object.class, Integer.TYPE, Integer.TYPE);
xzZ.y.put(430099516, obj3);
}
((Method) obj3).invoke(null, objArr5);
Object[] objArr6 = {Integer.valueOf(cArr4[intValue2] * 32718), Integer.valueOf(cArr5[intValue])};
Object obj4 = xzZ.y.get(1019894806);
if (obj4 == null) {
Class cls2 = (Class) xzZ.c(401 - ((byte) KeyEvent.getModifierMetaStateMask()), 5 - TextUtils.indexOf("", "", 0), (char) (21608 - (AudioTrack.getMinVolume() > BitmapDescriptorFactory.HUE_RED ? 1 : (AudioTrack.getMinVolume() == BitmapDescriptorFactory.HUE_RED ? 0 : -1))));
byte b4 = (byte) ($$b & 5);
byte b5 = (byte) (b4 - 1);
Object[] objArr7 = new Object[1];
g(b4, b5, (byte) (b5 - 1), objArr7);
obj4 = cls2.getMethod((String) objArr7[0], Integer.TYPE, Integer.TYPE);
xzZ.y.put(1019894806, obj4);
}
cArr5[intValue2] = ((Character) ((Method) obj4).invoke(null, objArr6)).charValue();
cArr4[intValue2] = nhs.c;
cArr6[nhs.a] = (char) ((((cArr4[intValue2] ^ cArr2[nhs.a]) ^ (a ^ 9051040786702654117L)) ^ ((int) (c ^ 9051040786702654117L))) ^ ((char) (e ^ 9051040786702654117L)));
nhs.a++;
i2 = 2;
} catch (Throwable th) {
Throwable cause = th.getCause();
if (cause == null) {
throw th;
}
throw cause;
}
}
String str = new String(cArr6);
int i6 = $11 + 51;
$10 = i6 % 128;
int i7 = i6 % 2;
objArr[0] = str;
}
}