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

141 lines
4.5 KiB
Java

package o;
import android.content.SharedPreferences;
import android.content.res.Resources;
import o.C15715hv;
import o.QK;
import o.QO;
/* renamed from: o.zd, reason: case insensitive filesystem */
/* loaded from: classes3.dex */
public abstract class AbstractC17771zd extends C16181lx {
public abstract QK d(InterfaceC1027Ua interfaceC1027Ua, boolean z);
/* JADX WARN: 'super' call moved to the top of the method (can break code semantics) */
public AbstractC17771zd(Resources resources, SharedPreferences sharedPreferences) {
super(resources, sharedPreferences);
C14957gcv.e(resources, "");
C14957gcv.e(sharedPreferences, "");
}
/* renamed from: o.zd$RVV */
/* loaded from: classes3.dex */
public static final class RVV {
private RVV() {
}
public /* synthetic */ RVV(byte b) {
this();
}
}
public void e(InterfaceC1027Ua interfaceC1027Ua) {
C14957gcv.e(interfaceC1027Ua, "");
String h = interfaceC1027Ua.h();
if (h == null) {
h = "";
}
if (h.length() > 0) {
if (C14957gcv.b((Object) "PWCASA", (Object) interfaceC1027Ua.k()) || C14957gcv.b((Object) "PWCC", (Object) interfaceC1027Ua.k())) {
QO.IeS d = QO.d();
String e = e(C15715hv.tOB.point_x_pay_with_account_card);
C14957gcv.c((Object) e, "");
d.g = C2974aoj.b(e);
String h2 = interfaceC1027Ua.h();
d.h = c(h2 != null ? Double.valueOf(Double.parseDouble(h2)) : null);
this.a.add(d.d());
this.a.add(new QQ());
}
}
}
/* JADX WARN: Removed duplicated region for block: B:12:0x0033 */
/* JADX WARN: Removed duplicated region for block: B:18:? A[RETURN, SYNTHETIC] */
/*
Code decompiled incorrectly, please refer to instructions dump.
To view partially-correct add '--show-bad-code' argument
*/
public final void e(o.InterfaceC1027Ua r5, boolean r6) {
/*
r4 = this;
boolean r0 = r5 instanceof o.TX
r1 = 1
if (r0 == 0) goto L30
o.TX r5 = (o.TX) r5
java.lang.String r0 = r5.a
java.lang.CharSequence r0 = (java.lang.CharSequence) r0
r2 = 0
if (r0 == 0) goto L16
boolean r0 = o.gdZ.d(r0)
if (r0 != 0) goto L16
r0 = r2
goto L17
L16:
r0 = r1
L17:
r0 = r0 ^ r1
if (r0 == 0) goto L30
o.QR$LWm r0 = o.QR.b()
int r3 = o.C15715hv.tOB.review_biller_note
java.lang.String r3 = r4.e(r3)
r0.g = r3
java.lang.String r5 = r5.a
r0.a = r5
o.QR r5 = new o.QR
r5.<init>(r0, r2)
goto L31
L30:
r5 = 0
L31:
if (r5 == 0) goto L58
if (r6 == 0) goto L47
o.EM r5 = (o.EM) r5
java.util.List<o.EM> r6 = r4.a
r6.add(r5)
java.util.List<o.EM> r5 = r4.a
o.QQ r6 = new o.QQ
r6.<init>(r1)
r5.add(r6)
return
L47:
o.EM r5 = (o.EM) r5
java.util.List<o.EM> r6 = r4.a
r6.add(r5)
java.util.List<o.EM> r5 = r4.a
o.QQ r6 = new o.QQ
r6.<init>()
r5.add(r6)
L58:
return
*/
throw new UnsupportedOperationException("Method not decompiled: o.AbstractC17771zd.e(o.Ua, boolean):void");
}
public void c(InterfaceC1027Ua interfaceC1027Ua, boolean z) {
C14957gcv.e(interfaceC1027Ua, "");
if (C14957gcv.b((Object) interfaceC1027Ua.k(), (Object) "PWCASA")) {
QK.LWm e = QK.e();
e.h = interfaceC1027Ua.a();
e.a = c(interfaceC1027Ua.d(), z);
e.c = C6583cXR.VR_(C15715hv.IeS.bankicon_scb).toString();
e.k = true;
this.a.add(new QK(e, (byte) 0));
this.a.add(new QQ());
return;
}
if ((interfaceC1027Ua instanceof TY) && C14957gcv.b((Object) interfaceC1027Ua.k(), (Object) "PWCC")) {
QK.LWm e2 = QK.e();
e2.h = interfaceC1027Ua.a();
e2.a = interfaceC1027Ua.d();
e2.c = ((TY) interfaceC1027Ua).a;
e2.k = true;
this.a.add(new QK(e2, (byte) 0));
this.a.add(new QQ());
}
}
static {
new RVV((byte) 0);
}
}