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

244 lines
9.1 KiB
Java

package o;
import android.graphics.Color;
import android.os.SystemClock;
import android.telephony.cdma.CdmaCellLocation;
import android.text.TextUtils;
import android.view.View;
import android.view.ViewConfiguration;
import com.google.android.gms.maps.model.BitmapDescriptorFactory;
import com.google.common.base.Ascii;
import com.google.gson.annotations.SerializedName;
import java.lang.reflect.Method;
import net.sf.scuba.smartcards.ISO7816;
import net.sf.scuba.smartcards.ISOFileInfo;
/* renamed from: o.jDk, reason: case insensitive filesystem */
/* loaded from: classes3.dex */
public final class C15852jDk {
@SerializedName("facialFlag")
private final String b;
@SerializedName("cardFlag")
private final String e;
private static final byte[] $$a = {ISO7816.INS_MANAGE_CHANNEL, -2, ISOFileInfo.FCI_EXT, Ascii.ETB};
private static final int $$b = 89;
private static int $10 = 0;
private static int $11 = 1;
private static int h = 0;
private static int i = 1;
private static char a = 27457;
private static char c = 41107;
private static char d = 58660;
private static char g = 9174;
private static void j(short s, byte b, int i2, Object[] objArr) {
int i3 = 4 - (b * 3);
byte[] bArr = $$a;
int i4 = 67 - s;
int i5 = i2 * 3;
byte[] bArr2 = new byte[i5 + 1];
int i6 = -1;
if (bArr == null) {
i4 = (-i4) + i5;
i3++;
i6 = -1;
}
while (true) {
int i7 = i6 + 1;
bArr2[i7] = (byte) i4;
if (i7 == i5) {
objArr[0] = new String(bArr2, 0);
return;
}
i4 = (-bArr[i3]) + i4;
i3++;
i6 = i7;
}
}
public final kdN a() {
int i2 = 2 % 2;
String str = this.e;
Object[] objArr = new Object[1];
f(new char[]{11060, 50428}, (ViewConfiguration.getPressedStateDuration() >> 16) + 1, objArr);
boolean b = C14957gcv.b((Object) str, (Object) ((String) objArr[0]).intern());
String str2 = this.b;
Object[] objArr2 = new Object[1];
f(new char[]{11060, 50428}, 1 - TextUtils.indexOf("", ""), objArr2);
kdN kdn = new kdN(b, C14957gcv.b((Object) str2, (Object) ((String) objArr2[0]).intern()));
int i3 = i + 51;
h = i3 % 128;
if (i3 % 2 == 0) {
return kdn;
}
throw null;
}
private static void f(char[] cArr, int i2, Object[] objArr) {
int i3;
int i4 = 2 % 2;
jTb jtb = new jTb();
char[] cArr2 = new char[cArr.length];
int i5 = 0;
jtb.b = 0;
char[] cArr3 = new char[2];
while (jtb.b < cArr.length) {
int i6 = $10 + 43;
$11 = i6 % 128;
int i7 = 58224;
if (i6 % 2 == 0) {
cArr3[1] = cArr[jtb.b];
cArr3[1] = cArr[jtb.b];
i3 = 1;
} else {
cArr3[i5] = cArr[jtb.b];
cArr3[1] = cArr[jtb.b + 1];
i3 = i5;
}
while (i3 < 16) {
char c2 = cArr3[1];
char c3 = cArr3[i5];
int i8 = (c3 + i7) ^ ((c3 << 4) + ((char) (d ^ 41718355337583039L)));
int i9 = c3 >>> 5;
try {
Object[] objArr2 = new Object[4];
objArr2[3] = Integer.valueOf(g);
objArr2[2] = Integer.valueOf(i9);
objArr2[1] = Integer.valueOf(i8);
objArr2[i5] = Integer.valueOf(c2);
Object obj = xzZ.y.get(597144044);
if (obj == null) {
Class cls = (Class) xzZ.c((SystemClock.elapsedRealtimeNanos() > 0L ? 1 : (SystemClock.elapsedRealtimeNanos() == 0L ? 0 : -1)) + 411, 5 - TextUtils.getOffsetAfter("", i5), (char) (CdmaCellLocation.convertQuartSecToDecDegrees(i5) > 0.0d ? 1 : (CdmaCellLocation.convertQuartSecToDecDegrees(i5) == 0.0d ? 0 : -1)));
byte b = (byte) ($$b & 7);
byte b2 = (byte) (b - 1);
Object[] objArr3 = new Object[1];
j(b, b2, b2, objArr3);
String str = (String) objArr3[i5];
Class<?>[] clsArr = new Class[4];
clsArr[i5] = Integer.TYPE;
clsArr[1] = Integer.TYPE;
clsArr[2] = Integer.TYPE;
clsArr[3] = Integer.TYPE;
obj = cls.getMethod(str, clsArr);
xzZ.y.put(597144044, obj);
}
char charValue = ((Character) ((Method) obj).invoke(null, objArr2)).charValue();
cArr3[1] = charValue;
char[] cArr4 = cArr3;
Object[] objArr4 = {Integer.valueOf(cArr3[i5]), Integer.valueOf((charValue + i7) ^ ((charValue << 4) + ((char) (a ^ 41718355337583039L)))), Integer.valueOf(charValue >>> 5), Integer.valueOf(c)};
Object obj2 = xzZ.y.get(597144044);
if (obj2 == null) {
Class cls2 = (Class) xzZ.c(413 - (SystemClock.uptimeMillis() > 0L ? 1 : (SystemClock.uptimeMillis() == 0L ? 0 : -1)), 5 - View.getDefaultSize(0, 0), (char) (1 - (ViewConfiguration.getScrollFriction() > BitmapDescriptorFactory.HUE_RED ? 1 : (ViewConfiguration.getScrollFriction() == BitmapDescriptorFactory.HUE_RED ? 0 : -1))));
byte b3 = (byte) ($$b & 7);
byte b4 = (byte) (b3 - 1);
Object[] objArr5 = new Object[1];
j(b3, b4, b4, objArr5);
obj2 = cls2.getMethod((String) objArr5[0], Integer.TYPE, Integer.TYPE, Integer.TYPE, Integer.TYPE);
xzZ.y.put(597144044, obj2);
}
cArr4[0] = ((Character) ((Method) obj2).invoke(null, objArr4)).charValue();
i7 -= 40503;
i3++;
cArr3 = cArr4;
i5 = 0;
} catch (Throwable th) {
Throwable cause = th.getCause();
if (cause == null) {
throw th;
}
throw cause;
}
}
char[] cArr5 = cArr3;
cArr2[jtb.b] = cArr5[0];
cArr2[jtb.b + 1] = cArr5[1];
Object[] objArr6 = {jtb, jtb};
Object obj3 = xzZ.y.get(943004485);
if (obj3 == null) {
Class cls3 = (Class) xzZ.c((ViewConfiguration.getScrollBarSize() >> 8) + 98, Color.alpha(0) + 5, (char) ((SystemClock.currentThreadTimeMillis() > (-1L) ? 1 : (SystemClock.currentThreadTimeMillis() == (-1L) ? 0 : -1)) - 1));
byte b5 = (byte) 0;
byte b6 = b5;
Object[] objArr7 = new Object[1];
j(b5, b6, b6, objArr7);
obj3 = cls3.getMethod((String) objArr7[0], Object.class, Object.class);
xzZ.y.put(943004485, obj3);
}
((Method) obj3).invoke(null, objArr6);
int i10 = $10 + 67;
$11 = i10 % 128;
int i11 = i10 % 2;
cArr3 = cArr5;
i5 = 0;
}
objArr[0] = new String(cArr2, 0, i2);
}
public final String toString() {
int i2 = 2 % 2;
String str = this.e;
String str2 = this.b;
StringBuilder sb = new StringBuilder("VerifiedMethodEntity(cardFlag=");
sb.append(str);
sb.append(", facialFlag=");
sb.append(str2);
sb.append(")");
String obj = sb.toString();
int i3 = i + 15;
h = i3 % 128;
if (i3 % 2 == 0) {
return obj;
}
Object obj2 = null;
obj2.hashCode();
throw null;
}
public final int hashCode() {
int i2 = 2 % 2;
int i3 = i + 23;
h = i3 % 128;
int hashCode = i3 % 2 != 0 ? (this.e.hashCode() / 2) % this.b.hashCode() : (this.e.hashCode() * 31) + this.b.hashCode();
int i4 = i + 75;
h = i4 % 128;
int i5 = i4 % 2;
return hashCode;
}
public final boolean equals(Object obj) {
int i2 = 2 % 2;
int i3 = i + 69;
h = i3 % 128;
Object obj2 = null;
if (i3 % 2 != 0) {
obj2.hashCode();
throw null;
}
if (this == obj) {
return true;
}
if (!(obj instanceof C15852jDk)) {
return false;
}
C15852jDk c15852jDk = (C15852jDk) obj;
if (!C14957gcv.b((Object) this.e, (Object) c15852jDk.e)) {
int i4 = i + 97;
h = i4 % 128;
return i4 % 2 != 0;
}
if (!C14957gcv.b((Object) this.b, (Object) c15852jDk.b)) {
int i5 = i + 71;
h = i5 % 128;
return i5 % 2 != 0;
}
int i6 = i + 103;
h = i6 % 128;
if (i6 % 2 == 0) {
return true;
}
obj2.hashCode();
throw null;
}
}