what-the-bank/sources/com/scb/phone/view/activity/bankingagent/GenerateQRActivity.java

1606 lines
65 KiB
Java

package com.scb.phone.view.activity.bankingagent;
import android.content.Context;
import android.content.DialogInterface;
import android.content.Intent;
import android.graphics.Bitmap;
import android.graphics.Color;
import android.graphics.drawable.Drawable;
import android.media.AudioTrack;
import android.os.Build;
import android.os.Bundle;
import android.os.CountDownTimer;
import android.os.Parcelable;
import android.os.Process;
import android.os.SystemClock;
import android.telephony.cdma.CdmaCellLocation;
import android.text.TextUtils;
import android.util.Base64;
import android.util.TypedValue;
import android.view.Gravity;
import android.view.KeyEvent;
import android.view.MenuItem;
import android.view.View;
import android.view.ViewConfiguration;
import android.view.WindowManager;
import android.widget.ExpandableListView;
import android.widget.ImageView;
import android.widget.TextView;
import androidx.appcompat.widget.Toolbar;
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.bankingagent.GenerateQRActivity;
import com.scb.phone.view.custom.common.CustomDialog;
import java.lang.reflect.Method;
import java.nio.charset.StandardCharsets;
import net.sf.scuba.smartcards.ISOFileInfo;
import o.AbstractC14961gcz;
import o.C14866gag;
import o.C14957gcv;
import o.C15602gz;
import o.C15723hzE;
import o.C16420oGW;
import o.C2570ahB;
import o.C3614bBe;
import o.C4403bZM;
import o.C6583cXR;
import o.FB;
import o.FC;
import o.InterfaceC13391fZD;
import o.InterfaceC13393fZL;
import o.InterfaceC14890gbN;
import o.InterfaceC9029dbx;
import o.JVY;
import o.ZI;
import o.fZZ;
import o.gdZ;
import o.gjJ;
import o.nar;
import o.xzZ;
import org.bouncycastle.asn1.x509.DisplayText;
import org.bouncycastle.crypto.tls.CipherSuite;
/* loaded from: classes4.dex */
public final class GenerateQRActivity extends Hilt_GenerateQRActivity implements InterfaceC9029dbx {
public static final Sts b;
private static byte p;
private static char[] q;
private static int t;
private static boolean v;
private static int[] w;
private static boolean x;
private static int y;
private CustomDialog k;
private C15723hzE m;
/* renamed from: o, reason: collision with root package name */
private CountDownTimer f6573o;
@InterfaceC13391fZD
public C2570ahB presenter;
private final InterfaceC13393fZL r;
private C16420oGW s;
private static final byte[] $$g = {60, -87, -31, 8};
private static final int $$h = CipherSuite.TLS_DH_DSS_WITH_AES_128_GCM_SHA256;
private static int $10 = 0;
private static int $11 = 1;
private static int u = 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:0x002b). 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 aA(byte r7, short r8, short r9, java.lang.Object[] r10) {
/*
int r9 = r9 + 65
byte[] r0 = com.scb.phone.view.activity.bankingagent.GenerateQRActivity.$$g
int r7 = r7 * 3
int r7 = 1 - r7
int r8 = r8 + 4
byte[] r1 = new byte[r7]
r2 = 0
if (r0 != 0) goto L13
r3 = r9
r5 = r2
r9 = r8
goto L2b
L13:
r3 = r2
L14:
int r8 = r8 + 1
byte r4 = (byte) r9
int r5 = r3 + 1
r1[r3] = r4
if (r5 != r7) goto L25
java.lang.String r7 = new java.lang.String
r7.<init>(r1, r2)
r10[r2] = r7
return
L25:
r3 = r0[r8]
r6 = r9
r9 = r8
r8 = r3
r3 = r6
L2b:
int r8 = -r8
int r8 = r8 + r3
r3 = r5
r6 = r9
r9 = r8
r8 = r6
goto L14
*/
throw new UnsupportedOperationException("Method not decompiled: com.scb.phone.view.activity.bankingagent.GenerateQRActivity.aA(byte, short, short, java.lang.Object[]):void");
}
public static /* synthetic */ Object d(Object[] objArr, int i, int i2, int i3) {
int i4 = ~i;
int i5 = ~i3;
int i6 = (i * 302) + (i2 * 603) + (((~(i4 | i5)) | i2) * (-602)) + (((~(i | i5 | i2)) | (~(i3 | i4)) | (~((~i2) | i4))) * (-301)) + ((~(i5 | i2)) * 301);
return i6 != 1 ? i6 != 2 ? i6 != 3 ? e(objArr) : c(objArr) : b(objArr) : a(objArr);
}
public static final /* synthetic */ CountDownTimer Yt_(GenerateQRActivity generateQRActivity) {
int i = 2 % 2;
int i2 = y + 97;
int i3 = i2 % 128;
u = i3;
int i4 = i2 % 2;
CountDownTimer countDownTimer = generateQRActivity.f6573o;
int i5 = i3 + 77;
y = i5 % 128;
if (i5 % 2 == 0) {
return countDownTimer;
}
throw null;
}
public GenerateQRActivity() {
IeS ieS = new IeS(this);
C14957gcv.e(ieS, "");
this.r = new fZZ(ieS);
}
private void az(String str, Object[] objArr) {
int i = 2 % 2;
byte[] decode = Base64.decode(str, 0);
byte[] bArr = new byte[decode.length];
int i2 = u + 49;
y = i2 % 128;
int i3 = i2 % 2;
for (int i4 = 0; i4 < decode.length; i4++) {
int i5 = u + 67;
y = i5 % 128;
int i6 = i5 % 2;
bArr[i4] = (byte) (decode[(decode.length - i4) - 1] ^ p);
}
objArr[0] = new String(bArr, StandardCharsets.UTF_8);
}
/* loaded from: classes4.dex */
static final class IeS extends AbstractC14961gcz implements InterfaceC14890gbN<JVY> {
private GenerateQRActivity e;
@Override // o.InterfaceC14890gbN
public final /* synthetic */ JVY invoke() {
Intent intent = this.e.getIntent();
C14957gcv.c(intent, "");
if (Build.VERSION.SDK_INT >= 33) {
Bundle extras = intent.getExtras();
if (extras != null) {
r4 = (Parcelable) extras.getParcelable("banking_agent_bundle", JVY.class);
}
} else {
Bundle extras2 = intent.getExtras();
Parcelable parcelable = extras2 != null ? extras2.getParcelable("banking_agent_bundle") : null;
r4 = (JVY) (parcelable instanceof JVY ? parcelable : null);
}
return (JVY) r4;
}
/* JADX WARN: 'super' call moved to the top of the method (can break code semantics) */
IeS(GenerateQRActivity generateQRActivity) {
super(0);
this.e = generateQRActivity;
}
}
/* loaded from: classes4.dex */
public static final class Sts {
private Sts() {
}
public /* synthetic */ Sts(byte b) {
this();
}
}
/* loaded from: classes4.dex */
static final class HBt extends AbstractC14961gcz implements InterfaceC14890gbN<C14866gag> {
private GenerateQRActivity a;
@Override // o.InterfaceC14890gbN
public final /* synthetic */ C14866gag invoke() {
C2570ahB c2570ahB = this.a.presenter;
if (c2570ahB == null) {
C14957gcv.a("");
c2570ahB = null;
}
ZI.IeS ieS = new ZI.IeS() { // from class: o.ahE
@Override // o.ZI.IeS
public final void e(Object obj) {
((InterfaceC9029dbx) obj).b();
}
};
if (c2570ahB.f != 0) {
ieS.e(c2570ahB.f);
}
return C14866gag.c;
}
/* JADX WARN: 'super' call moved to the top of the method (can break code semantics) */
HBt(GenerateQRActivity generateQRActivity) {
super(0);
this.a = generateQRActivity;
}
}
private static void ay(int[] iArr, int i, Object[] objArr) {
int[] iArr2;
int i2 = 2 % 2;
C4403bZM c4403bZM = new C4403bZM();
char[] cArr = new char[4];
char[] cArr2 = new char[iArr.length * 2];
int[] iArr3 = w;
int i3 = 729798706;
int i4 = 1;
int i5 = 0;
if (iArr3 != null) {
int length = iArr3.length;
int[] iArr4 = new int[length];
int i6 = 0;
while (i6 < length) {
try {
Object[] objArr2 = new Object[1];
objArr2[i5] = Integer.valueOf(iArr3[i6]);
Object obj = xzZ.y.get(Integer.valueOf(i3));
if (obj == null) {
Class cls = (Class) xzZ.c(Color.alpha(i5) + 15, 5 - View.getDefaultSize(i5, i5), (char) (Process.getGidForName("") + 58135));
Class<?>[] clsArr = new Class[1];
clsArr[i5] = Integer.TYPE;
obj = cls.getMethod("i", clsArr);
xzZ.y.put(729798706, obj);
}
iArr4[i6] = ((Integer) ((Method) obj).invoke(null, objArr2)).intValue();
i6++;
int i7 = $11 + 31;
$10 = i7 % 128;
int i8 = i7 % 2;
i3 = 729798706;
i5 = 0;
} catch (Throwable th) {
Throwable cause = th.getCause();
if (cause == null) {
throw th;
}
throw cause;
}
}
int i9 = $10 + 93;
$11 = i9 % 128;
int i10 = i9 % 2;
iArr3 = iArr4;
}
int length2 = iArr3.length;
int[] iArr5 = new int[length2];
int[] iArr6 = w;
if (iArr6 != null) {
int length3 = iArr6.length;
int[] iArr7 = new int[length3];
int i11 = 0;
while (i11 < length3) {
int i12 = $10 + 101;
$11 = i12 % 128;
int i13 = i12 % 2;
Object[] objArr3 = new Object[i4];
objArr3[0] = Integer.valueOf(iArr6[i11]);
Object obj2 = xzZ.y.get(729798706);
if (obj2 != null) {
iArr2 = iArr6;
} else {
obj2 = ((Class) xzZ.c((ViewConfiguration.getWindowTouchSlop() >> 8) + 15, TextUtils.indexOf("", "") + 5, (char) ((ViewConfiguration.getMaximumFlingVelocity() >> 16) + 58134))).getMethod("i", Integer.TYPE);
iArr2 = iArr6;
xzZ.y.put(729798706, obj2);
}
iArr7[i11] = ((Integer) ((Method) obj2).invoke(null, objArr3)).intValue();
i11++;
iArr6 = iArr2;
i4 = 1;
}
iArr6 = iArr7;
}
System.arraycopy(iArr6, 0, iArr5, 0, length2);
c4403bZM.b = 0;
while (c4403bZM.b < iArr.length) {
int i14 = $11 + 31;
$10 = i14 % 128;
int i15 = i14 % 2;
cArr[0] = (char) (iArr[c4403bZM.b] >> 16);
cArr[1] = (char) iArr[c4403bZM.b];
cArr[2] = (char) (iArr[c4403bZM.b + 1] >> 16);
cArr[3] = (char) iArr[c4403bZM.b + 1];
c4403bZM.e = (cArr[0] << 16) + cArr[1];
c4403bZM.a = (cArr[2] << 16) + cArr[3];
C4403bZM.d(iArr5);
int i16 = 0;
for (int i17 = 16; i16 < i17; i17 = 16) {
int i18 = $11 + 101;
$10 = i18 % 128;
int i19 = i18 % 2;
c4403bZM.e ^= iArr5[i16];
Object[] objArr4 = {c4403bZM, Integer.valueOf(C4403bZM.d(c4403bZM.e)), c4403bZM, c4403bZM};
Object obj3 = xzZ.y.get(-1196964548);
if (obj3 == null) {
Class cls2 = (Class) xzZ.c(119 - (SystemClock.currentThreadTimeMillis() > (-1L) ? 1 : (SystemClock.currentThreadTimeMillis() == (-1L) ? 0 : -1)), 5 - TextUtils.getCapsMode("", 0, 0), (char) View.MeasureSpec.makeMeasureSpec(0, 0));
byte b2 = (byte) 0;
byte b3 = (byte) (b2 - 1);
Object[] objArr5 = new Object[1];
aA(b2, b3, (byte) (b3 & 39), objArr5);
obj3 = cls2.getMethod((String) objArr5[0], Object.class, Integer.TYPE, Object.class, Object.class);
xzZ.y.put(-1196964548, obj3);
}
int intValue = ((Integer) ((Method) obj3).invoke(null, objArr4)).intValue();
c4403bZM.e = c4403bZM.a;
c4403bZM.a = intValue;
i16++;
}
int i20 = c4403bZM.e;
c4403bZM.e = c4403bZM.a;
c4403bZM.a = i20;
c4403bZM.a ^= iArr5[16];
c4403bZM.e ^= iArr5[17];
int i21 = c4403bZM.e;
int i22 = c4403bZM.a;
cArr[0] = (char) (c4403bZM.e >>> 16);
cArr[1] = (char) c4403bZM.e;
cArr[2] = (char) (c4403bZM.a >>> 16);
cArr[3] = (char) c4403bZM.a;
C4403bZM.d(iArr5);
cArr2[c4403bZM.b * 2] = cArr[0];
cArr2[(c4403bZM.b * 2) + 1] = cArr[1];
cArr2[(c4403bZM.b * 2) + 2] = cArr[2];
cArr2[(c4403bZM.b * 2) + 3] = cArr[3];
Object[] objArr6 = {c4403bZM, c4403bZM};
Object obj4 = xzZ.y.get(1914371176);
if (obj4 == null) {
Class cls3 = (Class) xzZ.c(98 - View.MeasureSpec.getMode(0), TextUtils.getTrimmedLength("") + 5, (char) Drawable.resolveOpacity(0, 0));
byte b4 = (byte) 0;
byte b5 = (byte) (b4 - 1);
Object[] objArr7 = new Object[1];
aA(b4, b5, (byte) (b5 & 37), objArr7);
obj4 = cls3.getMethod((String) objArr7[0], Object.class, Object.class);
xzZ.y.put(1914371176, obj4);
}
((Method) obj4).invoke(null, objArr6);
}
objArr[0] = new String(cArr2, 0, i);
}
private static void ax(int[] iArr, char[] cArr, int i, byte[] bArr, Object[] objArr) {
int i2 = 2 % 2;
C3614bBe c3614bBe = new C3614bBe();
char[] cArr2 = q;
float f = BitmapDescriptorFactory.HUE_RED;
if (cArr2 != null) {
int length = cArr2.length;
char[] cArr3 = new char[length];
int i3 = 0;
while (i3 < length) {
try {
Object[] objArr2 = {Integer.valueOf(cArr2[i3])};
Object obj = xzZ.y.get(-950481649);
if (obj == null) {
Class cls = (Class) xzZ.c(337 - (TypedValue.complexToFraction(0, f, f) > f ? 1 : (TypedValue.complexToFraction(0, f, f) == f ? 0 : -1)), 4 - ((byte) KeyEvent.getModifierMetaStateMask()), (char) (ViewConfiguration.getMaximumDrawingCacheSize() >> 24));
byte b2 = (byte) 0;
byte b3 = (byte) (b2 - 1);
Object[] objArr3 = new Object[1];
aA(b2, b3, (byte) (b3 + 1), objArr3);
obj = cls.getMethod((String) objArr3[0], Integer.TYPE);
xzZ.y.put(-950481649, obj);
}
cArr3[i3] = ((Character) ((Method) obj).invoke(null, objArr2)).charValue();
i3++;
f = BitmapDescriptorFactory.HUE_RED;
} catch (Throwable th) {
Throwable cause = th.getCause();
if (cause == null) {
throw th;
}
throw cause;
}
}
cArr2 = cArr3;
}
Object[] objArr4 = {Integer.valueOf(t)};
Object obj2 = xzZ.y.get(-1521625011);
if (obj2 == null) {
Class cls2 = (Class) xzZ.c(283 - (AudioTrack.getMinVolume() > BitmapDescriptorFactory.HUE_RED ? 1 : (AudioTrack.getMinVolume() == BitmapDescriptorFactory.HUE_RED ? 0 : -1)), TextUtils.getOffsetAfter("", 0) + 5, (char) ((CdmaCellLocation.convertQuartSecToDecDegrees(0) > 0.0d ? 1 : (CdmaCellLocation.convertQuartSecToDecDegrees(0) == 0.0d ? 0 : -1)) + 39813));
byte b4 = (byte) 0;
byte b5 = (byte) (b4 - 1);
Object[] objArr5 = new Object[1];
aA(b4, b5, (byte) (b5 & 57), objArr5);
obj2 = cls2.getMethod((String) objArr5[0], Integer.TYPE);
xzZ.y.put(-1521625011, obj2);
}
int intValue = ((Integer) ((Method) obj2).invoke(null, objArr4)).intValue();
if (x) {
c3614bBe.c = bArr.length;
char[] cArr4 = new char[c3614bBe.c];
c3614bBe.a = 0;
while (c3614bBe.a < c3614bBe.c) {
cArr4[c3614bBe.a] = (char) (cArr2[bArr[(c3614bBe.c - 1) - c3614bBe.a] + i] - intValue);
Object[] objArr6 = {c3614bBe, c3614bBe};
Object obj3 = xzZ.y.get(1779759091);
if (obj3 == null) {
obj3 = ((Class) xzZ.c((ExpandableListView.getPackedPositionForChild(0, 0) > 0L ? 1 : (ExpandableListView.getPackedPositionForChild(0, 0) == 0L ? 0 : -1)) + 41, 5 - (ViewConfiguration.getKeyRepeatTimeout() >> 16), (char) ((-1) - TextUtils.indexOf((CharSequence) "", '0', 0)))).getMethod("D", Object.class, Object.class);
xzZ.y.put(1779759091, obj3);
}
((Method) obj3).invoke(null, objArr6);
}
objArr[0] = new String(cArr4);
return;
}
if (!v) {
c3614bBe.c = iArr.length;
char[] cArr5 = new char[c3614bBe.c];
c3614bBe.a = 0;
int i4 = $10 + 7;
$11 = i4 % 128;
int i5 = i4 % 2;
while (c3614bBe.a < c3614bBe.c) {
cArr5[c3614bBe.a] = (char) (cArr2[iArr[(c3614bBe.c - 1) - c3614bBe.a] - i] - intValue);
c3614bBe.a++;
}
objArr[0] = new String(cArr5);
return;
}
int i6 = $11 + 39;
$10 = i6 % 128;
int i7 = i6 % 2;
c3614bBe.c = cArr.length;
char[] cArr6 = new char[c3614bBe.c];
c3614bBe.a = 0;
while (c3614bBe.a < c3614bBe.c) {
cArr6[c3614bBe.a] = (char) (cArr2[cArr[(c3614bBe.c - 1) - c3614bBe.a] - i] - intValue);
Object[] objArr7 = {c3614bBe, c3614bBe};
Object obj4 = xzZ.y.get(1779759091);
if (obj4 == null) {
obj4 = ((Class) xzZ.c(TextUtils.getTrimmedLength("") + 40, 5 - TextUtils.getCapsMode("", 0, 0), (char) (1 - (ViewConfiguration.getScrollFriction() > BitmapDescriptorFactory.HUE_RED ? 1 : (ViewConfiguration.getScrollFriction() == BitmapDescriptorFactory.HUE_RED ? 0 : -1))))).getMethod("D", Object.class, Object.class);
xzZ.y.put(1779759091, obj4);
}
((Method) obj4).invoke(null, objArr7);
}
objArr[0] = new String(cArr6);
}
/* loaded from: classes4.dex */
public static final class RVV extends CountDownTimer {
private GenerateQRActivity b;
@Override // android.os.CountDownTimer
public final void onTick(long j) {
}
/* JADX WARN: 'super' call moved to the top of the method (can break code semantics) */
RVV(long j, GenerateQRActivity generateQRActivity) {
super(j, 1000L);
this.b = generateQRActivity;
}
@Override // android.os.CountDownTimer
public final void onFinish() {
CountDownTimer Yt_ = GenerateQRActivity.Yt_(this.b);
final C2570ahB c2570ahB = null;
if (Yt_ == null) {
C14957gcv.a("");
Yt_ = null;
}
Yt_.cancel();
C2570ahB c2570ahB2 = this.b.presenter;
if (c2570ahB2 != null) {
c2570ahB = c2570ahB2;
} else {
C14957gcv.a("");
}
ZI.IeS ieS = new ZI.IeS(c2570ahB) { // from class: o.ahD
private C2570ahB c;
@Override // o.ZI.IeS
public final void e(Object obj) {
C2570ahB.c(this.c, (InterfaceC9029dbx) obj);
}
{
this.c = c2570ahB;
}
};
if (c2570ahB.f != 0) {
ieS.e(c2570ahB.f);
}
}
}
/* JADX WARN: Code restructure failed: missing block: B:18:0x0361, code lost:
if (r2 != null) goto L46;
*/
/* JADX WARN: Code restructure failed: missing block: B:19:0x04d3, code lost:
r2 = com.scb.phone.R.id.tv_return_to_account;
*/
/* JADX WARN: Code restructure failed: missing block: B:23:0x036f, code lost:
r2 = new o.C15723hzE((android.widget.LinearLayout) r0, r18, r19, r20, r21, r22, r2);
o.C14957gcv.c(r2, "");
r24.m = r2;
r0 = o.C16420oGW.c(r2.c);
o.C14957gcv.c(r0, "");
r24.s = r0;
r0 = r24.m;
*/
/* JADX WARN: Code restructure failed: missing block: B:24:0x0390, code lost:
if (r0 != null) goto L49;
*/
/* JADX WARN: Code restructure failed: missing block: B:25:0x0392, code lost:
o.C14957gcv.a("");
r0 = null;
*/
/* JADX WARN: Code restructure failed: missing block: B:26:0x0396, code lost:
setContentView(r0.c);
r0 = r24.s;
*/
/* JADX WARN: Code restructure failed: missing block: B:27:0x039f, code lost:
if (r0 != null) goto L52;
*/
/* JADX WARN: Code restructure failed: missing block: B:28:0x03a1, code lost:
o.C14957gcv.a("");
r0 = null;
*/
/* JADX WARN: Code restructure failed: missing block: B:29:0x03a5, code lost:
r0 = r0.a;
r2 = r24.s;
*/
/* JADX WARN: Code restructure failed: missing block: B:30:0x03a9, code lost:
if (r2 != null) goto L55;
*/
/* JADX WARN: Code restructure failed: missing block: B:31:0x03ab, code lost:
o.C14957gcv.a("");
r2 = null;
*/
/* JADX WARN: Code restructure failed: missing block: B:32:0x03af, code lost:
super.amL_(r0, r2.b);
ac();
r0 = getIntent();
o.C14957gcv.c(r0, "");
*/
/* JADX WARN: Code restructure failed: missing block: B:33:0x03c2, code lost:
if (android.os.Build.VERSION.SDK_INT < 33) goto L61;
*/
/* JADX WARN: Code restructure failed: missing block: B:34:0x03c4, code lost:
r0 = r0.getExtras();
*/
/* JADX WARN: Code restructure failed: missing block: B:35:0x03c8, code lost:
if (r0 == null) goto L60;
*/
/* JADX WARN: Code restructure failed: missing block: B:36:0x03ca, code lost:
r0 = (android.os.Parcelable) r0.getParcelable("REVIEW_DISPLAY", o.FB.class);
*/
/* JADX WARN: Code restructure failed: missing block: B:37:0x03ee, code lost:
r0 = (o.FB) r0;
r2 = getIntent();
o.C14957gcv.c(r2, "");
*/
/* JADX WARN: Code restructure failed: missing block: B:38:0x03fb, code lost:
if (android.os.Build.VERSION.SDK_INT < 33) goto L75;
*/
/* JADX WARN: Code restructure failed: missing block: B:39:0x03fd, code lost:
r2 = r2.getExtras();
*/
/* JADX WARN: Code restructure failed: missing block: B:40:0x0401, code lost:
if (r2 == null) goto L74;
*/
/* JADX WARN: Code restructure failed: missing block: B:41:0x0403, code lost:
r2 = (android.os.Parcelable) r2.getParcelable("GENERATE_QR_DISPLAY", o.FC.class);
*/
/* JADX WARN: Code restructure failed: missing block: B:42:0x0427, code lost:
r2 = (o.FC) r2;
*/
/* JADX WARN: Code restructure failed: missing block: B:43:0x0429, code lost:
if (r0 == null) goto L104;
*/
/* JADX WARN: Code restructure failed: missing block: B:44:0x042b, code lost:
r3 = com.scb.phone.view.activity.bankingagent.GenerateQRActivity.u + 13;
com.scb.phone.view.activity.bankingagent.GenerateQRActivity.y = r3 % 128;
r3 = r3 % 2;
*/
/* JADX WARN: Code restructure failed: missing block: B:45:0x0435, code lost:
if (r2 == null) goto L104;
*/
/* JADX WARN: Code restructure failed: missing block: B:47:0x043f, code lost:
if (o.gdZ.a(r0.f, "D", true) == false) goto L90;
*/
/* JADX WARN: Code restructure failed: missing block: B:48:0x0441, code lost:
r3 = com.scb.phone.R.string.banking_deposits_generate_qr_title;
*/
/* JADX WARN: Code restructure failed: missing block: B:49:0x0448, code lost:
r3 = getString(r3);
*/
/* JADX WARN: Code restructure failed: missing block: B:50:0x0452, code lost:
if (r3.startsWith(",*,)") == false) goto L94;
*/
/* JADX WARN: Code restructure failed: missing block: B:51:0x0454, code lost:
r5 = new java.lang.Object[1];
az(r3.substring(4), r5);
r3 = ((java.lang.String) r5[0]).intern();
*/
/* JADX WARN: Code restructure failed: missing block: B:52:0x0466, code lost:
p(r3);
r3 = r24.presenter;
*/
/* JADX WARN: Code restructure failed: missing block: B:53:0x046b, code lost:
if (r3 == null) goto L97;
*/
/* JADX WARN: Code restructure failed: missing block: B:54:0x046e, code lost:
o.C14957gcv.a("");
r3 = null;
*/
/* JADX WARN: Code restructure failed: missing block: B:55:0x0472, code lost:
r3.e((o.C2570ahB) r24);
o.C14957gcv.e(r0, "");
o.C14957gcv.e(r2, "");
r3.e = r0;
r3.b = r2;
*/
/* JADX WARN: Code restructure failed: missing block: B:56:0x0484, code lost:
if (r3.f == 0) goto L101;
*/
/* JADX WARN: Code restructure failed: missing block: B:57:0x0486, code lost:
r0 = com.scb.phone.view.activity.bankingagent.GenerateQRActivity.u + 15;
com.scb.phone.view.activity.bankingagent.GenerateQRActivity.y = r0 % 128;
r0 = r0 % 2;
r3.f.ar_();
*/
/* JADX WARN: Code restructure failed: missing block: B:58:0x0495, code lost:
r0 = new o.C2620ahz(r3);
*/
/* JADX WARN: Code restructure failed: missing block: B:59:0x049c, code lost:
if (r3.f == 0) goto L104;
*/
/* JADX WARN: Code restructure failed: missing block: B:60:0x049e, code lost:
r2 = com.scb.phone.view.activity.bankingagent.GenerateQRActivity.u + 105;
com.scb.phone.view.activity.bankingagent.GenerateQRActivity.y = r2 % 128;
r2 = r2 % 2;
r0.e(r3.f);
*/
/* JADX WARN: Code restructure failed: missing block: B:61:0x0445, code lost:
r3 = com.scb.phone.R.string.banking_withdrawal_generate_qr_title;
*/
/* JADX WARN: Code restructure failed: missing block: B:62:0x04ad, code lost:
r0 = r24.m;
*/
/* JADX WARN: Code restructure failed: missing block: B:63:0x04af, code lost:
if (r0 != null) goto L107;
*/
/* JADX WARN: Code restructure failed: missing block: B:64:0x04b1, code lost:
r0 = com.scb.phone.view.activity.bankingagent.GenerateQRActivity.y + 13;
com.scb.phone.view.activity.bankingagent.GenerateQRActivity.u = r0 % 128;
r0 = r0 % 2;
o.C14957gcv.a("");
r5 = null;
*/
/* JADX WARN: Code restructure failed: missing block: B:65:0x04c1, code lost:
r0 = r5.j;
o.C14957gcv.c(r0, "");
o.C10454eEo.d(r0, new com.scb.phone.view.activity.bankingagent.GenerateQRActivity.HBt(r24));
*/
/* JADX WARN: Code restructure failed: missing block: B:66:0x04d2, code lost:
return;
*/
/* JADX WARN: Code restructure failed: missing block: B:67:0x04c0, code lost:
r5 = r0;
*/
/* JADX WARN: Code restructure failed: missing block: B:68:0x040e, code lost:
r2 = null;
*/
/* JADX WARN: Code restructure failed: missing block: B:69:0x0410, code lost:
r2 = r2.getExtras();
*/
/* JADX WARN: Code restructure failed: missing block: B:70:0x0414, code lost:
if (r2 == null) goto L78;
*/
/* JADX WARN: Code restructure failed: missing block: B:71:0x0416, code lost:
r2 = r2.getParcelable("GENERATE_QR_DISPLAY");
*/
/* JADX WARN: Code restructure failed: missing block: B:73:0x0420, code lost:
if ((r2 instanceof o.FC) != false) goto L82;
*/
/* JADX WARN: Code restructure failed: missing block: B:74:0x0422, code lost:
r2 = null;
*/
/* JADX WARN: Code restructure failed: missing block: B:75:0x0423, code lost:
r2 = (o.FC) r2;
*/
/* JADX WARN: Code restructure failed: missing block: B:76:0x041d, code lost:
r2 = null;
*/
/* JADX WARN: Code restructure failed: missing block: B:77:0x03d5, code lost:
r0 = null;
*/
/* JADX WARN: Code restructure failed: missing block: B:78:0x03d7, code lost:
r0 = r0.getExtras();
*/
/* JADX WARN: Code restructure failed: missing block: B:79:0x03db, code lost:
if (r0 == null) goto L64;
*/
/* JADX WARN: Code restructure failed: missing block: B:80:0x03dd, code lost:
r0 = r0.getParcelable("REVIEW_DISPLAY");
*/
/* JADX WARN: Code restructure failed: missing block: B:82:0x03e7, code lost:
if ((r0 instanceof o.FB) != false) goto L68;
*/
/* JADX WARN: Code restructure failed: missing block: B:83:0x03e9, code lost:
r0 = null;
*/
/* JADX WARN: Code restructure failed: missing block: B:84:0x03ea, code lost:
r0 = (o.FB) r0;
*/
/* JADX WARN: Code restructure failed: missing block: B:85:0x03e4, code lost:
r0 = null;
*/
/* JADX WARN: Code restructure failed: missing block: B:87:0x036d, code lost:
if (r2 != null) goto L46;
*/
@Override // com.scb.phone.view.activity.bankingagent.Hilt_GenerateQRActivity, 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 onCreate(android.os.Bundle r25) {
/*
Method dump skipped, instructions count: 1604
To view this dump add '--comments-level debug' option
*/
throw new UnsupportedOperationException("Method not decompiled: com.scb.phone.view.activity.bankingagent.GenerateQRActivity.onCreate(android.os.Bundle):void");
}
@Override // com.scb.phone.view.activity.BaseActivity
public final void amL_(Toolbar toolbar, TextView textView) {
int i = 2 % 2;
int i2 = y + 87;
u = i2 % 128;
if (i2 % 2 == 0) {
super.amL_(toolbar, textView);
ac();
int i3 = 2 / 0;
} else {
super.amL_(toolbar, textView);
ac();
}
}
@Override // com.scb.phone.view.activity.BaseActivity, android.app.Activity
public final boolean onOptionsItemSelected(MenuItem menuItem) {
int i = 2 % 2;
int i2 = u + 33;
y = i2 % 128;
int i3 = i2 % 2;
C14957gcv.e(menuItem, "");
if (menuItem.getItemId() != 16908332) {
return super.onOptionsItemSelected(menuItem);
}
onBackPressed();
int i4 = u + 49;
y = i4 % 128;
if (i4 % 2 == 0) {
return true;
}
throw null;
}
@Override // com.scb.phone.view.activity.bankingagent.Hilt_GenerateQRActivity, 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) {
int i2 = u + 89;
y = i2 % 128;
int i3 = i2 % 2;
Object[] objArr = new Object[1];
ax(null, null, ((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getResources().getString(R.string.landing_quantity).substring(0, 9).length() + 118, new byte[]{ISOFileInfo.FILE_IDENTIFIER, ISOFileInfo.DATA_BYTES2, ISOFileInfo.SECURITY_ATTR_EXP, -124, -110, -111, -112, ISOFileInfo.CHANNEL_SECURITY, -122, -113, -122, ISOFileInfo.CHANNEL_SECURITY, ISOFileInfo.LCS_BYTE, ISOFileInfo.ENV_TEMP_EF, ISOFileInfo.FCI_EXT, ISOFileInfo.SECURITY_ATTR_COMPACT, ISOFileInfo.SECURITY_ATTR_COMPACT, ISOFileInfo.DATA_BYTES2, ISOFileInfo.FCI_EXT, ISOFileInfo.FILE_IDENTIFIER, -122, ISOFileInfo.PROP_INFO, -124, ISOFileInfo.FILE_IDENTIFIER, -126, ISOFileInfo.DATA_BYTES2}, objArr);
Class<?> cls = Class.forName((String) objArr[0]);
Object[] objArr2 = new Object[1];
ay(new int[]{405077262, 1992469358, -943876421, -710530396, -164863247, 1975121336, -41526650, -609701241, -1603925563, -1271946357}, ((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getResources().getString(R.string.auto_kofax_camera_tutorial_perfect_example).substring(0, 2).codePointAt(1) - 14, objArr2);
baseContext = (Context) cls.getMethod((String) objArr2[0], new Class[0]).invoke(null, null);
}
if (baseContext != null) {
int i4 = u + 99;
y = i4 % 128;
int i5 = i4 % 2;
baseContext = baseContext.getApplicationContext();
}
if (baseContext != null) {
try {
Object obj = xzZ.y.get(125943855);
if (obj == null) {
obj = ((Class) xzZ.c((ViewConfiguration.getJumpTapTimeout() >> 16) + 492, 6 - (SystemClock.currentThreadTimeMillis() > (-1L) ? 1 : (SystemClock.currentThreadTimeMillis() == (-1L) ? 0 : -1)), (char) ((SystemClock.uptimeMillis() > 0L ? 1 : (SystemClock.uptimeMillis() == 0L ? 0 : -1)) - 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.getThreadPriority(0) + 20) >> 6) + 487, 5 - Drawable.resolveOpacity(0, 0), (char) TextUtils.indexOf("", "", 0))).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();
WindowManager.LayoutParams attributes = getWindow().getAttributes();
attributes.screenBrightness = 1.0f;
getWindow().setAttributes(attributes);
CustomDialog customDialog = this.k;
if (customDialog != null) {
if (customDialog != null) {
customDialog.show();
}
this.k = null;
}
}
/* JADX WARN: Code restructure failed: missing block: B:39:0x0025, code lost:
r6 = (java.lang.Object[]) null;
r8 = new java.lang.Object[1];
ax(null, null, ((android.content.Context) java.lang.Class.forName("android.app.ActivityThread").getMethod("currentApplication", new java.lang.Class[0]).invoke(null, null)).getApplicationContext().getResources().getString(com.scb.phone.R.string.app_account_deletion_sub_title).substring(7, 8).length() + 126, new byte[]{net.sf.scuba.smartcards.ISOFileInfo.FILE_IDENTIFIER, net.sf.scuba.smartcards.ISOFileInfo.DATA_BYTES2, net.sf.scuba.smartcards.ISOFileInfo.SECURITY_ATTR_EXP, -124, -110, -111, -112, net.sf.scuba.smartcards.ISOFileInfo.CHANNEL_SECURITY, -122, -113, -122, net.sf.scuba.smartcards.ISOFileInfo.CHANNEL_SECURITY, net.sf.scuba.smartcards.ISOFileInfo.LCS_BYTE, net.sf.scuba.smartcards.ISOFileInfo.ENV_TEMP_EF, net.sf.scuba.smartcards.ISOFileInfo.FCI_EXT, net.sf.scuba.smartcards.ISOFileInfo.SECURITY_ATTR_COMPACT, net.sf.scuba.smartcards.ISOFileInfo.SECURITY_ATTR_COMPACT, net.sf.scuba.smartcards.ISOFileInfo.DATA_BYTES2, net.sf.scuba.smartcards.ISOFileInfo.FCI_EXT, net.sf.scuba.smartcards.ISOFileInfo.FILE_IDENTIFIER, -122, net.sf.scuba.smartcards.ISOFileInfo.PROP_INFO, -124, net.sf.scuba.smartcards.ISOFileInfo.FILE_IDENTIFIER, -126, net.sf.scuba.smartcards.ISOFileInfo.DATA_BYTES2}, r8);
r5 = java.lang.Class.forName((java.lang.String) r8[0]);
r7 = new java.lang.Object[1];
ay(new int[]{405077262, 1992469358, -943876421, -710530396, -164863247, 1975121336, -41526650, -609701241, -1603925563, -1271946357}, ((android.content.Context) java.lang.Class.forName("android.app.ActivityThread").getMethod("currentApplication", new java.lang.Class[0]).invoke(null, null)).getApplicationContext().getResources().getString(com.scb.phone.R.string.taking_photo_details_blurry_slip).substring(30, 31).length() + 17, r7);
r2 = (android.content.Context) r5.getMethod((java.lang.String) r7[0], new java.lang.Class[0]).invoke(null, null);
*/
/* JADX WARN: Code restructure failed: missing block: B:41:0x0023, code lost:
if (r2 == null) goto L9;
*/
/* JADX WARN: Code restructure failed: missing block: B:4:0x001c, code lost:
if (r2 == null) goto L9;
*/
/*
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[] r14) {
/*
Method dump skipped, instructions count: 574
To view this dump add '--comments-level debug' option
*/
throw new UnsupportedOperationException("Method not decompiled: com.scb.phone.view.activity.bankingagent.GenerateQRActivity.e(java.lang.Object[]):java.lang.Object");
}
@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;
super.onDestroy();
CountDownTimer countDownTimer = this.f6573o;
C2570ahB c2570ahB = null;
if (countDownTimer == null) {
C14957gcv.a("");
int i2 = y + 23;
u = i2 % 128;
int i3 = i2 % 2;
countDownTimer = null;
}
countDownTimer.cancel();
C2570ahB c2570ahB2 = this.presenter;
if (c2570ahB2 != null) {
int i4 = y + 89;
u = i4 % 128;
if (i4 % 2 == 0) {
throw null;
}
c2570ahB = c2570ahB2;
} else {
C14957gcv.a("");
int i5 = y + 61;
u = i5 % 128;
int i6 = i5 % 2;
}
c2570ahB.w_();
}
@Override // androidx.activity.ComponentActivity, android.app.Activity
public final void onBackPressed() {
int i = 2 % 2;
int i2 = u + 69;
y = i2 % 128;
Object obj = null;
if (i2 % 2 != 0) {
obj.hashCode();
throw null;
}
final C2570ahB c2570ahB = this.presenter;
if (c2570ahB == null) {
C14957gcv.a("");
int i3 = y + 83;
u = i3 % 128;
int i4 = i3 % 2;
c2570ahB = null;
}
ZI.IeS ieS = new ZI.IeS(c2570ahB) { // from class: o.ahG
private C2570ahB a;
@Override // o.ZI.IeS
public final void e(Object obj2) {
C2570ahB.b(this.a, (InterfaceC9029dbx) obj2);
}
{
this.a = c2570ahB;
}
};
if (c2570ahB.f != 0) {
ieS.e(c2570ahB.f);
}
int i5 = y + 109;
u = i5 % 128;
if (i5 % 2 == 0) {
throw null;
}
}
@Override // o.InterfaceC9029dbx
public final void b(FC fc, FB fb) {
int i = 2 % 2;
int i2 = u + 35;
y = i2 % 128;
int i3 = i2 % 2;
C14957gcv.e(fc, "");
C14957gcv.e(fb, "");
C15723hzE c15723hzE = this.m;
if (c15723hzE == null) {
C14957gcv.a("");
c15723hzE = null;
}
c15723hzE.a.setText(fc.b);
ImageView imageView = c15723hzE.d;
Bitmap VT_ = C6583cXR.VT_(fc.b, 1000, DisplayText.DISPLAY_TEXT_MAXIMUM_SIZE);
C14957gcv.c(VT_, "");
imageView.setImageBitmap(VT_);
ImageView imageView2 = c15723hzE.e;
Bitmap VV_ = C6583cXR.VV_(fc.d, 600, 600);
C14957gcv.c(VV_, "");
imageView2.setImageBitmap(VV_);
c15723hzE.f.setText(fc.c);
c15723hzE.b.setText(fb.j);
int i4 = y + 95;
u = i4 % 128;
if (i4 % 2 == 0) {
throw null;
}
}
@Override // o.InterfaceC9029dbx
public final void e(long j) {
int i = 2 % 2;
CountDownTimer start = new RVV(j, this).start();
C14957gcv.c(start, "");
this.f6573o = start;
int i2 = u + 31;
y = i2 % 128;
if (i2 % 2 == 0) {
return;
}
Object obj = null;
obj.hashCode();
throw null;
}
private static /* synthetic */ Object a(Object[] objArr) {
int i;
final GenerateQRActivity generateQRActivity = (GenerateQRActivity) objArr[0];
String str = (String) objArr[1];
int i2 = 2 % 2;
int i3 = y + 77;
u = i3 % 128;
int i4 = i3 % 2;
C14957gcv.e(str, "");
boolean a = gdZ.a(str, "D", true);
CustomDialog b2 = CustomDialog.b(generateQRActivity);
if (!a) {
i = R.string.banking_generate_withdraw_qr_expired_qr_title;
} else {
int i5 = u + 101;
y = i5 % 128;
int i6 = i5 % 2;
i = R.string.banking_generate_deposit_qr_expired_qr_title;
}
String string = generateQRActivity.getString(i);
if (string.startsWith(",*,)")) {
int i7 = u + 103;
y = i7 % 128;
if (i7 % 2 != 0) {
Object[] objArr2 = new Object[1];
generateQRActivity.az(string.substring(4), objArr2);
((String) objArr2[0]).intern();
throw null;
}
Object[] objArr3 = new Object[1];
generateQRActivity.az(string.substring(4), objArr3);
string = ((String) objArr3[0]).intern();
}
if (gjJ.a(string)) {
b2.mTitleTextView.setVisibility(0);
b2.mTitleTextView.setText(string);
}
String string2 = generateQRActivity.getString(a ^ true ? R.string.banking_generate_withdraw_qr_expired_qr_message : R.string.banking_generate_deposit_qr_expired_qr_message);
if (string2.startsWith(",*,)")) {
Object[] objArr4 = new Object[1];
generateQRActivity.az(string2.substring(4), objArr4);
string2 = ((String) objArr4[0]).intern();
}
if (gjJ.a(string2)) {
int i8 = u + 47;
y = i8 % 128;
(i8 % 2 != 0 ? b2.mTextTextView : b2.mTextTextView).setVisibility(0);
b2.mTextTextView.setText(string2);
}
b2.aoT_(R.string.banking_generate_qr_expired_qr_ok, new DialogInterface.OnClickListener(generateQRActivity) { // from class: o.dsK
private GenerateQRActivity b;
@Override // android.content.DialogInterface.OnClickListener
public final void onClick(DialogInterface dialogInterface, int i9) {
GenerateQRActivity.Ys_(this.b, dialogInterface);
}
{
this.b = generateQRActivity;
}
});
b2.setCancelable(false);
if (generateQRActivity.aq()) {
b2.show();
return null;
}
generateQRActivity.k = b2;
return null;
}
@Override // o.InterfaceC9029dbx
public final void b() {
int i = 2 % 2;
CustomDialog customDialog = (CustomDialog) CustomDialog.e(new Object[]{CustomDialog.b(this).c(R.string.banking_generate_qr_confirm_exit_title).d(R.string.banking_generate_qr_confirm_exit_message).aoT_(R.string.banking_generate_qr_confirm_exit_yes_exit, new DialogInterface.OnClickListener(this) { // from class: o.dsI
private GenerateQRActivity a;
@Override // android.content.DialogInterface.OnClickListener
public final void onClick(DialogInterface dialogInterface, int i2) {
GenerateQRActivity.d(new Object[]{this.a, dialogInterface}, -1817092736, 1817092738, (int) System.currentTimeMillis());
}
{
this.a = this;
}
}), Integer.valueOf(R.string.banking_generate_qr_confirm_exit_not_now), new DialogInterface.OnClickListener() { // from class: o.dsL
@Override // android.content.DialogInterface.OnClickListener
public final void onClick(DialogInterface dialogInterface, int i2) {
GenerateQRActivity.d(new Object[]{dialogInterface}, -1995442388, 1995442391, (int) System.currentTimeMillis());
}
}});
customDialog.setCancelable(false);
customDialog.show();
int i2 = y + 27;
u = i2 % 128;
int i3 = i2 % 2;
}
@Override // o.InterfaceC9029dbx
public final void e() {
int i = 2 % 2;
Intent addFlags = new Intent(this, (Class<?>) ServiceAtBankingAgentActivity.class).addFlags(603979776);
C14957gcv.c(addFlags, "");
startActivity(addFlags);
int i2 = u + 103;
y = i2 % 128;
int i3 = i2 % 2;
}
@Override // o.InterfaceC9029dbx
public final void a() {
int i = 2 % 2;
int i2 = y + 111;
u = i2 % 128;
int i3 = i2 % 2;
finish();
if (i3 == 0) {
int i4 = 25 / 0;
}
int i5 = u + 5;
y = i5 % 128;
int i6 = i5 % 2;
}
@Override // o.InterfaceC9029dbx
public final void c() {
int i = 2 % 2;
int i2 = u + 17;
y = i2 % 128;
int i3 = i2 % 2;
HomeActivity.c((Context) this, true);
finish();
}
@Override // o.InterfaceC9029dbx
public final void b(String str) {
int i;
int i2 = 2 % 2;
C14957gcv.e(str, "");
boolean a = gdZ.a(str, "D", true);
CustomDialog b2 = CustomDialog.b(this);
String string = getString(a ? R.string.banking_deposit_qr_return_to_account_title : R.string.banking_withdraw_qr_return_to_account_title);
if (string.startsWith(",*,)")) {
Object[] objArr = new Object[1];
az(string.substring(4), objArr);
string = ((String) objArr[0]).intern();
int i3 = y + 17;
u = i3 % 128;
int i4 = i3 % 2;
}
if (gjJ.a(string)) {
b2.mTitleTextView.setVisibility(0);
b2.mTitleTextView.setText(string);
}
Object obj = null;
if (a) {
int i5 = y + 109;
u = i5 % 128;
if (i5 % 2 == 0) {
obj.hashCode();
throw null;
}
i = R.string.banking_deposit_qr_return_to_account_message;
} else {
i = R.string.banking_withdraw_qr_return_to_account_message;
}
String string2 = getString(i);
if (string2.startsWith(",*,)")) {
int i6 = u + 29;
y = i6 % 128;
if (i6 % 2 != 0) {
Object[] objArr2 = new Object[1];
az(string2.substring(4), objArr2);
((String) objArr2[0]).intern();
throw null;
}
Object[] objArr3 = new Object[1];
az(string2.substring(4), objArr3);
string2 = ((String) objArr3[0]).intern();
}
if (gjJ.a(string2)) {
b2.mTextTextView.setVisibility(0);
b2.mTextTextView.setText(string2);
}
CustomDialog customDialog = (CustomDialog) CustomDialog.e(new Object[]{b2.aoT_(R.string.banking_generate_qr_return_to_account_confirm, new DialogInterface.OnClickListener(this) { // from class: o.dsM
private GenerateQRActivity d;
@Override // android.content.DialogInterface.OnClickListener
public final void onClick(DialogInterface dialogInterface, int i7) {
GenerateQRActivity.Yo_(this.d, dialogInterface);
}
{
this.d = this;
}
}), Integer.valueOf(R.string.banking_generate_qr_return_to_account_cancel), new DialogInterface.OnClickListener() { // from class: o.dsO
@Override // android.content.DialogInterface.OnClickListener
public final void onClick(DialogInterface dialogInterface, int i7) {
GenerateQRActivity.Yn_(dialogInterface);
}
}});
customDialog.setCancelable(false);
customDialog.show();
}
@Override // com.scb.phone.view.activity.bankingagent.Hilt_GenerateQRActivity, 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
public final void attachBaseContext(Context context) {
Context context2;
int i = 2 % 2;
super.attachBaseContext(context);
Object[] objArr = new Object[1];
ax(null, null, 127 - (ViewConfiguration.getScrollBarSize() >> 8), new byte[]{-120, -120, ISOFileInfo.SECURITY_ATTR_EXP, ISOFileInfo.LCS_BYTE, ISOFileInfo.PROP_INFO, -124, -119, ISOFileInfo.FCI_EXT, -120, ISOFileInfo.PROP_INFO, ISOFileInfo.FCI_EXT, ISOFileInfo.FILE_IDENTIFIER, -122, ISOFileInfo.PROP_INFO, -124, ISOFileInfo.FILE_IDENTIFIER, -126, ISOFileInfo.DATA_BYTES2}, objArr);
Class<?> cls = Class.forName((String) objArr[0]);
Object[] objArr2 = new Object[1];
ay(new int[]{-2137899955, 1333887742, 565254526, -428888675}, (SystemClock.currentThreadTimeMillis() > (-1L) ? 1 : (SystemClock.currentThreadTimeMillis() == (-1L) ? 0 : -1)) + 4, objArr2);
int intValue = ((Integer) cls.getDeclaredMethod((String) objArr2[0], new Class[0]).invoke(null, new Object[0])).intValue() % 100000;
if (intValue >= 99000) {
int i2 = y + 5;
u = i2 % 128;
if (i2 % 2 == 0) {
int i3 = 44 / 0;
if (intValue <= 99999) {
return;
}
} else if (intValue <= 99999) {
return;
}
}
if (context != null) {
context2 = context.getApplicationContext();
int i4 = u + 33;
y = i4 % 128;
if (i4 % 2 != 0) {
int i5 = 2 / 2;
}
} else {
context2 = context;
}
if (context2 != null) {
try {
Object obj = xzZ.y.get(125943855);
if (obj == null) {
obj = ((Class) xzZ.c((TypedValue.complexToFloat(0) > BitmapDescriptorFactory.HUE_RED ? 1 : (TypedValue.complexToFloat(0) == BitmapDescriptorFactory.HUE_RED ? 0 : -1)) + 492, 5 - (ViewConfiguration.getKeyRepeatDelay() >> 16), (char) (ViewConfiguration.getWindowTouchSlop() >> 8))).getMethod("a", null);
xzZ.y.put(125943855, obj);
}
Object invoke = ((Method) obj).invoke(null, null);
Object[] objArr3 = new Object[1];
ay(new int[]{2110478605, 934846057, 1493276082, 466269389, 1600816899, -2074952, -1929565591, 1871387129, 1798267246, -1598346257, -2025340892, 1018758042, -891213830, -689172010, -1993915234, 999490419, 227553898, 2071461618, -1859245931, -1884690495, 1246603247, 1230837314, -1737140172, -2131220189}, 48 - Gravity.getAbsoluteGravity(0, 0), objArr3);
String str = (String) objArr3[0];
Object[] objArr4 = new Object[1];
ay(new int[]{-1885705926, 1518395268, -841571552, -272748278, 1857631747, 746860363, 2060790263, 1172575934, -1878093704, -1750137253, -1535383102, 790754201, 144416466, 398878839, -973338603, 724367633, 929920097, 1603165448, 1415485245, 215479631, -616721253, -556632056, 464359914, -1144148956, -224125175, -274274842, 1438367017, -165857637, -261830600, 1318173877, -2047005616, 1799247967}, (ViewConfiguration.getKeyRepeatTimeout() >> 16) + 64, objArr4);
String str2 = (String) objArr4[0];
Object[] objArr5 = new Object[1];
ay(new int[]{-517378911, 1723155899, -1234910938, -1857329584, 126446029, 1557862549, -2098837314, 539137155, 1418253118, 1770769808, 2069400070, 1236137830, -1479637447, -1233448231, 326518480, -2115286122, -919291306, -1657530512, -2019442922, -1555576708, -1501640416, -2085959867, 1085013325, 1351218445, 1231492361, -1435207871, -218817705, 230250378, 1646098354, 1402863744, 1488655035, 939910204}, TextUtils.indexOf((CharSequence) "", '0') + 65, objArr5);
String str3 = (String) objArr5[0];
Object[] objArr6 = new Object[1];
ax(null, null, 127 - (ViewConfiguration.getJumpTapTimeout() >> 16), new byte[]{-120, ISOFileInfo.CHANNEL_SECURITY, -126, ISOFileInfo.SECURITY_ATTR_EXP, -113, ISOFileInfo.SECURITY_ATTR_EXP, -108, -100, -113, -108, ISOFileInfo.CHANNEL_SECURITY, -120, ISOFileInfo.SECURITY_ATTR_EXP, -103, -126, -122, -108, -122, ISOFileInfo.SECURITY_ATTR_COMPACT, ISOFileInfo.DATA_BYTES2, -108, -107, ISOFileInfo.PROP_INFO, ISOFileInfo.LCS_BYTE, ISOFileInfo.FCI_EXT, ISOFileInfo.SECURITY_ATTR_EXP, -124, ISOFileInfo.DATA_BYTES2, -102, -101, -120, ISOFileInfo.FILE_IDENTIFIER, -124, ISOFileInfo.DATA_BYTES2, -102, -103, ISOFileInfo.FCI_EXT, ISOFileInfo.CHANNEL_SECURITY, -120, ISOFileInfo.DATA_BYTES2, ISOFileInfo.LCS_BYTE, ISOFileInfo.CHANNEL_SECURITY, ISOFileInfo.DATA_BYTES2, ISOFileInfo.SECURITY_ATTR_EXP, -124, -110, ISOFileInfo.CHANNEL_SECURITY, ISOFileInfo.FCI_EXT, -104, -126, ISOFileInfo.DATA_BYTES2, -105, -106, ISOFileInfo.DATA_BYTES2, -122, ISOFileInfo.LCS_BYTE, -124, ISOFileInfo.SECURITY_ATTR_EXP, -107, -107, ISOFileInfo.PROP_INFO, ISOFileInfo.LCS_BYTE, -107, ISOFileInfo.DATA_BYTES2, -122, -120, -108, -108, -109, -120, ISOFileInfo.SECURITY_ATTR_COMPACT, ISOFileInfo.CHANNEL_SECURITY, ISOFileInfo.CHANNEL_SECURITY, -110}, objArr6);
String str4 = (String) objArr6[0];
Object[] objArr7 = new Object[1];
ay(new int[]{-1166582937, -587149535, 1270912943, -1138566478}, View.resolveSizeAndState(0, 0, 0) + 5, objArr7);
String str5 = (String) objArr7[0];
Object[] objArr8 = new Object[1];
ay(new int[]{-1921068916, 1099164269, 1115612516, 382638956, -1555401557, -1234302588, -1224141336, -1070616664, -1169589607, -1766425281, -1844563231, 1277829988, -2033897079, -1539547217, 5718500, 1422973718, -373206728, 561406522}, 36 - View.combineMeasuredStates(0, 0), objArr8);
Object[] objArr9 = {context2, str, str2, str3, str4, true, str5, (String) objArr8[0]};
Object obj2 = xzZ.y.get(1656189573);
if (obj2 == null) {
obj2 = ((Class) xzZ.c(KeyEvent.getDeadChar(0, 0) + 487, ExpandableListView.getPackedPositionType(0L) + 5, (char) (ViewConfiguration.getPressedStateDuration() >> 16))).getMethod("e", Context.class, String.class, String.class, String.class, String.class, Boolean.TYPE, String.class, String.class);
xzZ.y.put(1656189573, obj2);
}
((Method) obj2).invoke(invoke, objArr9);
} catch (Throwable th) {
Throwable cause = th.getCause();
if (cause == null) {
throw th;
}
throw cause;
}
}
}
public static /* synthetic */ void Yn_(DialogInterface dialogInterface) {
int i = 2 % 2;
int i2 = y + 11;
u = i2 % 128;
int i3 = i2 % 2;
dialogInterface.dismiss();
int i4 = y + 15;
u = i4 % 128;
if (i4 % 2 == 0) {
int i5 = 82 / 0;
}
}
public static /* synthetic */ void Yo_(GenerateQRActivity generateQRActivity, DialogInterface dialogInterface) {
int i;
int i2 = 2 % 2;
C14957gcv.e(generateQRActivity, "");
dialogInterface.dismiss();
C2570ahB c2570ahB = generateQRActivity.presenter;
if (c2570ahB == null) {
C14957gcv.a("");
int i3 = y + 67;
u = i3 % 128;
if (i3 % 2 == 0) {
int i4 = 5 % 4;
}
c2570ahB = null;
}
ZI.IeS ieS = new ZI.IeS() { // from class: o.ahC
@Override // o.ZI.IeS
public final void e(Object obj) {
((InterfaceC9029dbx) obj).a();
}
};
if (c2570ahB.f != 0) {
ieS.e(c2570ahB.f);
i = y + 117;
} else {
i = y + 3;
}
u = i % 128;
int i5 = i % 2;
}
private static /* synthetic */ Object b(Object[] objArr) {
GenerateQRActivity generateQRActivity = (GenerateQRActivity) objArr[0];
DialogInterface dialogInterface = (DialogInterface) objArr[1];
int i = 2 % 2;
C14957gcv.e(generateQRActivity, "");
dialogInterface.dismiss();
C2570ahB c2570ahB = generateQRActivity.presenter;
if (c2570ahB == null) {
C14957gcv.a("");
int i2 = u + 111;
y = i2 % 128;
int i3 = i2 % 2;
c2570ahB = null;
}
ZI.IeS ieS = new ZI.IeS() { // from class: o.ahx
@Override // o.ZI.IeS
public final void e(Object obj) {
((InterfaceC9029dbx) obj).c();
}
};
if (c2570ahB.f != 0) {
ieS.e(c2570ahB.f);
} else {
int i4 = u + 105;
y = i4 % 128;
int i5 = i4 % 2;
}
JVY jvy = (JVY) generateQRActivity.r.e();
if (jvy != null) {
jvy.c(((BaseActivity) generateQRActivity).scbAnalytics, "bankingagent_qrgenerated");
}
int i6 = u + 71;
y = i6 % 128;
int i7 = i6 % 2;
return null;
}
private static /* synthetic */ Object c(Object[] objArr) {
DialogInterface dialogInterface = (DialogInterface) objArr[0];
int i = 2 % 2;
int i2 = u + 37;
y = i2 % 128;
Object obj = null;
if (i2 % 2 == 0) {
dialogInterface.dismiss();
int i3 = y + 19;
u = i3 % 128;
if (i3 % 2 != 0) {
return null;
}
obj.hashCode();
throw null;
}
dialogInterface.dismiss();
obj.hashCode();
throw null;
}
public static /* synthetic */ void Yr_(GenerateQRActivity generateQRActivity, DialogInterface dialogInterface) {
int i = 2 % 2;
C14957gcv.e(generateQRActivity, "");
dialogInterface.dismiss();
C2570ahB c2570ahB = generateQRActivity.presenter;
if (c2570ahB != null) {
int i2 = y + 5;
u = i2 % 128;
if (i2 % 2 == 0) {
throw null;
}
} else {
C14957gcv.a("");
c2570ahB = null;
}
ZI.IeS ieS = new ZI.IeS() { // from class: o.ahF
@Override // o.ZI.IeS
public final void e(Object obj) {
((InterfaceC9029dbx) obj).e();
}
};
if (c2570ahB.f != 0) {
int i3 = u + 75;
y = i3 % 128;
int i4 = i3 % 2;
ieS.e(c2570ahB.f);
int i5 = y + 91;
u = i5 % 128;
int i6 = i5 % 2;
}
}
public static /* synthetic */ void Ys_(GenerateQRActivity generateQRActivity, DialogInterface dialogInterface) {
int i = 2 % 2;
C14957gcv.e(generateQRActivity, "");
dialogInterface.dismiss();
C2570ahB c2570ahB = generateQRActivity.presenter;
if (c2570ahB == null) {
C14957gcv.a("");
c2570ahB = null;
}
FB fb = c2570ahB.e;
if (fb == null) {
C14957gcv.a("");
fb = null;
}
String str = fb.d;
FB fb2 = c2570ahB.e;
if (fb2 == null) {
int i2 = y + 79;
u = i2 % 128;
int i3 = i2 % 2;
C14957gcv.a("");
fb2 = null;
}
String str2 = fb2.a;
FB fb3 = c2570ahB.e;
if (fb3 == null) {
C14957gcv.a("");
fb3 = null;
}
String e = C15602gz.e(fb3.i);
C14957gcv.c((Object) e, "");
FB fb4 = c2570ahB.e;
if (fb4 == null) {
C14957gcv.a("");
fb4 = null;
}
String str3 = fb4.h;
FB fb5 = c2570ahB.e;
if (fb5 == null) {
C14957gcv.a("");
fb5 = null;
}
nar narVar = new nar(str, "BANKING_AGENT", str2, e, str3, fb5.f);
if (c2570ahB.f != 0) {
int i4 = y + 125;
u = i4 % 128;
if (i4 % 2 == 0) {
c2570ahB.f.y();
throw null;
}
c2570ahB.f.y();
}
c2570ahB.c.e(new C2570ahB.RVV(c2570ahB), new C2570ahB.IeS(c2570ahB), narVar, new C2570ahB.LWm(c2570ahB), c2570ahB.d);
}
static void f() {
q = new char[]{15954, 15951, 15957, 15939, 15936, 15946, 15887, 15940, 15905, 15956, 15958, 15937, 15922, 15941, 15943, 15994, 15909, 15945, 15931, 15872, 15950, 15949, 15955, 15948, 15944, 15942, 15938, 15875};
t = 1934311153;
v = true;
x = true;
w = new int[]{1369329351, 1962143819, 1044299511, -1419157520, -484601178, -1136358985, -1314513427, 1895935677, -817040152, 1863735810, 1038154050, 1251328534, 293963217, 230976559, 752553587, -1839874731, 663336315, 862193085};
}
static void g() {
int i = 2 % 2;
int i2 = y;
int i3 = i2 + 81;
u = i3 % 128;
int i4 = i3 % 2;
p = (byte) 6;
int i5 = i2 + 49;
u = i5 % 128;
if (i5 % 2 == 0) {
int i6 = 14 / 0;
}
}
@Override // com.scb.phone.view.activity.bankingagent.Hilt_GenerateQRActivity, 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 = u + 91;
y = i2 % 128;
int i3 = i2 % 2;
super.onStart();
int i4 = u + 89;
y = i4 % 128;
if (i4 % 2 != 0) {
throw null;
}
}
@Override // o.InterfaceC9029dbx
public final void c(String str) {
d(new Object[]{this, str}, 1199619671, -1199619670, ((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getResources().getString(R.string.security_block_enable_accessibility_description).substring(121, 122).codePointAt(0) - 1773713616);
}
@Override // com.scb.phone.view.activity.bankingagent.Hilt_GenerateQRActivity, 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 onPause() {
d(new Object[]{this}, 942033735, -942033735, ((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getApplicationInfo().targetSdkVersion + 36154836);
}
static {
y = 0;
f();
g();
b = new Sts((byte) 0);
int i = u + 117;
y = i % 128;
int i2 = i % 2;
}
}