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

788 lines
46 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.Intent;
import android.graphics.Color;
import android.graphics.drawable.Drawable;
import android.media.AudioTrack;
import android.os.Bundle;
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.MotionEvent;
import android.view.View;
import android.view.ViewConfiguration;
import android.widget.ExpandableListView;
import com.google.android.gms.maps.model.BitmapDescriptorFactory;
import com.kofax.mobile.sdk._internal.impl.extraction.kta.KtaJsonExactionHelper;
import com.pingan.ai.p;
import com.scb.phone.R;
import java.lang.reflect.Method;
import net.sf.scuba.smartcards.ISOFileInfo;
import o.C14217foz;
import o.C14957gcv;
import o.C17543xeP;
import o.C2719ajs;
import o.EnumC8951daY;
import o.FM;
import o.IRS;
import o.InterfaceC13391fZD;
import o.InterfaceC8995dbP;
import o.Nhs;
import o.fSQ;
import o.xzZ;
import org.bouncycastle.crypto.tls.CipherSuite;
import org.jnbis.internal.NistHelper;
/* loaded from: classes4.dex */
public final class QrToPayOtpActivity extends Hilt_QrToPayOtpActivity implements InterfaceC8995dbP {
public static final IeS b;
private static char k;
private static long l;
private static int m;
/* renamed from: o, reason: collision with root package name */
private static char[] f6602o;
private static char s;
private static int t;
@InterfaceC13391fZD
public C2719ajs presenter;
private static final byte[] $$E = {43, -66, 11, ISOFileInfo.LCS_BYTE};
private static final int $$F = 57;
private static int $10 = 0;
private static int $11 = 1;
private static int p = 1;
/* JADX WARN: Removed duplicated region for block: B:10:0x0024 */
/* JADX WARN: Removed duplicated region for block: B:7:0x001c */
/* JADX WARN: Unsupported multi-entry loop pattern (BACK_EDGE: B:10:0x0024 -> B:4:0x0026). 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 aJ(short r6, int r7, int r8, java.lang.Object[] r9) {
/*
int r7 = r7 + 114
int r8 = r8 * 3
int r8 = 1 - r8
int r6 = r6 * 2
int r6 = r6 + 4
byte[] r0 = com.scb.phone.view.activity.bscanc.QrToPayOtpActivity.$$E
byte[] r1 = new byte[r8]
r2 = 0
if (r0 != 0) goto L14
r3 = r8
r4 = r2
goto L26
L14:
r3 = r2
L15:
int r4 = r3 + 1
byte r5 = (byte) r7
r1[r3] = r5
if (r4 != r8) goto L24
java.lang.String r6 = new java.lang.String
r6.<init>(r1, r2)
r9[r2] = r6
return
L24:
r3 = r0[r6]
L26:
int r3 = -r3
int r6 = r6 + 1
int r7 = r7 + r3
r3 = r4
goto L15
*/
throw new UnsupportedOperationException("Method not decompiled: com.scb.phone.view.activity.bscanc.QrToPayOtpActivity.aJ(short, int, int, java.lang.Object[]):void");
}
public static /* synthetic */ Object b(Object[] objArr, int i, int i2, int i3) {
QrToPayOtpActivity qrToPayOtpActivity = (QrToPayOtpActivity) objArr[0];
Bundle bundle = (Bundle) objArr[1];
int i4 = 2 % 2;
int i5 = p + 47;
t = i5 % 128;
int i6 = i5 % 2;
Object[] objArr2 = new Object[1];
aI((char) ((ViewConfiguration.getMaximumFlingVelocity() >> 16) + 9524), new char[]{14926, 25562, 41190, 8919, 39942, 45633, 60169, 44841, 23334, 19354, 38313, 11, 56081, 1646, 50503, 47690, 50492, 60847}, new char[]{34637, 5969, 13334, '%'}, new char[]{40528, 19052, 36612, 2997}, Color.alpha(0), objArr2);
Class<?> cls = Class.forName((String) objArr2[0]);
Object[] objArr3 = new Object[1];
aI((char) (KeyEvent.keyCodeFromString("") + 26003), new char[]{30147, 28489, 13962, 5553, 953}, new char[]{7726, 23242, 37842, 65381}, new char[]{40528, 19052, 36612, 2997}, ((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getApplicationInfo().targetSdkVersion - 765801988, objArr3);
int intValue = ((Integer) cls.getDeclaredMethod((String) objArr3[0], new Class[0]).invoke(null, new Object[0])).intValue() % 100000;
if (intValue < 99000 || intValue > 99999) {
Context baseContext = qrToPayOtpActivity.getBaseContext();
if (baseContext == null) {
int i7 = p + 109;
t = i7 % 128;
int i8 = i7 % 2;
Object[] objArr4 = new Object[1];
aG(new char[]{16, 31, 31, '0', 21, 0, ' ', '0', 15, 31, ' ', '+', 4, 1, 21, '-', '#', '0', 22, 3, '#', 26, '0', '\n', 20, 31}, (byte) ((Process.myPid() >> 22) + 56), 27 - (SystemClock.currentThreadTimeMillis() > (-1L) ? 1 : (SystemClock.currentThreadTimeMillis() == (-1L) ? 0 : -1)), objArr4);
Class<?> cls2 = Class.forName((String) objArr4[0]);
Object[] objArr5 = new Object[1];
aI((char) (((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getApplicationInfo().targetSdkVersion + 1419), new char[]{37720, 41658, 21305, 41712, 33746, 17388, 50616, 32804, 42039, 50705, 35141, 60423, 8122, 36135, 35536, 57752, 5756, 44359}, new char[]{50261, 43596, 44454, 21765}, new char[]{40528, 19052, 36612, 2997}, ViewConfiguration.getKeyRepeatTimeout() >> 16, objArr5);
baseContext = (Context) cls2.getMethod((String) objArr5[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(491 - TextUtils.lastIndexOf("", '0'), (ViewConfiguration.getLongPressTimeout() >> 16) + 5, (char) (AudioTrack.getMinVolume() > BitmapDescriptorFactory.HUE_RED ? 1 : (AudioTrack.getMinVolume() == BitmapDescriptorFactory.HUE_RED ? 0 : -1)))).getMethod("a", null);
xzZ.y.put(125943855, obj);
}
Object invoke = ((Method) obj).invoke(null, null);
Object[] objArr6 = new Object[1];
aG(new char[]{')', 22, '\t', '&', '#', 7, 31, 19, '#', '\t', 3, 18, 30, '#', '!', 7, '#', 30, 5, 11, 31, 7, 14, '\n', '(', 26, 1, '*', 7, 14, 29, ')', '+', 1, '\b', '(', '\"', '\f', 13893, 13893, 3, 11, '\b', '*', 5, 7, 7, 11}, (byte) (((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getPackageName().codePointAt(4) - 38), 48 - (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)), objArr6);
String str = (String) objArr6[0];
Object[] objArr7 = new Object[1];
aG(new char[]{'\t', ')', 20, '\f', 16, '(', 11, '\b', '\b', '0', 5, 18, 5, 18, 22, ')', 17, '\f', '\'', 1, 5, 14, 24, 17, '!', 14, 14, 6, 0, 11, 19, '\r', 13867, 13867, '-', 15, '/', '\b', 13942, 13942, 16, '(', 18, 20, 1, '+', 16, '(', '!', '\r', '\"', 26, 5, 7, ',', '$', 7, 5, '(', '\b', 16, '(', 20, '\n'}, (byte) (Process.getGidForName("") + 127), ((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getPackageName().codePointAt(1) - 47, objArr7);
String str2 = (String) objArr7[0];
Object[] objArr8 = new Object[1];
aG(new char[]{19, '\n', 14, '\"', 14, 31, 13941, 13941, 0, 11, '\"', 7, '&', '\t', 19, '\r', 16, '&', '\"', 19, ')', 15, 25, 6, 5, 7, '\"', '\f', 19, 26, '\r', NistHelper.SEP_FS, '\t', '&', 15, '-', '.', 1, 13857, 13857, '0', 15, '*', 29, NistHelper.SEP_FS, 5, 20, '\f', ')', '\t', 5, 11, 14, '\f', 19, '\"', 14, 18, 31, 19, '/', '\b', 6, 21}, (byte) (((byte) KeyEvent.getModifierMetaStateMask()) + 119), ((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getPackageName().codePointAt(3) + 18, objArr8);
String str3 = (String) objArr8[0];
Object[] objArr9 = new Object[1];
aG(new char[]{22, 25, 22, 31, '-', '0', 13753, 13753, '-', '+', 14, '&', 7, 21, 13819, 13819, '\n', '0', 7, 0, 15, 24, '&', 16, '\"', 2, '-', 25, 24, '*', '\n', 20, 21, 3, 16, '-', 25, '-', 5, 23, 24, 3, 30, '0', '\f', 22, 24, 3, 11, '0', 7, 21, '%', 21, 15, 31, ',', 21, ',', NistHelper.SEP_FS, 6, '\t', '-', 23, 27, '%', 2, 25, 20, '0', '\t', '\"', 23, '-'}, (byte) (((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getResources().getString(R.string.gps_disabled).substring(0, 4).codePointAt(1) - 76), ((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getResources().getString(R.string.cash_rewards_eta_opr).substring(20, 21).codePointAt(0) + 42, objArr9);
String str4 = (String) objArr9[0];
Object[] objArr10 = new Object[1];
aI((char) (((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getResources().getString(R.string.etb_set_detail_concent_contactual_acknowledge).substring(CipherSuite.TLS_RSA_PSK_WITH_3DES_EDE_CBC_SHA, CipherSuite.TLS_RSA_PSK_WITH_AES_128_CBC_SHA).codePointAt(0) + 33280), new char[]{42848, 40235, 34437, 27251, 29976}, new char[]{27195, 63243, 8414, 36994}, new char[]{40528, 19052, 36612, 2997}, ((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getResources().getString(R.string.bond_review_additional_info).substring(42, 43).codePointAt(0) - 554235062, objArr10);
String str5 = (String) objArr10[0];
Object[] objArr11 = new Object[1];
aG(new char[]{'\n', 20, 3, 11, NistHelper.SEP_FS, '\r', '\r', 17, 26, 18, 27, 20, '\'', 23, 11, 3, 13794, 13794, 24, 18, ')', '\t', 4, 21, 5, 1, 3, 18, '\"', 20, 1, '*', '\b', '-', ')', '\b'}, (byte) (((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getPackageName().codePointAt(0) - 44), ((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getPackageName().codePointAt(1) - 75, objArr11);
Object[] objArr12 = {baseContext, str, str2, str3, str4, true, str5, (String) objArr11[0]};
Object obj2 = xzZ.y.get(1656189573);
if (obj2 == null) {
obj2 = ((Class) xzZ.c((ViewConfiguration.getFadingEdgeLength() >> 16) + 487, (ViewConfiguration.getPressedStateDuration() >> 16) + 5, (char) KeyEvent.keyCodeFromString(""))).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, objArr12);
qrToPayOtpActivity = qrToPayOtpActivity;
bundle = bundle;
} catch (Throwable th) {
Throwable cause = th.getCause();
if (cause != null) {
throw cause;
}
throw th;
}
}
}
super.onCreate(bundle);
C2719ajs c2719ajs = qrToPayOtpActivity.presenter;
if (c2719ajs == null) {
C14957gcv.a("");
c2719ajs = null;
}
c2719ajs.e((C2719ajs) qrToPayOtpActivity);
return null;
}
/* loaded from: classes4.dex */
public static final class IeS {
private IeS() {
}
public /* synthetic */ IeS(byte b) {
this();
}
}
@Override // com.scb.phone.view.fragment.otppin.OtpPinFragment.HBt
public final void a_(String str, String str2) {
boolean z;
int i = 2 % 2;
C14957gcv.e(str, "");
C14957gcv.e(str2, "");
C17543xeP c17543xeP = new C17543xeP(getIntent().getStringExtra("ACCOUNT_NUMBER"), getIntent().getStringExtra("QR_LIMIT"), getIntent().getStringExtra("FUNCTION"));
final C2719ajs c2719ajs = this.presenter;
if (c2719ajs == null) {
C14957gcv.a("");
int i2 = t + 9;
p = i2 % 128;
int i3 = i2 % 2;
c2719ajs = null;
}
C14957gcv.e(str, "");
C14957gcv.e(str2, "");
C14957gcv.e(c17543xeP, "");
if (c2719ajs.f != 0) {
int i4 = p + 103;
t = i4 % 128;
int i5 = i4 % 2;
z = true;
} else {
z = false;
}
if (!(!z)) {
int i6 = p + 23;
t = i6 % 128;
if (i6 % 2 != 0) {
c2719ajs.f.y();
int i7 = 44 / 0;
} else {
c2719ajs.f.y();
}
}
C14217foz c14217foz = c2719ajs.c;
C14957gcv.e(c17543xeP, "");
c14217foz.d(c14217foz.b.a(str2, str, c17543xeP), new fSQ(c2719ajs) { // from class: o.ajv
private C2719ajs d;
@Override // o.fSQ
public final void c(Object obj) {
C2719ajs.d(this.d, (C17760zYk) obj);
}
{
this.d = c2719ajs;
}
}, new fSQ(c2719ajs) { // from class: o.ajy
private C2719ajs b;
@Override // o.fSQ
public final void c(Object obj) {
C2719ajs.c(this.b, (Throwable) obj);
}
{
this.b = c2719ajs;
}
});
}
private static void aI(char c, char[] cArr, char[] cArr2, char[] cArr3, int i, Object[] objArr) {
int i2;
int i3 = 2;
int i4 = 2 % 2;
Nhs nhs = new Nhs();
int length = cArr2.length;
char[] cArr4 = new char[length];
int length2 = cArr3.length;
char[] cArr5 = new char[length2];
System.arraycopy(cArr2, 0, cArr4, 0, length);
System.arraycopy(cArr3, 0, cArr5, 0, length2);
cArr4[0] = (char) (cArr4[0] ^ c);
cArr5[2] = (char) (cArr5[2] + ((char) i));
int length3 = cArr.length;
char[] cArr6 = new char[length3];
nhs.a = 0;
while (nhs.a < length3) {
int i5 = $10 + 57;
$11 = i5 % 128;
int i6 = i5 % i3;
try {
Object[] objArr2 = {nhs};
Object obj = xzZ.y.get(263693715);
if (obj == null) {
obj = ((Class) xzZ.c((ViewConfiguration.getFadingEdgeLength() >> 16) + 45, 5 - KeyEvent.getDeadChar(0, 0), (char) TextUtils.getOffsetBefore("", 0))).getMethod("t", Object.class);
xzZ.y.put(263693715, obj);
}
int intValue = ((Integer) ((Method) obj).invoke(null, objArr2)).intValue();
Object[] objArr3 = {nhs};
Object obj2 = xzZ.y.get(-484664112);
if (obj2 == null) {
Class cls = (Class) xzZ.c((TypedValue.complexToFloat(0) > BitmapDescriptorFactory.HUE_RED ? 1 : (TypedValue.complexToFloat(0) == BitmapDescriptorFactory.HUE_RED ? 0 : -1)) + 352, AndroidCharacter.getMirror('0') - '+', (char) (52128 - Gravity.getAbsoluteGravity(0, 0)));
byte b2 = (byte) 0;
byte b3 = (byte) (b2 + 1);
Object[] objArr4 = new Object[1];
aJ(b2, b3, (byte) (b3 - 1), objArr4);
obj2 = cls.getMethod((String) objArr4[0], Object.class);
xzZ.y.put(-484664112, obj2);
}
int intValue2 = ((Integer) ((Method) obj2).invoke(null, objArr3)).intValue();
Object[] objArr5 = {nhs, Integer.valueOf(cArr4[nhs.a % 4] * 32718), Integer.valueOf(cArr5[intValue])};
Object obj3 = xzZ.y.get(430099516);
if (obj3 == null) {
obj3 = ((Class) xzZ.c(748 - (TypedValue.complexToFloat(0) > BitmapDescriptorFactory.HUE_RED ? 1 : (TypedValue.complexToFloat(0) == BitmapDescriptorFactory.HUE_RED ? 0 : -1)), TextUtils.getCapsMode("", 0, 0) + 5, (char) TextUtils.getOffsetBefore("", 0))).getMethod(p.a, Object.class, Integer.TYPE, Integer.TYPE);
xzZ.y.put(430099516, obj3);
}
((Method) obj3).invoke(null, objArr5);
Object[] objArr6 = {Integer.valueOf(cArr4[intValue2] * 32718), Integer.valueOf(cArr5[intValue])};
Object obj4 = xzZ.y.get(1019894806);
if (obj4 != null) {
i2 = 2;
} else {
Class cls2 = (Class) xzZ.c(402 - (ViewConfiguration.getDoubleTapTimeout() >> 16), 5 - ((Process.getThreadPriority(0) + 20) >> 6), (char) ((ViewConfiguration.getKeyRepeatDelay() >> 16) + 21608));
byte b4 = (byte) 0;
byte b5 = b4;
Object[] objArr7 = new Object[1];
aJ(b4, b5, b5, objArr7);
i2 = 2;
obj4 = cls2.getMethod((String) objArr7[0], Integer.TYPE, Integer.TYPE);
xzZ.y.put(1019894806, obj4);
}
cArr5[intValue2] = ((Character) ((Method) obj4).invoke(null, objArr6)).charValue();
cArr4[intValue2] = nhs.c;
cArr6[nhs.a] = (char) ((((cArr4[intValue2] ^ cArr[nhs.a]) ^ (l ^ 9051040786702654117L)) ^ ((int) (m ^ 9051040786702654117L))) ^ ((char) (k ^ 9051040786702654117L)));
nhs.a++;
int i7 = $10 + 71;
$11 = i7 % 128;
int i8 = i7 % 2;
i3 = i2;
} catch (Throwable th) {
Throwable cause = th.getCause();
if (cause == null) {
throw th;
}
throw cause;
}
}
objArr[0] = new String(cArr6);
}
@Override // o.InterfaceC8995dbP
public final void b(FM fm, String str) {
int i = 2 % 2;
C14957gcv.e(fm, "");
C14957gcv.e(str, "");
Intent intent = new Intent();
intent.putExtra("QR_BSCANC", fm);
intent.putExtra("KEY_RESPONSE_CODE", str);
setResult(-1, intent);
finish();
int i2 = t + 9;
p = i2 % 128;
if (i2 % 2 != 0) {
return;
}
Object obj = null;
obj.hashCode();
throw null;
}
@Override // o.InterfaceC8995dbP
public final void a() {
int i = 2 % 2;
int i2 = p + 71;
t = i2 % 128;
int i3 = i2 % 2;
Object obj = null;
finish();
if (i3 != 0) {
throw null;
}
int i4 = t + 85;
p = i4 % 128;
if (i4 % 2 != 0) {
return;
}
obj.hashCode();
throw null;
}
@Override // o.InterfaceC8995dbP
public final void e(String str) {
int i = 2 % 2;
int i2 = p + 41;
t = i2 % 128;
int i3 = i2 % 2;
C14957gcv.e(str, "");
Xb_(this, R.id.root_activity, str, EnumC8951daY.ERROR);
int i4 = t + 43;
p = i4 % 128;
if (i4 % 2 == 0) {
throw null;
}
}
@Override // com.scb.phone.view.activity.bscanc.Hilt_QrToPayOtpActivity, com.scb.phone.view.activity.BaseOtpActivity, o.AbstractActivityC9736dpX, 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();
Object obj = null;
if (baseContext == null) {
int i2 = t + 59;
p = i2 % 128;
int i3 = i2 % 2;
Object[] objArr = new Object[1];
aG(new char[]{16, 31, 31, '0', 21, 0, ' ', '0', 15, 31, ' ', '+', 4, 1, 21, '-', '#', '0', 22, 3, '#', 26, '0', '\n', 20, 31}, (byte) (((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getApplicationInfo().targetSdkVersion + 22), ((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getResources().getString(R.string.add_account_description_default).substring(43, 44).length() + 25, objArr);
Class<?> cls = Class.forName((String) objArr[0]);
Object[] objArr2 = new Object[1];
aI((char) (((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getPackageName().codePointAt(12) + 1352), new char[]{37720, 41658, 21305, 41712, 33746, 17388, 50616, 32804, 42039, 50705, 35141, 60423, 8122, 36135, 35536, 57752, 5756, 44359}, new char[]{50261, 43596, 44454, 21765}, new char[]{40528, 19052, 36612, 2997}, ((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getApplicationInfo().targetSdkVersion - 34, objArr2);
baseContext = (Context) cls.getMethod((String) objArr2[0], new Class[0]).invoke(null, null);
}
if (baseContext != null) {
int i4 = t + 5;
p = i4 % 128;
int i5 = i4 % 2;
baseContext = baseContext.getApplicationContext();
}
if (baseContext != null) {
try {
Object obj2 = xzZ.y.get(125943855);
if (obj2 == null) {
obj2 = ((Class) xzZ.c(492 - ExpandableListView.getPackedPositionGroup(0L), View.resolveSize(0, 0) + 5, (char) ((SystemClock.uptimeMillis() > 0L ? 1 : (SystemClock.uptimeMillis() == 0L ? 0 : -1)) - 1))).getMethod("a", null);
xzZ.y.put(125943855, obj2);
}
Object invoke = ((Method) obj2).invoke(null, null);
Object[] objArr3 = {baseContext};
Object obj3 = xzZ.y.get(1378719468);
if (obj3 == null) {
obj3 = ((Class) xzZ.c(TextUtils.getCapsMode("", 0, 0) + 487, 5 - TextUtils.indexOf("", ""), (char) (TextUtils.indexOf((CharSequence) "", '0') + 1))).getMethod(KtaJsonExactionHelper.OBJECT, Context.class);
xzZ.y.put(1378719468, obj3);
}
((Method) obj3).invoke(invoke, objArr3);
} catch (Throwable th) {
Throwable cause = th.getCause();
if (cause == null) {
throw th;
}
throw cause;
}
}
super.onResume();
int i6 = t + 119;
p = i6 % 128;
if (i6 % 2 != 0) {
return;
}
obj.hashCode();
throw null;
}
@Override // com.scb.phone.view.activity.bscanc.Hilt_QrToPayOtpActivity, com.scb.phone.view.activity.BaseOtpActivity, o.AbstractActivityC9736dpX, 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() {
int i = 2 % 2;
int i2 = t + 113;
p = i2 % 128;
int i3 = i2 % 2;
Context baseContext = getBaseContext();
Object obj = null;
if (baseContext == null) {
Object[] objArr = new Object[1];
aG(new char[]{16, 31, 31, '0', 21, 0, ' ', '0', 15, 31, ' ', '+', 4, 1, 21, '-', '#', '0', 22, 3, '#', 26, '0', '\n', 20, 31}, (byte) ((ViewConfiguration.getMaximumDrawingCacheSize() >> 24) + 56), ((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getApplicationInfo().targetSdkVersion - 8, objArr);
Class<?> cls = Class.forName((String) objArr[0]);
Object[] objArr2 = new Object[1];
aI((char) (((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getResources().getString(R.string.single_form_scbs_open_mf_and_om_checkbox).substring(4, 5).length() + 1452), new char[]{37720, 41658, 21305, 41712, 33746, 17388, 50616, 32804, 42039, 50705, 35141, 60423, 8122, 36135, 35536, 57752, 5756, 44359}, new char[]{50261, 43596, 44454, 21765}, new char[]{40528, 19052, 36612, 2997}, (ViewConfiguration.getZoomControlsTimeout() > 0L ? 1 : (ViewConfiguration.getZoomControlsTimeout() == 0L ? 0 : -1)) - 1, objArr2);
baseContext = (Context) cls.getMethod((String) objArr2[0], new Class[0]).invoke(null, null);
int i4 = p + 43;
t = i4 % 128;
int i5 = i4 % 2;
}
if (baseContext != null) {
int i6 = t + 89;
p = i6 % 128;
if (i6 % 2 == 0) {
baseContext.getApplicationContext();
throw null;
}
baseContext = baseContext.getApplicationContext();
}
if (baseContext != null) {
int i7 = t + 11;
p = i7 % 128;
try {
if (i7 % 2 == 0) {
Object obj2 = xzZ.y.get(125943855);
if (obj2 == null) {
obj2 = ((Class) xzZ.c(492 - KeyEvent.keyCodeFromString(""), 5 - View.getDefaultSize(0, 0), (char) ExpandableListView.getPackedPositionGroup(0L))).getMethod("a", null);
xzZ.y.put(125943855, obj2);
}
Object invoke = ((Method) obj2).invoke(null, null);
Object[] objArr3 = {baseContext};
Object obj3 = xzZ.y.get(1633456013);
if (obj3 == null) {
obj3 = ((Class) xzZ.c(487 - Color.green(0), 6 - (Process.getElapsedCpuTime() > 0L ? 1 : (Process.getElapsedCpuTime() == 0L ? 0 : -1)), (char) (1 - (ViewConfiguration.getScrollFriction() > BitmapDescriptorFactory.HUE_RED ? 1 : (ViewConfiguration.getScrollFriction() == BitmapDescriptorFactory.HUE_RED ? 0 : -1))))).getMethod("c", Context.class);
xzZ.y.put(1633456013, obj3);
}
((Method) obj3).invoke(invoke, objArr3);
obj.hashCode();
throw null;
}
Object obj4 = xzZ.y.get(125943855);
if (obj4 == null) {
obj4 = ((Class) xzZ.c(Process.getGidForName("") + 493, ((Process.getThreadPriority(0) + 20) >> 6) + 5, (char) (ViewConfiguration.getTouchSlop() >> 8))).getMethod("a", null);
xzZ.y.put(125943855, obj4);
}
Object invoke2 = ((Method) obj4).invoke(null, null);
Object[] objArr4 = {baseContext};
Object obj5 = xzZ.y.get(1633456013);
if (obj5 == null) {
obj5 = ((Class) xzZ.c((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)) + 487, 5 - (CdmaCellLocation.convertQuartSecToDecDegrees(0) > 0.0d ? 1 : (CdmaCellLocation.convertQuartSecToDecDegrees(0) == 0.0d ? 0 : -1)), (char) (KeyEvent.getMaxKeyCode() >> 16))).getMethod("c", Context.class);
xzZ.y.put(1633456013, obj5);
}
((Method) obj5).invoke(invoke2, objArr4);
} catch (Throwable th) {
Throwable cause = th.getCause();
if (cause == null) {
throw th;
}
throw cause;
}
}
super.onPause();
int i8 = p + 49;
t = i8 % 128;
int i9 = i8 % 2;
}
private static void aG(char[] cArr, byte b2, int i, Object[] objArr) {
int i2;
int i3 = 2 % 2;
IRS irs = new IRS();
char[] cArr2 = f6602o;
long j = 0;
float f = BitmapDescriptorFactory.HUE_RED;
int i4 = 5;
int i5 = 1;
if (cArr2 != null) {
int length = cArr2.length;
char[] cArr3 = new char[length];
int i6 = 0;
while (i6 < length) {
try {
Object[] objArr2 = new Object[i5];
objArr2[0] = Integer.valueOf(cArr2[i6]);
Object obj = xzZ.y.get(-1987398494);
if (obj == null) {
Class cls = (Class) xzZ.c(299 - (SystemClock.elapsedRealtimeNanos() > j ? 1 : (SystemClock.elapsedRealtimeNanos() == j ? 0 : -1)), (AudioTrack.getMinVolume() > f ? 1 : (AudioTrack.getMinVolume() == f ? 0 : -1)) + i4, (char) TextUtils.indexOf("", "", 0, 0));
byte b3 = (byte) 0;
byte b4 = (byte) (b3 + 3);
Object[] objArr3 = new Object[1];
aJ(b3, b4, (byte) (b4 - 3), objArr3);
obj = cls.getMethod((String) objArr3[0], Integer.TYPE);
xzZ.y.put(-1987398494, obj);
}
cArr3[i6] = ((Character) ((Method) obj).invoke(null, objArr2)).charValue();
i6++;
j = 0;
f = BitmapDescriptorFactory.HUE_RED;
i4 = 5;
i5 = 1;
} catch (Throwable th) {
Throwable cause = th.getCause();
if (cause == null) {
throw th;
}
throw cause;
}
}
cArr2 = cArr3;
}
try {
Object[] objArr4 = {Integer.valueOf(s)};
Object obj2 = xzZ.y.get(-1987398494);
if (obj2 == null) {
Class cls2 = (Class) xzZ.c((TypedValue.complexToFloat(0) > BitmapDescriptorFactory.HUE_RED ? 1 : (TypedValue.complexToFloat(0) == BitmapDescriptorFactory.HUE_RED ? 0 : -1)) + 298, 5 - (ViewConfiguration.getPressedStateDuration() >> 16), (char) View.MeasureSpec.getSize(0));
byte b5 = (byte) 0;
byte b6 = (byte) (b5 + 3);
Object[] objArr5 = new Object[1];
aJ(b5, b6, (byte) (b6 - 3), objArr5);
obj2 = cls2.getMethod((String) objArr5[0], Integer.TYPE);
xzZ.y.put(-1987398494, obj2);
}
char charValue = ((Character) ((Method) obj2).invoke(null, objArr4)).charValue();
char[] cArr4 = new char[i];
if (i % 2 != 0) {
int i7 = $11 + 1;
$10 = i7 % 128;
int i8 = i7 % 2;
i2 = i - 1;
cArr4[i2] = (char) (cArr[i2] - b2);
} else {
i2 = i;
}
if (i2 > 1) {
irs.e = 0;
while (irs.e < i2) {
int i9 = $10 + 21;
$11 = i9 % 128;
int i10 = i9 % 2;
irs.b = cArr[irs.e];
irs.c = cArr[irs.e + 1];
if (irs.b == irs.c) {
int i11 = $10 + 83;
$11 = i11 % 128;
if (i11 % 2 == 0) {
cArr4[irs.e] = (char) (irs.b + b2);
int i12 = irs.e;
cArr4[0] = (char) (irs.c + b2);
} else {
cArr4[irs.e] = (char) (irs.b - b2);
cArr4[irs.e + 1] = (char) (irs.c - b2);
}
} else {
Object[] objArr6 = {irs, irs, Integer.valueOf(charValue), irs, irs, Integer.valueOf(charValue), irs, irs, Integer.valueOf(charValue), irs, irs, Integer.valueOf(charValue), irs};
Object obj3 = xzZ.y.get(822107368);
if (obj3 == null) {
Class cls3 = (Class) xzZ.c((ViewConfiguration.getFadingEdgeLength() >> 16) + 233, Color.green(0) + 5, (char) (View.MeasureSpec.getMode(0) + 22024));
byte b7 = (byte) 0;
Object[] objArr7 = new Object[1];
aJ(b7, (byte) (b7 | 6), b7, objArr7);
obj3 = cls3.getMethod((String) objArr7[0], Object.class, Object.class, Integer.TYPE, Object.class, Object.class, Integer.TYPE, Object.class, Object.class, Integer.TYPE, Object.class, Object.class, Integer.TYPE, Object.class);
xzZ.y.put(822107368, obj3);
}
if (((Integer) ((Method) obj3).invoke(null, objArr6)).intValue() == irs.j) {
int i13 = $10 + 9;
$11 = i13 % 128;
int i14 = i13 % 2;
Object[] objArr8 = {irs, irs, Integer.valueOf(charValue), Integer.valueOf(charValue), irs, irs, Integer.valueOf(charValue), Integer.valueOf(charValue), irs, Integer.valueOf(charValue), irs};
Object obj4 = xzZ.y.get(-1152873385);
if (obj4 == null) {
Class cls4 = (Class) xzZ.c(327 - (ViewConfiguration.getScrollBarFadeDuration() >> 16), 6 - (Process.getElapsedCpuTime() > 0L ? 1 : (Process.getElapsedCpuTime() == 0L ? 0 : -1)), (char) (((byte) KeyEvent.getModifierMetaStateMask()) + 1));
byte length2 = (byte) $$E.length;
Object[] objArr9 = new Object[1];
aJ((byte) 0, length2, (byte) (length2 - 4), objArr9);
obj4 = cls4.getMethod((String) objArr9[0], Object.class, Object.class, Integer.TYPE, Integer.TYPE, Object.class, Object.class, Integer.TYPE, Integer.TYPE, Object.class, Integer.TYPE, Object.class);
xzZ.y.put(-1152873385, obj4);
}
int intValue = ((Integer) ((Method) obj4).invoke(null, objArr8)).intValue();
int i15 = (irs.d * charValue) + irs.j;
cArr4[irs.e] = cArr2[intValue];
cArr4[irs.e + 1] = cArr2[i15];
} else if (irs.a == irs.d) {
int i16 = $11 + 57;
$10 = i16 % 128;
int i17 = i16 % 2;
irs.f = ((irs.f + charValue) - 1) % charValue;
irs.j = ((irs.j + charValue) - 1) % charValue;
int i18 = (irs.a * charValue) + irs.f;
int i19 = (irs.d * charValue) + irs.j;
cArr4[irs.e] = cArr2[i18];
cArr4[irs.e + 1] = cArr2[i19];
} else {
int i20 = (irs.a * charValue) + irs.j;
int i21 = (irs.d * charValue) + irs.f;
cArr4[irs.e] = cArr2[i20];
cArr4[irs.e + 1] = cArr2[i21];
}
}
irs.e += 2;
}
}
for (int i22 = 0; i22 < i; i22++) {
int i23 = $11 + 37;
$10 = i23 % 128;
int i24 = i23 % 2;
cArr4[i22] = (char) (cArr4[i22] ^ 13722);
}
objArr[0] = new String(cArr4);
} catch (Throwable th2) {
Throwable cause2 = th2.getCause();
if (cause2 == null) {
throw th2;
}
throw cause2;
}
}
@Override // com.scb.phone.view.activity.bscanc.Hilt_QrToPayOtpActivity, com.scb.phone.view.activity.BaseOtpActivity, o.AbstractActivityC9736dpX, 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;
int i2 = t + 33;
p = i2 % 128;
int i3 = i2 % 2;
super.attachBaseContext(context);
Object[] objArr = new Object[1];
aI((char) (ExpandableListView.getPackedPositionGroup(0L) + 9524), new char[]{14926, 25562, 41190, 8919, 39942, 45633, 60169, 44841, 23334, 19354, 38313, 11, 56081, 1646, 50503, 47690, 50492, 60847}, new char[]{34637, 5969, 13334, '%'}, new char[]{40528, 19052, 36612, 2997}, MotionEvent.axisFromString("") + 1, objArr);
Class<?> cls = Class.forName((String) objArr[0]);
Object[] objArr2 = new Object[1];
aI((char) (26003 - Color.green(0)), new char[]{30147, 28489, 13962, 5553, 953}, new char[]{7726, 23242, 37842, 65381}, new char[]{40528, 19052, 36612, 2997}, (ViewConfiguration.getEdgeSlop() >> 16) - 765801954, 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 i4 = t + 27;
p = i4 % 128;
int i5 = i4 % 2;
context2 = context.getApplicationContext();
} else {
context2 = context;
}
if (context2 != null) {
int i6 = t + 125;
p = i6 % 128;
int i7 = i6 % 2;
try {
Object obj = xzZ.y.get(125943855);
if (obj == null) {
obj = ((Class) xzZ.c((ViewConfiguration.getTapTimeout() >> 16) + 492, 6 - (ViewConfiguration.getScrollFriction() > BitmapDescriptorFactory.HUE_RED ? 1 : (ViewConfiguration.getScrollFriction() == BitmapDescriptorFactory.HUE_RED ? 0 : -1)), (char) TextUtils.getOffsetBefore("", 0))).getMethod("a", null);
xzZ.y.put(125943855, obj);
}
Object invoke = ((Method) obj).invoke(null, null);
Object[] objArr3 = new Object[1];
aG(new char[]{')', 22, '\t', '&', '#', 7, 31, 19, '#', '\t', 3, 18, 30, '#', '!', 7, '#', 30, 5, 11, 31, 7, 14, '\n', '(', 26, 1, '*', 7, 14, 29, ')', '+', 1, '\b', '(', '\"', '\f', 13893, 13893, 3, 11, '\b', '*', 5, 7, 7, 11}, (byte) (77 - (ViewConfiguration.getDoubleTapTimeout() >> 16)), 48 - (ViewConfiguration.getDoubleTapTimeout() >> 16), objArr3);
String str = (String) objArr3[0];
Object[] objArr4 = new Object[1];
aG(new char[]{'\t', ')', 20, '\f', 16, '(', 11, '\b', '\b', '0', 5, 18, 5, 18, 22, ')', 17, '\f', '\'', 1, 5, 14, 24, 17, '!', 14, 14, 6, 0, 11, 19, '\r', 13867, 13867, '-', 15, '/', '\b', 13942, 13942, 16, '(', 18, 20, 1, '+', 16, '(', '!', '\r', '\"', 26, 5, 7, ',', '$', 7, 5, '(', '\b', 16, '(', 20, '\n'}, (byte) (126 - Drawable.resolveOpacity(0, 0)), TextUtils.getOffsetBefore("", 0) + 64, objArr4);
String str2 = (String) objArr4[0];
Object[] objArr5 = new Object[1];
aG(new char[]{19, '\n', 14, '\"', 14, 31, 13941, 13941, 0, 11, '\"', 7, '&', '\t', 19, '\r', 16, '&', '\"', 19, ')', 15, 25, 6, 5, 7, '\"', '\f', 19, 26, '\r', NistHelper.SEP_FS, '\t', '&', 15, '-', '.', 1, 13857, 13857, '0', 15, '*', 29, NistHelper.SEP_FS, 5, 20, '\f', ')', '\t', 5, 11, 14, '\f', 19, '\"', 14, 18, 31, 19, '/', '\b', 6, 21}, (byte) (119 - (AudioTrack.getMaxVolume() > BitmapDescriptorFactory.HUE_RED ? 1 : (AudioTrack.getMaxVolume() == BitmapDescriptorFactory.HUE_RED ? 0 : -1))), (TypedValue.complexToFloat(0) > BitmapDescriptorFactory.HUE_RED ? 1 : (TypedValue.complexToFloat(0) == BitmapDescriptorFactory.HUE_RED ? 0 : -1)) + 64, objArr5);
String str3 = (String) objArr5[0];
Object[] objArr6 = new Object[1];
aG(new char[]{22, 25, 22, 31, '-', '0', 13753, 13753, '-', '+', 14, '&', 7, 21, 13819, 13819, '\n', '0', 7, 0, 15, 24, '&', 16, '\"', 2, '-', 25, 24, '*', '\n', 20, 21, 3, 16, '-', 25, '-', 5, 23, 24, 3, 30, '0', '\f', 22, 24, 3, 11, '0', 7, 21, '%', 21, 15, 31, ',', 21, ',', NistHelper.SEP_FS, 6, '\t', '-', 23, 27, '%', 2, 25, 20, '0', '\t', '\"', 23, '-'}, (byte) (((Process.getThreadPriority(0) + 20) >> 6) + 4), (AudioTrack.getMaxVolume() > BitmapDescriptorFactory.HUE_RED ? 1 : (AudioTrack.getMaxVolume() == BitmapDescriptorFactory.HUE_RED ? 0 : -1)) + 73, objArr6);
String str4 = (String) objArr6[0];
Object[] objArr7 = new Object[1];
aI((char) ((Process.getElapsedCpuTime() > 0L ? 1 : (Process.getElapsedCpuTime() == 0L ? 0 : -1)) + 33311), new char[]{42848, 40235, 34437, 27251, 29976}, new char[]{27195, 63243, 8414, 36994}, new char[]{40528, 19052, 36612, 2997}, Color.red(0) - 554235030, objArr7);
String str5 = (String) objArr7[0];
Object[] objArr8 = new Object[1];
aG(new char[]{'\n', 20, 3, 11, NistHelper.SEP_FS, '\r', '\r', 17, 26, 18, 27, 20, '\'', 23, 11, 3, 13794, 13794, 24, 18, ')', '\t', 4, 21, 5, 1, 3, 18, '\"', 20, 1, '*', '\b', '-', ')', '\b'}, (byte) (55 - Color.blue(0)), 36 - TextUtils.getOffsetAfter("", 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((AudioTrack.getMinVolume() > BitmapDescriptorFactory.HUE_RED ? 1 : (AudioTrack.getMinVolume() == BitmapDescriptorFactory.HUE_RED ? 0 : -1)) + 487, (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)) + 5, (char) (ViewConfiguration.getJumpTapTimeout() >> 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;
}
}
}
}
static void f() {
l = 8515830395858011381L;
m = 452713125;
k = (char) 55973;
f6602o = new char[]{49104, 49098, 49108, 49138, 49025, 48168, 49112, 49034, 49090, 48160, 49031, 48172, 49035, 49110, 49116, 48171, 48173, 49106, 48174, 49029, 49027, 49115, 49119, 49052, 49095, 49054, 49094, 49028, 49024, 49091, 49117, 48161, 48169, 49109, 49111, 49118, 49026, 49105, 48170, 49107, 49127, 49093, 49114, 49030, 49088, 49089, 49053, 49033, 48175};
s = (char) 35374;
}
@Override // com.scb.phone.view.activity.bscanc.Hilt_QrToPayOtpActivity, com.scb.phone.view.activity.BaseOtpActivity, o.AbstractActivityC9736dpX, 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 = t + 121;
p = i2 % 128;
int i3 = i2 % 2;
super.onStart();
if (i3 != 0) {
return;
}
Object obj = null;
obj.hashCode();
throw null;
}
@Override // com.scb.phone.view.activity.bscanc.Hilt_QrToPayOtpActivity, com.scb.phone.view.activity.BaseOtpActivity, o.AbstractActivityC9736dpX, 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) {
b(new Object[]{this, bundle}, 1679700095, -1679700095, ((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getApplicationInfo().targetSdkVersion - 97559335);
}
static {
t = 0;
f();
b = new IeS((byte) 0);
int i = p + 97;
t = i % 128;
if (i % 2 == 0) {
return;
}
Object obj = null;
obj.hashCode();
throw null;
}
}