what-the-bank/sources/com/scb/phone/view/activity/cardmanagement/deejungtransfer/DeejungTransferInstallments...

1167 lines
50 KiB
Java
Raw Permalink Normal View History

2024-07-27 18:17:47 +07:00
package com.scb.phone.view.activity.cardmanagement.deejungtransfer;
import android.content.Context;
import android.content.DialogInterface;
import android.graphics.Color;
import android.graphics.ImageFormat;
import android.graphics.PorterDuff;
import android.media.AudioTrack;
import android.net.Uri;
import android.os.Build;
import android.os.Bundle;
import android.os.Process;
import android.text.TextUtils;
import android.util.TypedValue;
import android.view.KeyEvent;
import android.view.LayoutInflater;
import android.view.MotionEvent;
import android.view.View;
import android.view.ViewConfiguration;
import android.view.ViewGroup;
import android.widget.Button;
import android.widget.ImageView;
import android.widget.ScrollView;
import android.widget.TextView;
import androidx.constraintlayout.widget.ConstraintLayout;
import androidx.fragment.app.FragmentContainerView;
import com.google.android.gms.maps.model.BitmapDescriptorFactory;
import com.kofax.mobile.sdk._internal.impl.extraction.kta.KtaJsonExactionHelper;
import com.scb.phone.R;
import com.scb.phone.view.activity.BaseActivity;
import com.scb.phone.view.activity.HomeActivity;
import com.scb.phone.view.activity.cardmanagement.deejungtransfer.DeejungTransferInstallmentsConfirmationActivity;
import com.scb.phone.view.custom.ThemeSlipLayout;
import com.scb.phone.view.custom.common.CustomDialog;
import com.scb.phone.view.fragment.cardmanagement.deejungtransfer.DeejungTransferInstallmentSlipFragment;
import java.lang.reflect.Method;
import java.util.Arrays;
import java.util.Calendar;
import net.sf.scuba.smartcards.ISO7816;
import o.AbstractC12886fKU;
import o.AbstractC13163fSk;
import o.AbstractC14961gcz;
import o.C0366Fa;
import o.C10121dwl;
import o.C1165XOd;
import o.C14866gag;
import o.C14957gcv;
import o.C16763qys;
import o.C17053tZa;
import o.C3074aqe;
import o.C3081aql;
import o.C6204cLu;
import o.EnumC8951daY;
import o.FLP;
import o.GL;
import o.GQ;
import o.GR;
import o.GuL;
import o.InterfaceC13391fZD;
import o.InterfaceC13393fZL;
import o.InterfaceC14890gbN;
import o.InterfaceC14894gbR;
import o.InterfaceC15577gud;
import o.InterfaceC9076dcr;
import o.Rqs;
import o.fSJ;
import o.fSQ;
import o.fZZ;
import o.gcH;
import o.guQ;
import o.nMh;
import o.qeC;
import o.xzZ;
import o.zUI;
/* loaded from: classes4.dex */
public final class DeejungTransferInstallmentsConfirmationActivity extends Hilt_DeejungTransferInstallmentsConfirmationActivity implements InterfaceC9076dcr<GQ> {
public static final Sts b;
private static int p;
private static int s;
private static long t;
private final DeejungTransferInstallmentSlipFragment k;
final InterfaceC13393fZL l;
/* renamed from: o, reason: collision with root package name */
private fSJ f6656o;
@InterfaceC13391fZD
public C3081aql presenter;
private GL q;
private GR r;
@InterfaceC13391fZD
public C6204cLu themesSlipPresenter;
private static final byte[] $$g = {53, 8, 9, -66};
private static final int $$h = 74;
private static int $10 = 0;
private static int $11 = 1;
private static int w = 1;
/* JADX WARN: Removed duplicated region for block: B:10:0x0023 */
/* JADX WARN: Removed duplicated region for block: B:7:0x001b */
/* JADX WARN: Unsupported multi-entry loop pattern (BACK_EDGE: B:10:0x0023 -> 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 az(byte r6, short r7, int r8, java.lang.Object[] r9) {
/*
int r7 = r7 + 4
int r8 = r8 + 69
int r6 = r6 * 2
int r0 = 1 - r6
byte[] r1 = com.scb.phone.view.activity.cardmanagement.deejungtransfer.DeejungTransferInstallmentsConfirmationActivity.$$g
byte[] r0 = new byte[r0]
r2 = 0
int r6 = 0 - r6
if (r1 != 0) goto L15
r3 = r8
r4 = r2
r8 = r7
goto L2e
L15:
r3 = r2
L16:
byte r4 = (byte) r8
r0[r3] = r4
if (r3 != r6) goto L23
java.lang.String r6 = new java.lang.String
r6.<init>(r0, r2)
r9[r2] = r6
return
L23:
int r7 = r7 + 1
int r3 = r3 + 1
r4 = r1[r7]
r5 = r8
r8 = r7
r7 = r4
r4 = r3
r3 = r5
L2e:
int r7 = r7 + r3
r3 = r4
r5 = r8
r8 = r7
r7 = r5
goto L16
*/
throw new UnsupportedOperationException("Method not decompiled: com.scb.phone.view.activity.cardmanagement.deejungtransfer.DeejungTransferInstallmentsConfirmationActivity.az(byte, short, int, java.lang.Object[]):void");
}
public static /* synthetic */ Object e(Object[] objArr, int i, int i2, int i3) {
int i4 = (i * 960) + (i2 * (-1917));
int i5 = ~i2;
int i6 = ~i3;
int i7 = i4 + (((~(i5 | i6)) | (~(i | i3))) * 959) + (i5 * (-959)) + (((~(i | i6)) | (~(i5 | i3))) * 959);
if (i7 == 1) {
return e(objArr);
}
if (i7 == 2) {
return c(objArr);
}
if (i7 == 3) {
return d(objArr);
}
if (i7 != 4) {
DeejungTransferInstallmentsConfirmationActivity deejungTransferInstallmentsConfirmationActivity = (DeejungTransferInstallmentsConfirmationActivity) objArr[0];
int i8 = 2 % 2;
int i9 = w + 103;
s = i9 % 128;
int i10 = i9 % 2;
C14957gcv.e(deejungTransferInstallmentsConfirmationActivity, "");
HomeActivity.c((Context) deejungTransferInstallmentsConfirmationActivity, true);
deejungTransferInstallmentsConfirmationActivity.finish();
int i11 = w + 107;
s = i11 % 128;
int i12 = i11 % 2;
return null;
}
return b(objArr);
}
@Override // o.InterfaceC9076dcr
public final /* synthetic */ void e(GQ gq) {
int i = 2 % 2;
int i2 = w + 85;
s = i2 % 128;
int i3 = i2 % 2;
GQ gq2 = gq;
C14957gcv.e(gq2, "");
if (Build.VERSION.SDK_INT < 33) {
C10121dwl.c(this, gq2);
return;
}
int i4 = s;
int i5 = i4 + 43;
w = i5 % 128;
int i6 = i5 % 2;
int i7 = i4 + 17;
w = i7 % 128;
if (i7 % 2 == 0) {
C10121dwl.b(this, gq2);
throw null;
}
C10121dwl.b(this, gq2);
int i8 = w + 49;
s = i8 % 128;
int i9 = i8 % 2;
}
public DeejungTransferInstallmentsConfirmationActivity() {
HBt hBt = new HBt(this);
C14957gcv.e(hBt, "");
this.l = new fZZ(hBt);
this.k = new DeejungTransferInstallmentSlipFragment();
}
/* loaded from: classes4.dex */
public static final class Sts {
private Sts() {
}
public /* synthetic */ Sts(byte b) {
this();
}
}
private static void ax(char[] cArr, int i, Object[] objArr) {
int i2 = 2 % 2;
GuL guL = new GuL();
char[] a = GuL.a(t ^ (-7538262848231253921L), cArr, i);
guL.a = 4;
while (guL.a < a.length) {
int i3 = $11 + 53;
$10 = i3 % 128;
int i4 = i3 % 2;
guL.c = guL.a - 4;
int i5 = guL.a;
try {
Object[] objArr2 = {Long.valueOf(a[guL.a] ^ a[guL.a % 4]), Long.valueOf(guL.c), Long.valueOf(t)};
Object obj = xzZ.y.get(428080616);
if (obj == null) {
Class cls = (Class) xzZ.c(208 - (TypedValue.complexToFloat(0) > BitmapDescriptorFactory.HUE_RED ? 1 : (TypedValue.complexToFloat(0) == BitmapDescriptorFactory.HUE_RED ? 0 : -1)), 5 - TextUtils.getTrimmedLength(""), (char) (1707 - (ViewConfiguration.getScrollFriction() > BitmapDescriptorFactory.HUE_RED ? 1 : (ViewConfiguration.getScrollFriction() == BitmapDescriptorFactory.HUE_RED ? 0 : -1))));
byte b2 = (byte) 0;
byte b3 = (byte) (b2 - 1);
Object[] objArr3 = new Object[1];
az(b2, b3, (byte) (b3 & ISO7816.INS_INCREASE), objArr3);
obj = cls.getMethod((String) objArr3[0], Long.TYPE, Long.TYPE, Long.TYPE);
xzZ.y.put(428080616, obj);
}
a[i5] = ((Character) ((Method) obj).invoke(null, objArr2)).charValue();
Object[] objArr4 = {guL, guL};
Object obj2 = xzZ.y.get(-1875914398);
if (obj2 == null) {
Class cls2 = (Class) xzZ.c(392 - (ViewConfiguration.getScrollDefaultDelay() >> 16), (ViewConfiguration.getDoubleTapTimeout() >> 16) + 5, (char) View.resolveSizeAndState(0, 0, 0));
byte b4 = (byte) 0;
byte b5 = (byte) (b4 - 1);
Object[] objArr5 = new Object[1];
az(b4, b5, (byte) (b5 & ISO7816.INS_DECREASE_STAMPED), objArr5);
obj2 = cls2.getMethod((String) objArr5[0], Object.class, Object.class);
xzZ.y.put(-1875914398, obj2);
}
((Method) obj2).invoke(null, objArr4);
int i6 = $11 + 43;
$10 = i6 % 128;
int i7 = i6 % 2;
} catch (Throwable th) {
Throwable cause = th.getCause();
if (cause == null) {
throw th;
}
throw cause;
}
}
objArr[0] = new String(a, 4, a.length - 4);
}
/* loaded from: classes4.dex */
static final class HBt extends AbstractC14961gcz implements InterfaceC14890gbN<C1165XOd> {
private DeejungTransferInstallmentsConfirmationActivity d;
@Override // o.InterfaceC14890gbN
public final /* synthetic */ C1165XOd invoke() {
View inflate = this.d.getLayoutInflater().inflate(R.layout.2131558827, (ViewGroup) null, false);
int i = R.id.bt_save_slip;
Button button = (Button) qeC.e(inflate, R.id.bt_save_slip);
if (button != null) {
i = R.id.btn_account_summary;
Button button2 = (Button) qeC.e(inflate, R.id.btn_account_summary);
if (button2 != null) {
i = R.id.fragment_transfer_confirmation_header;
FragmentContainerView fragmentContainerView = (FragmentContainerView) qeC.e(inflate, R.id.fragment_transfer_confirmation_header);
if (fragmentContainerView != null) {
i = R.id.fragment_transfer_installments_summary;
FragmentContainerView fragmentContainerView2 = (FragmentContainerView) qeC.e(inflate, R.id.fragment_transfer_installments_summary);
if (fragmentContainerView2 != null) {
i = R.id.imv_bg_slip;
ImageView imageView = (ImageView) qeC.e(inflate, R.id.imv_bg_slip);
if (imageView != null) {
i = R.id.imv_slip_curl;
ImageView imageView2 = (ImageView) qeC.e(inflate, R.id.imv_slip_curl);
if (imageView2 != null) {
i = R.id.iv_bg_black;
ImageView imageView3 = (ImageView) qeC.e(inflate, R.id.iv_bg_black);
if (imageView3 != null) {
i = R.id.layout_save_slip_root;
ConstraintLayout constraintLayout = (ConstraintLayout) qeC.e(inflate, R.id.layout_save_slip_root);
if (constraintLayout != null) {
i = R.id.layout_transfer_installments_data;
ConstraintLayout constraintLayout2 = (ConstraintLayout) qeC.e(inflate, R.id.layout_transfer_installments_data);
if (constraintLayout2 != null) {
ScrollView scrollView = (ScrollView) inflate;
i = R.id.slip_view;
View e = qeC.e(inflate, R.id.slip_view);
if (e != null) {
ImageView imageView4 = (ImageView) qeC.e(e, R.id.imv_confirmation_slip);
if (imageView4 != null) {
C16763qys c16763qys = new C16763qys((ScrollView) e, imageView4);
int i2 = R.id.space1;
View e2 = qeC.e(inflate, R.id.space1);
if (e2 != null) {
i2 = R.id.space2;
View e3 = qeC.e(inflate, R.id.space2);
if (e3 != null) {
i2 = R.id.txv_deejung_installments_updation_text;
TextView textView = (TextView) qeC.e(inflate, R.id.txv_deejung_installments_updation_text);
if (textView != null) {
return new C1165XOd(scrollView, button, button2, fragmentContainerView, fragmentContainerView2, imageView, imageView2, imageView3, constraintLayout, constraintLayout2, scrollView, c16763qys, e2, e3, textView);
}
}
}
i = i2;
} else {
throw new NullPointerException("Missing required view with ID: ".concat(e.getResources().getResourceName(R.id.imv_confirmation_slip)));
}
}
}
}
}
}
}
}
}
}
}
throw new NullPointerException("Missing required view with ID: ".concat(inflate.getResources().getResourceName(i)));
}
/* JADX WARN: 'super' call moved to the top of the method (can break code semantics) */
HBt(DeejungTransferInstallmentsConfirmationActivity deejungTransferInstallmentsConfirmationActivity) {
super(0);
this.d = deejungTransferInstallmentsConfirmationActivity;
}
}
private static void ay(int i, char[] cArr, int i2, boolean z, int i3, Object[] objArr) {
int i4 = 2 % 2;
zUI zui = new zUI();
char[] cArr2 = new char[i];
zui.d = 0;
while (zui.d < i) {
zui.c = cArr[zui.d];
cArr2[zui.d] = (char) (i2 + zui.c);
int i5 = zui.d;
try {
Object[] objArr2 = {Integer.valueOf(cArr2[i5]), Integer.valueOf(p)};
Object obj = xzZ.y.get(880493502);
if (obj == null) {
Class cls = (Class) xzZ.c(143 - (ViewConfiguration.getWindowTouchSlop() >> 8), TextUtils.indexOf("", "", 0, 0) + 7, (char) ((-1) - MotionEvent.axisFromString("")));
byte b2 = (byte) 0;
byte b3 = (byte) (b2 - 1);
Object[] objArr3 = new Object[1];
az(b2, b3, (byte) (b3 + 1), objArr3);
obj = cls.getMethod((String) objArr3[0], Integer.TYPE, Integer.TYPE);
xzZ.y.put(880493502, obj);
}
cArr2[i5] = ((Character) ((Method) obj).invoke(null, objArr2)).charValue();
Object[] objArr4 = {zui, zui};
Object obj2 = xzZ.y.get(1294990079);
if (obj2 == null) {
Class cls2 = (Class) xzZ.c(342 - (ViewConfiguration.getScrollBarFadeDuration() >> 16), ((Process.getThreadPriority(0) + 20) >> 6) + 5, (char) (TypedValue.complexToFloat(0) > BitmapDescriptorFactory.HUE_RED ? 1 : (TypedValue.complexToFloat(0) == BitmapDescriptorFactory.HUE_RED ? 0 : -1)));
byte b4 = (byte) 0;
byte b5 = (byte) (b4 - 1);
Object[] objArr5 = new Object[1];
az(b4, b5, (byte) (b5 & 7), objArr5);
obj2 = cls2.getMethod((String) objArr5[0], Object.class, Object.class);
xzZ.y.put(1294990079, obj2);
}
((Method) obj2).invoke(null, objArr4);
} catch (Throwable th) {
Throwable cause = th.getCause();
if (cause == null) {
throw th;
}
throw cause;
}
}
if (i3 > 0) {
zui.a = i3;
char[] cArr3 = new char[i];
System.arraycopy(cArr2, 0, cArr3, 0, i);
System.arraycopy(cArr3, 0, cArr2, i - zui.a, zui.a);
System.arraycopy(cArr3, zui.a, cArr2, 0, i - zui.a);
}
if (!(!z)) {
char[] cArr4 = new char[i];
zui.d = 0;
int i6 = $10 + 43;
$11 = i6 % 128;
int i7 = i6 % 2;
while (zui.d < i) {
int i8 = $11 + 87;
$10 = i8 % 128;
if (i8 % 2 != 0) {
cArr4[zui.d] = cArr2[i / zui.d];
Object[] objArr6 = {zui, zui};
Object obj3 = xzZ.y.get(1294990079);
if (obj3 == null) {
Class cls3 = (Class) xzZ.c((ViewConfiguration.getEdgeSlop() >> 16) + 342, 4 - ImageFormat.getBitsPerPixel(0), (char) (1 - (AudioTrack.getMaxVolume() > BitmapDescriptorFactory.HUE_RED ? 1 : (AudioTrack.getMaxVolume() == BitmapDescriptorFactory.HUE_RED ? 0 : -1))));
byte b6 = (byte) 0;
byte b7 = (byte) (b6 - 1);
Object[] objArr7 = new Object[1];
az(b6, b7, (byte) (b7 & 7), objArr7);
obj3 = cls3.getMethod((String) objArr7[0], Object.class, Object.class);
xzZ.y.put(1294990079, obj3);
}
((Method) obj3).invoke(null, objArr6);
} else {
cArr4[zui.d] = cArr2[(i - zui.d) - 1];
Object[] objArr8 = {zui, zui};
Object obj4 = xzZ.y.get(1294990079);
if (obj4 == null) {
Class cls4 = (Class) xzZ.c(342 - View.getDefaultSize(0, 0), TextUtils.getOffsetAfter("", 0) + 5, (char) TextUtils.getOffsetAfter("", 0));
byte b8 = (byte) 0;
byte b9 = (byte) (b8 - 1);
Object[] objArr9 = new Object[1];
az(b8, b9, (byte) (b9 & 7), objArr9);
obj4 = cls4.getMethod((String) objArr9[0], Object.class, Object.class);
xzZ.y.put(1294990079, obj4);
}
((Method) obj4).invoke(null, objArr8);
}
}
int i9 = $10 + 9;
$11 = i9 % 128;
int i10 = i9 % 2;
cArr2 = cArr4;
}
objArr[0] = new String(cArr2);
}
/* JADX WARN: Removed duplicated region for block: B:11:0x0485 */
/* JADX WARN: Removed duplicated region for block: B:16:0x04c6 */
/* JADX WARN: Removed duplicated region for block: B:19:0x04ce */
/* JADX WARN: Removed duplicated region for block: B:26:0x0518 */
/* JADX WARN: Removed duplicated region for block: B:29:0x051e */
/* JADX WARN: Removed duplicated region for block: B:32:0x0531 */
/* JADX WARN: Removed duplicated region for block: B:35:0x0539 */
/* JADX WARN: Removed duplicated region for block: B:38:0x0556 */
/* JADX WARN: Removed duplicated region for block: B:41:0x0564 */
/* JADX WARN: Removed duplicated region for block: B:45:0x0529 */
/* JADX WARN: Removed duplicated region for block: B:49:0x04f3 */
/* JADX WARN: Removed duplicated region for block: B:58:0x0498 */
/* JADX WARN: Removed duplicated region for block: B:8:0x046c */
/*
Code decompiled incorrectly, please refer to instructions dump.
To view partially-correct add '--show-bad-code' argument
*/
private static /* synthetic */ java.lang.Object e(java.lang.Object[] r27) {
/*
Method dump skipped, instructions count: 1844
To view this dump add '--comments-level debug' option
*/
throw new UnsupportedOperationException("Method not decompiled: com.scb.phone.view.activity.cardmanagement.deejungtransfer.DeejungTransferInstallmentsConfirmationActivity.e(java.lang.Object[]):java.lang.Object");
}
@Override // o.InterfaceC9076dcr
public final void e() {
int i = 2 % 2;
C1165XOd c1165XOd = (C1165XOd) this.l.e();
c1165XOd.b.setColorFilter(nMh.getColor(c1165XOd.b.getContext(), R.color.f3032131099810), PorterDuff.Mode.MULTIPLY);
c1165XOd.e.setOnClickListener(new View.OnClickListener(this) { // from class: o.dwh
private DeejungTransferInstallmentsConfirmationActivity a;
@Override // android.view.View.OnClickListener
public final void onClick(View view) {
DeejungTransferInstallmentsConfirmationActivity.b(this.a);
}
{
this.a = this;
}
});
int i2 = w + 113;
s = i2 % 128;
if (i2 % 2 != 0) {
throw null;
}
}
/* loaded from: classes4.dex */
static final class LWm extends AbstractC14961gcz implements InterfaceC14894gbR<Uri, C14866gag> {
private DeejungTransferInstallmentsConfirmationActivity d;
@Override // o.InterfaceC14894gbR
public final /* synthetic */ C14866gag invoke(Uri uri) {
Uri uri2 = uri;
C3081aql c3081aql = this.d.presenter;
if (c3081aql == null) {
C14957gcv.a("");
c3081aql = null;
}
String obj = uri2.toString();
C14957gcv.c((Object) obj, "");
c3081aql.c(obj);
return C14866gag.c;
}
/* JADX WARN: 'super' call moved to the top of the method (can break code semantics) */
LWm(DeejungTransferInstallmentsConfirmationActivity deejungTransferInstallmentsConfirmationActivity) {
super(1);
this.d = deejungTransferInstallmentsConfirmationActivity;
}
}
/* loaded from: classes4.dex */
static final class ojQ extends AbstractC14961gcz implements InterfaceC14894gbR<Throwable, C14866gag> {
private DeejungTransferInstallmentsConfirmationActivity c;
@Override // o.InterfaceC14894gbR
public final /* synthetic */ C14866gag invoke(Throwable th) {
Throwable th2 = th;
DeejungTransferInstallmentsConfirmationActivity deejungTransferInstallmentsConfirmationActivity = this.c;
C14957gcv.c((Object) th2, "");
C14957gcv.e(th2, "");
guQ.a(th2, "onSaveScreenshotError", new Object[0]);
int id = ((C1165XOd) deejungTransferInstallmentsConfirmationActivity.l.e()).c.getId();
BaseActivity.a(new Object[]{deejungTransferInstallmentsConfirmationActivity, deejungTransferInstallmentsConfirmationActivity, Integer.valueOf(id), deejungTransferInstallmentsConfirmationActivity.getString(R.string.banking_success_saved_slip_error), EnumC8951daY.ERROR}, 855668825, -855668822, id);
return C14866gag.c;
}
/* JADX WARN: 'super' call moved to the top of the method (can break code semantics) */
ojQ(DeejungTransferInstallmentsConfirmationActivity deejungTransferInstallmentsConfirmationActivity) {
super(1);
this.c = deejungTransferInstallmentsConfirmationActivity;
}
}
@Override // o.InterfaceC9076dcr
public final void c() {
int i = 2 % 2;
int i2 = s + 119;
w = i2 % 128;
int i3 = i2 % 2;
Button button = ((C1165XOd) this.l.e()).e;
C14957gcv.c(button, "");
Button button2 = button;
C14957gcv.e(button2, "");
button2.setVisibility(0);
int i4 = s + 13;
w = i4 % 128;
int i5 = i4 % 2;
}
@Override // o.InterfaceC9076dcr
public final void d() {
Button button;
int i;
int i2 = 2 % 2;
int i3 = w + 9;
s = i3 % 128;
if (i3 % 2 != 0) {
Button button2 = ((C1165XOd) this.l.e()).e;
C14957gcv.c(button2, "");
button = button2;
C14957gcv.e(button, "");
i = 38;
} else {
Button button3 = ((C1165XOd) this.l.e()).e;
C14957gcv.c(button3, "");
button = button3;
C14957gcv.e(button, "");
i = 8;
}
button.setVisibility(i);
int i4 = s + 67;
w = i4 % 128;
if (i4 % 2 != 0) {
return;
}
Object obj = null;
obj.hashCode();
throw null;
}
private static /* synthetic */ Object c(Object[] objArr) {
DeejungTransferInstallmentsConfirmationActivity deejungTransferInstallmentsConfirmationActivity = (DeejungTransferInstallmentsConfirmationActivity) objArr[0];
int i = 2 % 2;
int i2 = s + 121;
w = i2 % 128;
int i3 = i2 % 2;
deejungTransferInstallmentsConfirmationActivity.Xb_(deejungTransferInstallmentsConfirmationActivity, ((C1165XOd) deejungTransferInstallmentsConfirmationActivity.l.e()).c.getId(), deejungTransferInstallmentsConfirmationActivity.getString(R.string.banking_success_save_to_your_gallery), EnumC8951daY.SUCCESS);
int i4 = s + 35;
w = i4 % 128;
Object obj = null;
if (i4 % 2 != 0) {
return null;
}
obj.hashCode();
throw null;
}
/* loaded from: classes4.dex */
public static final class IeS extends C0366Fa {
GQ b;
/* JADX WARN: 'super' call moved to the top of the method (can break code semantics) */
public IeS(String str, boolean z, GQ gq) {
super(str, z);
C14957gcv.e(str, "");
C14957gcv.e(gq, "");
this.b = gq;
}
}
private static /* synthetic */ Object b(Object[] objArr) {
DeejungTransferInstallmentsConfirmationActivity deejungTransferInstallmentsConfirmationActivity = (DeejungTransferInstallmentsConfirmationActivity) objArr[0];
int intValue = ((Number) objArr[1]).intValue();
String[] strArr = (String[]) objArr[2];
int[] iArr = (int[]) objArr[3];
int i = 2 % 2;
int i2 = w + 43;
s = i2 % 128;
int i3 = i2 % 2;
C14957gcv.e(strArr, "");
C14957gcv.e(iArr, "");
super.onRequestPermissionsResult(intValue, strArr, iArr);
C10121dwl.a(deejungTransferInstallmentsConfirmationActivity, intValue, iArr);
int i4 = s + 115;
w = i4 % 128;
if (i4 % 2 == 0) {
int i5 = 86 / 0;
}
return null;
}
/* loaded from: classes4.dex */
public static final class RVV extends AbstractC12886fKU<IeS> {
private FLP a;
private final DeejungTransferInstallmentSlipFragment b;
private Rqs e;
@Override // o.AbstractC12886fKU
public final /* synthetic */ View aAq_(ViewGroup viewGroup, IeS ieS, Context context) {
ViewGroup viewGroup2;
IeS ieS2 = ieS;
C14957gcv.e(viewGroup, "");
C14957gcv.e(ieS2, "");
C14957gcv.e(context, "");
Rqs QX_ = Rqs.QX_(LayoutInflater.from(context), viewGroup);
C14957gcv.c(QX_, "");
this.e = QX_;
Rqs rqs = null;
View inflate = LayoutInflater.from(context).inflate(R.layout.2131559553, (ViewGroup) null, false);
int i = R.id.imv_bg_slip;
ImageView imageView = (ImageView) qeC.e(inflate, R.id.imv_bg_slip);
if (imageView != null) {
ConstraintLayout constraintLayout = (ConstraintLayout) inflate;
View e = qeC.e(inflate, R.id.top_view);
if (e != null) {
FLP flp = new FLP(constraintLayout, imageView, constraintLayout, C17053tZa.d(e));
C14957gcv.c(flp, "");
this.a = flp;
ImageView imageView2 = flp.b;
C14957gcv.c(imageView2, "");
ImageView imageView3 = imageView2;
C14957gcv.e(imageView3, "");
imageView3.setVisibility(4);
flp.e.setBackgroundColor(nMh.getColor(flp.e.getContext(), R.color.f14012131100909));
DeejungTransferInstallmentSlipFragment deejungTransferInstallmentSlipFragment = this.b;
GQ gq = ieS2.b;
ConstraintLayout constraintLayout2 = flp.d;
C14957gcv.c(constraintLayout2, "");
deejungTransferInstallmentSlipFragment.c((DeejungTransferInstallmentSlipFragment) gq, (View) constraintLayout2);
Rqs rqs2 = this.e;
if (rqs2 == null) {
C14957gcv.a("");
rqs2 = null;
}
ThemeSlipLayout themeSlipLayout = rqs2.a;
ConstraintLayout constraintLayout3 = flp.d;
C14957gcv.d(constraintLayout3, "");
ConstraintLayout constraintLayout4 = constraintLayout3;
if (themeSlipLayout.c > 0 && (viewGroup2 = (ViewGroup) themeSlipLayout.findViewById(R.id.slip_content)) != null) {
viewGroup2.removeAllViews();
viewGroup2.addView(constraintLayout4);
}
Rqs rqs3 = this.e;
if (rqs3 == null) {
C14957gcv.a("");
} else {
rqs = rqs3;
}
ScrollView scrollView = rqs.c;
C14957gcv.c(scrollView, "");
return scrollView;
}
i = R.id.top_view;
}
throw new NullPointerException("Missing required view with ID: ".concat(inflate.getResources().getResourceName(i)));
}
public RVV(DeejungTransferInstallmentSlipFragment deejungTransferInstallmentSlipFragment) {
C14957gcv.e(deejungTransferInstallmentSlipFragment, "");
this.b = deejungTransferInstallmentSlipFragment;
}
@Override // o.AbstractC12886fKU
public final void b(C6204cLu c6204cLu) {
C14957gcv.e(c6204cLu, "");
Rqs rqs = this.e;
if (rqs == null) {
C14957gcv.a("");
rqs = null;
}
c6204cLu.d = rqs.a;
c6204cLu.e();
}
}
public final void b(GQ gq, boolean z) {
int i = 2 % 2;
C14957gcv.e(gq, "");
RVV rvv = new RVV(this.k);
C6204cLu c6204cLu = this.themesSlipPresenter;
if (c6204cLu != null) {
int i2 = w;
int i3 = i2 + 123;
s = i3 % 128;
int i4 = i3 % 2;
int i5 = i2 + 77;
s = i5 % 128;
int i6 = i5 % 2;
} else {
C14957gcv.a("");
c6204cLu = null;
}
C14957gcv.e(c6204cLu, "");
rvv.d = c6204cLu;
gcH gch = gcH.d;
String format = String.format("scb-slip-%s", Arrays.copyOf(new Object[]{String.valueOf(Calendar.getInstance().getTimeInMillis())}, 1));
C14957gcv.c((Object) format, "");
AbstractC13163fSk<Uri> c = rvv.c(new IeS(format, z, gq), this);
final LWm lWm = new LWm(this);
fSQ<? super Uri> fsq = new fSQ(lWm) { // from class: o.dwf
private InterfaceC14894gbR e;
@Override // o.fSQ
public final void c(Object obj) {
DeejungTransferInstallmentsConfirmationActivity.e(this.e, obj);
}
{
this.e = lWm;
}
};
final ojQ ojq = new ojQ(this);
this.f6656o = c.subscribe(fsq, new fSQ(ojq) { // from class: o.dwe
private InterfaceC14894gbR d;
@Override // o.fSQ
public final void c(Object obj) {
DeejungTransferInstallmentsConfirmationActivity.a(this.d, obj);
}
{
this.d = ojq;
}
});
}
public static void g() {
int i = 2 % 2;
int i2 = w + 71;
s = i2 % 128;
if (i2 % 2 != 0) {
guQ.b("onPermissionDenied", new Object[0]);
} else {
guQ.b("onPermissionDenied", new Object[0]);
}
}
public static void h() {
int i = 2 % 2;
int i2 = s + 107;
w = i2 % 128;
if (i2 % 2 == 0) {
guQ.b("onNeverAskAgain", new Object[1]);
} else {
guQ.b("onNeverAskAgain", new Object[0]);
}
int i3 = w + 43;
s = i3 % 128;
if (i3 % 2 != 0) {
int i4 = 5 / 0;
}
}
public final void b(final InterfaceC15577gud interfaceC15577gud) {
int i = 2 % 2;
C14957gcv.e(interfaceC15577gud, "");
((CustomDialog) CustomDialog.e(new Object[]{CustomDialog.b(this).c(R.string.permission_storage_title).d(R.string.permission_storage).aoT_(R.string.permission_allow, new DialogInterface.OnClickListener(interfaceC15577gud) { // from class: o.dwj
private InterfaceC15577gud d;
@Override // android.content.DialogInterface.OnClickListener
public final void onClick(DialogInterface dialogInterface, int i2) {
DeejungTransferInstallmentsConfirmationActivity.e(new Object[]{this.d}, 1603339983, -1603339980, (int) System.currentTimeMillis());
}
{
this.d = interfaceC15577gud;
}
}), Integer.valueOf(R.string.permission_deny), new DialogInterface.OnClickListener(interfaceC15577gud) { // from class: o.dwk
private InterfaceC15577gud b;
@Override // android.content.DialogInterface.OnClickListener
public final void onClick(DialogInterface dialogInterface, int i2) {
DeejungTransferInstallmentsConfirmationActivity.c(this.b);
}
{
this.b = interfaceC15577gud;
}
}})).show();
int i2 = s + 61;
w = i2 % 128;
if (i2 % 2 != 0) {
return;
}
Object obj = null;
obj.hashCode();
throw null;
}
public static void j() {
int i = 2 % 2;
int i2 = s + 109;
w = i2 % 128;
if (i2 % 2 == 0) {
guQ.b("onPermissionDeniedAndroid13", new Object[1]);
} else {
guQ.b("onPermissionDeniedAndroid13", new Object[0]);
}
int i3 = w + 39;
s = i3 % 128;
if (i3 % 2 != 0) {
int i4 = 51 / 0;
}
}
public static void f() {
int i = 2 % 2;
int i2 = w + 75;
s = i2 % 128;
int i3 = i2 % 2;
guQ.b("onNeverAskAgainAndroid13", new Object[0]);
int i4 = w + 79;
s = i4 % 128;
int i5 = i4 % 2;
}
@Override // com.scb.phone.view.activity.BaseActivity, com.scb.phone.view.activity.PreLoadCheckActivity, androidx.appcompat.app.AppCompatActivity, androidx.fragment.app.FragmentActivity, android.app.Activity
public final void onDestroy() {
int i = 2 % 2;
C3081aql c3081aql = this.presenter;
if (c3081aql != null) {
int i2 = w + 55;
s = i2 % 128;
if (i2 % 2 != 0) {
throw null;
}
} else {
C14957gcv.a("");
c3081aql = null;
}
c3081aql.w_();
fSJ fsj = this.f6656o;
if (fsj != null) {
fsj.dispose();
int i3 = w + 75;
s = i3 % 128;
int i4 = i3 % 2;
}
super.onDestroy();
}
@Override // com.scb.phone.view.activity.cardmanagement.deejungtransfer.Hilt_DeejungTransferInstallmentsConfirmationActivity, com.scb.phone.view.activity.BaseActivity, com.scb.phone.view.activity.PreLoadCheckActivity, com.akexorcist.localizationactivity.LocalizationActivity, androidx.appcompat.app.AppCompatActivity, androidx.fragment.app.FragmentActivity, androidx.activity.ComponentActivity, androidx.core.app.ComponentActivity, android.app.Activity
public final void onResume() {
int i = 2 % 2;
Context baseContext = getBaseContext();
if (baseContext == null) {
Object[] objArr = new Object[1];
ax(new char[]{7534, 7439, 1534, 42297, 8733, 59975, 43404, 57177, 33589, 49238, 18451, 52140, 8551, 26235, 11979, 27768, 51123, 1972, 36091, 36467, 26056, 42442, 25255, 12375, 2622, 15111, 50005, 21143, 43063, 55647}, View.getDefaultSize(0, 0) + 1, objArr);
Class<?> cls = Class.forName((String) objArr[0]);
Object[] objArr2 = new Object[1];
ax(new char[]{44202, 44233, 50600, 16942, 57936, 3398, 1424, 29509, 13051, 7, 44820, 26591, 37042, 42541, 51648, 49187, 30293, 51168, 27628, 8815, 54293, 26011}, Color.green(0) + 1, objArr2);
baseContext = (Context) cls.getMethod((String) objArr2[0], new Class[0]).invoke(null, null);
}
if (baseContext != null) {
int i2 = w + 33;
s = i2 % 128;
int i3 = i2 % 2;
baseContext = baseContext.getApplicationContext();
}
if (baseContext != null) {
int i4 = w + 55;
s = i4 % 128;
int i5 = i4 % 2;
try {
Object obj = xzZ.y.get(125943855);
if (obj == null) {
obj = ((Class) xzZ.c(KeyEvent.keyCodeFromString("") + 492, 6 - (AudioTrack.getMaxVolume() > BitmapDescriptorFactory.HUE_RED ? 1 : (AudioTrack.getMaxVolume() == BitmapDescriptorFactory.HUE_RED ? 0 : -1)), (char) (TextUtils.lastIndexOf("", '0', 0, 0) + 1))).getMethod("a", null);
xzZ.y.put(125943855, obj);
}
Object invoke = ((Method) obj).invoke(null, null);
Object[] objArr3 = {baseContext};
Object obj2 = xzZ.y.get(1378719468);
if (obj2 == null) {
obj2 = ((Class) xzZ.c((Process.myPid() >> 22) + 487, (ViewConfiguration.getTapTimeout() >> 16) + 5, (char) (ViewConfiguration.getScrollDefaultDelay() >> 16))).getMethod(KtaJsonExactionHelper.OBJECT, Context.class);
xzZ.y.put(1378719468, obj2);
}
((Method) obj2).invoke(invoke, objArr3);
} catch (Throwable th) {
Throwable cause = th.getCause();
if (cause == null) {
throw th;
}
throw cause;
}
}
super.onResume();
int i6 = w + 63;
s = i6 % 128;
if (i6 % 2 != 0) {
int i7 = 8 / 0;
}
}
/* JADX WARN: Code restructure failed: missing block: B:31:0x0023, code lost:
r1 = com.scb.phone.view.activity.cardmanagement.deejungtransfer.DeejungTransferInstallmentsConfirmationActivity.s + 123;
com.scb.phone.view.activity.cardmanagement.deejungtransfer.DeejungTransferInstallmentsConfirmationActivity.w = r1 % 128;
*/
/* JADX WARN: Code restructure failed: missing block: B:32:0x002c, code lost:
if ((r1 % 2) != 0) goto L12;
*/
/* JADX WARN: Code restructure failed: missing block: B:33:0x002e, code lost:
r7 = new java.lang.Object[1];
ax(new char[]{7534, 7439, 1534, 42297, 8733, 59975, 43404, 57177, 33589, 49238, 18451, 52140, 8551, 26235, 11979, 27768, 51123, 1972, 36091, 36467, 26056, 42442, 25255, 12375, 2622, 15111, 50005, 21143, 43063, 55647}, -android.text.TextUtils.lastIndexOf("", 'r', 1, 0), r7);
r1 = java.lang.Class.forName((java.lang.String) r7[0]);
r8 = new java.lang.Object[1];
ax(new char[]{44202, 44233, 50600, 16942, 57936, 3398, 1424, 29509, 13051, 7, 44820, 26591, 37042, 42541, 51648, 49187, 30293, 51168, 27628, 8815, 54293, 26011}, (android.view.ViewConfiguration.getScrollFriction() > 2.0f ? 1 : (android.view.ViewConfiguration.getScrollFriction() == 2.0f ? 0 : -1)), r8);
r1 = r1.getMethod((java.lang.String) r8[0], new java.lang.Class[1]);
*/
/* JADX WARN: Code restructure failed: missing block: B:34:0x00a0, code lost:
r1 = (android.content.Context) r1.invoke(null, null);
*/
/* JADX WARN: Code restructure failed: missing block: B:35:0x0068, code lost:
r7 = new java.lang.Object[1];
ax(new char[]{7534, 7439, 1534, 42297, 8733, 59975, 43404, 57177, 33589, 49238, 18451, 52140, 8551, 26235, 11979, 27768, 51123, 1972, 36091, 36467, 26056, 42442, 25255, 12375, 2622, 15111, 50005, 21143, 43063, 55647}, -android.text.TextUtils.lastIndexOf("", '0', 0, 0), r7);
r1 = java.lang.Class.forName((java.lang.String) r7[0]);
r8 = new java.lang.Object[1];
ax(new char[]{44202, 44233, 50600, 16942, 57936, 3398, 1424, 29509, 13051, 7, 44820, 26591, 37042, 42541, 51648, 49187, 30293, 51168, 27628, 8815, 54293, 26011}, (android.view.ViewConfiguration.getScrollFriction() > com.google.android.gms.maps.model.BitmapDescriptorFactory.HUE_RED ? 1 : (android.view.ViewConfiguration.getScrollFriction() == com.google.android.gms.maps.model.BitmapDescriptorFactory.HUE_RED ? 0 : -1)), r8);
r1 = r1.getMethod((java.lang.String) r8[0], new java.lang.Class[0]);
*/
/* JADX WARN: Code restructure failed: missing block: B:37:0x0021, code lost:
if (r1 == null) goto L9;
*/
/* JADX WARN: Code restructure failed: missing block: B:4:0x001a, code lost:
if (r1 == null) goto L9;
*/
@Override // com.scb.phone.view.activity.cardmanagement.deejungtransfer.Hilt_DeejungTransferInstallmentsConfirmationActivity, com.scb.phone.view.activity.BaseActivity, com.scb.phone.view.activity.PreLoadCheckActivity, com.akexorcist.localizationactivity.LocalizationActivity, androidx.appcompat.app.AppCompatActivity, androidx.fragment.app.FragmentActivity, androidx.activity.ComponentActivity, androidx.core.app.ComponentActivity, android.app.Activity
/*
Code decompiled incorrectly, please refer to instructions dump.
To view partially-correct add '--show-bad-code' argument
*/
public final void onPause() {
/*
Method dump skipped, instructions count: 476
To view this dump add '--comments-level debug' option
*/
throw new UnsupportedOperationException("Method not decompiled: com.scb.phone.view.activity.cardmanagement.deejungtransfer.DeejungTransferInstallmentsConfirmationActivity.onPause():void");
}
/* JADX WARN: Code restructure failed: missing block: B:6:0x007d, code lost:
if (r1 > 99999) goto L11;
*/
@Override // com.scb.phone.view.activity.cardmanagement.deejungtransfer.Hilt_DeejungTransferInstallmentsConfirmationActivity, com.scb.phone.view.activity.BaseActivity, com.scb.phone.view.activity.PreLoadCheckActivity, com.akexorcist.localizationactivity.LocalizationActivity, androidx.appcompat.app.AppCompatActivity, androidx.fragment.app.FragmentActivity, androidx.activity.ComponentActivity, androidx.core.app.ComponentActivity, android.app.Activity, android.view.ContextThemeWrapper, android.content.ContextWrapper
/*
Code decompiled incorrectly, please refer to instructions dump.
To view partially-correct add '--show-bad-code' argument
*/
public final void attachBaseContext(android.content.Context r19) {
/*
Method dump skipped, instructions count: 948
To view this dump add '--comments-level debug' option
*/
throw new UnsupportedOperationException("Method not decompiled: com.scb.phone.view.activity.cardmanagement.deejungtransfer.DeejungTransferInstallmentsConfirmationActivity.attachBaseContext(android.content.Context):void");
}
private static /* synthetic */ Object d(Object[] objArr) {
InterfaceC15577gud interfaceC15577gud = (InterfaceC15577gud) objArr[0];
int i = 2 % 2;
int i2 = w + 79;
s = i2 % 128;
int i3 = i2 % 2;
C14957gcv.e(interfaceC15577gud, "");
interfaceC15577gud.c();
int i4 = s + 29;
w = i4 % 128;
if (i4 % 2 == 0) {
int i5 = 95 / 0;
}
return null;
}
public static /* synthetic */ void a(InterfaceC14894gbR interfaceC14894gbR, Object obj) {
int i = 2 % 2;
int i2 = s + 125;
w = i2 % 128;
int i3 = i2 % 2;
C14957gcv.e(interfaceC14894gbR, "");
if (i3 == 0) {
interfaceC14894gbR.invoke(obj);
int i4 = 41 / 0;
} else {
interfaceC14894gbR.invoke(obj);
}
}
public static /* synthetic */ void c(InterfaceC15577gud interfaceC15577gud) {
int i = 2 % 2;
int i2 = s + 125;
w = i2 % 128;
int i3 = i2 % 2;
C14957gcv.e(interfaceC15577gud, "");
if (i3 != 0) {
interfaceC15577gud.e();
} else {
interfaceC15577gud.e();
throw null;
}
}
public static /* synthetic */ void e(InterfaceC14894gbR interfaceC14894gbR, Object obj) {
int i = 2 % 2;
int i2 = w + 93;
s = i2 % 128;
int i3 = i2 % 2;
C14957gcv.e(interfaceC14894gbR, "");
interfaceC14894gbR.invoke(obj);
int i4 = w + 11;
s = i4 % 128;
int i5 = i4 % 2;
}
public static /* synthetic */ void b(DeejungTransferInstallmentsConfirmationActivity deejungTransferInstallmentsConfirmationActivity) {
int i = 2 % 2;
int i2 = s + 107;
w = i2 % 128;
int i3 = i2 % 2;
C3081aql c3081aql = null;
C14957gcv.e(deejungTransferInstallmentsConfirmationActivity, "");
if (i3 == 0) {
C3081aql c3081aql2 = deejungTransferInstallmentsConfirmationActivity.presenter;
c3081aql.hashCode();
throw null;
}
C3081aql c3081aql3 = deejungTransferInstallmentsConfirmationActivity.presenter;
if (c3081aql3 != null) {
int i4 = s + 77;
w = i4 % 128;
int i5 = i4 % 2;
c3081aql = c3081aql3;
} else {
C14957gcv.a("");
int i6 = w + 67;
s = i6 % 128;
int i7 = i6 % 2;
}
C3074aqe c3074aqe = new C3074aqe(c3081aql);
if (c3081aql.f != 0) {
int i8 = s + 59;
w = i8 % 128;
int i9 = i8 % 2;
c3074aqe.e(c3081aql.f);
}
}
static void n() {
t = 322103255542071250L;
p = 2015661692;
}
@Override // com.scb.phone.view.activity.cardmanagement.deejungtransfer.Hilt_DeejungTransferInstallmentsConfirmationActivity, com.scb.phone.view.activity.BaseActivity, com.scb.phone.view.activity.PreLoadCheckActivity, com.akexorcist.localizationactivity.LocalizationActivity, androidx.appcompat.app.AppCompatActivity, androidx.fragment.app.FragmentActivity, androidx.activity.ComponentActivity, androidx.core.app.ComponentActivity, android.app.Activity
public final void onStart() {
int i = 2 % 2;
int i2 = w + 79;
s = i2 % 128;
int i3 = i2 % 2;
super.onStart();
int i4 = w + 73;
s = i4 % 128;
if (i4 % 2 == 0) {
return;
}
Object obj = null;
obj.hashCode();
throw null;
}
@Override // o.InterfaceC9076dcr
public final void b() {
e(new Object[]{this}, -766592262, 766592264, ((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getPackageName().codePointAt(10) - 1096029836);
}
@Override // androidx.fragment.app.FragmentActivity, androidx.activity.ComponentActivity, android.app.Activity
public final void onRequestPermissionsResult(int i, String[] strArr, int[] iArr) {
e(new Object[]{this, Integer.valueOf(i), strArr, iArr}, -1927745300, 1927745304, ((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getResources().getString(R.string.e_document_description_mcmc).substring(49, 50).length() - 1100002484);
}
@Override // com.scb.phone.view.activity.cardmanagement.deejungtransfer.Hilt_DeejungTransferInstallmentsConfirmationActivity, com.scb.phone.view.activity.BaseActivity, com.scb.phone.view.activity.PreLoadCheckActivity, com.akexorcist.localizationactivity.LocalizationActivity, androidx.appcompat.app.AppCompatActivity, androidx.fragment.app.FragmentActivity, androidx.activity.ComponentActivity, androidx.core.app.ComponentActivity, android.app.Activity
public final void onCreate(Bundle bundle) {
e(new Object[]{this, bundle}, 1863691794, -1863691793, System.identityHashCode(this));
}
@Override // androidx.activity.ComponentActivity, android.app.Activity
public final void onBackPressed() {
int i = 2 % 2;
int i2 = s + 81;
w = i2 % 128;
int i3 = i2 % 2;
}
static {
s = 0;
n();
b = new Sts((byte) 0);
int i = w + 89;
s = i % 128;
if (i % 2 == 0) {
return;
}
Object obj = null;
obj.hashCode();
throw null;
}
}