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

357 lines
13 KiB
Java

package o;
import android.graphics.ImageFormat;
import android.os.Process;
import android.telephony.cdma.CdmaCellLocation;
import android.text.TextUtils;
import android.view.Gravity;
import android.view.KeyEvent;
import android.view.View;
import android.view.ViewConfiguration;
import android.widget.ExpandableListView;
import com.google.gson.annotations.SerializedName;
import java.lang.reflect.Method;
import net.sf.scuba.smartcards.ISO7816;
import net.sf.scuba.smartcards.ISOFileInfo;
/* loaded from: classes3.dex */
public final class HnF {
@SerializedName("registerVerifyUser")
private final boolean a;
@SerializedName("tcAcceptRequired")
private final String b;
@SerializedName("tcAcceptDate")
private final String c;
@SerializedName("etbActiveCasa")
private final Boolean e;
private static final byte[] $$a = {45, 3, ISO7816.INS_READ_RECORD2, ISO7816.INS_PSO};
private static final int $$b = 3;
private static int $10 = 0;
private static int $11 = 1;
private static int g = 0;
private static int h = 1;
private static char[] d = {16120};
private static int j = 1934311095;
private static boolean f = true;
private static boolean i = true;
/* JADX WARN: Removed duplicated region for block: B:10:0x0029 */
/* JADX WARN: Removed duplicated region for block: B:7:0x0021 */
/* JADX WARN: Unsupported multi-entry loop pattern (BACK_EDGE: B:10:0x0029 -> B:4:0x002e). 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 l(short r6, byte r7, int r8, java.lang.Object[] r9) {
/*
int r8 = r8 * 57
int r8 = 122 - r8
byte[] r0 = o.HnF.$$a
int r6 = r6 * 4
int r1 = r6 + 1
int r7 = r7 * 4
int r7 = 3 - r7
byte[] r1 = new byte[r1]
r2 = 0
if (r0 != 0) goto L17
r3 = r8
r4 = r2
r8 = r7
goto L2e
L17:
r3 = r2
L18:
byte r4 = (byte) r8
r1[r3] = r4
int r7 = r7 + 1
int r4 = r3 + 1
if (r3 != r6) goto L29
java.lang.String r6 = new java.lang.String
r6.<init>(r1, r2)
r9[r2] = r6
return
L29:
r3 = r0[r7]
r5 = r8
r8 = r7
r7 = r5
L2e:
int r3 = -r3
int r7 = r7 + r3
r3 = r4
r5 = r8
r8 = r7
r7 = r5
goto L18
*/
throw new UnsupportedOperationException("Method not decompiled: o.HnF.l(short, byte, int, java.lang.Object[]):void");
}
public final JxF d(yzb yzbVar) {
int i2 = 2 % 2;
String str = this.b;
boolean z = true;
Object[] objArr = new Object[1];
String str2 = null;
k(null, new byte[]{ISOFileInfo.DATA_BYTES2}, null, 127 - TextUtils.getOffsetAfter("", 0), objArr);
boolean b = C14957gcv.b((Object) str, (Object) ((String) objArr[0]).intern());
String str3 = this.c;
Boolean bool = this.e;
if (bool != null) {
int i3 = h + 15;
g = i3 % 128;
int i4 = i3 % 2;
z = bool.booleanValue();
}
boolean z2 = this.a;
if (yzbVar != null) {
int i5 = g + 91;
h = i5 % 128;
if (i5 % 2 == 0) {
String str4 = yzbVar.e;
str2.hashCode();
throw null;
}
str2 = yzbVar.e;
}
return new JxF(b, str3, Boolean.valueOf(z), z2, str2);
}
private static void k(char[] cArr, byte[] bArr, int[] iArr, int i2, Object[] objArr) {
int length;
char[] cArr2;
int i3;
int i4 = 2;
int i5 = 2 % 2;
C3614bBe c3614bBe = new C3614bBe();
char[] cArr3 = d;
int i6 = 0;
if (cArr3 != null) {
int i7 = $11 + 21;
int i8 = i7 % 128;
$10 = i8;
if (i7 % 2 != 0) {
length = cArr3.length;
cArr2 = new char[length];
i3 = 1;
} else {
length = cArr3.length;
cArr2 = new char[length];
i3 = 0;
}
int i9 = i8 + 87;
$11 = i9 % 128;
int i10 = i9 % 2;
while (i3 < length) {
int i11 = $10 + 93;
$11 = i11 % 128;
if (i11 % i4 == 0) {
try {
Object[] objArr2 = new Object[1];
objArr2[i6] = Integer.valueOf(cArr3[i3]);
Object obj = xzZ.y.get(-950481649);
if (obj == null) {
Class cls = (Class) xzZ.c(Process.getGidForName("") + 338, TextUtils.getOffsetBefore("", i6) + 5, (char) (ViewConfiguration.getMaximumFlingVelocity() >> 16));
byte b = (byte) ($$b - 3);
byte b2 = b;
Object[] objArr3 = new Object[1];
l(b, b2, (byte) (b2 + 1), objArr3);
obj = cls.getMethod((String) objArr3[0], Integer.TYPE);
xzZ.y.put(-950481649, obj);
}
cArr2[i3] = ((Character) ((Method) obj).invoke(null, objArr2)).charValue();
i3 %= 1;
} catch (Throwable th) {
Throwable cause = th.getCause();
if (cause == null) {
throw th;
}
throw cause;
}
} else {
Object[] objArr4 = {Integer.valueOf(cArr3[i3])};
Object obj2 = xzZ.y.get(-950481649);
if (obj2 == null) {
Class cls2 = (Class) xzZ.c((CdmaCellLocation.convertQuartSecToDecDegrees(0) > 0.0d ? 1 : (CdmaCellLocation.convertQuartSecToDecDegrees(0) == 0.0d ? 0 : -1)) + 337, (KeyEvent.getMaxKeyCode() >> 16) + 5, (char) ((-1) - (ExpandableListView.getPackedPositionForChild(0, 0) > 0L ? 1 : (ExpandableListView.getPackedPositionForChild(0, 0) == 0L ? 0 : -1))));
byte b3 = (byte) ($$b - 3);
byte b4 = b3;
Object[] objArr5 = new Object[1];
l(b3, b4, (byte) (b4 + 1), objArr5);
obj2 = cls2.getMethod((String) objArr5[0], Integer.TYPE);
xzZ.y.put(-950481649, obj2);
}
cArr2[i3] = ((Character) ((Method) obj2).invoke(null, objArr4)).charValue();
i3++;
}
i4 = 2;
i6 = 0;
}
cArr3 = cArr2;
}
try {
Object[] objArr6 = {Integer.valueOf(j)};
Object obj3 = xzZ.y.get(-1521625011);
if (obj3 == null) {
Class cls3 = (Class) xzZ.c(283 - View.MeasureSpec.getSize(0), KeyEvent.getDeadChar(0, 0) + 5, (char) (39813 - (ViewConfiguration.getPressedStateDuration() >> 16)));
byte b5 = (byte) ($$b - 3);
byte b6 = b5;
Object[] objArr7 = new Object[1];
l(b5, b6, b6, objArr7);
obj3 = cls3.getMethod((String) objArr7[0], Integer.TYPE);
xzZ.y.put(-1521625011, obj3);
}
int intValue = ((Integer) ((Method) obj3).invoke(null, objArr6)).intValue();
if (!(!i)) {
int i12 = $11 + 97;
$10 = i12 % 128;
int i13 = i12 % 2;
c3614bBe.c = bArr.length;
char[] cArr4 = new char[c3614bBe.c];
c3614bBe.a = 0;
while (c3614bBe.a < c3614bBe.c) {
cArr4[c3614bBe.a] = (char) (cArr3[bArr[(c3614bBe.c - 1) - c3614bBe.a] + i2] - intValue);
Object[] objArr8 = {c3614bBe, c3614bBe};
Object obj4 = xzZ.y.get(1779759091);
if (obj4 == null) {
obj4 = ((Class) xzZ.c(40 - (ViewConfiguration.getMaximumFlingVelocity() >> 16), 4 - ImageFormat.getBitsPerPixel(0), (char) Gravity.getAbsoluteGravity(0, 0))).getMethod("D", Object.class, Object.class);
xzZ.y.put(1779759091, obj4);
}
((Method) obj4).invoke(null, objArr8);
}
objArr[0] = new String(cArr4);
return;
}
if (f) {
c3614bBe.c = cArr.length;
char[] cArr5 = new char[c3614bBe.c];
c3614bBe.a = 0;
while (c3614bBe.a < c3614bBe.c) {
int i14 = $11 + 117;
$10 = i14 % 128;
int i15 = i14 % 2;
cArr5[c3614bBe.a] = (char) (cArr3[cArr[(c3614bBe.c - 1) - c3614bBe.a] - i2] - intValue);
Object[] objArr9 = {c3614bBe, c3614bBe};
Object obj5 = xzZ.y.get(1779759091);
if (obj5 == null) {
obj5 = ((Class) xzZ.c((Process.getElapsedCpuTime() > 0L ? 1 : (Process.getElapsedCpuTime() == 0L ? 0 : -1)) + 39, 5 - (ViewConfiguration.getPressedStateDuration() >> 16), (char) (ViewConfiguration.getLongPressTimeout() >> 16))).getMethod("D", Object.class, Object.class);
xzZ.y.put(1779759091, obj5);
}
((Method) obj5).invoke(null, objArr9);
}
objArr[0] = new String(cArr5);
return;
}
int i16 = 0;
c3614bBe.c = iArr.length;
char[] cArr6 = new char[c3614bBe.c];
while (true) {
c3614bBe.a = i16;
if (c3614bBe.a >= c3614bBe.c) {
objArr[0] = new String(cArr6);
return;
} else {
cArr6[c3614bBe.a] = (char) (cArr3[iArr[(c3614bBe.c - 1) - c3614bBe.a] - i2] - intValue);
i16 = c3614bBe.a + 1;
}
}
} catch (Throwable th2) {
Throwable cause2 = th2.getCause();
if (cause2 == null) {
throw th2;
}
throw cause2;
}
}
public final String toString() {
int i2 = 2 % 2;
String str = this.b;
String str2 = this.c;
Boolean bool = this.e;
boolean z = this.a;
StringBuilder sb = new StringBuilder("VerifiedUserEntity(tcAcceptRequired=");
sb.append(str);
sb.append(", tcAcceptDate=");
sb.append(str2);
sb.append(", etbActiveCasa=");
sb.append(bool);
sb.append(", registerVerifyUser=");
sb.append(z);
sb.append(")");
String obj = sb.toString();
int i3 = g + 53;
h = i3 % 128;
if (i3 % 2 != 0) {
return obj;
}
throw null;
}
/* JADX WARN: Multi-variable type inference failed */
public final int hashCode() {
int hashCode;
int i2 = 2 % 2;
int i3 = h + 15;
g = i3 % 128;
if (i3 % 2 != 0) {
this.b.hashCode();
this.c.hashCode();
throw null;
}
int hashCode2 = this.b.hashCode();
int hashCode3 = this.c.hashCode();
Boolean bool = this.e;
if (bool == null) {
hashCode = 0;
} else {
hashCode = bool.hashCode();
int i4 = h + 15;
g = i4 % 128;
int i5 = i4 % 2;
}
boolean z = this.a;
int i6 = z;
if (z != 0) {
int i7 = g + 1;
h = i7 % 128;
int i8 = i7 % 2;
i6 = 1;
}
int i9 = (((((hashCode2 * 31) + hashCode3) * 31) + hashCode) * 31) + i6;
int i10 = h + 73;
g = i10 % 128;
if (i10 % 2 == 0) {
return i9;
}
throw null;
}
public final boolean equals(Object obj) {
int i2 = 2 % 2;
int i3 = g + 111;
h = i3 % 128;
int i4 = i3 % 2;
if (this == obj) {
return true;
}
if (!(obj instanceof HnF)) {
return false;
}
HnF hnF = (HnF) obj;
if (!C14957gcv.b((Object) this.b, (Object) hnF.b) || !C14957gcv.b((Object) this.c, (Object) hnF.c)) {
return false;
}
if (C14957gcv.b(this.e, hnF.e)) {
return this.a == hnF.a;
}
int i5 = g + 103;
h = i5 % 128;
int i6 = i5 % 2;
return false;
}
}