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

205 lines
7.2 KiB
Java
Raw Permalink Normal View History

2024-07-27 18:17:47 +07:00
package o;
import android.os.Process;
import android.text.TextUtils;
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 com.google.common.base.Ascii;
import com.google.gson.annotations.SerializedName;
import java.lang.reflect.Method;
import net.sf.scuba.smartcards.ISO7816;
import org.bouncycastle.crypto.tls.CipherSuite;
/* renamed from: o.TdT, reason: case insensitive filesystem */
/* loaded from: classes3.dex */
public final class C0991TdT {
@SerializedName("tcAcceptRequired")
private final String b;
@SerializedName("tcLatestVersion")
private final String e;
private static final byte[] $$a = {ISO7816.INS_MANAGE_CHANNEL, Ascii.SYN, 62, 17};
private static final int $$b = CipherSuite.TLS_DH_RSA_WITH_SEED_CBC_SHA;
private static int $10 = 0;
private static int $11 = 1;
private static int d = 0;
private static int a = 1;
private static long c = 6805796649765354458L;
/* 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 g(short r7, short r8, int r9, java.lang.Object[] r10) {
/*
int r7 = r7 * 2
int r7 = 121 - r7
byte[] r0 = o.C0991TdT.$$a
int r8 = r8 * 2
int r8 = 3 - r8
int r9 = r9 * 4
int r9 = 1 - r9
byte[] r1 = new byte[r9]
r2 = 0
if (r0 != 0) goto L17
r3 = r8
r7 = r9
r4 = r2
goto L2e
L17:
r3 = r2
L18:
int r8 = r8 + 1
int r4 = r3 + 1
byte r5 = (byte) r7
r1[r3] = r5
if (r4 != r9) goto L29
java.lang.String r7 = new java.lang.String
r7.<init>(r1, r2)
r10[r2] = r7
return
L29:
r3 = r0[r8]
r6 = r3
r3 = r8
r8 = r6
L2e:
int r8 = -r8
int r7 = r7 + r8
r8 = r3
r3 = r4
goto L18
*/
throw new UnsupportedOperationException("Method not decompiled: o.C0991TdT.g(short, short, int, java.lang.Object[]):void");
}
public final C0820Pdc b() {
int i = 2 % 2;
int parseInt = Integer.parseInt(this.e);
String str = this.b;
Object[] objArr = new Object[1];
f(new char[]{36219, 36170, 33766, 28012, 10405}, (ViewConfiguration.getTouchSlop() >> 8) + 1, objArr);
C0820Pdc c0820Pdc = new C0820Pdc(parseInt, C14957gcv.b((Object) str, (Object) ((String) objArr[0]).intern()));
int i2 = d + 41;
a = i2 % 128;
int i3 = i2 % 2;
return c0820Pdc;
}
private static void f(char[] cArr, int i, Object[] objArr) {
int i2 = 2 % 2;
GuL guL = new GuL();
char[] a2 = GuL.a(c ^ (-7538262848231253921L), cArr, i);
guL.a = 4;
int i3 = $11 + 39;
$10 = i3 % 128;
int i4 = i3 % 2;
while (guL.a < a2.length) {
int i5 = $10 + 121;
$11 = i5 % 128;
int i6 = i5 % 2;
guL.c = guL.a - 4;
int i7 = guL.a;
try {
Object[] objArr2 = {Long.valueOf(a2[guL.a] ^ a2[guL.a % 4]), Long.valueOf(guL.c), Long.valueOf(c)};
Object obj = xzZ.y.get(428080616);
if (obj == null) {
Class cls = (Class) xzZ.c(View.MeasureSpec.getSize(0) + 208, 5 - KeyEvent.normalizeMetaState(0), (char) (1707 - (Process.getElapsedCpuTime() > 0L ? 1 : (Process.getElapsedCpuTime() == 0L ? 0 : -1))));
byte b = (byte) 1;
byte b2 = (byte) (b - 1);
Object[] objArr3 = new Object[1];
g(b, b2, b2, objArr3);
obj = cls.getMethod((String) objArr3[0], Long.TYPE, Long.TYPE, Long.TYPE);
xzZ.y.put(428080616, obj);
}
a2[i7] = ((Character) ((Method) obj).invoke(null, objArr2)).charValue();
try {
Object[] objArr4 = {guL, guL};
Object obj2 = xzZ.y.get(-1875914398);
if (obj2 == null) {
Class cls2 = (Class) xzZ.c((TypedValue.complexToFloat(0) > BitmapDescriptorFactory.HUE_RED ? 1 : (TypedValue.complexToFloat(0) == BitmapDescriptorFactory.HUE_RED ? 0 : -1)) + 392, TextUtils.indexOf("", "", 0, 0) + 5, (char) KeyEvent.normalizeMetaState(0));
byte b3 = (byte) 0;
byte b4 = b3;
Object[] objArr5 = new Object[1];
g(b3, b4, b4, objArr5);
obj2 = cls2.getMethod((String) objArr5[0], Object.class, Object.class);
xzZ.y.put(-1875914398, obj2);
}
((Method) obj2).invoke(null, objArr4);
} catch (Throwable th) {
Throwable cause = th.getCause();
if (cause == null) {
throw th;
}
throw cause;
}
} catch (Throwable th2) {
Throwable cause2 = th2.getCause();
if (cause2 == null) {
throw th2;
}
throw cause2;
}
}
objArr[0] = new String(a2, 4, a2.length - 4);
}
public final String toString() {
int i = 2 % 2;
String str = this.e;
String str2 = this.b;
StringBuilder sb = new StringBuilder("TcVersionEntity(tcLatestVersion=");
sb.append(str);
sb.append(", tcAcceptRequired=");
sb.append(str2);
sb.append(")");
String obj = sb.toString();
int i2 = a + 91;
d = i2 % 128;
int i3 = i2 % 2;
return obj;
}
public final int hashCode() {
int i = 2 % 2;
int i2 = a + 83;
d = i2 % 128;
int i3 = i2 % 2;
int hashCode = (this.e.hashCode() * 31) + this.b.hashCode();
int i4 = d + 117;
a = i4 % 128;
int i5 = i4 % 2;
return hashCode;
}
public final boolean equals(Object obj) {
int i = 2 % 2;
if (this == obj) {
int i2 = d + 93;
a = i2 % 128;
int i3 = i2 % 2;
return true;
}
if (!(obj instanceof C0991TdT)) {
int i4 = d + 49;
a = i4 % 128;
int i5 = i4 % 2;
return false;
}
C0991TdT c0991TdT = (C0991TdT) obj;
if (C14957gcv.b((Object) this.e, (Object) c0991TdT.e)) {
return C14957gcv.b((Object) this.b, (Object) c0991TdT.b);
}
int i6 = d + 41;
a = i6 % 128;
return i6 % 2 == 0;
}
}