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

337 lines
11 KiB
Java

package o;
import android.graphics.Color;
import android.os.Process;
import android.text.TextUtils;
import android.view.KeyEvent;
import android.view.View;
import android.view.ViewConfiguration;
import com.google.gson.annotations.SerializedName;
import io.swagger.annotations.ApiModel;
import java.lang.reflect.Method;
import java.util.Objects;
import net.sf.scuba.smartcards.ISO7816;
@ApiModel(description = "Transaction Begin Form")
/* renamed from: o.fQh, reason: case insensitive filesystem */
/* loaded from: classes5.dex */
public class C13094fQh {
private static final byte[] $$a = {ISO7816.INS_DECREASE_STAMPED, -25, 126, 49};
private static final int $$b = 0;
private static int $10 = 0;
private static int $11 = 1;
private static int i = 0;
private static int g = 1;
private static char b = 16565;
private static char h = 24191;
private static char f = 46779;
private static char j = 64136;
@SerializedName("deviceId")
private String c = null;
@SerializedName("platformId")
private String d = null;
@SerializedName("sdkVersion")
private String a = null;
@SerializedName("applicationName")
private String e = null;
/* JADX WARN: Removed duplicated region for block: B:10:0x0027 */
/* JADX WARN: Removed duplicated region for block: B:7:0x001f */
/* JADX WARN: Unsupported multi-entry loop pattern (BACK_EDGE: B:10:0x0027 -> B:4:0x002c). 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(int r6, int r7, byte r8, java.lang.Object[] r9) {
/*
byte[] r0 = o.C13094fQh.$$a
int r8 = r8 + 4
int r6 = r6 * 2
int r1 = 1 - r6
int r7 = 67 - r7
byte[] r1 = new byte[r1]
r2 = 0
int r6 = 0 - r6
if (r0 != 0) goto L15
r7 = r6
r3 = r8
r4 = r2
goto L2c
L15:
r3 = r2
L16:
byte r4 = (byte) r7
r1[r3] = r4
int r8 = r8 + 1
int r4 = r3 + 1
if (r3 != r6) goto L27
java.lang.String r6 = new java.lang.String
r6.<init>(r1, r2)
r9[r2] = r6
return
L27:
r3 = r0[r8]
r5 = r3
r3 = r8
r8 = r5
L2c:
int r8 = -r8
int r7 = r7 + r8
r8 = r3
r3 = r4
goto L16
*/
throw new UnsupportedOperationException("Method not decompiled: o.C13094fQh.l(int, int, byte, java.lang.Object[]):void");
}
private static void k(char[] cArr, int i2, Object[] objArr) {
int i3 = 2 % 2;
jTb jtb = new jTb();
char[] cArr2 = new char[cArr.length];
int i4 = 0;
jtb.b = 0;
char[] cArr3 = new char[2];
while (jtb.b < cArr.length) {
int i5 = $10 + 47;
$11 = i5 % 128;
int i6 = i5 % 2;
cArr3[i4] = cArr[jtb.b];
int i7 = 1;
cArr3[1] = cArr[jtb.b + 1];
int i8 = 58224;
int i9 = i4;
while (i9 < 16) {
int i10 = $10 + 123;
$11 = i10 % 128;
int i11 = i10 % 2;
char c = cArr3[i7];
char c2 = cArr3[i4];
char[] cArr4 = cArr3;
int i12 = (c2 + i8) ^ ((c2 << 4) + ((char) (f ^ 41718355337583039L)));
int i13 = c2 >>> 5;
try {
Object[] objArr2 = new Object[4];
objArr2[3] = Integer.valueOf(j);
objArr2[2] = Integer.valueOf(i13);
objArr2[i7] = Integer.valueOf(i12);
objArr2[0] = Integer.valueOf(c);
Object obj = xzZ.y.get(597144044);
if (obj == null) {
Class cls = (Class) xzZ.c(412 - (ViewConfiguration.getJumpTapTimeout() >> 16), KeyEvent.getDeadChar(0, 0) + 5, (char) (ViewConfiguration.getMaximumDrawingCacheSize() >> 24));
byte b2 = (byte) $$b;
byte b3 = (byte) (b2 + 1);
Object[] objArr3 = new Object[i7];
l(b2, b3, (byte) (-b3), objArr3);
String str = (String) objArr3[0];
Class<?>[] clsArr = new Class[4];
clsArr[0] = Integer.TYPE;
clsArr[i7] = 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();
cArr4[i7] = charValue;
int i14 = i9;
Object[] objArr4 = {Integer.valueOf(cArr4[0]), Integer.valueOf((charValue + i8) ^ ((charValue << 4) + ((char) (b ^ 41718355337583039L)))), Integer.valueOf(charValue >>> 5), Integer.valueOf(h)};
Object obj2 = xzZ.y.get(597144044);
if (obj2 == null) {
Class cls2 = (Class) xzZ.c(412 - Color.alpha(0), 6 - (Process.getElapsedCpuTime() > 0L ? 1 : (Process.getElapsedCpuTime() == 0L ? 0 : -1)), (char) View.MeasureSpec.getMode(0));
byte b4 = (byte) $$b;
byte b5 = (byte) (b4 + 1);
Object[] objArr5 = new Object[1];
l(b4, b5, (byte) (-b5), 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();
i8 -= 40503;
i9 = i14 + 1;
cArr3 = cArr4;
i4 = 0;
i7 = 1;
} 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(98 - TextUtils.indexOf("", "", 0, 0), (ViewConfiguration.getPressedStateDuration() >> 16) + 5, (char) (ViewConfiguration.getJumpTapTimeout() >> 16));
byte b6 = (byte) $$b;
byte b7 = b6;
Object[] objArr7 = new Object[1];
l(b6, b7, (byte) (b7 - 1), objArr7);
obj3 = cls3.getMethod((String) objArr7[0], Object.class, Object.class);
xzZ.y.put(943004485, obj3);
}
((Method) obj3).invoke(null, objArr6);
cArr3 = cArr5;
i4 = 0;
}
objArr[0] = new String(cArr2, 0, i2);
}
public static /* synthetic */ Object e(Object[] objArr, int i2, int i3, int i4) {
C13094fQh c13094fQh = (C13094fQh) objArr[0];
String str = (String) objArr[1];
int i5 = 2 % 2;
int i6 = g + 119;
int i7 = i6 % 128;
i = i7;
int i8 = i6 % 2;
c13094fQh.a = str;
int i9 = i7 + 105;
g = i9 % 128;
int i10 = i9 % 2;
return c13094fQh;
}
public String toString() {
int i2 = 2 % 2;
StringBuilder sb = new StringBuilder("class TransactionBeginForm {\n deviceId: ");
sb.append(c((Object) this.c));
sb.append("\n platformId: ");
sb.append(c((Object) this.d));
sb.append("\n sdkVersion: ");
sb.append(c((Object) this.a));
sb.append("\n applicationName: ");
sb.append(c((Object) this.e));
sb.append("\n}");
String obj = sb.toString();
int i3 = g + 63;
i = i3 % 128;
int i4 = i3 % 2;
return obj;
}
public int hashCode() {
int i2 = 2 % 2;
int i3 = i + 61;
g = i3 % 128;
int i4 = i3 % 2;
int hash = Objects.hash(this.c, this.d, this.a, this.e);
int i5 = i + 45;
g = i5 % 128;
if (i5 % 2 != 0) {
return hash;
}
Object obj = null;
obj.hashCode();
throw null;
}
public boolean equals(Object obj) {
int i2 = 2 % 2;
int i3 = i + 101;
g = i3 % 128;
int i4 = i3 % 2;
if (this == obj) {
return true;
}
if (obj == null || getClass() != obj.getClass()) {
return false;
}
C13094fQh c13094fQh = (C13094fQh) obj;
if (Objects.equals(this.c, c13094fQh.c) && Objects.equals(this.d, c13094fQh.d)) {
int i5 = i + 1;
g = i5 % 128;
int i6 = i5 % 2;
if (Objects.equals(this.a, c13094fQh.a)) {
int i7 = i + 125;
g = i7 % 128;
int i8 = i7 % 2;
String str = this.e;
String str2 = c13094fQh.e;
if (i8 == 0) {
Objects.equals(str, str2);
throw null;
}
if (Objects.equals(str, str2)) {
return true;
}
}
}
return false;
}
public final C13094fQh a(String str) {
int i2 = 2 % 2;
int i3 = g + 3;
i = i3 % 128;
int i4 = i3 % 2;
this.e = str;
if (i4 != 0) {
int i5 = 56 / 0;
}
return this;
}
public final C13094fQh c(String str) {
return (C13094fQh) e(new Object[]{this, str}, 1866519271, -1866519271, System.identityHashCode(this));
}
public final C13094fQh d(String str) {
int i2 = 2 % 2;
int i3 = g;
int i4 = i3 + 27;
i = i4 % 128;
int i5 = i4 % 2;
this.d = str;
int i6 = i3 + 87;
i = i6 % 128;
int i7 = i6 % 2;
return this;
}
public final C13094fQh b(String str) {
int i2 = 2 % 2;
int i3 = g + 53;
i = i3 % 128;
int i4 = i3 % 2;
this.c = str;
if (i4 == 0) {
return this;
}
Object obj = null;
obj.hashCode();
throw null;
}
private static String c(Object obj) {
Object obj2;
int i2 = 2 % 2;
int i3 = g + 39;
int i4 = i3 % 128;
i = i4;
int i5 = i3 % 2;
if (obj != null) {
return obj.toString().replace("\n", "\n ");
}
int i6 = i4 + 81;
g = i6 % 128;
if (i6 % 2 == 0) {
Object[] objArr = new Object[1];
k(new char[]{4694, 48908, 21922, 59833}, 2 >> View.getDefaultSize(1, 1), objArr);
obj2 = objArr[0];
} else {
Object[] objArr2 = new Object[1];
k(new char[]{4694, 48908, 21922, 59833}, View.getDefaultSize(0, 0) + 4, objArr2);
obj2 = objArr2[0];
}
return ((String) obj2).intern();
}
}