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

734 lines
22 KiB
Java
Raw Normal View History

2024-07-27 18:17:47 +07:00
package o;
import android.graphics.PointF;
import android.graphics.drawable.Drawable;
import android.util.TypedValue;
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 java.text.DecimalFormat;
import net.sf.scuba.smartcards.ISOFileInfo;
import org.jmrtd.cbeff.ISO781611;
/* loaded from: classes.dex */
public final class PZW extends C0743NnU<vfY> {
private static final byte[] $$a = {53, ISOFileInfo.A5, 77, -13};
private static final int $$b = ISO781611.BIOMETRIC_SUBTYPE_TAG;
private static int $10 = 0;
private static int $11 = 1;
private static int c = 0;
private static int b = 1;
private static int e = 2015661683;
public static /* synthetic */ Object a(Object[] objArr, int i, int i2, int i3) {
int i4 = (i * 569) + (i2 * 569);
int i5 = ~i;
int i6 = ~i2;
int i7 = i5 | i6;
int i8 = ~i7;
int i9 = ~i3;
int i10 = i | i9;
int i11 = i4 + ((i8 | (~(i5 | i9)) | (~(i6 | i9))) * (-1136)) + (((~(i5 | i3)) | (~(i6 | i3)) | (~(i10 | i2))) * (-568)) + (((~i10) | (~(i2 | i9)) | (~(i7 | i3))) * 568);
return i11 != 1 ? i11 != 2 ? i11 != 3 ? c(objArr) : e(objArr) : a(objArr) : b(objArr);
}
/* JADX WARN: Removed duplicated region for block: B:10:0x0028 */
/* JADX WARN: Removed duplicated region for block: B:7:0x0020 */
/* JADX WARN: Unsupported multi-entry loop pattern (BACK_EDGE: B:10:0x0028 -> 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 w(byte r5, byte r6, short r7, java.lang.Object[] r8) {
/*
byte[] r0 = o.PZW.$$a
int r7 = r7 * 7
int r7 = r7 + 69
int r6 = r6 * 4
int r1 = 1 - r6
int r5 = r5 * 4
int r5 = r5 + 4
byte[] r1 = new byte[r1]
r2 = 0
int r6 = 0 - r6
if (r0 != 0) goto L18
r3 = r6
r4 = r2
goto L2a
L18:
r3 = r2
L19:
byte r4 = (byte) r7
r1[r3] = r4
int r4 = r3 + 1
if (r3 != r6) goto L28
java.lang.String r5 = new java.lang.String
r5.<init>(r1, r2)
r8[r2] = r5
return
L28:
r3 = r0[r5]
L2a:
int r7 = r7 + r3
int r5 = r5 + 1
r3 = r4
goto L19
*/
throw new UnsupportedOperationException("Method not decompiled: o.PZW.w(byte, byte, short, java.lang.Object[]):void");
}
public PZW(vfY vfy) {
super(vfy);
}
@Override // o.C0743NnU
public final String d(int i) {
int i2 = 2 % 2;
switch (i) {
case 0:
return e();
case 1:
case 3:
case 8:
case 18:
case 19:
case 21:
case 29:
default:
return super.d(i);
case 2:
return s();
case 4:
String str = (String) a(new Object[]{this}, 1362752963, -1362752961, System.identityHashCode(this));
int i3 = c + 103;
b = i3 % 128;
int i4 = i3 % 2;
return str;
case 5:
return f();
case 6:
return j();
case 7:
String v = v();
int i5 = c + 73;
b = i5 % 128;
int i6 = i5 % 2;
return v;
case 9:
return x();
case 10:
return r();
case 11:
return k();
case 12:
return y();
case 13:
return p();
case 14:
case 16:
case 23:
return (String) a(new Object[]{this, Integer.valueOf(i)}, 530802116, -530802113, i);
case 15:
case 17:
case 24:
return f(i);
case 20:
return (String) a(new Object[]{this}, -65036905, 65036905, System.identityHashCode(this));
case 22:
return (String) a(new Object[]{this}, 114029690, -114029689, System.identityHashCode(this));
case 25:
return n();
case 26:
return g();
case 27:
return t();
case 28:
return i();
case 30:
return l();
case 31:
return m();
}
}
private String e() {
int i = 2 % 2;
int i2 = b + 89;
c = i2 % 128;
String e2 = i2 % 2 != 0 ? e(0, 0) : e(0, 1);
int i3 = b + 37;
c = i3 % 128;
int i4 = i3 % 2;
return e2;
}
private String s() {
int i = 2 % 2;
int i2 = b + 115;
c = i2 % 128;
int i3 = i2 % 2;
ghO j = ((vfY) this.a).j();
if (j == null) {
int i4 = b + 9;
c = i4 % 128;
if (i4 % 2 == 0) {
return null;
}
throw null;
}
return ghO.a(j.d);
}
private static /* synthetic */ Object a(Object[] objArr) {
String a;
int i = 2 % 2;
ghO j = ((vfY) ((PZW) objArr[0]).a).j();
if (j == null) {
int i2 = b + 9;
c = i2 % 128;
int i3 = i2 % 2;
a = null;
} else {
a = ghO.a(j.a);
}
int i4 = c + 111;
b = i4 % 128;
if (i4 % 2 == 0) {
int i5 = 8 / 0;
}
return a;
}
private static void u(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;
while (zui.d < i) {
zui.c = cArr[zui.d];
cArr2[zui.d] = (char) (i3 + zui.c);
int i5 = zui.d;
try {
Object[] objArr2 = {Integer.valueOf(cArr2[i5]), Integer.valueOf(e)};
Object obj = xzZ.y.get(880493502);
if (obj == null) {
Class cls = (Class) xzZ.c(((byte) KeyEvent.getModifierMetaStateMask()) + 144, View.MeasureSpec.getMode(0) + 7, (char) (ViewConfiguration.getEdgeSlop() >> 16));
byte b2 = (byte) 0;
byte b3 = b2;
Object[] objArr3 = new Object[1];
w(b2, b3, b3, objArr3);
obj = cls.getMethod((String) objArr3[0], Integer.TYPE, Integer.TYPE);
xzZ.y.put(880493502, obj);
}
cArr2[i5] = ((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((ViewConfiguration.getDoubleTapTimeout() >> 16) + 342, 5 - Drawable.resolveOpacity(0, 0), (char) (TypedValue.complexToFloat(0) > BitmapDescriptorFactory.HUE_RED ? 1 : (TypedValue.complexToFloat(0) == BitmapDescriptorFactory.HUE_RED ? 0 : -1)));
byte b4 = (byte) 0;
byte b5 = b4;
Object[] objArr5 = new Object[1];
w(b4, b5, (byte) (b5 + 1), 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) {
int i6 = $10 + 111;
$11 = i6 % 128;
int i7 = i6 % 2;
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 i8 = $11 + 71;
$10 = i8 % 128;
int i9 = i8 % 2;
char[] cArr4 = new char[i];
zui.d = 0;
while (zui.d < i) {
int i10 = $11 + 71;
$10 = i10 % 128;
int i11 = i10 % 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(342 - (ViewConfiguration.getTouchSlop() >> 8), 5 - (ViewConfiguration.getEdgeSlop() >> 16), (char) (ViewConfiguration.getScrollBarFadeDuration() >> 16));
byte b6 = (byte) 0;
byte b7 = b6;
Object[] objArr7 = new Object[1];
w(b6, b7, (byte) (b7 + 1), objArr7);
obj3 = cls3.getMethod((String) objArr7[0], Object.class, Object.class);
xzZ.y.put(1294990079, obj3);
}
((Method) obj3).invoke(null, objArr6);
}
cArr2 = cArr4;
}
objArr[0] = new String(cArr2);
}
private String v() {
int i = 2 % 2;
Axo[] m = ((vfY) this.a).m(7);
DecimalFormat decimalFormat = new DecimalFormat("00.000");
if (m == null) {
int i2 = b + 73;
c = i2 % 128;
if (i2 % 2 == 0) {
return null;
}
int i3 = 2 / 0;
return null;
}
int intValue = m[0].intValue();
int intValue2 = m[1].intValue();
String format = String.format("%02d:%02d:%s UTC", Integer.valueOf(intValue), Integer.valueOf(intValue2), decimalFormat.format(m[2].doubleValue()));
int i4 = b + 39;
c = i4 % 128;
int i5 = i4 % 2;
return format;
}
private static /* synthetic */ Object c(Object[] objArr) {
PZW pzw = (PZW) objArr[0];
int i = 2 % 2;
int i2 = b + 1;
c = i2 % 128;
int i3 = i2 % 2;
String c2 = pzw.c(20, 19, "S");
int i4 = c + 25;
b = i4 % 128;
int i5 = i4 % 2;
return c2;
}
private static /* synthetic */ Object b(Object[] objArr) {
int i;
int i2;
PZW pzw = (PZW) objArr[0];
int i3 = 2 % 2;
int i4 = b + 89;
c = i4 % 128;
if (i4 % 2 != 0) {
i = 1;
i2 = 120;
} else {
i = 22;
i2 = 21;
}
return pzw.c(i, i2, "W");
}
private String c(int i, int i2, String str) {
int i3 = 2 % 2;
int i4 = b + 57;
c = i4 % 128;
String str2 = null;
if (i4 % 2 != 0) {
((vfY) this.a).m(i);
((vfY) this.a).o(i2);
throw null;
}
Axo[] m = ((vfY) this.a).m(i);
String o2 = ((vfY) this.a).o(i2);
if (m != null && m.length == 3 && o2 != null) {
Double d = ghO.d(m[0], m[1], m[2], o2.equalsIgnoreCase(str));
if (d == null) {
int i5 = b + 55;
c = i5 % 128;
int i6 = i5 % 2;
} else {
str2 = ghO.a(d.doubleValue());
}
}
int i7 = b + 5;
c = i7 % 128;
int i8 = i7 % 2;
return str2;
}
private String n() {
int i = 2 % 2;
String o2 = ((vfY) this.a).o(25);
if (o2 == null) {
return null;
}
String trim = o2.trim();
if ("K".equalsIgnoreCase(trim)) {
return "kilometers";
}
if (!"M".equalsIgnoreCase(trim)) {
if ("N".equalsIgnoreCase(trim)) {
int i2 = c + 27;
b = i2 % 128;
int i3 = i2 % 2;
return "knots";
}
StringBuilder sb = new StringBuilder("Unknown (");
sb.append(trim);
sb.append(")");
return sb.toString();
}
int i4 = c + 121;
b = i4 % 128;
if (i4 % 2 != 0) {
return "miles";
}
int i5 = 95 / 0;
return "miles";
}
private String g() {
Axo l;
int i = 2 % 2;
int i2 = c + 113;
b = i2 % 128;
if (i2 % 2 != 0 ? (l = ((vfY) this.a).l(26)) == null : (l = ((vfY) this.a).l(59)) == null) {
int i3 = b + 45;
c = i3 % 128;
int i4 = i3 % 2;
return null;
}
String n = n();
Object[] objArr = new Object[2];
objArr[0] = new DecimalFormat("0.##").format(l.doubleValue());
objArr[1] = n == null ? "unit" : n.toLowerCase();
return String.format("%s %s", objArr);
}
private String f(int i) {
String o2;
int i2 = 2 % 2;
int i3 = c + 51;
b = i3 % 128;
int i4 = i3 % 2;
Axo l = ((vfY) this.a).l(i);
if (l != null) {
o2 = new DecimalFormat("0.##").format(l.doubleValue());
} else {
o2 = ((vfY) this.a).o(i);
}
if (o2 != null) {
int i5 = c + 17;
b = i5 % 128;
int i6 = i5 % 2;
if (o2.trim().length() != 0) {
StringBuilder sb = new StringBuilder();
sb.append(o2.trim());
sb.append(" degrees");
return sb.toString();
}
}
return null;
}
private static /* synthetic */ Object e(Object[] objArr) {
PZW pzw = (PZW) objArr[0];
int intValue = ((Number) objArr[1]).intValue();
int i = 2 % 2;
int i2 = c + 101;
b = i2 % 128;
int i3 = i2 % 2;
String o2 = ((vfY) pzw.a).o(intValue);
if (o2 == null) {
int i4 = b;
int i5 = i4 + 75;
c = i5 % 128;
int i6 = i5 % 2;
int i7 = i4 + 119;
c = i7 % 128;
int i8 = i7 % 2;
return null;
}
String trim = o2.trim();
if ("T".equalsIgnoreCase(trim)) {
int i9 = c + 41;
b = i9 % 128;
if (i9 % 2 != 0) {
return "True direction";
}
throw null;
}
if (!"M".equalsIgnoreCase(trim)) {
StringBuilder sb = new StringBuilder("Unknown (");
sb.append(trim);
sb.append(")");
return sb.toString();
}
int i10 = c + 17;
b = i10 % 128;
if (i10 % 2 != 0) {
return "Magnetic direction";
}
throw null;
}
private String k() {
Axo l;
int i = 2 % 2;
int i2 = c + 123;
b = i2 % 128;
String format = (i2 % 2 != 0 ? (l = ((vfY) this.a).l(11)) != null : (l = ((vfY) this.a).l(35)) != null) ? new DecimalFormat("0.##").format(l.doubleValue()) : null;
int i3 = c + 57;
b = i3 % 128;
int i4 = i3 % 2;
return format;
}
private String y() {
String o2;
int i = 2 % 2;
int i2 = b + 71;
c = i2 % 128;
if (i2 % 2 != 0) {
o2 = ((vfY) this.a).o(46);
if (o2 == null) {
return null;
}
} else {
o2 = ((vfY) this.a).o(12);
if (o2 == null) {
return null;
}
}
String trim = o2.trim();
if (!(!"K".equalsIgnoreCase(trim))) {
int i3 = c + 83;
b = i3 % 128;
if (i3 % 2 == 0) {
int i4 = 54 / 0;
}
return "km/h";
}
if ("M".equalsIgnoreCase(trim)) {
return "mph";
}
if (!"N".equalsIgnoreCase(trim)) {
StringBuilder sb = new StringBuilder("Unknown (");
sb.append(trim);
sb.append(")");
return sb.toString();
}
int i5 = c + 45;
int i6 = i5 % 128;
b = i6;
if (i5 % 2 == 0) {
int i7 = 95 / 0;
}
int i8 = i6 + 49;
c = i8 % 128;
int i9 = i8 % 2;
return "knots";
}
private String p() {
String lowerCase;
int i = 2 % 2;
Axo l = ((vfY) this.a).l(13);
if (l == null) {
int i2 = b + 19;
c = i2 % 128;
int i3 = i2 % 2;
return null;
}
String y = y();
Object[] objArr = new Object[2];
objArr[0] = new DecimalFormat("0.##").format(l.doubleValue());
if (y == null) {
int i4 = b + 63;
c = i4 % 128;
int i5 = i4 % 2;
lowerCase = "unit";
} else {
lowerCase = y.toLowerCase();
}
objArr[1] = lowerCase;
return String.format("%s %s", objArr);
}
private String r() {
int i = 2 % 2;
String o2 = ((vfY) this.a).o(10);
Object obj = null;
if (o2 == null) {
int i2 = b + 63;
c = i2 % 128;
if (i2 % 2 == 0) {
return null;
}
obj.hashCode();
throw null;
}
String trim = o2.trim();
u(1 - (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)), 1 - (KeyEvent.getMaxKeyCode() >> 16), 134 - (ViewConfiguration.getJumpTapTimeout() >> 16), new char[]{0}, false, new Object[1]);
if (!(!((String) r11[0]).intern().equalsIgnoreCase(trim))) {
int i3 = c + 59;
b = i3 % 128;
int i4 = i3 % 2;
return "2-dimensional measurement";
}
if (!"3".equalsIgnoreCase(trim)) {
StringBuilder sb = new StringBuilder("Unknown (");
sb.append(trim);
sb.append(")");
return sb.toString();
}
int i5 = b + 119;
c = i5 % 128;
if (i5 % 2 == 0) {
return "3-dimensional measurement";
}
obj.hashCode();
throw null;
}
private String x() {
String o2;
int i = 2 % 2;
int i2 = b + 105;
c = i2 % 128;
if (i2 % 2 != 0) {
o2 = ((vfY) this.a).o(48);
if (o2 == null) {
return null;
}
} else {
o2 = ((vfY) this.a).o(9);
if (o2 == null) {
return null;
}
}
String trim = o2.trim();
if ("A".equalsIgnoreCase(trim)) {
int i3 = c + 51;
b = i3 % 128;
int i4 = i3 % 2;
return "Active (Measurement in progress)";
}
if ("V".equalsIgnoreCase(trim)) {
return "Void (Measurement Interoperability)";
}
StringBuilder sb = new StringBuilder("Unknown (");
sb.append(trim);
sb.append(")");
return sb.toString();
}
private String f() {
int i = 2 % 2;
int i2 = c + 1;
b = i2 % 128;
int i3 = i2 % 2;
String a = a(5, "Sea level", "Below sea level");
int i4 = b + 117;
c = i4 % 128;
int i5 = i4 % 2;
return a;
}
private String j() {
int i = 2 % 2;
int i2 = b + 71;
c = i2 % 128;
int i3 = i2 % 2;
Axo l = ((vfY) this.a).l(6);
if (l == null) {
int i4 = c + 3;
b = i4 % 128;
int i5 = i4 % 2;
return null;
}
StringBuilder sb = new StringBuilder();
sb.append(new DecimalFormat("0.##").format(l.doubleValue()));
sb.append(" metres");
return sb.toString();
}
private String t() {
int i = 2 % 2;
int i2 = b + 33;
c = i2 % 128;
return e(i2 % 2 != 0 ? 115 : 27);
}
private String i() {
int i = 2 % 2;
int i2 = b + 81;
c = i2 % 128;
int i3 = i2 % 2;
String e2 = e(28);
int i4 = c + 101;
b = i4 % 128;
int i5 = i4 % 2;
return e2;
}
private String l() {
int i = 2 % 2;
int i2 = b + 1;
c = i2 % 128;
int i3 = i2 % 2;
String a = a(30, "No Correction", "Differential Corrected");
int i4 = b + 77;
c = i4 % 128;
int i5 = i4 % 2;
return a;
}
private String m() {
String obj;
int i = 2 % 2;
int i2 = b + 77;
c = i2 % 128;
int i3 = i2 % 2;
Axo l = ((vfY) this.a).l(31);
Object obj2 = null;
if (l == null) {
obj = null;
} else {
StringBuilder sb = new StringBuilder();
sb.append(new DecimalFormat("0.##").format(l.doubleValue()));
sb.append(" metres");
obj = sb.toString();
}
int i4 = b + 31;
c = i4 % 128;
if (i4 % 2 == 0) {
return obj;
}
obj2.hashCode();
throw null;
}
private String q() {
return (String) a(new Object[]{this}, 1362752963, -1362752961, System.identityHashCode(this));
}
private String g(int i) {
return (String) a(new Object[]{this, Integer.valueOf(i)}, 530802116, -530802113, i);
}
private String o() {
return (String) a(new Object[]{this}, 114029690, -114029689, System.identityHashCode(this));
}
private String h() {
return (String) a(new Object[]{this}, -65036905, 65036905, System.identityHashCode(this));
}
}