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

398 lines
14 KiB
Java

package o;
import android.graphics.Color;
import android.media.AudioTrack;
import android.os.Process;
import android.os.SystemClock;
import android.view.KeyEvent;
import android.view.ViewConfiguration;
import android.widget.ExpandableListView;
import com.google.android.gms.maps.model.BitmapDescriptorFactory;
import java.lang.reflect.Method;
import java.util.Iterator;
import java.util.List;
import net.sf.scuba.smartcards.ISO7816;
/* loaded from: classes3.dex */
public final class GOB extends ZTC {
private static final byte[] $$d = {93, -104, ISO7816.INS_UPDATE_RECORD, ISO7816.INS_WRITE_RECORD};
private static final int $$e = 89;
private static int $10 = 0;
private static int $11 = 1;
private static int c = 0;
private static int b = 1;
private static int e = 2015661622;
/* 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: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 r5, int r6, byte r7, java.lang.Object[] r8) {
/*
byte[] r0 = o.GOB.$$d
int r7 = r7 * 3
int r1 = r7 + 1
int r6 = r6 * 3
int r6 = 3 - r6
int r5 = r5 * 7
int r5 = r5 + 69
byte[] r1 = new byte[r1]
r2 = 0
if (r0 != 0) goto L16
r4 = r7
r3 = r2
goto L2a
L16:
r3 = r2
L17:
byte r4 = (byte) r5
r1[r3] = r4
int r6 = r6 + 1
if (r3 != r7) goto L26
java.lang.String r5 = new java.lang.String
r5.<init>(r1, r2)
r8[r2] = r5
return
L26:
int r3 = r3 + 1
r4 = r0[r6]
L2a:
int r5 = r5 + r4
goto L17
*/
throw new UnsupportedOperationException("Method not decompiled: o.GOB.g(short, int, byte, java.lang.Object[]):void");
}
@InterfaceC13391fZD
public GOB() {
}
/* JADX WARN: Code restructure failed: missing block: B:12:0x0035, code lost:
r7 = r7;
o.C14957gcv.e(r7, "");
*/
/* JADX WARN: Code restructure failed: missing block: B:13:0x003e, code lost:
if ((r7 instanceof java.util.Collection) == false) goto L12;
*/
/* JADX WARN: Code restructure failed: missing block: B:14:0x0040, code lost:
r2 = r7.size();
*/
/* JADX WARN: Code restructure failed: missing block: B:15:0x004a, code lost:
r5 = new java.util.ArrayList(r2);
r7 = r7.iterator();
*/
/* JADX WARN: Code restructure failed: missing block: B:17:0x0057, code lost:
if (r7.hasNext() == false) goto L37;
*/
/* JADX WARN: Code restructure failed: missing block: B:18:0x0059, code lost:
r2 = o.GOB.c + 17;
o.GOB.b = r2 % 128;
r2 = r2 % 2;
r5.add(c((o.VrM) r7.next(), r8));
*/
/* JADX WARN: Code restructure failed: missing block: B:20:0x0070, code lost:
r7 = new java.util.ArrayList();
r8 = r5.iterator();
*/
/* JADX WARN: Code restructure failed: missing block: B:22:0x0085, code lost:
if (r8.hasNext() == false) goto L40;
*/
/* JADX WARN: Code restructure failed: missing block: B:23:0x0087, code lost:
r2 = o.GOB.b + 29;
o.GOB.c = r2 % 128;
*/
/* JADX WARN: Code restructure failed: missing block: B:24:0x0090, code lost:
if ((r2 % 2) == 0) goto L38;
*/
/* JADX WARN: Code restructure failed: missing block: B:26:0x00a6, code lost:
r2 = r8.next();
*/
/* JADX WARN: Code restructure failed: missing block: B:27:0x00b5, code lost:
if (((o.YNb) r2).f.length() <= 0) goto L44;
*/
/* JADX WARN: Code restructure failed: missing block: B:29:0x00b7, code lost:
r7.add(r2);
*/
/* JADX WARN: Code restructure failed: missing block: B:34:0x0092, code lost:
r2 = r8.next();
r5 = 53 / 0;
*/
/* JADX WARN: Code restructure failed: missing block: B:35:0x00a3, code lost:
if (((o.YNb) r2).f.length() <= 0) goto L46;
*/
/* JADX WARN: Code restructure failed: missing block: B:39:0x00bb, code lost:
r7 = r7;
r8 = o.GOB.b + 53;
o.GOB.c = r8 % 128;
*/
/* JADX WARN: Code restructure failed: missing block: B:40:0x00c5, code lost:
if ((r8 % 2) == 0) goto L32;
*/
/* JADX WARN: Code restructure failed: missing block: B:41:0x00c7, code lost:
r8 = 4 / 4;
*/
/* JADX WARN: Code restructure failed: missing block: B:42:0x0048, code lost:
r2 = 10;
*/
/* JADX WARN: Code restructure failed: missing block: B:44:0x0033, code lost:
if (r7 != null) goto L9;
*/
/* JADX WARN: Code restructure failed: missing block: B:4:0x0022, code lost:
if (r7 != null) goto L9;
*/
/* JADX WARN: Code restructure failed: missing block: B:5:0x00ca, code lost:
r7 = o.C14851gaI.c;
*/
/*
Code decompiled incorrectly, please refer to instructions dump.
To view partially-correct add '--show-bad-code' argument
*/
public static o.isg e(o.cXQ r7, java.util.List<o.idH> r8) {
/*
Method dump skipped, instructions count: 228
To view this dump add '--comments-level debug' option
*/
throw new UnsupportedOperationException("Method not decompiled: o.GOB.e(o.cXQ, java.util.List):o.isg");
}
private static YNb c(VrM vrM, List<idH> list) {
String str;
Object obj;
String str2;
String str3;
String str4;
int i = 2 % 2;
Iterator<T> it = list.iterator();
int i2 = c + 103;
b = i2 % 128;
int i3 = i2 % 2;
while (true) {
if (!it.hasNext()) {
obj = null;
break;
}
int i4 = c + 11;
b = i4 % 128;
if (i4 % 2 == 0) {
C14957gcv.b((Object) ((idH) it.next()).a, (Object) vrM.j);
str.hashCode();
throw null;
}
obj = it.next();
if (C14957gcv.b((Object) ((idH) obj).a, (Object) vrM.j)) {
break;
}
}
idH idh = (idH) obj;
int i5 = vrM.s;
String str5 = idh != null ? idh.e : null;
String str6 = str5 == null ? "" : str5;
gnR a = vrM.r != null ? a(idh) : new gnR("", "");
String str7 = vrM.j;
str = idh != null ? idh.d : null;
if (str == null) {
int i6 = c + 107;
b = i6 % 128;
int i7 = i6 % 2;
str2 = "";
} else {
str2 = str;
}
String str8 = vrM.h;
C14851gaI c14851gaI = vrM.c;
if (c14851gaI == null) {
c14851gaI = C14851gaI.c;
}
List<String> list2 = c14851gaI;
String str9 = vrM.g;
String str10 = vrM.p;
String str11 = vrM.m;
if (str11 == null) {
int i8 = b + 77;
c = i8 % 128;
if (i8 % 2 != 0) {
Object[] objArr = new Object[1];
f((SystemClock.elapsedRealtimeNanos() > 1L ? 1 : (SystemClock.elapsedRealtimeNanos() == 1L ? 0 : -1)), 0 - ExpandableListView.getPackedPositionType(0L), 43 << (ViewConfiguration.getKeyRepeatTimeout() % 97), new char[]{0}, true, objArr);
str11 = ((String) objArr[0]).intern();
} else {
Object[] objArr2 = new Object[1];
f((SystemClock.elapsedRealtimeNanos() > 0L ? 1 : (SystemClock.elapsedRealtimeNanos() == 0L ? 0 : -1)), 1 - ExpandableListView.getPackedPositionType(0L), (ViewConfiguration.getKeyRepeatTimeout() >> 16) + 65, new char[]{0}, false, objArr2);
str11 = ((String) objArr2[0]).intern();
}
}
String str12 = str11;
String str13 = vrM.b;
String str14 = vrM.l;
int i9 = vrM.v;
int i10 = vrM.x;
int i11 = vrM.f;
String str15 = vrM.n;
String str16 = vrM.f8424o;
String str17 = vrM.d;
String str18 = vrM.t;
String str19 = vrM.k;
String str20 = str19 == null ? "" : str19;
String str21 = vrM.e;
if (str21 == null) {
int i12 = b + 87;
str3 = str18;
c = i12 % 128;
int i13 = i12 % 2;
str4 = "";
} else {
str3 = str18;
str4 = str21;
}
String str22 = vrM.a;
String str23 = str22 == null ? "" : str22;
String str24 = vrM.q;
return new YNb(i5, str6, a, str7, str2, str8, list2, str9, str10, str12, str13, str14, i9, i10, i11, str15, str16, str17, str3, str20, str4, str23, str24 == null ? "" : str24);
}
private static gnR a(idH idh) {
String str;
FHJ fhj;
FHJ fhj2;
int i = 2 % 2;
Object obj = null;
String str2 = (idh == null || (fhj2 = idh.j) == null) ? null : fhj2.c;
String str3 = "";
if (str2 == null) {
str2 = "";
}
if (idh == null || (fhj = idh.j) == null) {
str = null;
} else {
int i2 = b + 121;
c = i2 % 128;
int i3 = i2 % 2;
str = fhj.d;
}
if (str == null) {
int i4 = c + 79;
b = i4 % 128;
if (i4 % 2 == 0) {
obj.hashCode();
throw null;
}
} else {
str3 = str;
}
return new gnR(str2, str3);
}
private static void f(int i, int i2, int i3, char[] cArr, boolean z, Object[] objArr) {
int i4 = 2 % 2;
zUI zui = new zUI();
char[] cArr2 = new char[i];
zui.d = 0;
int i5 = $10 + 3;
$11 = i5 % 128;
if (i5 % 2 == 0) {
int i6 = 3 / 4;
}
while (zui.d < i) {
int i7 = $11 + 11;
$10 = i7 % 128;
int i8 = i7 % 2;
zui.c = cArr[zui.d];
cArr2[zui.d] = (char) (i3 + zui.c);
int i9 = zui.d;
try {
Object[] objArr2 = {Integer.valueOf(cArr2[i9]), Integer.valueOf(e)};
Object obj = xzZ.y.get(880493502);
if (obj == null) {
Class cls = (Class) xzZ.c(143 - (KeyEvent.getMaxKeyCode() >> 16), 7 - Color.blue(0), (char) (Process.myTid() >> 22));
byte b2 = (byte) 0;
byte b3 = b2;
Object[] objArr3 = new Object[1];
g(b2, b3, b3, objArr3);
obj = cls.getMethod((String) objArr3[0], Integer.TYPE, Integer.TYPE);
xzZ.y.put(880493502, obj);
}
cArr2[i9] = ((Character) ((Method) obj).invoke(null, objArr2)).charValue();
Object[] objArr4 = {zui, zui};
Object obj2 = xzZ.y.get(1294990079);
if (obj2 == null) {
Class cls2 = (Class) xzZ.c(342 - Color.alpha(0), (Process.getElapsedCpuTime() > 0L ? 1 : (Process.getElapsedCpuTime() == 0L ? 0 : -1)) + 4, (char) (ViewConfiguration.getTapTimeout() >> 16));
byte b4 = (byte) ($$e & 7);
byte b5 = (byte) (b4 - 1);
Object[] objArr5 = new Object[1];
g(b4, b5, b5, objArr5);
obj2 = cls2.getMethod((String) objArr5[0], Object.class, Object.class);
xzZ.y.put(1294990079, obj2);
}
((Method) obj2).invoke(null, objArr4);
} catch (Throwable th) {
Throwable cause = th.getCause();
if (cause == null) {
throw th;
}
throw cause;
}
}
if (i2 > 0) {
zui.a = i2;
char[] cArr3 = new char[i];
System.arraycopy(cArr2, 0, cArr3, 0, i);
System.arraycopy(cArr3, 0, cArr2, i - zui.a, zui.a);
System.arraycopy(cArr3, zui.a, cArr2, 0, i - zui.a);
}
if (z) {
int i10 = $11 + 71;
$10 = i10 % 128;
int i11 = i10 % 2;
char[] cArr4 = new char[i];
zui.d = 0;
while (zui.d < i) {
int i12 = $11 + 103;
$10 = i12 % 128;
int i13 = i12 % 2;
cArr4[zui.d] = cArr2[(i - zui.d) - 1];
Object[] objArr6 = {zui, zui};
Object obj3 = xzZ.y.get(1294990079);
if (obj3 == null) {
Class cls3 = (Class) xzZ.c((AudioTrack.getMaxVolume() > BitmapDescriptorFactory.HUE_RED ? 1 : (AudioTrack.getMaxVolume() == BitmapDescriptorFactory.HUE_RED ? 0 : -1)) + 341, (ViewConfiguration.getGlobalActionKeyTimeout() > 0L ? 1 : (ViewConfiguration.getGlobalActionKeyTimeout() == 0L ? 0 : -1)) + 4, (char) KeyEvent.getDeadChar(0, 0));
byte b6 = (byte) ($$e & 7);
byte b7 = (byte) (b6 - 1);
Object[] objArr7 = new Object[1];
g(b6, b7, b7, objArr7);
obj3 = cls3.getMethod((String) objArr7[0], Object.class, Object.class);
xzZ.y.put(1294990079, obj3);
}
((Method) obj3).invoke(null, objArr6);
}
int i14 = $10 + 77;
$11 = i14 % 128;
int i15 = i14 % 2;
cArr2 = cArr4;
}
objArr[0] = new String(cArr2);
}
}