what-the-bank/sources/com/scb/phone/view/activity/bscanc/QRPaymentActivity.java

1405 lines
61 KiB
Java
Raw Normal View History

2024-07-27 18:17:47 +07:00
package com.scb.phone.view.activity.bscanc;
import android.content.Context;
import android.content.DialogInterface;
import android.content.Intent;
import android.graphics.Bitmap;
import android.graphics.BitmapFactory;
import android.graphics.Color;
import android.graphics.ImageFormat;
import android.media.AudioTrack;
import android.os.Bundle;
import android.os.CountDownTimer;
import android.os.Process;
import android.os.SystemClock;
import android.telephony.cdma.CdmaCellLocation;
import android.text.AndroidCharacter;
import android.text.TextUtils;
import android.util.TypedValue;
import android.view.Gravity;
import android.view.KeyEvent;
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 butterknife.BindView;
import butterknife.ButterKnife;
import butterknife.OnClick;
import com.google.android.gms.maps.model.BitmapDescriptorFactory;
import com.google.common.base.Ascii;
import com.kofax.mobile.sdk._internal.impl.extraction.kta.KtaJsonExactionHelper;
import com.scb.phone.R;
import com.scb.phone.view.activity.HomeActivity;
import com.scb.phone.view.activity.bscanc.BScanCEntryPointActivity;
import com.scb.phone.view.activity.bscanc.ManageQrToPayActivity;
import com.scb.phone.view.activity.bscanc.QRPaymentActivity;
import com.scb.phone.view.custom.common.CustomDialog;
import java.lang.reflect.Method;
import java.util.Arrays;
import net.sf.scuba.smartcards.ISO7816;
import o.C14957gcv;
import o.C2710ajj;
import o.C4403bZM;
import o.C6583cXR;
import o.EnumC8951daY;
import o.FK;
import o.InterfaceC13391fZD;
import o.InterfaceC8993dbN;
import o.TVH;
import o.ZI;
import o.gcH;
import o.gjJ;
import o.xzZ;
import okhttp3.internal.http2.Http2Connection;
import org.bouncycastle.crypto.tls.CipherSuite;
/* loaded from: classes4.dex */
public final class QRPaymentActivity extends Hilt_QRPaymentActivity implements InterfaceC8993dbN.RVV {
public static final LWm k;
private static int p;
private static int[] r;
private static char[] t;
@BindView
public ImageView imgQR;
private CountDownTimer l;
private FK m;
/* renamed from: o, reason: collision with root package name */
private String f6600o;
@InterfaceC13391fZD
public C2710ajj presenter;
private CustomDialog q;
@BindView
public TextView tvExpiryDateTime;
@BindView
public TextView tvRemainingLimit;
@BindView
public TextView tvValidDuration;
private static final byte[] $$p = {Ascii.ESC, 74, ISO7816.INS_UPDATE_RECORD, 124};
private static final int $$q = 42;
private static int $10 = 0;
private static int $11 = 1;
private static int s = 1;
/* JADX WARN: Removed duplicated region for block: B:10:0x0028 */
/* JADX WARN: Removed duplicated region for block: B:7:0x0020 */
/* JADX WARN: Unsupported multi-entry loop pattern (BACK_EDGE: B:10:0x0028 -> B:4:0x002c). 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 aC(byte r6, byte r7, short r8, java.lang.Object[] r9) {
/*
int r6 = r6 + 4
int r8 = 104 - r8
int r7 = r7 * 2
int r0 = 1 - r7
byte[] r1 = com.scb.phone.view.activity.bscanc.QRPaymentActivity.$$p
byte[] r0 = new byte[r0]
r2 = 0
int r7 = 0 - r7
if (r1 != 0) goto L15
r8 = r6
r4 = r7
r3 = r2
goto L2c
L15:
r3 = r2
r5 = r8
r8 = r6
r6 = r5
L19:
byte r4 = (byte) r6
r0[r3] = r4
int r8 = r8 + 1
if (r3 != r7) goto L28
java.lang.String r6 = new java.lang.String
r6.<init>(r0, r2)
r9[r2] = r6
return
L28:
int r3 = r3 + 1
r4 = r1[r8]
L2c:
int r6 = r6 + r4
goto L19
*/
throw new UnsupportedOperationException("Method not decompiled: com.scb.phone.view.activity.bscanc.QRPaymentActivity.aC(byte, byte, short, java.lang.Object[]):void");
}
public static /* synthetic */ Object c(Object[] objArr, int i, int i2, int i3) {
int i4 = (i * CipherSuite.TLS_DH_DSS_WITH_AES_256_GCM_SHA384) + (i2 * (-163));
int i5 = ~i3;
int i6 = i4 + (((~(i5 | i2)) | i) * (-328)) + ((i | i3) * CipherSuite.TLS_DH_DSS_WITH_AES_128_GCM_SHA256);
int i7 = ~i;
int i8 = ~i2;
int i9 = i6 + (((~(i | i5 | i2)) | (~(i3 | i8)) | (~(i7 | i8))) * CipherSuite.TLS_DH_DSS_WITH_AES_128_GCM_SHA256);
if (i9 == 1) {
return b(objArr);
}
if (i9 != 2) {
if (i9 != 3) {
return a(objArr);
}
QRPaymentActivity qRPaymentActivity = (QRPaymentActivity) objArr[0];
int i10 = 2 % 2;
CountDownTimer start = new Sts(qRPaymentActivity, ((Number) objArr[1]).intValue()).start();
C14957gcv.c(start, "");
qRPaymentActivity.l = start;
int i11 = p + 45;
s = i11 % 128;
int i12 = i11 % 2;
return null;
}
QRPaymentActivity qRPaymentActivity2 = (QRPaymentActivity) objArr[0];
int i13 = 2 % 2;
int i14 = s + 15;
p = i14 % 128;
int i15 = i14 % 2;
Context baseContext = qRPaymentActivity2.getBaseContext();
if (baseContext == null) {
int i16 = p + 113;
s = i16 % 128;
int i17 = i16 % 2;
Object[] objArr2 = new Object[1];
aA(new int[]{2114021867, 1672283951, 545588148, 124160293, -1999257369, -2142266642, -1628797288, -908232069, -174585308, 1378818792, -1710649192, -485553405, -254124334, -1165047554}, 26 - KeyEvent.normalizeMetaState(0), objArr2);
Class<?> cls = Class.forName((String) objArr2[0]);
Object[] objArr3 = new Object[1];
aA(new int[]{-842395016, 590579428, -78740927, -1849202699, -1779415870, -2050387900, 1855185006, -85112993, 786101639, -1956178103}, ((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getResources().getString(R.string.hml_summary_request_amount_value).substring(0, 5).codePointAt(2) - 18, objArr3);
baseContext = (Context) cls.getMethod((String) objArr3[0], new Class[0]).invoke(null, null);
}
if (baseContext != null) {
baseContext = baseContext.getApplicationContext();
}
if (baseContext != null) {
try {
Object obj = xzZ.y.get(125943855);
if (obj == null) {
obj = ((Class) xzZ.c((ViewConfiguration.getEdgeSlop() >> 16) + 492, View.MeasureSpec.getMode(0) + 5, (char) (TypedValue.complexToFraction(0, BitmapDescriptorFactory.HUE_RED, BitmapDescriptorFactory.HUE_RED) > BitmapDescriptorFactory.HUE_RED ? 1 : (TypedValue.complexToFraction(0, BitmapDescriptorFactory.HUE_RED, BitmapDescriptorFactory.HUE_RED) == BitmapDescriptorFactory.HUE_RED ? 0 : -1)))).getMethod("a", null);
xzZ.y.put(125943855, obj);
}
Object invoke = ((Method) obj).invoke(null, null);
Object[] objArr4 = {baseContext};
Object obj2 = xzZ.y.get(1378719468);
if (obj2 == null) {
obj2 = ((Class) xzZ.c(ImageFormat.getBitsPerPixel(0) + 488, 5 - (Process.myTid() >> 22), (char) (Color.rgb(0, 0, 0) + Http2Connection.OKHTTP_CLIENT_WINDOW_SIZE))).getMethod(KtaJsonExactionHelper.OBJECT, Context.class);
xzZ.y.put(1378719468, obj2);
}
((Method) obj2).invoke(invoke, objArr4);
int i18 = s + 47;
p = i18 % 128;
if (i18 % 2 != 0) {
int i19 = 4 % 5;
}
} catch (Throwable th) {
Throwable cause = th.getCause();
if (cause != null) {
throw cause;
}
throw th;
}
}
super.onResume();
WindowManager.LayoutParams attributes = qRPaymentActivity2.getWindow().getAttributes();
attributes.screenBrightness = 1.0f;
qRPaymentActivity2.getWindow().setAttributes(attributes);
return null;
}
public static final /* synthetic */ CountDownTimer YN_(QRPaymentActivity qRPaymentActivity) {
int i = 2 % 2;
int i2 = s;
int i3 = i2 + 71;
p = i3 % 128;
int i4 = i3 % 2;
CountDownTimer countDownTimer = qRPaymentActivity.l;
int i5 = i2 + 107;
p = i5 % 128;
int i6 = i5 % 2;
return countDownTimer;
}
/* loaded from: classes4.dex */
public static final class LWm {
private LWm() {
}
public /* synthetic */ LWm(byte b) {
this();
}
}
/* loaded from: classes4.dex */
public static final class Sts extends CountDownTimer {
private QRPaymentActivity 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) */
Sts(QRPaymentActivity qRPaymentActivity, long j) {
super(j, 1000L);
this.b = qRPaymentActivity;
}
@Override // android.os.CountDownTimer
public final void onFinish() {
CountDownTimer YN_ = QRPaymentActivity.YN_(this.b);
C2710ajj c2710ajj = null;
if (YN_ == null) {
C14957gcv.a("");
YN_ = null;
}
YN_.cancel();
C2710ajj c2710ajj2 = this.b.presenter;
if (c2710ajj2 != null) {
c2710ajj = c2710ajj2;
} else {
C14957gcv.a("");
}
ZI.IeS ieS = new ZI.IeS() { // from class: o.aji
@Override // o.ZI.IeS
public final void e(Object obj) {
((InterfaceC8993dbN.RVV) obj).e();
}
};
if (c2710ajj.f != 0) {
ieS.e(c2710ajj.f);
}
}
}
private static void aA(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 = r;
int i3 = 729798706;
int i4 = 1;
int i5 = 0;
if (iArr3 != null) {
int length = iArr3.length;
int[] iArr4 = new int[length];
int i6 = $11 + 107;
$10 = i6 % 128;
int i7 = i6 % 2;
int i8 = 0;
while (i8 < length) {
try {
Object[] objArr2 = new Object[1];
objArr2[i5] = Integer.valueOf(iArr3[i8]);
Object obj = xzZ.y.get(Integer.valueOf(i3));
if (obj == null) {
Class cls = (Class) xzZ.c(Color.green(i5) + 15, (ViewConfiguration.getGlobalActionKeyTimeout() > 0L ? 1 : (ViewConfiguration.getGlobalActionKeyTimeout() == 0L ? 0 : -1)) + 4, (char) (TextUtils.indexOf("", "", i5) + 58134));
Class<?>[] clsArr = new Class[1];
clsArr[i5] = Integer.TYPE;
obj = cls.getMethod("i", clsArr);
xzZ.y.put(729798706, obj);
}
iArr4[i8] = ((Integer) ((Method) obj).invoke(null, objArr2)).intValue();
i8++;
i3 = 729798706;
i5 = 0;
} catch (Throwable th) {
Throwable cause = th.getCause();
if (cause == null) {
throw th;
}
throw cause;
}
}
iArr3 = iArr4;
}
int length2 = iArr3.length;
int[] iArr5 = new int[length2];
int[] iArr6 = r;
char c = '0';
if (iArr6 != null) {
int length3 = iArr6.length;
int[] iArr7 = new int[length3];
int i9 = 0;
while (i9 < length3) {
int i10 = $11 + 5;
$10 = i10 % 128;
int i11 = i10 % 2;
Object[] objArr3 = new Object[i4];
objArr3[0] = Integer.valueOf(iArr6[i9]);
Object obj2 = xzZ.y.get(729798706);
if (obj2 != null) {
iArr2 = iArr6;
} else {
obj2 = ((Class) xzZ.c((Process.myPid() >> 22) + 15, '5' - AndroidCharacter.getMirror(c), (char) (Color.blue(0) + 58134))).getMethod("i", Integer.TYPE);
iArr2 = iArr6;
xzZ.y.put(729798706, obj2);
}
iArr7[i9] = ((Integer) ((Method) obj2).invoke(null, objArr3)).intValue();
i9++;
int i12 = $10 + 75;
$11 = i12 % 128;
int i13 = i12 % 2;
iArr6 = iArr2;
c = '0';
i4 = 1;
}
iArr6 = iArr7;
}
System.arraycopy(iArr6, 0, iArr5, 0, length2);
c4403bZM.b = 0;
while (c4403bZM.b < iArr.length) {
int i14 = $10 + 17;
$11 = 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 = $10 + 121;
$11 = i18 % 128;
if (i18 % 2 == 0) {
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(KeyEvent.getDeadChar(0, 0) + 118, (CdmaCellLocation.convertQuartSecToDecDegrees(0) > 0.0d ? 1 : (CdmaCellLocation.convertQuartSecToDecDegrees(0) == 0.0d ? 0 : -1)) + 5, (char) (Process.myTid() >> 22));
byte b = (byte) (-1);
byte b2 = (byte) (b + 1);
Object[] objArr5 = new Object[1];
aC(b, b2, b2, 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 += 2;
} else {
c4403bZM.e ^= iArr5[i16];
Object[] objArr6 = {c4403bZM, Integer.valueOf(C4403bZM.d(c4403bZM.e)), c4403bZM, c4403bZM};
Object obj4 = xzZ.y.get(-1196964548);
if (obj4 == null) {
Class cls3 = (Class) xzZ.c(118 - (ViewConfiguration.getMaximumFlingVelocity() >> 16), 5 - (ExpandableListView.getPackedPositionForGroup(0) > 0L ? 1 : (ExpandableListView.getPackedPositionForGroup(0) == 0L ? 0 : -1)), (char) ((-1) - TextUtils.indexOf((CharSequence) "", '0', 0)));
byte b3 = (byte) (-1);
byte b4 = (byte) (b3 + 1);
Object[] objArr7 = new Object[1];
aC(b3, b4, b4, objArr7);
obj4 = cls3.getMethod((String) objArr7[0], Object.class, Integer.TYPE, Object.class, Object.class);
xzZ.y.put(-1196964548, obj4);
}
int intValue2 = ((Integer) ((Method) obj4).invoke(null, objArr6)).intValue();
c4403bZM.e = c4403bZM.a;
c4403bZM.a = intValue2;
i16++;
}
}
int i19 = c4403bZM.e;
c4403bZM.e = c4403bZM.a;
c4403bZM.a = i19;
c4403bZM.a ^= iArr5[16];
c4403bZM.e ^= iArr5[17];
int i20 = c4403bZM.e;
int i21 = 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];
try {
Object[] objArr8 = {c4403bZM, c4403bZM};
Object obj5 = xzZ.y.get(1914371176);
if (obj5 == null) {
Class cls4 = (Class) xzZ.c(View.MeasureSpec.getMode(0) + 98, 5 - Gravity.getAbsoluteGravity(0, 0), (char) (ViewConfiguration.getFadingEdgeLength() >> 16));
byte b5 = (byte) (-1);
byte b6 = (byte) (b5 + 1);
Object[] objArr9 = new Object[1];
aC(b5, b6, (byte) (b6 + 2), objArr9);
obj5 = cls4.getMethod((String) objArr9[0], Object.class, Object.class);
xzZ.y.put(1914371176, obj5);
}
((Method) obj5).invoke(null, objArr8);
} catch (Throwable th2) {
Throwable cause2 = th2.getCause();
if (cause2 == null) {
throw th2;
}
throw cause2;
}
}
objArr[0] = new String(cArr2, 0, i);
}
@Override // com.scb.phone.view.activity.bscanc.Hilt_QRPaymentActivity, 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) {
Bundle extras;
int i = 2 % 2;
Object[] objArr = new Object[1];
aA(new int[]{2114021867, 1672283951, 545588148, 124160293, 1459287, 1666619609, 849206941, 1600605407, 611425309, 559081434}, 18 - KeyEvent.getDeadChar(0, 0), objArr);
Class<?> cls = Class.forName((String) objArr[0]);
Object[] objArr2 = new Object[1];
aB(new int[]{0, 5, 0, 4}, true, new byte[]{1, 0, 0, 0, 1}, objArr2);
FK fk = null;
int intValue = ((Integer) cls.getDeclaredMethod((String) objArr2[0], new Class[0]).invoke(null, new Object[0])).intValue() % 100000;
if (intValue < 99000 || intValue > 99999) {
Context baseContext = getBaseContext();
if (baseContext == null) {
int i2 = s + 65;
p = i2 % 128;
int i3 = i2 % 2;
Object[] objArr3 = new Object[1];
aA(new int[]{2114021867, 1672283951, 545588148, 124160293, -1999257369, -2142266642, -1628797288, -908232069, -174585308, 1378818792, -1710649192, -485553405, -254124334, -1165047554}, ((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getApplicationInfo().targetSdkVersion - 8, objArr3);
Class<?> cls2 = Class.forName((String) objArr3[0]);
Object[] objArr4 = new Object[1];
aA(new int[]{-842395016, 590579428, -78740927, -1849202699, -1779415870, -2050387900, 1855185006, -85112993, 786101639, -1956178103}, ((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getPackageName().codePointAt(8) - 94, objArr4);
baseContext = (Context) cls2.getMethod((String) objArr4[0], new Class[0]).invoke(null, null);
}
if (baseContext != null) {
baseContext = baseContext.getApplicationContext();
}
if (baseContext != null) {
int i4 = p + 47;
s = i4 % 128;
int i5 = i4 % 2;
try {
Object obj = xzZ.y.get(125943855);
if (obj == null) {
obj = ((Class) xzZ.c(491 - ((byte) KeyEvent.getModifierMetaStateMask()), 5 - (ViewConfiguration.getMinimumFlingVelocity() >> 16), (char) ExpandableListView.getPackedPositionType(0L))).getMethod("a", null);
xzZ.y.put(125943855, obj);
}
Object invoke = ((Method) obj).invoke(null, null);
Object[] objArr5 = new Object[1];
aB(new int[]{5, 48, 0, 45}, false, new byte[]{0, 1, 0, 1, 1, 1, 1, 1, 1, 0, 1, 1, 1, 0, 1, 1, 0, 1, 1, 1, 0, 1, 0, 1, 0, 0, 0, 1, 1, 0, 0, 1, 1, 1, 1, 1, 0, 0, 0, 1, 0, 0, 1, 1, 1, 1, 0, 1}, objArr5);
String str = (String) objArr5[0];
Object[] objArr6 = new Object[1];
aB(new int[]{53, 64, 109, 47}, true, new byte[]{1, 1, 0, 1, 1, 1, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1, 0, 1, 1, 1, 1, 0, 1, 1, 1, 1, 1, 1, 1, 1, 0, 1, 0, 1, 0, 0, 0, 1, 0, 0, 1, 0, 0, 1, 1, 0, 1, 0, 0, 1, 0, 0, 1, 0, 1, 0, 1, 1, 1, 0, 1, 0, 0, 0}, objArr6);
String str2 = (String) objArr6[0];
Object[] objArr7 = new Object[1];
aB(new int[]{117, 64, 0, 34}, false, new byte[]{1, 1, 0, 0, 1, 0, 0, 1, 1, 0, 0, 1, 1, 0, 1, 1, 1, 1, 1, 1, 1, 0, 0, 1, 1, 0, 0, 1, 1, 1, 0, 1, 1, 0, 0, 1, 0, 1, 0, 0, 0, 0, 1, 1, 0, 0, 1, 0, 0, 0, 1, 1, 0, 0, 1, 1, 1, 1, 1, 1, 0, 1, 1, 0}, objArr7);
String str3 = (String) objArr7[0];
Object[] objArr8 = new Object[1];
aA(new int[]{45604835, -566493308, 709767002, 15451970, -998076316, 1379717740, -1954024471, 781668244, 1560018014, 307579149, -1835637571, 990295638, -1357236946, 326130803, -1204568519, -1986118808, -696497443, 269067895, -2109895143, -972431435, -1623977606, -1755076338, -1020858862, 1191534466, -2106846913, -1486183370, -972786382, -1660096277, 897573762, -569657955, 1458619487, 410712217, 1766871328, 1594182320, -1022264461, 136098381, 315233679, -1199341265}, ((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getResources().getString(R.string.single_form_omnibus_not_have_pay_account_disclaimer).substring(90, 91).length() + 73, objArr8);
String str4 = (String) objArr8[0];
Object[] objArr9 = new Object[1];
aB(new int[]{CipherSuite.TLS_DHE_PSK_WITH_NULL_SHA384, 5, 94, 1}, true, null, objArr9);
String str5 = (String) objArr9[0];
Object[] objArr10 = new Object[1];
aA(new int[]{-1494911042, -251802955, -1229022772, -1603790352, -1861008156, 1212339340, 730493831, -1441663880, 681152153, -874413438, -2072716966, -1006089751, 526979623, 178279766, 1172990046, -462248401, 1885220909, -2079997805}, ((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getResources().getString(R.string.limit_sample_value).substring(0, 7).codePointAt(4) - 12, objArr10);
Object[] objArr11 = {baseContext, str, str2, str3, str4, true, str5, (String) objArr10[0]};
Object obj2 = xzZ.y.get(1656189573);
if (obj2 == null) {
obj2 = ((Class) xzZ.c(View.combineMeasuredStates(0, 0) + 487, 6 - (SystemClock.elapsedRealtime() > 0L ? 1 : (SystemClock.elapsedRealtime() == 0L ? 0 : -1)), (char) ((ExpandableListView.getPackedPositionForChild(0, 0) > 0L ? 1 : (ExpandableListView.getPackedPositionForChild(0, 0) == 0L ? 0 : -1)) + 1))).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, objArr11);
} catch (Throwable th) {
Throwable cause = th.getCause();
if (cause == null) {
throw th;
}
throw cause;
}
}
}
super.onCreate(bundle);
setContentView(R.layout.2131558453);
ButterKnife.Dg_(this);
Intent intent = getIntent();
if (intent != null && (extras = intent.getExtras()) != null) {
FK fk2 = (FK) extras.getParcelable("EXTRAS_BSCANC_ENTRY_POINT_DISPLAY");
if (fk2 != null) {
C14957gcv.c(fk2, "");
this.m = fk2;
}
this.f6600o = extras.getString("EXTRAS_SUCCESS_MESSAGE");
}
super.Z();
setTitle(R.string.qr_payment_title);
ac();
YO_();
C2710ajj c2710ajj = this.presenter;
if (c2710ajj == null) {
C14957gcv.a("");
c2710ajj = null;
}
c2710ajj.e((C2710ajj) this);
C2710ajj c2710ajj2 = this.presenter;
if (c2710ajj2 == null) {
C14957gcv.a("");
c2710ajj2 = null;
}
final FK fk3 = this.m;
if (fk3 == null) {
C14957gcv.a("");
fk3 = null;
}
final Bitmap YO_ = YO_();
final String str6 = this.f6600o;
C14957gcv.e(fk3, "");
C14957gcv.e(YO_, "");
ZI.IeS ieS = new ZI.IeS(YO_, fk3, str6) { // from class: o.ajo
private Bitmap c;
private String d;
private FK e;
@Override // o.ZI.IeS
public final void e(Object obj3) {
C2710ajj.Vc_(this.c, this.e, this.d, (InterfaceC8993dbN.RVV) obj3);
}
{
this.c = YO_;
this.e = fk3;
this.d = str6;
}
};
if (c2710ajj2.f != 0) {
int i6 = s + 31;
p = i6 % 128;
if (i6 % 2 != 0) {
ieS.e(c2710ajj2.f);
fk.hashCode();
throw null;
}
ieS.e(c2710ajj2.f);
}
C2710ajj c2710ajj3 = this.presenter;
if (c2710ajj3 == null) {
C14957gcv.a("");
c2710ajj3 = null;
}
FK fk4 = this.m;
if (fk4 == null) {
C14957gcv.a("");
} else {
fk = fk4;
}
C14957gcv.e(fk, "");
final int parseInt = (Integer.parseInt(fk.a) * 60000) - 20000;
ZI.IeS ieS2 = new ZI.IeS(parseInt) { // from class: o.ajr
private int d;
@Override // o.ZI.IeS
public final void e(Object obj3) {
((InterfaceC8993dbN.RVV) obj3).c(this.d);
}
{
this.d = parseInt;
}
};
if (c2710ajj3.f != 0) {
ieS2.e(c2710ajj3.f);
int i7 = p + 63;
s = i7 % 128;
int i8 = i7 % 2;
}
}
@Override // com.scb.phone.view.activity.BaseActivity
public final void Z() {
int i = 2 % 2;
int i2 = p + 25;
s = i2 % 128;
Object obj = null;
if (i2 % 2 != 0) {
super.Z();
setTitle(R.string.qr_payment_title);
ac();
int i3 = p + 123;
s = i3 % 128;
if (i3 % 2 != 0) {
return;
}
obj.hashCode();
throw null;
}
super.Z();
setTitle(R.string.qr_payment_title);
ac();
throw null;
}
@Override // o.InterfaceC8993dbN.RVV
public final void c(String str) {
int i = 2 % 2;
int i2 = s + 21;
p = i2 % 128;
if (i2 % 2 == 0) {
C14957gcv.e(str, "");
Xb_(this, R.id.view_group_root, str, EnumC8951daY.SUCCESS);
} else {
C14957gcv.e(str, "");
Xb_(this, R.id.view_group_root, str, EnumC8951daY.SUCCESS);
Object obj = null;
obj.hashCode();
throw null;
}
}
private final Bitmap YO_() {
int i = 2 % 2;
int i2 = s + 35;
p = i2 % 128;
FK fk = null;
if (i2 % 2 != 0) {
throw null;
}
FK fk2 = this.m;
if (fk2 == null) {
C14957gcv.a("");
} else {
fk = fk2;
}
Bitmap VZ_ = C6583cXR.VZ_(fk.c, 600, 600, BitmapFactory.decodeResource(getResources(), R.drawable.thai_qr_logo), 5.0d);
C14957gcv.c(VZ_, "");
int i3 = s + 31;
p = i3 % 128;
if (i3 % 2 != 0) {
int i4 = 68 / 0;
}
return VZ_;
}
private static void aB(int[] iArr, boolean z, byte[] bArr, Object[] objArr) {
int i;
char[] cArr;
int i2;
char[] cArr2;
int i3 = 2 % 2;
TVH tvh = new TVH();
int i4 = 0;
int i5 = iArr[0];
int i6 = 1;
int i7 = iArr[1];
int i8 = iArr[2];
int i9 = iArr[3];
char[] cArr3 = t;
int i10 = -1;
char c = '0';
if (cArr3 != null) {
int length = cArr3.length;
char[] cArr4 = new char[length];
int i11 = 0;
while (i11 < length) {
try {
Object[] objArr2 = new Object[i6];
objArr2[i4] = Integer.valueOf(cArr3[i11]);
Object obj = xzZ.y.get(1645349359);
if (obj != null) {
cArr2 = cArr3;
} else {
Class cls = (Class) xzZ.c(Color.green(i4) + 223, TextUtils.indexOf("", c, i4) + 6, (char) ((ViewConfiguration.getDoubleTapTimeout() >> 16) + 41977));
byte b = (byte) i10;
byte b2 = (byte) (b + 1);
cArr2 = cArr3;
Object[] objArr3 = new Object[1];
aC(b, b2, (byte) (b2 | 33), objArr3);
obj = cls.getMethod((String) objArr3[0], Integer.TYPE);
xzZ.y.put(1645349359, obj);
}
cArr4[i11] = ((Character) ((Method) obj).invoke(null, objArr2)).charValue();
i11++;
cArr3 = cArr2;
i4 = 0;
i6 = 1;
i10 = -1;
c = '0';
} catch (Throwable th) {
Throwable cause = th.getCause();
if (cause == null) {
throw th;
}
throw cause;
}
}
cArr3 = cArr4;
}
char[] cArr5 = new char[i7];
System.arraycopy(cArr3, i5, cArr5, 0, i7);
if (bArr != null) {
char[] cArr6 = new char[i7];
tvh.c = 0;
char c2 = 0;
while (tvh.c < i7) {
int i12 = $10 + 45;
$11 = i12 % 128;
int i13 = i12 % 2;
if (bArr[tvh.c] == 1) {
int i14 = $10 + 49;
$11 = i14 % 128;
if (i14 % 2 == 0) {
int i15 = tvh.c;
Object[] objArr4 = {Integer.valueOf(cArr5[tvh.c]), Integer.valueOf(c2)};
Object obj2 = xzZ.y.get(850398076);
if (obj2 == null) {
obj2 = ((Class) xzZ.c(502 - (KeyEvent.getMaxKeyCode() >> 16), TextUtils.lastIndexOf("", '0', 0, 0) + 6, (char) ((TypedValue.complexToFraction(0, BitmapDescriptorFactory.HUE_RED, BitmapDescriptorFactory.HUE_RED) > BitmapDescriptorFactory.HUE_RED ? 1 : (TypedValue.complexToFraction(0, BitmapDescriptorFactory.HUE_RED, BitmapDescriptorFactory.HUE_RED) == BitmapDescriptorFactory.HUE_RED ? 0 : -1)) + 54))).getMethod("F", Integer.TYPE, Integer.TYPE);
xzZ.y.put(850398076, obj2);
}
cArr6[i15] = ((Character) ((Method) obj2).invoke(null, objArr4)).charValue();
throw null;
}
int i16 = tvh.c;
try {
Object[] objArr5 = {Integer.valueOf(cArr5[tvh.c]), Integer.valueOf(c2)};
Object obj3 = xzZ.y.get(850398076);
if (obj3 == null) {
obj3 = ((Class) xzZ.c(502 - (ViewConfiguration.getJumpTapTimeout() >> 16), 6 - (ViewConfiguration.getScrollFriction() > BitmapDescriptorFactory.HUE_RED ? 1 : (ViewConfiguration.getScrollFriction() == BitmapDescriptorFactory.HUE_RED ? 0 : -1)), (char) (54 - (KeyEvent.getMaxKeyCode() >> 16)))).getMethod("F", Integer.TYPE, Integer.TYPE);
xzZ.y.put(850398076, obj3);
}
cArr6[i16] = ((Character) ((Method) obj3).invoke(null, objArr5)).charValue();
} catch (Throwable th2) {
Throwable cause2 = th2.getCause();
if (cause2 == null) {
throw th2;
}
throw cause2;
}
} else {
int i17 = tvh.c;
Object[] objArr6 = {Integer.valueOf(cArr5[tvh.c]), Integer.valueOf(c2)};
Object obj4 = xzZ.y.get(1084521042);
if (obj4 == null) {
obj4 = ((Class) xzZ.c(TextUtils.getOffsetAfter("", 0) + 15, TextUtils.lastIndexOf("", '0', 0, 0) + 6, (char) (ExpandableListView.getPackedPositionChild(0L) + 58135))).getMethod("H", Integer.TYPE, Integer.TYPE);
xzZ.y.put(1084521042, obj4);
}
cArr6[i17] = ((Character) ((Method) obj4).invoke(null, objArr6)).charValue();
int i18 = $10 + 79;
$11 = i18 % 128;
int i19 = i18 % 2;
}
c2 = cArr6[tvh.c];
try {
Object[] objArr7 = {tvh, tvh};
Object obj5 = xzZ.y.get(1698744941);
if (obj5 == null) {
Class cls2 = (Class) xzZ.c(401 - TextUtils.indexOf((CharSequence) "", '0'), 5 - (ViewConfiguration.getTouchSlop() >> 8), (char) (TextUtils.getOffsetAfter("", 0) + 21608));
byte b3 = (byte) (-1);
byte b4 = (byte) (b3 + 1);
Object[] objArr8 = new Object[1];
aC(b3, b4, (byte) (b4 | Ascii.US), objArr8);
obj5 = cls2.getMethod((String) objArr8[0], Object.class, Object.class);
xzZ.y.put(1698744941, obj5);
}
((Method) obj5).invoke(null, objArr7);
} catch (Throwable th3) {
Throwable cause3 = th3.getCause();
if (cause3 == null) {
throw th3;
}
throw cause3;
}
}
cArr5 = cArr6;
}
if (i9 > 0) {
char[] cArr7 = new char[i7];
System.arraycopy(cArr5, 0, cArr7, 0, i7);
int i20 = i7 - i9;
System.arraycopy(cArr7, 0, cArr5, i20, i9);
System.arraycopy(cArr7, i9, cArr5, 0, i20);
}
if (z) {
int i21 = $11 + 93;
$10 = i21 % 128;
if (i21 % 2 != 0) {
cArr = new char[i7];
i = 0;
} else {
i = 0;
cArr = new char[i7];
}
while (true) {
tvh.c = i;
if (tvh.c >= i7) {
break;
}
int i22 = $10 + 21;
$11 = i22 % 128;
if (i22 % 2 == 0) {
i2 = 1;
cArr[tvh.c] = cArr5[(i7 % tvh.c) >>> 1];
} else {
i2 = 1;
cArr[tvh.c] = cArr5[(i7 - tvh.c) - 1];
}
i = tvh.c + i2;
}
cArr5 = cArr;
}
if (i8 > 0) {
int i23 = 0;
while (true) {
tvh.c = i23;
if (tvh.c >= i7) {
break;
}
int i24 = $10 + 97;
$11 = i24 % 128;
int i25 = i24 % 2;
cArr5[tvh.c] = (char) (cArr5[tvh.c] - iArr[2]);
i23 = tvh.c + 1;
}
}
String str = new String(cArr5);
int i26 = $11 + 3;
$10 = i26 % 128;
if (i26 % 2 != 0) {
throw null;
}
objArr[0] = str;
}
@Override // o.InterfaceC8993dbN.RVV
public final void YP_(Bitmap bitmap) {
int i = 2 % 2;
C14957gcv.e(bitmap, "");
ImageView imageView = this.imgQR;
Object obj = null;
if (imageView != null) {
int i2 = s + 13;
p = i2 % 128;
int i3 = i2 % 2;
} else {
C14957gcv.a("");
int i4 = p + 63;
s = i4 % 128;
int i5 = i4 % 2;
imageView = null;
}
imageView.setImageBitmap(bitmap);
int i6 = p + 7;
s = i6 % 128;
if (i6 % 2 != 0) {
return;
}
obj.hashCode();
throw null;
}
@Override // o.InterfaceC8993dbN.RVV
public final void e(String str, String str2) {
int i = 2 % 2;
C14957gcv.e(str, "");
C14957gcv.e(str2, "");
TextView textView = this.tvValidDuration;
TextView textView2 = null;
if (textView != null) {
int i2 = p + 75;
int i3 = i2 % 128;
s = i3;
if (i2 % 2 == 0) {
throw null;
}
int i4 = i3 + 61;
p = i4 % 128;
int i5 = i4 % 2;
} else {
C14957gcv.a("");
textView = null;
}
textView.setText(getString(R.string.qr_payment_show_this_qr, str));
TextView textView3 = this.tvExpiryDateTime;
if (textView3 != null) {
int i6 = p + 1;
s = i6 % 128;
int i7 = i6 % 2;
textView2 = textView3;
} else {
C14957gcv.a("");
int i8 = s + 25;
p = i8 % 128;
int i9 = i8 % 2;
}
gcH gch = gcH.d;
String string = getString(R.string.qr_expired_on);
C14957gcv.c((Object) string, "");
String format = String.format(string, Arrays.copyOf(new Object[]{str2}, 1));
C14957gcv.c((Object) format, "");
textView2.setText(format);
}
@Override // o.InterfaceC8993dbN.RVV
public final void d(String str) {
int i = 2 % 2;
int i2 = s + 113;
p = i2 % 128;
int i3 = i2 % 2;
C14957gcv.e(str, "");
TextView textView = this.tvRemainingLimit;
if (textView != null) {
int i4 = s + 27;
p = i4 % 128;
int i5 = i4 % 2;
} else {
C14957gcv.a("");
textView = null;
}
textView.setText(str);
}
private static /* synthetic */ Object b(Object[] objArr) {
final QRPaymentActivity qRPaymentActivity = (QRPaymentActivity) objArr[0];
int i = 2 % 2;
int i2 = p + 111;
s = i2 % 128;
if (i2 % 2 != 0) {
CustomDialog b = CustomDialog.b(qRPaymentActivity);
String string = qRPaymentActivity.getString(R.string.qr_expired_dialog_title);
if (gjJ.a(string)) {
b.mTitleTextView.setVisibility(0);
b.mTitleTextView.setText(string);
int i3 = s + 107;
p = i3 % 128;
int i4 = i3 % 2;
}
String string2 = qRPaymentActivity.getString(R.string.qr_expired_dialog_desc);
if (gjJ.a(string2)) {
b.mTextTextView.setVisibility(0);
b.mTextTextView.setText(string2);
}
C14957gcv.c(b, "");
qRPaymentActivity.q = b;
b.aoU_(qRPaymentActivity.getString(R.string.qr_expired_dialog_ok), new DialogInterface.OnClickListener(qRPaymentActivity) { // from class: o.dtK
private QRPaymentActivity a;
@Override // android.content.DialogInterface.OnClickListener
public final void onClick(DialogInterface dialogInterface, int i5) {
QRPaymentActivity.c(new Object[]{this.a, dialogInterface}, 1837100654, -1837100654, (int) System.currentTimeMillis());
}
{
this.a = qRPaymentActivity;
}
});
CustomDialog customDialog = qRPaymentActivity.q;
if (customDialog == null) {
C14957gcv.a("");
customDialog = null;
}
customDialog.aoO_(qRPaymentActivity.getString(R.string.qr_expired_dialog_cancel), new DialogInterface.OnClickListener(qRPaymentActivity) { // from class: o.dtI
private QRPaymentActivity a;
@Override // android.content.DialogInterface.OnClickListener
public final void onClick(DialogInterface dialogInterface, int i5) {
QRPaymentActivity.YL_(this.a, dialogInterface);
}
{
this.a = qRPaymentActivity;
}
});
CustomDialog customDialog2 = qRPaymentActivity.q;
if (customDialog2 == null) {
C14957gcv.a("");
customDialog2 = null;
}
customDialog2.setCancelable(false);
CustomDialog customDialog3 = qRPaymentActivity.q;
if (customDialog3 == null) {
C14957gcv.a("");
customDialog3 = null;
}
customDialog3.show();
return null;
}
CustomDialog.b(qRPaymentActivity);
gjJ.a(qRPaymentActivity.getString(R.string.qr_expired_dialog_title));
throw null;
}
@OnClick
public final void navigateToManageQR() {
int i = 2 % 2;
int i2 = s + 107;
p = i2 % 128;
FK fk = null;
if (i2 % 2 != 0) {
ManageQrToPayActivity.RVV rvv = ManageQrToPayActivity.f6597o;
throw null;
}
ManageQrToPayActivity.RVV rvv2 = ManageQrToPayActivity.f6597o;
QRPaymentActivity qRPaymentActivity = this;
FK fk2 = this.m;
if (fk2 == null) {
C14957gcv.a("");
int i3 = p + 115;
s = i3 % 128;
int i4 = i3 % 2;
} else {
fk = fk2;
}
startActivityForResult(ManageQrToPayActivity.RVV.YJ_(qRPaymentActivity, fk.d, false), 1112);
}
@Override // com.scb.phone.view.activity.BaseActivity, com.scb.phone.view.activity.PreLoadCheckActivity, androidx.fragment.app.FragmentActivity, androidx.activity.ComponentActivity, android.app.Activity
public final void onActivityResult(int i, int i2, Intent intent) {
String str;
int i3 = 2 % 2;
int i4 = p + 101;
s = i4 % 128;
int i5 = i4 % 2;
super.onActivityResult(i, i2, intent);
if (i == 1112) {
if (intent != null) {
int i6 = p + 51;
s = i6 % 128;
int i7 = i6 % 2;
if (intent.getBooleanExtra("EXTRAS_DISPLAY_SUCCESS", false)) {
str = getString(R.string.myqr_input_success);
BScanCEntryPointActivity.HBt hBt = BScanCEntryPointActivity.b;
startActivity(BScanCEntryPointActivity.HBt.YH_(this, str));
finish();
}
}
str = null;
BScanCEntryPointActivity.HBt hBt2 = BScanCEntryPointActivity.b;
startActivity(BScanCEntryPointActivity.HBt.YH_(this, str));
finish();
}
}
@OnClick
public final void navigateToAccountSummary() {
int i = 2 % 2;
int i2 = p + 45;
s = i2 % 128;
int i3 = i2 % 2;
HomeActivity.c((Context) this, true);
int i4 = p + 57;
s = i4 % 128;
if (i4 % 2 == 0) {
throw null;
}
}
@Override // o.InterfaceC8993dbN.RVV
public final void c() {
int i = 2 % 2;
BScanCEntryPointActivity.HBt hBt = BScanCEntryPointActivity.b;
QRPaymentActivity qRPaymentActivity = this;
C14957gcv.e(qRPaymentActivity, "");
Intent intent = new Intent(qRPaymentActivity, (Class<?>) BScanCEntryPointActivity.class);
intent.putExtra("KEYS_IS_SETTING_PAGE", false);
startActivity(new Intent(intent));
finish();
int i2 = s + 37;
p = i2 % 128;
if (i2 % 2 != 0) {
throw null;
}
}
@Override // o.InterfaceC8993dbN.RVV
public final void a() {
int i = 2 % 2;
int i2 = s + 125;
p = i2 % 128;
j(i2 % 2 != 0);
}
/* JADX WARN: Code restructure failed: missing block: B:30:0x0021, code lost:
r6 = (java.lang.Object[]) null;
r6 = new java.lang.Object[1];
aA(new int[]{2114021867, 1672283951, 545588148, 124160293, -1999257369, -2142266642, -1628797288, -908232069, -174585308, 1378818792, -1710649192, -485553405, -254124334, -1165047554}, ((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.permission_location_never_ask_again).substring(23, 24).length() + 25, r6);
r1 = java.lang.Class.forName((java.lang.String) r6[0]);
r6 = new java.lang.Object[1];
aA(new int[]{-842395016, 590579428, -78740927, -1849202699, -1779415870, -2050387900, 1855185006, -85112993, 786101639, -1956178103}, android.graphics.Color.rgb(0, 0, 0) + 16777234, r6);
r1 = (android.content.Context) r1.getMethod((java.lang.String) r6[0], new java.lang.Class[0]).invoke(null, null);
*/
/* JADX WARN: Code restructure failed: missing block: B:32:0x001f, code lost:
if (r1 == null) goto L9;
*/
/* JADX WARN: Code restructure failed: missing block: B:4:0x0018, code lost:
if (r1 == null) goto L9;
*/
@Override // com.scb.phone.view.activity.bscanc.Hilt_QRPaymentActivity, 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: 396
To view this dump add '--comments-level debug' option
*/
throw new UnsupportedOperationException("Method not decompiled: com.scb.phone.view.activity.bscanc.QRPaymentActivity.onPause():void");
}
/* JADX WARN: Code restructure failed: missing block: B:12:0x001e, code lost:
r2 = r2 + 85;
com.scb.phone.view.activity.bscanc.QRPaymentActivity.p = r2 % 128;
r2 = r2 % 2;
o.C14957gcv.a("");
r1 = com.scb.phone.view.activity.bscanc.QRPaymentActivity.s + 51;
com.scb.phone.view.activity.bscanc.QRPaymentActivity.p = r1 % 128;
r1 = r1 % 2;
r1 = null;
*/
/* JADX WARN: Code restructure failed: missing block: B:14:0x001c, code lost:
if (r1 == null) goto L9;
*/
/* JADX WARN: Code restructure failed: missing block: B:4:0x0017, code lost:
if (r1 == null) goto L9;
*/
@Override // com.scb.phone.view.activity.BaseActivity, com.scb.phone.view.activity.PreLoadCheckActivity, androidx.appcompat.app.AppCompatActivity, androidx.fragment.app.FragmentActivity, android.app.Activity
/*
Code decompiled incorrectly, please refer to instructions dump.
To view partially-correct add '--show-bad-code' argument
*/
public final void onDestroy() {
/*
r6 = this;
r0 = 2
int r1 = r0 % r0
int r1 = com.scb.phone.view.activity.bscanc.QRPaymentActivity.p
int r1 = r1 + 125
int r2 = r1 % 128
com.scb.phone.view.activity.bscanc.QRPaymentActivity.s = r2
int r1 = r1 % r0
r3 = 0
java.lang.String r4 = ""
if (r1 != 0) goto L1a
android.os.CountDownTimer r1 = r6.l
r5 = 78
int r5 = r5 / 0
if (r1 != 0) goto L32
goto L1e
L1a:
android.os.CountDownTimer r1 = r6.l
if (r1 != 0) goto L32
L1e:
int r2 = r2 + 85
int r1 = r2 % 128
com.scb.phone.view.activity.bscanc.QRPaymentActivity.p = r1
int r2 = r2 % r0
o.C14957gcv.a(r4)
int r1 = com.scb.phone.view.activity.bscanc.QRPaymentActivity.s
int r1 = r1 + 51
int r2 = r1 % 128
com.scb.phone.view.activity.bscanc.QRPaymentActivity.p = r2
int r1 = r1 % r0
r1 = r3
L32:
r1.cancel()
o.ajj r0 = r6.presenter
if (r0 == 0) goto L3b
r3 = r0
goto L3e
L3b:
o.C14957gcv.a(r4)
L3e:
r3.w_()
super.onDestroy()
return
*/
throw new UnsupportedOperationException("Method not decompiled: com.scb.phone.view.activity.bscanc.QRPaymentActivity.onDestroy():void");
}
@Override // com.scb.phone.view.activity.bscanc.Hilt_QRPaymentActivity, 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];
aA(new int[]{2114021867, 1672283951, 545588148, 124160293, 1459287, 1666619609, 849206941, 1600605407, 611425309, 559081434}, (ViewConfiguration.getScrollDefaultDelay() >> 16) + 18, objArr);
Class<?> cls = Class.forName((String) objArr[0]);
Object[] objArr2 = new Object[1];
aB(new int[]{0, 5, 0, 4}, true, new byte[]{1, 0, 0, 0, 1}, objArr2);
int intValue = ((Integer) cls.getDeclaredMethod((String) objArr2[0], new Class[0]).invoke(null, new Object[0])).intValue() % 100000;
if (intValue < 99000 || intValue > 99999) {
if (context != null) {
int i2 = s + 89;
p = i2 % 128;
int i3 = i2 % 2;
context2 = context.getApplicationContext();
} else {
context2 = context;
}
if (context2 != null) {
int i4 = p + 79;
s = i4 % 128;
int i5 = i4 % 2;
try {
Object obj = xzZ.y.get(125943855);
if (obj == null) {
obj = ((Class) xzZ.c(493 - (AudioTrack.getMaxVolume() > BitmapDescriptorFactory.HUE_RED ? 1 : (AudioTrack.getMaxVolume() == BitmapDescriptorFactory.HUE_RED ? 0 : -1)), 5 - (ViewConfiguration.getWindowTouchSlop() >> 8), (char) View.combineMeasuredStates(0, 0))).getMethod("a", null);
xzZ.y.put(125943855, obj);
}
Object invoke = ((Method) obj).invoke(null, null);
Object[] objArr3 = new Object[1];
aB(new int[]{5, 48, 0, 45}, false, new byte[]{0, 1, 0, 1, 1, 1, 1, 1, 1, 0, 1, 1, 1, 0, 1, 1, 0, 1, 1, 1, 0, 1, 0, 1, 0, 0, 0, 1, 1, 0, 0, 1, 1, 1, 1, 1, 0, 0, 0, 1, 0, 0, 1, 1, 1, 1, 0, 1}, objArr3);
String str = (String) objArr3[0];
Object[] objArr4 = new Object[1];
aB(new int[]{53, 64, 109, 47}, true, new byte[]{1, 1, 0, 1, 1, 1, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1, 0, 1, 1, 1, 1, 0, 1, 1, 1, 1, 1, 1, 1, 1, 0, 1, 0, 1, 0, 0, 0, 1, 0, 0, 1, 0, 0, 1, 1, 0, 1, 0, 0, 1, 0, 0, 1, 0, 1, 0, 1, 1, 1, 0, 1, 0, 0, 0}, objArr4);
String str2 = (String) objArr4[0];
Object[] objArr5 = new Object[1];
aB(new int[]{117, 64, 0, 34}, false, new byte[]{1, 1, 0, 0, 1, 0, 0, 1, 1, 0, 0, 1, 1, 0, 1, 1, 1, 1, 1, 1, 1, 0, 0, 1, 1, 0, 0, 1, 1, 1, 0, 1, 1, 0, 0, 1, 0, 1, 0, 0, 0, 0, 1, 1, 0, 0, 1, 0, 0, 0, 1, 1, 0, 0, 1, 1, 1, 1, 1, 1, 0, 1, 1, 0}, objArr5);
String str3 = (String) objArr5[0];
Object[] objArr6 = new Object[1];
aA(new int[]{45604835, -566493308, 709767002, 15451970, -998076316, 1379717740, -1954024471, 781668244, 1560018014, 307579149, -1835637571, 990295638, -1357236946, 326130803, -1204568519, -1986118808, -696497443, 269067895, -2109895143, -972431435, -1623977606, -1755076338, -1020858862, 1191534466, -2106846913, -1486183370, -972786382, -1660096277, 897573762, -569657955, 1458619487, 410712217, 1766871328, 1594182320, -1022264461, 136098381, 315233679, -1199341265}, (ViewConfiguration.getZoomControlsTimeout() > 0L ? 1 : (ViewConfiguration.getZoomControlsTimeout() == 0L ? 0 : -1)) + 73, objArr6);
String str4 = (String) objArr6[0];
Object[] objArr7 = new Object[1];
aB(new int[]{CipherSuite.TLS_DHE_PSK_WITH_NULL_SHA384, 5, 94, 1}, true, null, objArr7);
String str5 = (String) objArr7[0];
Object[] objArr8 = new Object[1];
aA(new int[]{-1494911042, -251802955, -1229022772, -1603790352, -1861008156, 1212339340, 730493831, -1441663880, 681152153, -874413438, -2072716966, -1006089751, 526979623, 178279766, 1172990046, -462248401, 1885220909, -2079997805}, Color.blue(0) + 36, 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(487 - (ViewConfiguration.getTouchSlop() >> 8), (TypedValue.complexToFloat(0) > BitmapDescriptorFactory.HUE_RED ? 1 : (TypedValue.complexToFloat(0) == BitmapDescriptorFactory.HUE_RED ? 0 : -1)) + 5, (char) ((-1) - TextUtils.indexOf((CharSequence) "", '0', 0)))).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);
int i6 = s + 79;
p = i6 % 128;
int i7 = i6 % 2;
} catch (Throwable th) {
Throwable cause = th.getCause();
if (cause == null) {
throw th;
}
throw cause;
}
}
}
}
public static /* synthetic */ void YL_(QRPaymentActivity qRPaymentActivity, DialogInterface dialogInterface) {
int i = 2 % 2;
C14957gcv.e(qRPaymentActivity, "");
dialogInterface.dismiss();
C2710ajj c2710ajj = qRPaymentActivity.presenter;
if (c2710ajj != null) {
int i2 = p + 35;
s = i2 % 128;
int i3 = i2 % 2;
} else {
C14957gcv.a("");
c2710ajj = null;
}
ZI.IeS ieS = new ZI.IeS() { // from class: o.ajp
@Override // o.ZI.IeS
public final void e(Object obj) {
((InterfaceC8993dbN.RVV) obj).a();
}
};
if (c2710ajj.f != 0) {
int i4 = p;
int i5 = i4 + 101;
s = i5 % 128;
int i6 = i5 % 2;
int i7 = i4 + 57;
s = i7 % 128;
int i8 = i7 % 2;
ieS.e(c2710ajj.f);
}
}
private static /* synthetic */ Object a(Object[] objArr) {
QRPaymentActivity qRPaymentActivity = (QRPaymentActivity) objArr[0];
DialogInterface dialogInterface = (DialogInterface) objArr[1];
int i = 2 % 2;
C14957gcv.e(qRPaymentActivity, "");
dialogInterface.dismiss();
C2710ajj c2710ajj = qRPaymentActivity.presenter;
if (c2710ajj == null) {
C14957gcv.a("");
c2710ajj = null;
}
ZI.IeS ieS = new ZI.IeS() { // from class: o.ajl
@Override // o.ZI.IeS
public final void e(Object obj) {
((InterfaceC8993dbN.RVV) obj).c();
}
};
if (c2710ajj.f != 0) {
int i2 = p + 15;
int i3 = i2 % 128;
s = i3;
int i4 = i2 % 2;
int i5 = i3 + 71;
p = i5 % 128;
if (i5 % 2 != 0) {
ieS.e(c2710ajj.f);
throw null;
}
ieS.e(c2710ajj.f);
}
return null;
}
static void f() {
r = new int[]{696891033, 966216996, 1346788347, 1249670550, -1339742266, -833354219, -1800674380, -1153211863, 141208394, 1935058043, -171146678, -1383399648, 745305249, -873202962, -1706941547, 809477205, 888002319, 604673057};
t = new char[]{39999, 40020, 40044, 40056, 40035, 39994, 40001, 40000, 40047, 40040, 40042, 40006, 39998, 40002, 40001, 40001, 40001, 39998, 40006, 40001, 39993, 39998, 39998, 39992, 40001, 40006, 40004, 40005, 40007, 40007, 40007, 40005, 40005, 40001, 39994, 39992, 39997, 39999, 40000, 40046, 40040, 40041, 40001, 39992, 39997, 39996, 40007, 40006, 40005, 40007, 39993, 39999, 39998, 40026, 40107, 40107, 40105, 40115, 40133, 40114, 40114, 40132, 40113, 40104, 40115, 40115, 40104, 40111, 40111, 40106, 40106, 40105, 40124, 40125, 40107, 40106, 40107, 40124, 40115, 40114, 40124, 40085, 40084, 40105, 40107, 40106, 40104, 40106, 40106, 40106, 40107, 40113, 40119, 40104, 40115, 40114, 40113, 40113, 40114, 40155, 40153, 40155, 40133, 40114, 40111, 40106, 40124, 40113, 40113, 40115, 40104, 40113, 40113, 40112, 40119, 40112, 40155, 39959, 40005, 40007, 40000, 40042, 40000, 39998, 39992, 39994, 39994, 39992, 39993, 39993, 39999, 40007, 40047, 40007, 40006, 40040, 40040, 40000, 39998, 39996, 39996, 39999, 40000, 40000, 40003, 40040, 40040, 40000, 39997, 40006, 40006, 40007, 40007, 39999, 39994, 40001, 40001, 40007, 40046, 40000, 39998, 39997, 40007, 40040, 40000, 39993, 39999, 40007, 40042, 40047, 40000, 39995, 39995, 39992, 39999, 40001, 40006, 40004, 40046, 40005, 39996, 40092, 40069, 40071, 40093, 40071};
}
@Override // com.scb.phone.view.activity.bscanc.Hilt_QRPaymentActivity, 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 = p + 15;
s = i2 % 128;
int i3 = i2 % 2;
super.onStart();
int i4 = s + 101;
p = i4 % 128;
if (i4 % 2 == 0) {
return;
}
Object obj = null;
obj.hashCode();
throw null;
}
@Override // o.InterfaceC8993dbN.RVV
public final void c(int i) {
c(new Object[]{this, Integer.valueOf(i)}, -1149676778, 1149676781, i);
}
@Override // o.InterfaceC8993dbN.RVV
public final void e() {
c(new Object[]{this}, 1049516807, -1049516806, System.identityHashCode(this));
}
@Override // com.scb.phone.view.activity.bscanc.Hilt_QRPaymentActivity, 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() {
c(new Object[]{this}, -842181244, 842181246, ((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getPackageName().codePointAt(10) + 1909570694);
}
static {
p = 0;
f();
k = new LWm((byte) 0);
int i = s + 53;
p = i % 128;
if (i % 2 == 0) {
return;
}
Object obj = null;
obj.hashCode();
throw null;
}
}