what-the-bank/sources/com/scb/phone/view/activity/requesttopay/EnterProxyActivity.java

700 lines
42 KiB
Java
Raw Normal View History

2024-07-27 18:17:47 +07:00
package com.scb.phone.view.activity.requesttopay;
import android.content.Context;
import android.content.Intent;
import android.graphics.Color;
import android.graphics.PointF;
import android.graphics.drawable.Drawable;
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.MenuItem;
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 com.scb.phone.view.fragment.requesttopay.EnterProxyFragment;
import java.lang.reflect.Method;
import net.sf.scuba.smartcards.ISO7816;
import o.AbstractActivityC11791elx;
import o.AbstractC13482fbE;
import o.Nhs;
import o.TVH;
import o.xzZ;
import org.bouncycastle.crypto.tls.CipherSuite;
/* loaded from: classes5.dex */
public class EnterProxyActivity extends AbstractActivityC11791elx {
private boolean k;
/* renamed from: o, reason: collision with root package name */
private EnterProxyFragment f7899o;
private static final byte[] $$g = {8, 78, -66, ISO7816.INS_PSO};
private static final int $$h = 51;
private static int $10 = 0;
private static int $11 = 1;
private static int s = 0;
private static int p = 1;
private static long l = 9051040786702654117L;
private static int m = 452713125;
private static char r = 12643;
private static char[] t = {40012, 40099, 40138, 40108, 40090, 40089, 40099, 40116, 40108, 40069, 40091, 40099, 40118, 40139, 40108, 40071, 40071, 40068, 40091, 40109, 40098, 40096, 40138, 40097, 40088, 40088, 40097, 40099, 40108, 40118, 40108, 40090, 40068, 40070, 40070, 40068, 40069, 40069, 40091, 40099, 40139, 40099, 40098, 40116, 40116, 40108, 40090, 40088, 40088, 40091, 40108, 40108, 40111, 40116, 40116, 40108, 40089, 40098, 40098, 40099, 40099, 40091, 40070, 40109, 40067, 40221, 40215, 40209, 40210, 40181, 40151, 40156, 40178, 40221, 40198, 40196, 40219, 40218, 40221, 40222, 40218, 40216, 40217, 40197, 40198, 40197, 40196, 40194, 40196, 40223, 40191, 40178, 40221, 40222, 40216, 40192, 40217, 40216, 40193, 40217, 40208, 40178, 40185, 40221, 40216, 40218, 40216, 40216, 40209, 40208, 40216, 40218, 40216, 40186, 40187, 40218, 40221, 40189, 40187, 40219, 40223, 40191, 40191, 40216, 40217, 40197, 40223, 40208, 40178, 40177, 40183, 40147, 40185, 40222, 40222, 40218, 40210, 40208, 39955, 39972, 39992, 39992, 39992};
/* JADX WARN: Removed duplicated region for block: B:10:0x0027 */
/* JADX WARN: Removed duplicated region for block: B:7:0x001f */
/* JADX WARN: Unsupported multi-entry loop pattern (BACK_EDGE: B:10:0x0027 -> 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 az(int r7, int r8, short r9, java.lang.Object[] r10) {
/*
byte[] r0 = com.scb.phone.view.activity.requesttopay.EnterProxyActivity.$$g
int r7 = r7 * 3
int r7 = 3 - r7
int r9 = r9 + 71
int r8 = r8 * 2
int r8 = 1 - r8
byte[] r1 = new byte[r8]
r2 = 0
if (r0 != 0) goto L15
r3 = r9
r5 = r2
r9 = r7
goto L2c
L15:
r3 = r2
L16:
int r7 = r7 + 1
byte r4 = (byte) r9
int r5 = r3 + 1
r1[r3] = r4
if (r5 != r8) goto L27
java.lang.String r7 = new java.lang.String
r7.<init>(r1, r2)
r10[r2] = r7
return
L27:
r3 = r0[r7]
r6 = r9
r9 = r7
r7 = r6
L2c:
int r3 = -r3
int r7 = r7 + r3
r3 = r5
r6 = r9
r9 = r7
r7 = r6
goto L16
*/
throw new UnsupportedOperationException("Method not decompiled: com.scb.phone.view.activity.requesttopay.EnterProxyActivity.az(int, int, short, java.lang.Object[]):void");
}
@Override // o.AbstractActivityC11791elx, 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 void onCreate(Bundle bundle) {
int i = 2 % 2;
int i2 = s + 107;
p = i2 % 128;
int i3 = i2 % 2;
Object[] objArr = new Object[1];
ax((char) (TextUtils.indexOf((CharSequence) "", '0') + 31246), new char[]{21111, 47356, 21497, 50416, 583, 56487, 61001, 52144, 38955, 9314, 12678, 18092, 46174, 5779, 847, 2712, 46118, 52675}, new char[]{54130, 14935, 3456, 13946}, new char[]{0, 0, 0, 0}, TextUtils.lastIndexOf("", '0') + 1, objArr);
Class<?> cls = Class.forName((String) objArr[0]);
Object[] objArr2 = new Object[1];
ax((char) (TextUtils.lastIndexOf("", '0') + 58111), new char[]{49601, 34818, 53630, 57961, 24166}, new char[]{23809, 31434, 65064, 17378}, new char[]{0, 0, 0, 0}, ((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getApplicationInfo().targetSdkVersion + 679135803, objArr2);
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 i4 = p + 51;
s = i4 % 128;
int i5 = i4 % 2;
Object[] objArr3 = new Object[1];
ax((char) (Color.red(0) + 27763), new char[]{53192, 60832, 26852, 15512, 58701, 23458, 35956, 35736, 2913, 6351, 22943, 22154, 30615, 38530, 12615, 49171, 16601, 40143, 8746, 9182, 60220, 45350, 5892, 43171, 2315, 53180}, new char[]{59849, 50592, 29455, 31084}, new char[]{0, 0, 0, 0}, View.resolveSizeAndState(0, 0, 0), objArr3);
Class<?> cls2 = Class.forName((String) objArr3[0]);
Object[] objArr4 = new Object[1];
ax((char) (((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getApplicationInfo().targetSdkVersion + 44757), new char[]{27956, 53988, 31505, 7800, 3929, 8322, 32460, 59956, 55878, 25057, 31483, 18719, 11086, 37903, 9306, 37209, 18826, 51044}, new char[]{1001, 63039, 63248, 44462}, new char[]{0, 0, 0, 0}, (-1) - TextUtils.indexOf((CharSequence) "", '0'), objArr4);
baseContext = (Context) cls2.getMethod((String) objArr4[0], new Class[0]).invoke(null, null);
int i6 = s + 35;
p = i6 % 128;
int i7 = i6 % 2;
}
if (baseContext != null) {
baseContext = baseContext.getApplicationContext();
}
if (baseContext != null) {
try {
Object obj = xzZ.y.get(125943855);
if (obj == null) {
obj = ((Class) xzZ.c((ViewConfiguration.getPressedStateDuration() >> 16) + 492, 5 - Drawable.resolveOpacity(0, 0), (char) Color.alpha(0))).getMethod("a", null);
xzZ.y.put(125943855, obj);
}
Object invoke = ((Method) obj).invoke(null, null);
Object[] objArr5 = new Object[1];
ax((char) TextUtils.indexOf("", "", 0), new char[]{4220, 12721, 23061, 6300, 1319, 31970, 36563, 49327, 21169, 45716, 4741, 853, 41164, 19320, 51801, 39690, 45575, 18736, 37631, 53319, 54488, 44794, 44885, 28369, 12055, 8513, 35410, 29457, 31417, 6944, 16066, 51733, 54001, 60874, 249, 34852, 46915, 49619, 56863, 5371, 5841, 41310, 57312, 19465, 58507, 423, 16883, 49519}, new char[]{685, 11687, 17622, 23629}, new char[]{0, 0, 0, 0}, ((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getResources().getString(R.string.auto_app_outcome_upselling_custom_maximum_inline_error).substring(34, 35).codePointAt(0) - 32, objArr5);
String str = (String) objArr5[0];
Object[] objArr6 = new Object[1];
ax((char) (((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getResources().getString(R.string.crop_document_error_wrong_file).substring(36, 37).length() - 1), new char[]{21262, 18202, 4787, 44517, 29799, 16937, 21588, 52063, 12691, 43805, 60996, 50380, 27084, 47252, 5559, 16158, 7261, 64954, 38300, 61754, 61694, 25134, 14306, 40717, 36655, 7637, 52889, 1560, 51686, 40612, 59740, 38864, 44656, 26323, 56426, 64370, 6204, 2412, 28390, 40104, 54000, 24319, 34707, 55052, 16832, 56229, 25652, 9891, 11567, 25480, 6332, 34989, 59604, 35577, 58935, 42145, 1363, 46058, 33566, 35779, 32747, 17826, 64415, 64168}, new char[]{62594, 63513, 3314, 19367}, new char[]{0, 0, 0, 0}, ((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getResources().getString(R.string.download_complete).substring(34, 35).length() - 1, objArr6);
String str2 = (String) objArr6[0];
Object[] objArr7 = new Object[1];
ay(new int[]{0, 64, 92, 59}, false, new byte[]{1, 0, 0, 1, 1, 0, 0, 1, 0, 0, 0, 1, 1, 0, 0, 1, 1, 1, 1, 1, 1, 0, 1, 1, 0, 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}, objArr7);
String str3 = (String) objArr7[0];
Object[] objArr8 = new Object[1];
ay(new int[]{64, 74, CipherSuite.TLS_PSK_WITH_AES_128_GCM_SHA256, 0}, false, new byte[]{0, 0, 0, 0, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 1, 1, 0, 0, 1, 0, 1, 1, 1, 1, 0, 0, 0, 1, 0, 1, 1, 0, 0, 1, 0, 1, 0, 0, 1, 0, 1, 0, 0, 0, 1, 1, 1, 1, 0, 0, 0, 0, 1, 1, 0, 0, 1, 1, 0, 0, 1, 1, 1, 0, 1, 0, 1, 1, 1, 0, 1}, objArr8);
String str4 = (String) objArr8[0];
Object[] objArr9 = new Object[1];
ay(new int[]{CipherSuite.TLS_PSK_WITH_RC4_128_SHA, 5, 0, 0}, true, new byte[]{0, 0, 0, 0, 1}, objArr9);
String str5 = (String) objArr9[0];
Object[] objArr10 = new Object[1];
ax((char) View.MeasureSpec.getSize(0), new char[]{38054, 32312, 30617, 52375, 12728, 27591, 51025, 51729, 41813, 41125, 55844, 61149, 5194, 27079, 65100, 30684, 15573, 41075, 58568, 39481, 22596, 5564, 50741, 54384, 32381, 25033, 22957, 18179, 45109, 42476, 2278, 29025, 23080, 22492, 43080, 58895}, new char[]{23174, 28181, 37157, 48595}, new char[]{0, 0, 0, 0}, ((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getResources().getString(R.string.hml_business_owner_type_store_about_subtitle).substring(69, 70).codePointAt(0) - 32, 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(487 - ExpandableListView.getPackedPositionType(0L), 5 - (ExpandableListView.getPackedPositionForGroup(0) > 0L ? 1 : (ExpandableListView.getPackedPositionForGroup(0) == 0L ? 0 : -1)), (char) (TextUtils.indexOf((CharSequence) "", '0') + 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.2131558776);
this.f7899o = EnterProxyFragment.c(h("source", ""));
AbstractC13482fbE a = getSupportFragmentManager().a();
a.b(R.id.fragment_container, this.f7899o, null, 2);
a.b();
}
private static void ax(char c, char[] cArr, char[] cArr2, char[] cArr3, int i, Object[] objArr) {
int i2 = 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) {
try {
Object[] objArr2 = {nhs};
Object obj = xzZ.y.get(263693715);
if (obj == null) {
obj = ((Class) xzZ.c(Color.argb(0, 0, 0, 0) + 45, (TypedValue.complexToFloat(0) > BitmapDescriptorFactory.HUE_RED ? 1 : (TypedValue.complexToFloat(0) == BitmapDescriptorFactory.HUE_RED ? 0 : -1)) + 5, (char) (Process.myPid() >> 22))).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(352 - Color.blue(0), ExpandableListView.getPackedPositionChild(0L) + 6, (char) (52129 - (ViewConfiguration.getScrollFriction() > BitmapDescriptorFactory.HUE_RED ? 1 : (ViewConfiguration.getScrollFriction() == BitmapDescriptorFactory.HUE_RED ? 0 : -1))));
byte b = (byte) 0;
byte b2 = b;
Object[] objArr4 = new Object[1];
az(b, b2, (byte) (b2 | ISO7816.INS_UNBLOCK_CHV), 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(749 - (ViewConfiguration.getGlobalActionKeyTimeout() > 0L ? 1 : (ViewConfiguration.getGlobalActionKeyTimeout() == 0L ? 0 : -1)), 5 - View.combineMeasuredStates(0, 0), (char) ((-1) - MotionEvent.axisFromString("")))).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) {
Class cls2 = (Class) xzZ.c(402 - (ViewConfiguration.getKeyRepeatTimeout() >> 16), 5 - (ViewConfiguration.getScrollDefaultDelay() >> 16), (char) (TextUtils.lastIndexOf("", '0') + 21609));
byte b3 = (byte) 0;
byte b4 = b3;
Object[] objArr7 = new Object[1];
az(b3, b4, (byte) (b4 | 43), objArr7);
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) (r ^ 9051040786702654117L)));
nhs.a++;
int i3 = $11 + 87;
$10 = i3 % 128;
int i4 = i3 % 2;
} catch (Throwable th) {
Throwable cause = th.getCause();
if (cause == null) {
throw th;
}
throw cause;
}
}
String str = new String(cArr6);
int i5 = $10 + 27;
$11 = i5 % 128;
int i6 = i5 % 2;
objArr[0] = str;
}
@Override // com.scb.phone.view.activity.BaseActivity, androidx.activity.ComponentActivity, android.app.Activity
public void onNewIntent(Intent intent) {
int i = 2 % 2;
int i2 = p + 119;
s = i2 % 128;
if (i2 % 2 != 0) {
super.onNewIntent(intent);
int i3 = 76 / 0;
if (intent == null) {
return;
}
} else {
super.onNewIntent(intent);
if (intent == null) {
return;
}
}
String stringExtra = intent.getStringExtra("com.scb.phone.Constants.RequestToPay.EXTRA_REQUESTER_REQ_STATUS");
if (stringExtra != null) {
int i4 = p + 17;
s = i4 % 128;
int i5 = i4 % 2;
if (stringExtra.equals("COMPLETED")) {
int i6 = p + 63;
s = i6 % 128;
int i7 = i6 % 2;
setResult(-1);
finish();
return;
}
if (stringExtra.equals("ANOTHER")) {
this.k = true;
EnterProxyFragment enterProxyFragment = this.f7899o;
if (enterProxyFragment != null) {
int i8 = s + 43;
p = i8 % 128;
if (i8 % 2 == 0) {
enterProxyFragment.g();
throw null;
}
enterProxyFragment.g();
int i9 = p + 107;
s = i9 % 128;
int i10 = i9 % 2;
}
}
}
}
@Override // com.scb.phone.view.activity.BaseActivity, android.app.Activity
public boolean onOptionsItemSelected(MenuItem menuItem) {
int i = 2 % 2;
if (16908332 == menuItem.getItemId()) {
int i2 = p + 83;
s = i2 % 128;
int i3 = i2 % 2;
onBackPressed();
int i4 = s + 33;
p = i4 % 128;
if (i4 % 2 == 0) {
int i5 = 5 / 4;
}
}
boolean onOptionsItemSelected = super.onOptionsItemSelected(menuItem);
int i6 = p + 45;
s = i6 % 128;
if (i6 % 2 == 0) {
return onOptionsItemSelected;
}
Object obj = null;
obj.hashCode();
throw null;
}
@Override // androidx.activity.ComponentActivity, android.app.Activity
public void onBackPressed() {
int i = 2 % 2;
int i2 = s + 79;
p = i2 % 128;
int i3 = i2 % 2;
if (this.k) {
setResult(-1);
}
super.onBackPressed();
int i4 = p + 85;
s = i4 % 128;
if (i4 % 2 != 0) {
throw null;
}
}
@Override // o.AbstractActivityC11791elx, 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 void onResume() {
int i = 2 % 2;
Context baseContext = getBaseContext();
Object obj = null;
if (baseContext == null) {
int i2 = s + 109;
p = i2 % 128;
int i3 = i2 % 2;
Object[] objArr = new Object[1];
ax((char) (((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getResources().getString(R.string.manage_email_otp_resend).substring(7, 9).codePointAt(0) + 27731), new char[]{53192, 60832, 26852, 15512, 58701, 23458, 35956, 35736, 2913, 6351, 22943, 22154, 30615, 38530, 12615, 49171, 16601, 40143, 8746, 9182, 60220, 45350, 5892, 43171, 2315, 53180}, new char[]{59849, 50592, 29455, 31084}, new char[]{0, 0, 0, 0}, View.MeasureSpec.getMode(0), objArr);
Class<?> cls = Class.forName((String) objArr[0]);
Object[] objArr2 = new Object[1];
ax((char) (((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getResources().getString(R.string.receive_statement_inapp_remark).substring(41, 42).codePointAt(0) + 44702), new char[]{27956, 53988, 31505, 7800, 3929, 8322, 32460, 59956, 55878, 25057, 31483, 18719, 11086, 37903, 9306, 37209, 18826, 51044}, new char[]{1001, 63039, 63248, 44462}, new char[]{0, 0, 0, 0}, ((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getResources().getString(R.string.prepaid_request_review_caution_line4).substring(18, 19).length() - 1, objArr2);
baseContext = (Context) cls.getMethod((String) objArr2[0], new Class[0]).invoke(null, null);
}
if (baseContext != null) {
int i4 = p + 17;
s = i4 % 128;
if (i4 % 2 != 0) {
baseContext.getApplicationContext();
obj.hashCode();
throw null;
}
baseContext = baseContext.getApplicationContext();
}
if (baseContext != null) {
int i5 = p + 91;
s = i5 % 128;
try {
if (i5 % 2 != 0) {
Object obj2 = xzZ.y.get(125943855);
if (obj2 == null) {
obj2 = ((Class) xzZ.c((ViewConfiguration.getEdgeSlop() >> 16) + 492, (ViewConfiguration.getDoubleTapTimeout() >> 16) + 5, (char) (ViewConfiguration.getScrollBarSize() >> 8))).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(487 - View.resolveSizeAndState(0, 0, 0), TextUtils.indexOf((CharSequence) "", '0', 0, 0) + 6, (char) (ViewConfiguration.getTapTimeout() >> 16))).getMethod(KtaJsonExactionHelper.OBJECT, Context.class);
xzZ.y.put(1378719468, obj3);
}
((Method) obj3).invoke(invoke, objArr3);
throw null;
}
Object obj4 = xzZ.y.get(125943855);
if (obj4 == null) {
obj4 = ((Class) xzZ.c(492 - View.resolveSizeAndState(0, 0, 0), ((Process.getThreadPriority(0) + 20) >> 6) + 5, (char) (Process.myPid() >> 22))).getMethod("a", null);
xzZ.y.put(125943855, obj4);
}
Object invoke2 = ((Method) obj4).invoke(null, null);
Object[] objArr4 = {baseContext};
Object obj5 = xzZ.y.get(1378719468);
if (obj5 == null) {
obj5 = ((Class) xzZ.c((PointF.length(BitmapDescriptorFactory.HUE_RED, BitmapDescriptorFactory.HUE_RED) > BitmapDescriptorFactory.HUE_RED ? 1 : (PointF.length(BitmapDescriptorFactory.HUE_RED, BitmapDescriptorFactory.HUE_RED) == BitmapDescriptorFactory.HUE_RED ? 0 : -1)) + 487, (SystemClock.elapsedRealtimeNanos() > 0L ? 1 : (SystemClock.elapsedRealtimeNanos() == 0L ? 0 : -1)) + 4, (char) (ViewConfiguration.getScrollBarSize() >> 8))).getMethod(KtaJsonExactionHelper.OBJECT, Context.class);
xzZ.y.put(1378719468, obj5);
}
((Method) obj5).invoke(invoke2, objArr4);
} catch (Throwable th) {
Throwable cause = th.getCause();
if (cause == null) {
throw th;
}
throw cause;
}
}
super.onResume();
}
private static void ay(int[] iArr, boolean z, byte[] bArr, Object[] objArr) {
char[] cArr;
int i = 2 % 2;
TVH tvh = new TVH();
int i2 = 0;
int i3 = iArr[0];
int i4 = iArr[1];
int i5 = iArr[2];
int i6 = iArr[3];
char[] cArr2 = t;
char c = '0';
if (cArr2 != null) {
int i7 = $11 + 75;
$10 = i7 % 128;
int i8 = i7 % 2;
int length = cArr2.length;
char[] cArr3 = new char[length];
int i9 = 0;
while (i9 < length) {
try {
Object[] objArr2 = new Object[1];
objArr2[i2] = Integer.valueOf(cArr2[i9]);
Object obj = xzZ.y.get(1645349359);
if (obj == null) {
Class cls = (Class) xzZ.c(223 - Gravity.getAbsoluteGravity(i2, i2), 5 - (ViewConfiguration.getTouchSlop() >> 8), (char) (AndroidCharacter.getMirror(c) + 41929));
byte b = (byte) i2;
byte b2 = b;
Object[] objArr3 = new Object[1];
az(b, b2, b2, objArr3);
obj = cls.getMethod((String) objArr3[0], Integer.TYPE);
xzZ.y.put(1645349359, obj);
}
cArr3[i9] = ((Character) ((Method) obj).invoke(null, objArr2)).charValue();
i9++;
i2 = 0;
c = '0';
} catch (Throwable th) {
Throwable cause = th.getCause();
if (cause == null) {
throw th;
}
throw cause;
}
}
cArr2 = cArr3;
}
char[] cArr4 = new char[i4];
System.arraycopy(cArr2, i3, cArr4, 0, i4);
if (bArr != null) {
char[] cArr5 = new char[i4];
tvh.c = 0;
char c2 = 0;
while (tvh.c < i4) {
int i10 = $11 + 11;
$10 = i10 % 128;
int i11 = i10 % 2;
if (bArr[tvh.c] == 1) {
int i12 = tvh.c;
try {
Object[] objArr4 = {Integer.valueOf(cArr4[tvh.c]), Integer.valueOf(c2)};
Object obj2 = xzZ.y.get(850398076);
if (obj2 == null) {
obj2 = ((Class) xzZ.c(501 - TextUtils.lastIndexOf("", '0'), 5 - (CdmaCellLocation.convertQuartSecToDecDegrees(0) > 0.0d ? 1 : (CdmaCellLocation.convertQuartSecToDecDegrees(0) == 0.0d ? 0 : -1)), (char) (54 - ExpandableListView.getPackedPositionType(0L)))).getMethod("F", Integer.TYPE, Integer.TYPE);
xzZ.y.put(850398076, obj2);
}
cArr5[i12] = ((Character) ((Method) obj2).invoke(null, objArr4)).charValue();
} catch (Throwable th2) {
Throwable cause2 = th2.getCause();
if (cause2 == null) {
throw th2;
}
throw cause2;
}
} else {
int i13 = tvh.c;
Object[] objArr5 = {Integer.valueOf(cArr4[tvh.c]), Integer.valueOf(c2)};
Object obj3 = xzZ.y.get(1084521042);
if (obj3 == null) {
obj3 = ((Class) xzZ.c((ViewConfiguration.getMinimumFlingVelocity() >> 16) + 15, TextUtils.getTrimmedLength("") + 5, (char) (58134 - (ViewConfiguration.getScrollBarSize() >> 8)))).getMethod("H", Integer.TYPE, Integer.TYPE);
xzZ.y.put(1084521042, obj3);
}
cArr5[i13] = ((Character) ((Method) obj3).invoke(null, objArr5)).charValue();
}
c2 = cArr5[tvh.c];
Object[] objArr6 = {tvh, tvh};
Object obj4 = xzZ.y.get(1698744941);
if (obj4 == null) {
Class cls2 = (Class) xzZ.c(402 - (PointF.length(BitmapDescriptorFactory.HUE_RED, BitmapDescriptorFactory.HUE_RED) > BitmapDescriptorFactory.HUE_RED ? 1 : (PointF.length(BitmapDescriptorFactory.HUE_RED, BitmapDescriptorFactory.HUE_RED) == BitmapDescriptorFactory.HUE_RED ? 0 : -1)), 5 - (Process.myPid() >> 22), (char) ((PointF.length(BitmapDescriptorFactory.HUE_RED, BitmapDescriptorFactory.HUE_RED) > BitmapDescriptorFactory.HUE_RED ? 1 : (PointF.length(BitmapDescriptorFactory.HUE_RED, BitmapDescriptorFactory.HUE_RED) == BitmapDescriptorFactory.HUE_RED ? 0 : -1)) + 21608));
byte b3 = (byte) 0;
byte b4 = b3;
Object[] objArr7 = new Object[1];
az(b3, b4, (byte) (b4 + 2), objArr7);
obj4 = cls2.getMethod((String) objArr7[0], Object.class, Object.class);
xzZ.y.put(1698744941, obj4);
}
((Method) obj4).invoke(null, objArr6);
}
cArr4 = cArr5;
}
if (i6 > 0) {
char[] cArr6 = new char[i4];
System.arraycopy(cArr4, 0, cArr6, 0, i4);
int i14 = i4 - i6;
System.arraycopy(cArr6, 0, cArr4, i14, i6);
System.arraycopy(cArr6, i6, cArr4, 0, i14);
}
if (z) {
int i15 = $10 + 101;
$11 = i15 % 128;
if (i15 % 2 == 0) {
cArr = new char[i4];
tvh.c = 1;
} else {
cArr = new char[i4];
tvh.c = 0;
}
int i16 = $11 + 85;
$10 = i16 % 128;
int i17 = 2;
int i18 = i16 % 2;
while (tvh.c < i4) {
int i19 = $10 + 125;
$11 = i19 % 128;
int i20 = i19 % i17;
cArr[tvh.c] = cArr4[(i4 - tvh.c) - 1];
tvh.c++;
i17 = 2;
}
cArr4 = cArr;
}
if (i5 > 0) {
loop3: while (true) {
int i21 = 0;
while (true) {
tvh.c = i21;
if (tvh.c >= i4) {
break loop3;
}
int i22 = $11 + 91;
$10 = i22 % 128;
if (i22 % 2 != 0) {
break;
}
cArr4[tvh.c] = (char) (cArr4[tvh.c] - iArr[2]);
i21 = tvh.c + 1;
}
cArr4[tvh.c] = (char) (cArr4[tvh.c] + iArr[2]);
int i23 = tvh.c;
}
}
objArr[0] = new String(cArr4);
}
@Override // o.AbstractActivityC11791elx, 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 void onPause() {
int i = 2 % 2;
Context baseContext = getBaseContext();
if (baseContext == null) {
Object[] objArr = new Object[1];
ax((char) (((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getPackageName().length() + 27750), new char[]{53192, 60832, 26852, 15512, 58701, 23458, 35956, 35736, 2913, 6351, 22943, 22154, 30615, 38530, 12615, 49171, 16601, 40143, 8746, 9182, 60220, 45350, 5892, 43171, 2315, 53180}, new char[]{59849, 50592, 29455, 31084}, new char[]{0, 0, 0, 0}, ((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getPackageName().length() - 13, objArr);
Class<?> cls = Class.forName((String) objArr[0]);
Object[] objArr2 = new Object[1];
ax((char) (((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getResources().getString(R.string.submit_ekyc_title_breadcrumb_th).substring(0, 21).length() + 44770), new char[]{27956, 53988, 31505, 7800, 3929, 8322, 32460, 59956, 55878, 25057, 31483, 18719, 11086, 37903, 9306, 37209, 18826, 51044}, new char[]{1001, 63039, 63248, 44462}, new char[]{0, 0, 0, 0}, ((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getResources().getString(R.string.app_account_deletion_confirm_popup_message).substring(301, 302).length() - 1, objArr2);
baseContext = (Context) cls.getMethod((String) objArr2[0], new Class[0]).invoke(null, null);
}
if (baseContext != null) {
int i2 = p + 67;
s = i2 % 128;
if (i2 % 2 != 0) {
baseContext = baseContext.getApplicationContext();
int i3 = 88 / 0;
} else {
baseContext = baseContext.getApplicationContext();
}
}
if (baseContext != null) {
int i4 = s + 15;
p = i4 % 128;
int i5 = i4 % 2;
try {
Object obj = xzZ.y.get(125943855);
if (obj == null) {
obj = ((Class) xzZ.c(KeyEvent.getDeadChar(0, 0) + 492, ExpandableListView.getPackedPositionGroup(0L) + 5, (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(1633456013);
if (obj2 == null) {
obj2 = ((Class) xzZ.c(487 - View.MeasureSpec.makeMeasureSpec(0, 0), 5 - (PointF.length(BitmapDescriptorFactory.HUE_RED, BitmapDescriptorFactory.HUE_RED) > BitmapDescriptorFactory.HUE_RED ? 1 : (PointF.length(BitmapDescriptorFactory.HUE_RED, BitmapDescriptorFactory.HUE_RED) == BitmapDescriptorFactory.HUE_RED ? 0 : -1)), (char) (CdmaCellLocation.convertQuartSecToDecDegrees(0) > 0.0d ? 1 : (CdmaCellLocation.convertQuartSecToDecDegrees(0) == 0.0d ? 0 : -1)))).getMethod("c", Context.class);
xzZ.y.put(1633456013, obj2);
}
((Method) obj2).invoke(invoke, objArr3);
} catch (Throwable th) {
Throwable cause = th.getCause();
if (cause == null) {
throw th;
}
throw cause;
}
}
super.onPause();
}
@Override // o.AbstractActivityC11791elx, 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 void attachBaseContext(Context context) {
int i = 2 % 2;
int i2 = p + 43;
s = i2 % 128;
int i3 = i2 % 2;
super.attachBaseContext(context);
Object[] objArr = new Object[1];
ax((char) ((ViewConfiguration.getScrollBarSize() >> 8) + 31245), new char[]{21111, 47356, 21497, 50416, 583, 56487, 61001, 52144, 38955, 9314, 12678, 18092, 46174, 5779, 847, 2712, 46118, 52675}, new char[]{54130, 14935, 3456, 13946}, new char[]{0, 0, 0, 0}, TextUtils.indexOf((CharSequence) "", '0', 0) + 1, objArr);
Class<?> cls = Class.forName((String) objArr[0]);
Object[] objArr2 = new Object[1];
ax((char) (Color.blue(0) + 58110), new char[]{49601, 34818, 53630, 57961, 24166}, new char[]{23809, 31434, 65064, 17378}, new char[]{0, 0, 0, 0}, (ViewConfiguration.getFadingEdgeLength() >> 16) + 679135837, objArr2);
int intValue = ((Integer) cls.getDeclaredMethod((String) objArr2[0], new Class[0]).invoke(null, new Object[0])).intValue() % 100000;
if (intValue < 99000 || intValue > 99999) {
Context applicationContext = context != null ? context.getApplicationContext() : context;
if (applicationContext != null) {
int i4 = p + 7;
s = i4 % 128;
int i5 = i4 % 2;
try {
Object obj = xzZ.y.get(125943855);
if (obj == null) {
obj = ((Class) xzZ.c((SystemClock.elapsedRealtime() > 0L ? 1 : (SystemClock.elapsedRealtime() == 0L ? 0 : -1)) + 491, 4 - Process.getGidForName(""), (char) Color.argb(0, 0, 0, 0))).getMethod("a", null);
xzZ.y.put(125943855, obj);
}
Object invoke = ((Method) obj).invoke(null, null);
Object[] objArr3 = new Object[1];
ax((char) TextUtils.indexOf("", "", 0), new char[]{4220, 12721, 23061, 6300, 1319, 31970, 36563, 49327, 21169, 45716, 4741, 853, 41164, 19320, 51801, 39690, 45575, 18736, 37631, 53319, 54488, 44794, 44885, 28369, 12055, 8513, 35410, 29457, 31417, 6944, 16066, 51733, 54001, 60874, 249, 34852, 46915, 49619, 56863, 5371, 5841, 41310, 57312, 19465, 58507, 423, 16883, 49519}, new char[]{685, 11687, 17622, 23629}, new char[]{0, 0, 0, 0}, TextUtils.lastIndexOf("", '0', 0, 0) + 1, objArr3);
String str = (String) objArr3[0];
Object[] objArr4 = new Object[1];
ax((char) (TextUtils.lastIndexOf("", '0', 0, 0) + 1), new char[]{21262, 18202, 4787, 44517, 29799, 16937, 21588, 52063, 12691, 43805, 60996, 50380, 27084, 47252, 5559, 16158, 7261, 64954, 38300, 61754, 61694, 25134, 14306, 40717, 36655, 7637, 52889, 1560, 51686, 40612, 59740, 38864, 44656, 26323, 56426, 64370, 6204, 2412, 28390, 40104, 54000, 24319, 34707, 55052, 16832, 56229, 25652, 9891, 11567, 25480, 6332, 34989, 59604, 35577, 58935, 42145, 1363, 46058, 33566, 35779, 32747, 17826, 64415, 64168}, new char[]{62594, 63513, 3314, 19367}, new char[]{0, 0, 0, 0}, View.MeasureSpec.makeMeasureSpec(0, 0), objArr4);
String str2 = (String) objArr4[0];
Object[] objArr5 = new Object[1];
ay(new int[]{0, 64, 92, 59}, false, new byte[]{1, 0, 0, 1, 1, 0, 0, 1, 0, 0, 0, 1, 1, 0, 0, 1, 1, 1, 1, 1, 1, 0, 1, 1, 0, 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}, objArr5);
String str3 = (String) objArr5[0];
Object[] objArr6 = new Object[1];
ay(new int[]{64, 74, CipherSuite.TLS_PSK_WITH_AES_128_GCM_SHA256, 0}, false, new byte[]{0, 0, 0, 0, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 1, 1, 0, 0, 1, 0, 1, 1, 1, 1, 0, 0, 0, 1, 0, 1, 1, 0, 0, 1, 0, 1, 0, 0, 1, 0, 1, 0, 0, 0, 1, 1, 1, 1, 0, 0, 0, 0, 1, 1, 0, 0, 1, 1, 0, 0, 1, 1, 1, 0, 1, 0, 1, 1, 1, 0, 1}, objArr6);
String str4 = (String) objArr6[0];
Object[] objArr7 = new Object[1];
ay(new int[]{CipherSuite.TLS_PSK_WITH_RC4_128_SHA, 5, 0, 0}, true, new byte[]{0, 0, 0, 0, 1}, objArr7);
String str5 = (String) objArr7[0];
Object[] objArr8 = new Object[1];
ax((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)), new char[]{38054, 32312, 30617, 52375, 12728, 27591, 51025, 51729, 41813, 41125, 55844, 61149, 5194, 27079, 65100, 30684, 15573, 41075, 58568, 39481, 22596, 5564, 50741, 54384, 32381, 25033, 22957, 18179, 45109, 42476, 2278, 29025, 23080, 22492, 43080, 58895}, new char[]{23174, 28181, 37157, 48595}, new char[]{0, 0, 0, 0}, (-1) - TextUtils.lastIndexOf("", '0', 0, 0), objArr8);
Object[] objArr9 = {applicationContext, str, str2, str3, str4, true, str5, (String) objArr8[0]};
Object obj2 = xzZ.y.get(1656189573);
if (obj2 == null) {
obj2 = ((Class) xzZ.c(Color.red(0) + 487, AndroidCharacter.getMirror('0') - '+', (char) (ExpandableListView.getPackedPositionForGroup(0) > 0L ? 1 : (ExpandableListView.getPackedPositionForGroup(0) == 0L ? 0 : -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, objArr9);
} catch (Throwable th) {
Throwable cause = th.getCause();
if (cause == null) {
throw th;
}
throw cause;
}
}
}
}
@Override // o.AbstractActivityC11791elx, 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 void onStart() {
int i = 2 % 2;
int i2 = p + 89;
s = i2 % 128;
int i3 = i2 % 2;
super.onStart();
if (i3 != 0) {
throw null;
}
int i4 = p + 25;
s = i4 % 128;
int i5 = i4 % 2;
}
}