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

177 lines
7.8 KiB
Java

package o;
import android.graphics.Color;
import android.graphics.PointF;
import android.media.AudioTrack;
import android.os.SystemClock;
import android.text.TextUtils;
import android.view.KeyEvent;
import android.view.MotionEvent;
import android.view.ViewConfiguration;
import android.widget.ExpandableListView;
import com.google.android.gms.maps.model.BitmapDescriptorFactory;
import java.lang.reflect.Method;
import net.sf.scuba.smartcards.ISO7816;
import net.sf.scuba.smartcards.ISOFileInfo;
/* loaded from: classes3.dex */
public final class yBX extends ZTC {
private static final byte[] $$d = {ISO7816.INS_CHANGE_CHV, ISOFileInfo.A1, ISO7816.INS_ENVELOPE, -12};
private static final int $$e = 135;
private static int $10 = 0;
private static int $11 = 1;
private static int e = 0;
private static int d = 1;
private static long a = 9051040786702654117L;
private static int b = 452713125;
private static char c = 36804;
/* JADX WARN: Removed duplicated region for block: B:10:0x0022 */
/* JADX WARN: Removed duplicated region for block: B:7:0x001a */
/* JADX WARN: Unsupported multi-entry loop pattern (BACK_EDGE: B:10:0x0022 -> B:4:0x0028). 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(int r5, int r6, int r7, java.lang.Object[] r8) {
/*
int r5 = 115 - r5
int r7 = r7 * 4
int r0 = 1 - r7
byte[] r1 = o.yBX.$$d
int r6 = r6 + 4
byte[] r0 = new byte[r0]
r2 = 0
int r7 = 0 - r7
if (r1 != 0) goto L14
r4 = r7
r3 = r2
goto L28
L14:
r3 = r2
L15:
byte r4 = (byte) r5
r0[r3] = r4
if (r3 != r7) goto L22
java.lang.String r5 = new java.lang.String
r5.<init>(r0, r2)
r8[r2] = r5
return
L22:
int r3 = r3 + 1
int r6 = r6 + 1
r4 = r1[r6]
L28:
int r5 = r5 + r4
goto L15
*/
throw new UnsupportedOperationException("Method not decompiled: o.yBX.g(int, int, int, java.lang.Object[]):void");
}
@InterfaceC13391fZD
public yBX() {
}
public static C11448efY e(IQa iQa) {
int i = 2 % 2;
int i2 = d + 1;
e = i2 % 128;
int i3 = i2 % 2;
String str = "";
C14957gcv.e(iQa, "");
String str2 = iQa.e;
Object[] objArr = new Object[1];
f((char) ((AudioTrack.getMaxVolume() > BitmapDescriptorFactory.HUE_RED ? 1 : (AudioTrack.getMaxVolume() == BitmapDescriptorFactory.HUE_RED ? 0 : -1)) + 21751), 1885472818 - (ViewConfiguration.getScrollFriction() > BitmapDescriptorFactory.HUE_RED ? 1 : (ViewConfiguration.getScrollFriction() == BitmapDescriptorFactory.HUE_RED ? 0 : -1)), new char[]{12600, 25096, 63600, 43604}, new char[]{3629}, new char[]{0, 0, 0, 0}, objArr);
boolean b2 = C14957gcv.b((Object) str2, (Object) ((String) objArr[0]).intern());
String str3 = iQa.b;
if (str3 == null) {
int i4 = e + 59;
d = i4 % 128;
int i5 = i4 % 2;
} else {
str = str3;
}
return new C11448efY(b2, str);
}
private static void f(char c2, int i, char[] cArr, char[] cArr2, char[] cArr3, Object[] objArr) {
int i2;
int i3 = 2;
int i4 = 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;
int i5 = $11 + 107;
$10 = i5 % 128;
int i6 = i5 % 2;
while (nhs.a < length3) {
int i7 = $10 + 67;
$11 = i7 % 128;
int i8 = i7 % i3;
try {
Object[] objArr2 = {nhs};
Object obj = xzZ.y.get(263693715);
if (obj == null) {
obj = ((Class) xzZ.c(44 - ((byte) KeyEvent.getModifierMetaStateMask()), TextUtils.indexOf((CharSequence) "", '0') + 6, (char) (1 - (SystemClock.elapsedRealtime() > 0L ? 1 : (SystemClock.elapsedRealtime() == 0L ? 0 : -1))))).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((ViewConfiguration.getTapTimeout() >> 16) + 352, TextUtils.lastIndexOf("", '0', 0, 0) + 6, (char) ((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)) + 52128));
byte b2 = (byte) 0;
byte b3 = (byte) (b2 - 1);
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(MotionEvent.axisFromString("") + 749, (ViewConfiguration.getTouchSlop() >> 8) + 5, (char) Color.alpha(0))).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) {
i2 = 2;
} else {
Class cls2 = (Class) xzZ.c(402 - Color.alpha(0), 5 - (ExpandableListView.getPackedPositionForGroup(0) > 0L ? 1 : (ExpandableListView.getPackedPositionForGroup(0) == 0L ? 0 : -1)), (char) ((SystemClock.elapsedRealtime() > 0L ? 1 : (SystemClock.elapsedRealtime() == 0L ? 0 : -1)) + 21607));
byte b4 = (byte) ($$e & 1);
byte b5 = (byte) (-b4);
Object[] objArr7 = new Object[1];
g(b4, b5, (byte) (b5 + 1), objArr7);
i2 = 2;
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) (b ^ 9051040786702654117L))) ^ ((char) (c ^ 9051040786702654117L)));
nhs.a++;
i3 = i2;
} catch (Throwable th) {
Throwable cause = th.getCause();
if (cause == null) {
throw th;
}
throw cause;
}
}
objArr[0] = new String(cArr6);
}
}