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

401 lines
15 KiB
Java

package o;
import android.graphics.Color;
import android.text.TextUtils;
import android.util.TypedValue;
import com.google.android.gms.maps.model.BitmapDescriptorFactory;
import net.sf.scuba.smartcards.ISO7816;
import net.sf.scuba.smartcards.ISOFileInfo;
import o.C0690Mh;
import o.ZI;
import org.bouncycastle.crypto.tls.CipherSuite;
/* renamed from: o.aBg, reason: case insensitive filesystem */
/* loaded from: classes4.dex */
public final class C1346aBg extends ZI<InterfaceC9137ddz> {
private final String b;
public final C15784ib c;
public RVV d;
public IE e;
/* JADX WARN: 'super' call moved to the top of the method (can break code semantics) */
@InterfaceC13391fZD
public C1346aBg(C16903sI c16903sI, C15784ib c15784ib, String str) {
super(c16903sI);
C14957gcv.e(c16903sI, "");
C14957gcv.e(c15784ib, "");
C14957gcv.e(str, "");
this.c = c15784ib;
this.b = str;
this.d = RVV.DECLINED;
}
/* JADX WARN: Failed to restore enum class, 'enum' modifier and super class removed */
/* JADX WARN: Unknown enum class pattern. Please report as an issue! */
/* renamed from: o.aBg$RVV */
/* loaded from: classes4.dex */
public static final class RVV {
private static final RVV[] $VALUES;
public static final RVV ACCEPTED;
public static final RVV DECLINED;
private static char b;
private static int c;
private static char[] e;
private final String value;
private static final byte[] $$a = {53, ISOFileInfo.FMD_BYTE, ISO7816.INS_READ_BINARY_STAMPED, -81};
private static final int $$b = CipherSuite.TLS_PSK_WITH_NULL_SHA384;
private static int $10 = 0;
private static int $11 = 1;
private static int d = 1;
/* JADX WARN: Removed duplicated region for block: B:10:0x0025 */
/* JADX WARN: Removed duplicated region for block: B:7:0x001d */
/* JADX WARN: Unsupported multi-entry loop pattern (BACK_EDGE: B:10:0x0025 -> 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 r6, byte r7, byte r8, java.lang.Object[] r9) {
/*
byte[] r0 = o.C1346aBg.RVV.$$a
int r8 = r8 * 2
int r1 = 1 - r8
int r6 = r6 + 117
int r7 = r7 + 4
byte[] r1 = new byte[r1]
r2 = 0
int r8 = 0 - r8
if (r0 != 0) goto L15
r3 = r7
r7 = r8
r4 = r2
goto L2e
L15:
r3 = r2
L16:
int r7 = r7 + 1
byte r4 = (byte) r6
r1[r3] = r4
if (r3 != r8) goto L25
java.lang.String r6 = new java.lang.String
r6.<init>(r1, r2)
r9[r2] = r6
return
L25:
int r3 = r3 + 1
r4 = r0[r7]
r5 = r7
r7 = r6
r6 = r4
r4 = r3
r3 = r5
L2e:
int r6 = -r6
int r6 = r6 + r7
r7 = r3
r3 = r4
goto L16
*/
throw new UnsupportedOperationException("Method not decompiled: o.C1346aBg.RVV.g(short, byte, byte, java.lang.Object[]):void");
}
private RVV(String str, int i, String str2) {
this.value = str2;
}
static {
c = 0;
d();
Object[] objArr = new Object[1];
f(Color.argb(0, 0, 0, 0) + 1, new char[]{13755}, (byte) ((TypedValue.complexToFraction(0, BitmapDescriptorFactory.HUE_RED, BitmapDescriptorFactory.HUE_RED) > BitmapDescriptorFactory.HUE_RED ? 1 : (TypedValue.complexToFraction(0, BitmapDescriptorFactory.HUE_RED, BitmapDescriptorFactory.HUE_RED) == BitmapDescriptorFactory.HUE_RED ? 0 : -1)) + 16), objArr);
ACCEPTED = new RVV("ACCEPTED", 0, ((String) objArr[0]).intern());
Object[] objArr2 = new Object[1];
f(1 - TextUtils.indexOf("", "", 0), new char[]{13854}, (byte) (118 - TextUtils.getCapsMode("", 0, 0)), objArr2);
DECLINED = new RVV("DECLINED", 1, ((String) objArr2[0]).intern());
$VALUES = a();
int i = d + 111;
c = i % 128;
if (i % 2 != 0) {
int i2 = 38 / 0;
}
}
/* JADX WARN: Code restructure failed: missing block: B:36:0x0130, code lost:
if (r2.b == r2.c) goto L35;
*/
/* JADX WARN: Code restructure failed: missing block: B:38:0x015e, code lost:
r10 = new java.lang.Object[]{r2, r2, java.lang.Integer.valueOf(r1), r2, r2, java.lang.Integer.valueOf(r1), r2, r2, java.lang.Integer.valueOf(r1), r2, r2, java.lang.Integer.valueOf(r1), r2};
r11 = o.xzZ.y.get(822107368);
*/
/* JADX WARN: Code restructure failed: missing block: B:39:0x01ab, code lost:
if (r11 == null) goto L40;
*/
/* JADX WARN: Code restructure failed: missing block: B:43:0x023f, code lost:
if (((java.lang.Integer) ((java.lang.reflect.Method) r11).invoke(null, r10)).intValue() != r2.j) goto L51;
*/
/* JADX WARN: Code restructure failed: missing block: B:45:0x0243, code lost:
r10 = new java.lang.Object[]{r2, r2, java.lang.Integer.valueOf(r1), java.lang.Integer.valueOf(r1), r2, r2, java.lang.Integer.valueOf(r1), java.lang.Integer.valueOf(r1), r2, java.lang.Integer.valueOf(r1), r2};
r9 = o.xzZ.y.get(-1152873385);
*/
/* JADX WARN: Code restructure failed: missing block: B:46:0x0283, code lost:
if (r9 == null) goto L48;
*/
/* JADX WARN: Code restructure failed: missing block: B:48:0x02f6, code lost:
r9 = ((java.lang.Integer) ((java.lang.reflect.Method) r9).invoke(null, r10)).intValue();
*/
/* JADX WARN: Code restructure failed: missing block: B:49:0x0303, code lost:
r10 = (r2.d * r1) + r2.j;
r5[r2.e] = r3[r9];
r5[r2.e + 1] = r3[r10];
*/
/* JADX WARN: Code restructure failed: missing block: B:51:0x0360, code lost:
r2.e += 2;
*/
/* JADX WARN: Code restructure failed: missing block: B:52:0x0287, code lost:
r9 = (java.lang.Class) o.xzZ.c(327 - android.graphics.Color.green(0), 5 - android.view.View.getDefaultSize(0, 0), (char) android.graphics.Color.green(0));
r12 = (byte) (o.C1346aBg.RVV.$$b & 7);
r13 = (byte) (-r12);
r15 = new java.lang.Object[1];
g(r12, r13, (byte) (r13 + 1), r15);
r9 = r9.getMethod((java.lang.String) r15[0], java.lang.Object.class, java.lang.Object.class, java.lang.Integer.TYPE, java.lang.Integer.TYPE, java.lang.Object.class, java.lang.Object.class, java.lang.Integer.TYPE, java.lang.Integer.TYPE, java.lang.Object.class, java.lang.Integer.TYPE, java.lang.Object.class);
o.xzZ.y.put(-1152873385, r9);
*/
/* JADX WARN: Code restructure failed: missing block: B:54:0x031d, code lost:
if (r2.a != r2.d) goto L54;
*/
/* JADX WARN: Code restructure failed: missing block: B:55:0x031f, code lost:
r2.f = ((r2.f + r1) - 1) % r1;
r2.j = ((r2.j + r1) - 1) % r1;
r9 = (r2.a * r1) + r2.f;
r10 = (r2.d * r1) + r2.j;
r5[r2.e] = r3[r9];
r5[r2.e + 1] = r3[r10];
*/
/* JADX WARN: Code restructure failed: missing block: B:57:0x0347, code lost:
r9 = (r2.a * r1) + r2.j;
r10 = (r2.d * r1) + r2.f;
r5[r2.e] = r3[r9];
r5[r2.e + 1] = r3[r10];
*/
/* JADX WARN: Code restructure failed: missing block: B:59:0x01af, code lost:
r11 = (java.lang.Class) o.xzZ.c((android.view.ViewConfiguration.getFadingEdgeLength() >> 16) + 233, (android.view.ViewConfiguration.getKeyRepeatDelay() >> 16) + 5, (char) (android.text.TextUtils.indexOf((java.lang.CharSequence) "", '0', 0, 0) + 22025));
r12 = (byte) 3;
r13 = (byte) (r12 - 4);
r15 = new java.lang.Object[1];
g(r12, r13, (byte) (r13 + 1), r15);
r11 = r11.getMethod((java.lang.String) r15[0], java.lang.Object.class, java.lang.Object.class, java.lang.Integer.TYPE, java.lang.Object.class, java.lang.Object.class, java.lang.Integer.TYPE, java.lang.Object.class, java.lang.Object.class, java.lang.Integer.TYPE, java.lang.Object.class, java.lang.Object.class, java.lang.Integer.TYPE, java.lang.Object.class);
o.xzZ.y.put(822107368, r11);
*/
/* JADX WARN: Code restructure failed: missing block: B:61:0x0146, code lost:
r5[r2.e] = (char) (r2.b - r25);
r5[r2.e + 1] = (char) (r2.c - r25);
*/
/* JADX WARN: Code restructure failed: missing block: B:64:0x0144, code lost:
if (r2.b == r2.c) goto L35;
*/
/*
Code decompiled incorrectly, please refer to instructions dump.
To view partially-correct add '--show-bad-code' argument
*/
private static void f(int r23, char[] r24, byte r25, java.lang.Object[] r26) {
/*
Method dump skipped, instructions count: 912
To view this dump add '--comments-level debug' option
*/
throw new UnsupportedOperationException("Method not decompiled: o.C1346aBg.RVV.f(int, char[], byte, java.lang.Object[]):void");
}
static void d() {
e = new char[]{49025, 49027, 49024, 49026};
b = (char) 35371;
}
public final String c() {
int i = 2 % 2;
int i2 = c;
int i3 = i2 + 45;
d = i3 % 128;
int i4 = i3 % 2;
String str = this.value;
int i5 = i2 + 23;
d = i5 % 128;
if (i5 % 2 != 0) {
return str;
}
Object obj = null;
obj.hashCode();
throw null;
}
public static RVV[] values() {
int i = 2 % 2;
int i2 = c + 27;
d = i2 % 128;
int i3 = i2 % 2;
RVV[] rvvArr = (RVV[]) $VALUES.clone();
int i4 = c + 97;
d = i4 % 128;
if (i4 % 2 != 0) {
return rvvArr;
}
throw null;
}
public static RVV valueOf(String str) {
int i = 2 % 2;
int i2 = d + 63;
c = i2 % 128;
int i3 = i2 % 2;
RVV rvv = (RVV) Enum.valueOf(RVV.class, str);
int i4 = d + 83;
c = i4 % 128;
int i5 = i4 % 2;
return rvv;
}
private static final /* synthetic */ RVV[] a() {
RVV[] rvvArr;
int i = 2 % 2;
int i2 = c + 35;
int i3 = i2 % 128;
d = i3;
if (i2 % 2 == 0) {
RVV rvv = ACCEPTED;
RVV rvv2 = DECLINED;
rvvArr = new RVV[5];
rvvArr[1] = rvv;
rvvArr[1] = rvv2;
} else {
rvvArr = new RVV[]{ACCEPTED, DECLINED};
}
int i4 = i3 + 3;
c = i4 % 128;
if (i4 % 2 == 0) {
return rvvArr;
}
throw null;
}
}
/* JADX INFO: Access modifiers changed from: package-private */
/* renamed from: o.aBg$HBt */
/* loaded from: classes4.dex */
public final /* synthetic */ class HBt extends C14954gcs implements InterfaceC14894gbR<Throwable, C14866gag> {
@Override // o.InterfaceC14894gbR
public final /* synthetic */ C14866gag invoke(Throwable th) {
Throwable th2 = th;
C14957gcv.e(th2, "");
C1346aBg.d((C1346aBg) this.f, th2);
return C14866gag.c;
}
HBt(Object obj) {
super(1, obj, C1346aBg.class, "onPostConsentStatusFailed", "onPostConsentStatusFailed(Ljava/lang/Throwable;)V");
}
}
/* JADX INFO: Access modifiers changed from: package-private */
/* renamed from: o.aBg$LWm */
/* loaded from: classes4.dex */
public final /* synthetic */ class LWm extends C14954gcs implements InterfaceC14890gbN<C14866gag> {
@Override // o.InterfaceC14890gbN
public final /* synthetic */ C14866gag invoke() {
C1346aBg.e((C1346aBg) this.f);
return C14866gag.c;
}
LWm(Object obj) {
super(0, obj, C1346aBg.class, "onPostConsentStatusSuccess", "onPostConsentStatusSuccess()V");
}
}
public static /* synthetic */ void e(C1346aBg c1346aBg, InterfaceC9137ddz interfaceC9137ddz) {
C14957gcv.e(c1346aBg, "");
interfaceC9137ddz.a(c1346aBg.d == RVV.ACCEPTED);
}
public static /* synthetic */ void e(IE ie, InterfaceC9137ddz interfaceC9137ddz) {
String str = ie != null ? ie.a : null;
if (str == null) {
str = "";
}
interfaceC9137ddz.a(str);
}
public static /* synthetic */ void d(C1346aBg c1346aBg, InterfaceC9137ddz interfaceC9137ddz) {
C14957gcv.e(c1346aBg, "");
String b = c1346aBg.c.j.b();
interfaceC9137ddz.c(b != null ? b : "");
}
public static final /* synthetic */ void d(C1346aBg c1346aBg, Throwable th) {
if (c1346aBg.f != 0) {
c1346aBg.f.ar_();
}
C0690Mh.IeS ieS = C0690Mh.IeS.NAVIGATE_BACK;
if (c1346aBg.b(th)) {
c1346aBg.d(c1346aBg.j.d(th, ieS));
}
}
public static final /* synthetic */ void e(final C1346aBg c1346aBg) {
if (c1346aBg.f != 0) {
c1346aBg.f.ar_();
}
ZI.IeS ieS = new ZI.IeS(c1346aBg) { // from class: o.aBk
private C1346aBg a;
@Override // o.ZI.IeS
public final void e(Object obj) {
C1346aBg.e(this.a, (InterfaceC9137ddz) obj);
}
{
this.a = c1346aBg;
}
};
if (c1346aBg.f != 0) {
ieS.e(c1346aBg.f);
}
}
public final void d() {
if (this.f != 0) {
this.f.y();
}
C15784ib c15784ib = this.c;
LWm lWm = new LWm(this);
HBt hBt = new HBt(this);
IE ie = this.e;
String str = ie != null ? ie.c : null;
if (str == null) {
str = "";
}
String c = this.d.c();
IE ie2 = this.e;
String str2 = ie2 != null ? ie2.b : null;
String str3 = str2 == null ? "" : str2;
IE ie3 = this.e;
String str4 = ie3 != null ? ie3.e : null;
String str5 = str4 == null ? "" : str4;
IE ie4 = this.e;
c15784ib.b(lWm, hBt, str, new C7309clp(c, str3, str5, ie4 != null ? ie4.d : null, this.b));
}
}