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

678 lines
22 KiB
Java
Raw Normal View History

2024-07-27 18:17:47 +07:00
package o;
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 com.google.android.gms.measurement.api.AppMeasurementSdk;
import com.google.common.base.Ascii;
import com.google.gson.Gson;
import com.google.gson.annotations.SerializedName;
import com.google.gson.stream.JsonReader;
import com.google.gson.stream.JsonToken;
import com.google.gson.stream.JsonWriter;
import java.lang.reflect.Method;
import net.sf.scuba.smartcards.ISO7816;
import org.bouncycastle.asn1.x509.DisplayText;
import org.bouncycastle.crypto.tls.CipherSuite;
import org.simpleframework.xml.strategy.Name;
/* loaded from: classes.dex */
public class ApB {
@SerializedName("disableFlag")
private boolean a;
@SerializedName("accountNumber")
private String b;
@SerializedName("billerLogo")
private String c;
@SerializedName("billerName")
private String d;
@SerializedName(AppMeasurementSdk.ConditionalUserProperty.ACTIVE)
private String e;
@SerializedName("reference1Label")
private String f;
@SerializedName("limitTopUpPerDay")
private Double g;
@SerializedName(Name.MARK)
private Integer h;
@SerializedName("pointFlag")
private String i;
@SerializedName("serviceType")
private String j;
@SerializedName("type")
private String n;
private static final byte[] $$a = {Ascii.NAK, Ascii.DC2, ISO7816.INS_DELETE_FILE, -22};
private static final int $$b = DisplayText.DISPLAY_TEXT_MAXIMUM_SIZE;
private static int $10 = 0;
private static int $11 = 1;
/* renamed from: o, reason: collision with root package name */
private static int f8101o = 0;
private static int p = 1;
private static long l = 9051040786702654117L;
private static int k = 1607203184;
private static char m = 55973;
public static /* synthetic */ Object a(Object[] objArr, int i, int i2, int i3) {
int i4 = ~i2;
int i5 = (i * (-1965)) + (i2 * 984) + ((i | i4) * 983);
int i6 = ~i;
int i7 = ~i3;
int i8 = i5 + (((~(i4 | i7)) | i6) * (-983)) + (((~(i6 | i2)) | (~(i7 | i6))) * 983);
if (i8 == 1) {
return c(objArr);
}
if (i8 != 2) {
return a(objArr);
}
ApB apB = (ApB) objArr[0];
int i9 = 2 % 2;
int i10 = p + 25;
int i11 = i10 % 128;
f8101o = i11;
int i12 = i10 % 2;
boolean z = apB.a;
int i13 = i11 + 17;
p = i13 % 128;
int i14 = i13 % 2;
return Boolean.valueOf(z);
}
/* 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:0x002d). 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 r(int r7, short r8, short r9, java.lang.Object[] r10) {
/*
int r8 = r8 * 3
int r8 = 1 - r8
byte[] r0 = o.ApB.$$a
int r9 = r9 + 114
int r7 = r7 * 2
int r7 = 3 - r7
byte[] r1 = new byte[r8]
r2 = 0
if (r0 != 0) goto L15
r9 = r7
r3 = r8
r4 = r2
goto L2d
L15:
r3 = r2
L16:
int r4 = r3 + 1
byte r5 = (byte) r9
int r7 = r7 + 1
r1[r3] = r5
if (r4 != r8) goto L27
java.lang.String r7 = new java.lang.String
r7.<init>(r1, r2)
r10[r2] = r7
return
L27:
r3 = r0[r7]
r6 = r9
r9 = r7
r7 = r3
r3 = r6
L2d:
int r7 = -r7
int r7 = r7 + r3
r3 = r4
r6 = r9
r9 = r7
r7 = r6
goto L16
*/
throw new UnsupportedOperationException("Method not decompiled: o.ApB.r(int, short, short, java.lang.Object[]):void");
}
public final boolean b() {
int i = 2 % 2;
int i2 = p + 17;
f8101o = i2 % 128;
int i3 = i2 % 2;
String str = this.e;
Object[] objArr = new Object[1];
q((char) ((CdmaCellLocation.convertQuartSecToDecDegrees(0) > 0.0d ? 1 : (CdmaCellLocation.convertQuartSecToDecDegrees(0) == 0.0d ? 0 : -1)) + 25767), (-1968249456) - View.resolveSize(0, 0), new char[]{37037, 44773, 42890, 26724}, new char[]{38550}, new char[]{0, 0, 0, 0}, objArr);
boolean equalsIgnoreCase = ((String) objArr[0]).intern().equalsIgnoreCase(str);
int i4 = f8101o + 37;
p = i4 % 128;
if (i4 % 2 != 0) {
return equalsIgnoreCase;
}
throw null;
}
private static void q(char c, int i, char[] cArr, char[] cArr2, char[] cArr3, Object[] objArr) {
int i2 = 2 % 2;
Nhs nhs = new Nhs();
int length = cArr.length;
char[] cArr4 = new char[length];
int length2 = cArr3.length;
char[] cArr5 = new char[length2];
System.arraycopy(cArr, 0, cArr4, 0, length);
System.arraycopy(cArr3, 0, cArr5, 0, length2);
cArr4[0] = (char) (cArr4[0] ^ c);
cArr5[2] = (char) (cArr5[2] + ((char) i));
int length3 = cArr2.length;
char[] cArr6 = new char[length3];
nhs.a = 0;
while (nhs.a < length3) {
try {
Object[] objArr2 = {nhs};
Object obj = xzZ.y.get(263693715);
if (obj == null) {
obj = ((Class) xzZ.c(View.combineMeasuredStates(0, 0) + 45, 5 - (ViewConfiguration.getWindowTouchSlop() >> 8), (char) ((Process.getThreadPriority(0) + 20) >> 6))).getMethod("t", Object.class);
xzZ.y.put(263693715, obj);
}
int intValue = ((Integer) ((Method) obj).invoke(null, objArr2)).intValue();
Object[] objArr3 = {nhs};
Object obj2 = xzZ.y.get(-484664112);
if (obj2 == null) {
Class cls = (Class) xzZ.c((ViewConfiguration.getDoubleTapTimeout() >> 16) + 352, 5 - (ViewConfiguration.getKeyRepeatTimeout() >> 16), (char) (TextUtils.indexOf("", "", 0) + 52128));
byte b = (byte) 0;
byte b2 = b;
Object[] objArr4 = new Object[1];
r(b, b2, (byte) (b2 + 1), objArr4);
obj2 = cls.getMethod((String) objArr4[0], Object.class);
xzZ.y.put(-484664112, obj2);
}
int intValue2 = ((Integer) ((Method) obj2).invoke(null, objArr3)).intValue();
Object[] objArr5 = {nhs, Integer.valueOf(cArr4[nhs.a % 4] * 32718), Integer.valueOf(cArr5[intValue])};
Object obj3 = xzZ.y.get(430099516);
if (obj3 == null) {
obj3 = ((Class) xzZ.c((KeyEvent.getMaxKeyCode() >> 16) + 748, Gravity.getAbsoluteGravity(0, 0) + 5, (char) View.MeasureSpec.getSize(0))).getMethod(com.pingan.ai.p.a, Object.class, Integer.TYPE, Integer.TYPE);
xzZ.y.put(430099516, obj3);
}
((Method) obj3).invoke(null, objArr5);
Object[] objArr6 = {Integer.valueOf(cArr4[intValue2] * 32718), Integer.valueOf(cArr5[intValue])};
Object obj4 = xzZ.y.get(1019894806);
if (obj4 == null) {
Class cls2 = (Class) xzZ.c(TextUtils.lastIndexOf("", '0', 0) + 403, 5 - View.MeasureSpec.getSize(0), (char) (21608 - Gravity.getAbsoluteGravity(0, 0)));
byte b3 = (byte) 0;
byte b4 = b3;
Object[] objArr7 = new Object[1];
r(b3, b4, b4, objArr7);
obj4 = cls2.getMethod((String) objArr7[0], Integer.TYPE, Integer.TYPE);
xzZ.y.put(1019894806, obj4);
}
cArr5[intValue2] = ((Character) ((Method) obj4).invoke(null, objArr6)).charValue();
cArr4[intValue2] = nhs.c;
cArr6[nhs.a] = (char) ((((cArr4[intValue2] ^ cArr2[nhs.a]) ^ (l ^ 9051040786702654117L)) ^ ((int) (k ^ 9051040786702654117L))) ^ ((char) (m ^ 9051040786702654117L)));
nhs.a++;
int i3 = $11 + 29;
$10 = i3 % 128;
int i4 = i3 % 2;
} catch (Throwable th) {
Throwable cause = th.getCause();
if (cause == null) {
throw th;
}
throw cause;
}
}
String str = new String(cArr6);
int i5 = $10 + 89;
$11 = i5 % 128;
int i6 = i5 % 2;
objArr[0] = str;
}
private static /* synthetic */ Object c(Object[] objArr) {
ApB apB = (ApB) objArr[0];
Gson gson = (Gson) objArr[1];
JsonWriter jsonWriter = (JsonWriter) objArr[2];
PYE pye = (PYE) objArr[3];
int i = 2 % 2;
int i2 = f8101o + 59;
p = i2 % 128;
int i3 = i2 % 2;
jsonWriter.beginObject();
Object[] objArr2 = {apB, gson, jsonWriter, pye};
if (i3 == 0) {
a(objArr2, -1693182675, 1693182675, System.identityHashCode(apB));
jsonWriter.endObject();
int i4 = 20 / 0;
} else {
a(objArr2, -1693182675, 1693182675, System.identityHashCode(apB));
jsonWriter.endObject();
}
int i5 = f8101o + 103;
p = i5 % 128;
int i6 = i5 % 2;
return null;
}
private static /* synthetic */ Object a(Object[] objArr) {
ApB apB = (ApB) objArr[0];
Gson gson = (Gson) objArr[1];
JsonWriter jsonWriter = (JsonWriter) objArr[2];
PYE pye = (PYE) objArr[3];
int i = 2 % 2;
if (apB != apB.b) {
int i2 = p + 91;
f8101o = i2 % 128;
int i3 = i2 % 2;
pye.c(jsonWriter, 640);
if (i3 != 0) {
String str = apB.b;
DTh.b(gson, String.class, str).write(jsonWriter, str);
throw null;
}
String str2 = apB.b;
DTh.b(gson, String.class, str2).write(jsonWriter, str2);
}
if (apB != apB.e) {
pye.c(jsonWriter, 641);
String str3 = apB.e;
DTh.b(gson, String.class, str3).write(jsonWriter, str3);
int i4 = f8101o + 49;
p = i4 % 128;
int i5 = i4 % 2;
}
if (apB != apB.c) {
int i6 = f8101o + 83;
p = i6 % 128;
int i7 = i6 % 2;
pye.c(jsonWriter, 101);
String str4 = apB.c;
DTh.b(gson, String.class, str4).write(jsonWriter, str4);
}
if (apB != apB.d) {
int i8 = p + 113;
f8101o = i8 % 128;
int i9 = i8 % 2;
pye.c(jsonWriter, 661);
String str5 = apB.d;
DTh.b(gson, String.class, str5).write(jsonWriter, str5);
}
pye.c(jsonWriter, 223);
Class cls = Boolean.TYPE;
Boolean valueOf = Boolean.valueOf(apB.a);
DTh.b(gson, cls, valueOf).write(jsonWriter, valueOf);
if (apB != apB.h) {
pye.c(jsonWriter, CipherSuite.TLS_DH_DSS_WITH_AES_256_GCM_SHA384);
Integer num = apB.h;
DTh.b(gson, Integer.class, num).write(jsonWriter, num);
}
if (apB != apB.g) {
pye.c(jsonWriter, 248);
Double d = apB.g;
DTh.b(gson, Double.class, d).write(jsonWriter, d);
}
if (apB != apB.i) {
pye.c(jsonWriter, 524);
String str6 = apB.i;
DTh.b(gson, String.class, str6).write(jsonWriter, str6);
}
if (apB != apB.f) {
int i10 = p + 55;
f8101o = i10 % 128;
int i11 = i10 % 2;
pye.c(jsonWriter, 5);
if (i11 != 0) {
String str7 = apB.f;
DTh.b(gson, String.class, str7).write(jsonWriter, str7);
int i12 = 66 / 0;
} else {
String str8 = apB.f;
DTh.b(gson, String.class, str8).write(jsonWriter, str8);
}
}
if (apB != apB.j) {
int i13 = f8101o + 93;
p = i13 % 128;
int i14 = i13 % 2;
pye.c(jsonWriter, 158);
if (i14 == 0) {
String str9 = apB.j;
DTh.b(gson, String.class, str9).write(jsonWriter, str9);
int i15 = 74 / 0;
} else {
String str10 = apB.j;
DTh.b(gson, String.class, str10).write(jsonWriter, str10);
}
}
if (apB != apB.n) {
int i16 = f8101o + 19;
p = i16 % 128;
int i17 = i16 % 2;
pye.c(jsonWriter, 325);
String str11 = apB.n;
DTh.b(gson, String.class, str11).write(jsonWriter, str11);
}
return null;
}
private /* synthetic */ void b(Gson gson, JsonReader jsonReader, int i) {
boolean z;
int i2 = 2 % 2;
int i3 = f8101o + 49;
p = i3 % 128;
Object obj = null;
if (i3 % 2 == 0) {
jsonReader.peek();
JsonToken jsonToken = JsonToken.NULL;
throw null;
}
if (jsonReader.peek() != JsonToken.NULL) {
int i4 = p + 111;
f8101o = i4 % 128;
int i5 = i4 % 2;
z = true;
} else {
z = false;
}
switch (i) {
case 6:
if (!z) {
this.c = null;
jsonReader.nextNull();
return;
} else {
int i6 = p + 11;
f8101o = i6 % 128;
int i7 = i6 % 2;
this.c = (String) gson.getAdapter(String.class).read2(jsonReader);
return;
}
case 37:
if (z) {
this.j = (String) gson.getAdapter(String.class).read2(jsonReader);
return;
} else {
this.j = null;
jsonReader.nextNull();
return;
}
case 77:
if (!z) {
jsonReader.nextNull();
return;
}
int i8 = f8101o + 125;
p = i8 % 128;
if (i8 % 2 != 0) {
this.a = ((Boolean) gson.getAdapter(Boolean.class).read2(jsonReader)).booleanValue();
return;
} else {
this.a = ((Boolean) gson.getAdapter(Boolean.class).read2(jsonReader)).booleanValue();
int i9 = 76 / 0;
return;
}
case 126:
if (z) {
this.f = (String) gson.getAdapter(String.class).read2(jsonReader);
return;
} else {
this.f = null;
jsonReader.nextNull();
return;
}
case 134:
if (z) {
this.n = (String) gson.getAdapter(String.class).read2(jsonReader);
return;
} else {
this.n = null;
jsonReader.nextNull();
return;
}
case CipherSuite.TLS_DHE_RSA_WITH_CAMELLIA_256_CBC_SHA256 /* 196 */:
if (!z) {
this.g = null;
jsonReader.nextNull();
return;
} else {
int i10 = f8101o + 105;
p = i10 % 128;
int i11 = i10 % 2;
this.g = (Double) gson.getAdapter(Double.class).read2(jsonReader);
return;
}
case 235:
if (z) {
this.d = (String) gson.getAdapter(String.class).read2(jsonReader);
return;
} else {
this.d = null;
jsonReader.nextNull();
return;
}
case 251:
if (z) {
this.i = (String) gson.getAdapter(String.class).read2(jsonReader);
return;
} else {
this.i = null;
jsonReader.nextNull();
return;
}
case 355:
if (z) {
this.b = (String) gson.getAdapter(String.class).read2(jsonReader);
return;
}
this.b = null;
jsonReader.nextNull();
int i12 = f8101o + 77;
p = i12 % 128;
int i13 = i12 % 2;
return;
case 369:
if (!z) {
this.h = null;
jsonReader.nextNull();
return;
}
int i14 = f8101o + 123;
p = i14 % 128;
if (i14 % 2 != 0) {
this.h = (Integer) gson.getAdapter(Integer.class).read2(jsonReader);
return;
} else {
this.h = (Integer) gson.getAdapter(Integer.class).read2(jsonReader);
obj.hashCode();
throw null;
}
case 406:
if (!z) {
this.e = null;
jsonReader.nextNull();
return;
}
int i15 = f8101o + 61;
p = i15 % 128;
if (i15 % 2 != 0) {
this.e = (String) gson.getAdapter(String.class).read2(jsonReader);
return;
} else {
this.e = (String) gson.getAdapter(String.class).read2(jsonReader);
throw null;
}
default:
jsonReader.skipValue();
return;
}
}
public final /* synthetic */ void b(Gson gson, JsonReader jsonReader, InterfaceC15734iCu interfaceC15734iCu) {
int i = 2 % 2;
int i2 = f8101o + 111;
p = i2 % 128;
int i3 = i2 % 2;
jsonReader.beginObject();
if (i3 == 0) {
int i4 = 73 / 0;
}
while (jsonReader.hasNext()) {
int i5 = p + 15;
f8101o = i5 % 128;
if (i5 % 2 != 0) {
b(gson, jsonReader, interfaceC15734iCu.e(jsonReader));
int i6 = 0 / 0;
} else {
b(gson, jsonReader, interfaceC15734iCu.e(jsonReader));
}
}
jsonReader.endObject();
}
private /* synthetic */ void c(Gson gson, JsonWriter jsonWriter, PYE pye) {
a(new Object[]{this, gson, jsonWriter, pye}, -1693182675, 1693182675, System.identityHashCode(this));
}
public final /* synthetic */ void d(Gson gson, JsonWriter jsonWriter, PYE pye) {
a(new Object[]{this, gson, jsonWriter, pye}, 232760345, -232760344, System.identityHashCode(this));
}
public final String l() {
int i = 2 % 2;
int i2 = p;
int i3 = i2 + 9;
f8101o = i3 % 128;
if (i3 % 2 != 0) {
Object obj = null;
obj.hashCode();
throw null;
}
String str = this.n;
int i4 = i2 + 51;
f8101o = i4 % 128;
int i5 = i4 % 2;
return str;
}
public final String i() {
int i = 2 % 2;
int i2 = p + 33;
int i3 = i2 % 128;
f8101o = i3;
int i4 = i2 % 2;
String str = this.j;
int i5 = i3 + 55;
p = i5 % 128;
int i6 = i5 % 2;
return str;
}
public final String g() {
int i = 2 % 2;
int i2 = p + 17;
int i3 = i2 % 128;
f8101o = i3;
int i4 = i2 % 2;
String str = this.f;
int i5 = i3 + 89;
p = i5 % 128;
if (i5 % 2 == 0) {
int i6 = 79 / 0;
}
return str;
}
public final String j() {
int i = 2 % 2;
int i2 = p + 75;
int i3 = i2 % 128;
f8101o = i3;
int i4 = i2 % 2;
String str = this.i;
int i5 = i3 + 65;
p = i5 % 128;
if (i5 % 2 != 0) {
return str;
}
throw null;
}
public final Double f() {
int i = 2 % 2;
int i2 = f8101o;
int i3 = i2 + 81;
p = i3 % 128;
int i4 = i3 % 2;
Double d = this.g;
int i5 = i2 + 31;
p = i5 % 128;
int i6 = i5 % 2;
return d;
}
public final Integer h() {
int i = 2 % 2;
int i2 = f8101o + 63;
p = i2 % 128;
if (i2 % 2 != 0) {
return this.h;
}
throw null;
}
public final boolean c() {
return ((Boolean) a(new Object[]{this}, 140331856, -140331854, System.identityHashCode(this))).booleanValue();
}
public final String e() {
String str;
int i = 2 % 2;
int i2 = p + 9;
int i3 = i2 % 128;
f8101o = i3;
if (i2 % 2 != 0) {
str = this.d;
int i4 = 63 / 0;
} else {
str = this.d;
}
int i5 = i3 + 71;
p = i5 % 128;
int i6 = i5 % 2;
return str;
}
public final String a() {
int i = 2 % 2;
int i2 = p;
int i3 = i2 + 63;
f8101o = i3 % 128;
int i4 = i3 % 2;
String str = this.c;
int i5 = i2 + 103;
f8101o = i5 % 128;
int i6 = i5 % 2;
return str;
}
public final String d() {
int i = 2 % 2;
int i2 = p;
int i3 = i2 + 53;
f8101o = i3 % 128;
int i4 = i3 % 2;
String str = this.b;
int i5 = i2 + 121;
f8101o = i5 % 128;
int i6 = i5 % 2;
return str;
}
}