what-the-bank/sources/com/scb/phone/view/activity/landingpage/PartnerWebViewActivity.java

558 lines
36 KiB
Java
Raw Permalink Normal View History

2024-07-27 18:17:47 +07:00
package com.scb.phone.view.activity.landingpage;
import android.content.Context;
import android.content.Intent;
import android.graphics.Color;
import android.media.AudioTrack;
import android.os.Bundle;
import android.os.Process;
import android.os.SystemClock;
import android.text.TextUtils;
import android.view.KeyEvent;
import android.view.View;
import android.view.ViewConfiguration;
import android.widget.ExpandableListView;
import com.google.android.gms.maps.model.BitmapDescriptorFactory;
import com.google.common.base.Ascii;
import com.kofax.kmc.kut.utilities.IpLibUtil;
import com.kofax.mobile.sdk._internal.impl.extraction.kta.KtaJsonExactionHelper;
import com.scb.phone.R;
import java.lang.reflect.Method;
import net.sf.scuba.smartcards.ISO7816;
import net.sf.scuba.smartcards.ISOFileInfo;
import o.C0915Rl;
import o.DFY;
import o.dWZ;
import o.fJO;
import o.xzZ;
import org.bouncycastle.crypto.tls.CipherSuite;
/* loaded from: classes5.dex */
public class PartnerWebViewActivity extends dWZ {
private static short[] p;
private static final byte[] $$p = {119, 73, 35, -58};
private static final int $$q = CipherSuite.TLS_DHE_PSK_WITH_AES_128_CBC_SHA256;
private static int $10 = 0;
private static int $11 = 1;
private static int r = 0;
private static int s = 1;
/* renamed from: o, reason: collision with root package name */
private static int f7534o = -1630270446;
private static int k = 1406017069;
private static int l = -171211560;
private static byte[] m = {-87, -89, ISOFileInfo.AB, 93, 84, ISOFileInfo.SECURITY_ATTR_EXP, ISOFileInfo.SECURITY_ATTR_EXP, Ascii.DC2, -83, -24, 99, 82, 83, 84, -89, 95, -92, 93, -78, 122, -86, 4, -3, 14, -24, 5, 1, 6, 7, -5, -44, 54, -3, -14, 8, -5, 6, -23, 28, -27, -22, 12, -14, -43, 30, 95, -92, 88, ISO7816.INS_APPEND_RECORD, -19, 29, Ascii.SUB, -26, -39, 37, Ascii.SUB, -20, -47, 33, 29, -17, ISO7816.INS_UPDATE_BINARY, ISO7816.INS_PSO, 16, -14, 15, -25, 29, -20, 17, -14, 15, -19, ISO7816.INS_PUT_DATA, 89, ISO7816.INS_APPEND_RECORD, -15, 29, 12, -16, Ascii.US, 16, -23, Ascii.ETB, ISOFileInfo.A5, 32, 30, -18, 28, Ascii.NAK, -24, Ascii.ESC, -27, Ascii.DC2, -18, Ascii.ESC, -29, 29, -17, Ascii.NAK, -17, Ascii.ESC, Ascii.NAK, -89, -29, Ascii.SYN, ISO7816.INS_CHANGE_CHV, ISO7816.INS_CREATE_FILE, Ascii.US, -29, -17, ISO7816.INS_UPDATE_BINARY, ISO7816.INS_MSE, -34, 33, Ascii.NAK, Ascii.NAK, Ascii.NAK, Ascii.NAK, Ascii.NAK};
private static char[] t = {39987, 40036, 40059, 40051, 40049, 40032, 40056, 40072, 40048, 40055, 40055, 40048, 40051, 40020, 40015, 40023, 40054, 40062, 40031, 40029, 40056, 40050, 40054, 40051, 40061, 40063, 39954, 40001, 40041, 40040, 40046, 40000, 39999, 39997, 39992, 39994, 40001, 40005, 40005, 40007, 40007, 40007, 40005, 40004, 40006, 40001, 39992, 39998, 39998, 39993, 40001, 40006, 39998, 40001, 40001, 40001, 40002, 39998, 40006, 40042, 40040, 40047, 40000, 40001, 40000, 39998, 39999, 39993, 40007, 40005, 40006, 40007, 39996, 39997, 40025, 40112, 40112, 40113, 40154, 40152, 40154, 40132, 40113, 40110, 40105, 40115, 40112, 40112, 40114, 40111, 40112, 40112, 40119, 40118, 40119, 40154, 40113, 40106, 40106, 40104, 40114, 40132, 40113, 40113, 40155, 40112, 40111, 40114, 40114, 40111, 40110, 40110, 40105, 40105, 40104, 40115, 40124, 40106, 40105, 40106, 40115, 40114, 40113, 40115, 40084, 40107, 40104, 40106, 40105, 40111, 40105, 40105, 40105, 40106, 40112, 40118, 40111, 40114, 39995, 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, 39996, 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, 40008, 40039, 40031, 40030, 40030, 40038, 40078, 40036, 40038, 40033, 40032, 40032, 40027, 40034, 40078, 40079, 40073, 40035, 40027, 40025, 40025, 40031, 40026, 40035, 40079, 40032, 40031, 40025, 40004, 40024, 40028, 40036, 40038, 40031, 40033, 40079};
/* JADX WARN: Removed duplicated region for block: B:10:0x0025 */
/* JADX WARN: Removed duplicated region for block: B:7:0x001d */
/* JADX WARN: Unsupported multi-entry loop pattern (BACK_EDGE: B:10:0x0025 -> B:4:0x0029). 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(int r5, short r6, short r7, java.lang.Object[] r8) {
/*
int r7 = r7 * 2
int r0 = 1 - r7
int r5 = r5 * 4
int r5 = r5 + 4
int r6 = r6 + 71
byte[] r1 = com.scb.phone.view.activity.landingpage.PartnerWebViewActivity.$$p
byte[] r0 = new byte[r0]
r2 = 0
int r7 = 0 - r7
if (r1 != 0) goto L17
r4 = r6
r6 = r7
r3 = r2
goto L29
L17:
r3 = r2
L18:
byte r4 = (byte) r6
r0[r3] = r4
if (r3 != r7) goto L25
java.lang.String r5 = new java.lang.String
r5.<init>(r0, r2)
r8[r2] = r5
return
L25:
int r3 = r3 + 1
r4 = r1[r5]
L29:
int r5 = r5 + 1
int r6 = r6 + r4
goto L18
*/
throw new UnsupportedOperationException("Method not decompiled: com.scb.phone.view.activity.landingpage.PartnerWebViewActivity.aC(int, short, short, java.lang.Object[]):void");
}
public static void c(Context context, C0915Rl c0915Rl) {
int i = 2 % 2;
context.startActivity(new Intent(context, (Class<?>) PartnerWebViewActivity.class).putExtra("com.scb.phone.EXTRA_DISPLAY", c0915Rl));
int i2 = s + 89;
r = i2 % 128;
if (i2 % 2 != 0) {
int i3 = 19 / 0;
}
}
@Override // o.dWZ, 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 + 5;
r = i2 % 128;
int i3 = i2 % 2;
Object[] objArr = new Object[1];
aA((short) (((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getApplicationInfo().targetSdkVersion - 34), 853929431 + ((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getApplicationInfo().targetSdkVersion, ((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getPackageName().length() - 51, 1509582194 + ((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getApplicationInfo().targetSdkVersion, (byte) (((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getApplicationInfo().targetSdkVersion + IpLibUtil.KIPP_BAD_POINTER), objArr);
Class<?> cls = Class.forName((String) objArr[0]);
Object[] objArr2 = new Object[1];
aA((short) (((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getPackageName().length() - 13), 853929482 - Color.alpha(0), ((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getResources().getString(R.string.btn_text_return_to_pointx).substring(9, 17).length() - 59, ((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getResources().getString(R.string.ndid_idp_verify_identity_step_liveness_ckeck).substring(13, 14).length() + 1509582239, (byte) (((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getResources().getString(R.string.taking_photo_details_accepted_formats).substring(18, 19).codePointAt(0) - 109), 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 = r + 1;
s = i4 % 128;
int i5 = i4 % 2;
Object[] objArr3 = new Object[1];
aB(new int[]{0, 26, 13, 0}, true, new byte[]{1, 1, 0, 1, 0, 0, 1, 1, 1, 1, 1, 1, 1, 0, 1, 0, 0, 1, 1, 0, 1, 0, 1, 0, 0, 1}, objArr3);
Class<?> cls2 = Class.forName((String) objArr3[0]);
Object[] objArr4 = new Object[1];
aA((short) (((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getResources().getString(R.string.manage_notifications_push_group_title).substring(0, 17).codePointAt(10) - 73), ((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getResources().getString(R.string.auto_ccsof_review_no_of_months).substring(0, 3).length() + 853929483, ((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getResources().getString(R.string.etb_success_account_type_desc_2).substring(5, 9).codePointAt(1) - 88, ((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getPackageName().length() + 1509582217, (byte) (((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getResources().getString(R.string.mw_shop_information_validate_line_id_wrong_format).substring(35, 37).codePointAt(1) - 50), objArr4);
baseContext = (Context) cls2.getMethod((String) objArr4[0], new Class[0]).invoke(null, null);
}
if (baseContext != null) {
int i6 = s + 29;
r = i6 % 128;
int i7 = i6 % 2;
baseContext = baseContext.getApplicationContext();
}
if (baseContext != null) {
int i8 = r + 35;
s = i8 % 128;
int i9 = i8 % 2;
try {
Object obj = xzZ.y.get(125943855);
if (obj == null) {
obj = ((Class) xzZ.c((ViewConfiguration.getDoubleTapTimeout() >> 16) + 492, (ViewConfiguration.getKeyRepeatTimeout() >> 16) + 5, (char) KeyEvent.getDeadChar(0, 0))).getMethod("a", null);
xzZ.y.put(125943855, obj);
}
Object invoke = ((Method) obj).invoke(null, null);
Object[] objArr5 = new Object[1];
aB(new int[]{26, 48, 0, 41}, true, new byte[]{0, 0, 0, 1, 1, 1, 1, 1, 0, 0, 1, 1, 0, 0, 0, 1, 0, 1, 0, 1, 1, 1, 0, 1, 1, 0, 1, 1, 1, 0, 1, 1, 1, 1, 1, 1, 0, 1, 0, 1, 0, 1, 1, 1, 1, 0, 0, 1}, objArr5);
String str = (String) objArr5[0];
Object[] objArr6 = new Object[1];
aB(new int[]{74, 64, 110, 5}, true, new byte[]{0, 1, 1, 0, 1, 0, 0, 1, 0, 0, 1, 0, 1, 0, 1, 1, 1, 0, 1, 0, 0, 0, 0, 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}, objArr6);
String str2 = (String) objArr6[0];
Object[] objArr7 = new Object[1];
aB(new int[]{CipherSuite.TLS_PSK_WITH_RC4_128_SHA, 64, 0, 0}, false, new byte[]{1, 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, 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}, objArr7);
String str3 = (String) objArr7[0];
Object[] objArr8 = new Object[1];
aA((short) (1 - (ViewConfiguration.getGlobalActionKeyTimeout() > 0L ? 1 : (ViewConfiguration.getGlobalActionKeyTimeout() == 0L ? 0 : -1))), ((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getResources().getString(R.string.prepaid_activation_success_remark).substring(32, 34).length() + 853929501, ((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getResources().getString(R.string.registration_success_cc_activation_completed).substring(17, 18).length() + 17, (AudioTrack.getMinVolume() > BitmapDescriptorFactory.HUE_RED ? 1 : (AudioTrack.getMinVolume() == BitmapDescriptorFactory.HUE_RED ? 0 : -1)) + 1509582235, (byte) (((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getResources().getString(R.string.fingerprint_registration_text).substring(13, 14).length() - 11), objArr8);
String str4 = (String) objArr8[0];
Object[] objArr9 = new Object[1];
aA((short) TextUtils.getTrimmedLength(""), 853929576 - TextUtils.getCapsMode("", 0, 0), KeyEvent.normalizeMetaState(0) - 51, ((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getResources().getString(R.string.auto_p2p_introduction_your_choice_flexible_point).substring(0, 2).length() + 1509582186, (byte) (((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getResources().getString(R.string.account_management_mutual_fund_errror_message).substring(6, 7).codePointAt(0) - 95), objArr9);
String str5 = (String) objArr9[0];
Object[] objArr10 = new Object[1];
aB(new int[]{202, 36, 33, 0}, true, new byte[]{0, 0, 0, 1, 1, 0, 0, 0, 0, 1, 1, 1, 1, 0, 0, 1, 1, 0, 0, 0, 1, 0, 1, 1, 1, 1, 0, 1, 1, 0, 1, 1, 0, 0, 1, 0}, 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((ViewConfiguration.getKeyRepeatTimeout() >> 16) + 487, (KeyEvent.getMaxKeyCode() >> 16) + 5, (char) (1 - (SystemClock.elapsedRealtime() > 0L ? 1 : (SystemClock.elapsedRealtime() == 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, objArr11);
} catch (Throwable th) {
Throwable cause = th.getCause();
if (cause == null) {
throw th;
}
throw cause;
}
}
}
super.onCreate(bundle);
setContentView(R.layout.2131558716);
new fJO(this);
}
@Override // o.dWZ, 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 + 41;
r = i2 % 128;
int i3 = i2 % 2;
Object[] objArr = new Object[1];
aB(new int[]{0, 26, 13, 0}, true, new byte[]{1, 1, 0, 1, 0, 0, 1, 1, 1, 1, 1, 1, 1, 0, 1, 0, 0, 1, 1, 0, 1, 0, 1, 0, 0, 1}, objArr);
Class<?> cls = Class.forName((String) objArr[0]);
Object[] objArr2 = new Object[1];
aA((short) KeyEvent.normalizeMetaState(0), ((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getResources().getString(R.string.hml_contact_call_center).substring(10, 11).codePointAt(0) + 853929378, ((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getPackageName().codePointAt(0) - 137, 1509582230 + Color.red(0), (byte) (((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getResources().getString(R.string.liveness_permission_camera_description).substring(27, 28).length() - 19), objArr2);
baseContext = (Context) cls.getMethod((String) objArr2[0], new Class[0]).invoke(null, null);
}
if (baseContext != null) {
int i4 = s + 33;
r = i4 % 128;
if (i4 % 2 != 0) {
baseContext.getApplicationContext();
obj.hashCode();
throw null;
}
baseContext = baseContext.getApplicationContext();
}
if (baseContext != null) {
try {
Object obj2 = xzZ.y.get(125943855);
if (obj2 == null) {
obj2 = ((Class) xzZ.c(TextUtils.indexOf("", "", 0, 0) + 492, 5 - (ViewConfiguration.getPressedStateDuration() >> 16), (char) (ViewConfiguration.getWindowTouchSlop() >> 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 - TextUtils.getTrimmedLength(""), View.getDefaultSize(0, 0) + 5, (char) (ViewConfiguration.getMaximumDrawingCacheSize() >> 24))).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();
}
@Override // o.dWZ, 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;
int i2 = s + 121;
r = i2 % 128;
int i3 = i2 % 2;
Context baseContext = getBaseContext();
Object obj = null;
if (baseContext == null) {
Object[] objArr = new Object[1];
aB(new int[]{0, 26, 13, 0}, true, new byte[]{1, 1, 0, 1, 0, 0, 1, 1, 1, 1, 1, 1, 1, 0, 1, 0, 0, 1, 1, 0, 1, 0, 1, 0, 0, 1}, objArr);
Class<?> cls = Class.forName((String) objArr[0]);
Object[] objArr2 = new Object[1];
aA((short) (TextUtils.lastIndexOf("", '0', 0) + 1), ((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getResources().getString(R.string.data_sharing_consent_decline_dialog_description).substring(44, 45).codePointAt(0) + 853929454, ((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getResources().getString(R.string.app_account_deletion_schedule_popup_message).substring(293, 294).codePointAt(0) - 70, 1509582216 + ((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getResources().getString(R.string.ccr_search_all_category).substring(0, 14).length(), (byte) ((-18) - (ViewConfiguration.getScrollBarFadeDuration() >> 16)), objArr2);
baseContext = (Context) cls.getMethod((String) objArr2[0], new Class[0]).invoke(null, null);
}
if (baseContext != null) {
baseContext = baseContext.getApplicationContext();
}
if (baseContext != null) {
int i4 = r + 1;
s = i4 % 128;
try {
if (i4 % 2 == 0) {
Object obj2 = xzZ.y.get(125943855);
if (obj2 == null) {
obj2 = ((Class) xzZ.c(492 - (ViewConfiguration.getTouchSlop() >> 8), 5 - View.combineMeasuredStates(0, 0), (char) View.resolveSizeAndState(0, 0, 0))).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((SystemClock.currentThreadTimeMillis() > (-1L) ? 1 : (SystemClock.currentThreadTimeMillis() == (-1L) ? 0 : -1)) + 486, 5 - TextUtils.getCapsMode("", 0, 0), (char) ((-1) - ExpandableListView.getPackedPositionChild(0L)))).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(492 - View.getDefaultSize(0, 0), (ViewConfiguration.getScrollBarSize() >> 8) + 5, (char) ((-1) - TextUtils.lastIndexOf("", '0')))).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(487 - KeyEvent.keyCodeFromString(""), 5 - View.resolveSize(0, 0), (char) View.MeasureSpec.getSize(0))).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();
}
/* JADX WARN: Code restructure failed: missing block: B:32:0x00d2, code lost:
if (r25[r1.c] == 1) goto L33;
*/
/* JADX WARN: Code restructure failed: missing block: B:33:0x014f, code lost:
r4 = r1.c;
*/
/* JADX WARN: Code restructure failed: missing block: B:34:0x0156, code lost:
r10 = new java.lang.Object[]{java.lang.Integer.valueOf(r0[r1.c]), java.lang.Integer.valueOf(r2)};
r2 = o.xzZ.y.get(1084521042);
*/
/* JADX WARN: Code restructure failed: missing block: B:35:0x0173, code lost:
if (r2 == null) goto L44;
*/
/* JADX WARN: Code restructure failed: missing block: B:38:0x01c8, code lost:
r3[r4] = ((java.lang.Character) ((java.lang.reflect.Method) r2).invoke(null, r10)).charValue();
*/
/* JADX WARN: Code restructure failed: missing block: B:39:0x01ca, code lost:
r2 = r3[r1.c];
*/
/* JADX WARN: Code restructure failed: missing block: B:40:0x01ce, code lost:
r4 = new java.lang.Object[]{r1, r1};
r8 = o.xzZ.y.get(1698744941);
*/
/* JADX WARN: Code restructure failed: missing block: B:41:0x01df, code lost:
if (r8 == null) goto L51;
*/
/* JADX WARN: Code restructure failed: missing block: B:43:0x0229, code lost:
((java.lang.reflect.Method) r8).invoke(null, r4);
*/
/* JADX WARN: Code restructure failed: missing block: B:44:0x022f, code lost:
r4 = com.scb.phone.view.activity.landingpage.PartnerWebViewActivity.$11 + 69;
com.scb.phone.view.activity.landingpage.PartnerWebViewActivity.$10 = r4 % 128;
r4 = r4 % 2;
*/
/* JADX WARN: Code restructure failed: missing block: B:45:0x01e2, code lost:
r10 = (java.lang.Class) o.xzZ.c(android.graphics.Color.green(0) + 402, android.view.View.MeasureSpec.getSize(0) + 5, (char) (21608 - android.view.KeyEvent.getDeadChar(0, 0)));
r12 = (byte) 0;
r13 = (byte) (r12 + 2);
r9 = new java.lang.Object[1];
aC(r12, r13, (byte) (r13 - 2), r9);
r8 = r10.getMethod((java.lang.String) r9[0], java.lang.Object.class, java.lang.Object.class);
o.xzZ.y.put(1698744941, r8);
*/
/* JADX WARN: Code restructure failed: missing block: B:46:0x0178, code lost:
r2 = ((java.lang.Class) o.xzZ.c(15 - (android.widget.ExpandableListView.getPackedPositionForGroup(0) > 0 ? 1 : (android.widget.ExpandableListView.getPackedPositionForGroup(0) == 0 ? 0 : -1)), 5 - (android.view.ViewConfiguration.getMaximumDrawingCacheSize() >> 24), (char) ((android.graphics.PointF.length(com.google.android.gms.maps.model.BitmapDescriptorFactory.HUE_RED, com.google.android.gms.maps.model.BitmapDescriptorFactory.HUE_RED) > com.google.android.gms.maps.model.BitmapDescriptorFactory.HUE_RED ? 1 : (android.graphics.PointF.length(com.google.android.gms.maps.model.BitmapDescriptorFactory.HUE_RED, com.google.android.gms.maps.model.BitmapDescriptorFactory.HUE_RED) == com.google.android.gms.maps.model.BitmapDescriptorFactory.HUE_RED ? 0 : -1)) + 58134))).getMethod("H", java.lang.Integer.TYPE, java.lang.Integer.TYPE);
o.xzZ.y.put(1084521042, r2);
*/
/* JADX WARN: Code restructure failed: missing block: B:48:0x00dc, code lost:
r4 = r1.c;
r9 = r0[r1.c];
*/
/* JADX WARN: Code restructure failed: missing block: B:49:0x00e3, code lost:
r12 = new java.lang.Object[2];
r12[r8] = java.lang.Integer.valueOf(r2);
r12[0] = java.lang.Integer.valueOf(r9);
r2 = o.xzZ.y.get(850398076);
*/
/* JADX WARN: Code restructure failed: missing block: B:50:0x00ff, code lost:
if (r2 == null) goto L37;
*/
/* JADX WARN: Code restructure failed: missing block: B:53:0x0149, code lost:
r3[r4] = ((java.lang.Character) ((java.lang.reflect.Method) r2).invoke(null, r12)).charValue();
*/
/* JADX WARN: Code restructure failed: missing block: B:54:0x0102, code lost:
r2 = ((java.lang.Class) o.xzZ.c(502 - android.text.TextUtils.indexOf("", ""), (android.view.ViewConfiguration.getMinimumFlingVelocity() >> 16) + 5, (char) (55 - (android.view.ViewConfiguration.getScrollFriction() > com.google.android.gms.maps.model.BitmapDescriptorFactory.HUE_RED ? 1 : (android.view.ViewConfiguration.getScrollFriction() == com.google.android.gms.maps.model.BitmapDescriptorFactory.HUE_RED ? 0 : -1))))).getMethod("F", java.lang.Integer.TYPE, java.lang.Integer.TYPE);
o.xzZ.y.put(850398076, r2);
*/
/* JADX WARN: Code restructure failed: missing block: B:56:0x00da, code lost:
if (r25[r1.c] == 1) goto L33;
*/
/*
Code decompiled incorrectly, please refer to instructions dump.
To view partially-correct add '--show-bad-code' argument
*/
private static void aB(int[] r23, boolean r24, byte[] r25, java.lang.Object[] r26) {
/*
Method dump skipped, instructions count: 695
To view this dump add '--comments-level debug' option
*/
throw new UnsupportedOperationException("Method not decompiled: com.scb.phone.view.activity.landingpage.PartnerWebViewActivity.aB(int[], boolean, byte[], java.lang.Object[]):void");
}
/* JADX WARN: Code restructure failed: missing block: B:4:0x00a9, code lost:
if (r3 > 99999) goto L6;
*/
@Override // o.dWZ, com.scb.phone.view.activity.BaseActivity, com.scb.phone.view.activity.PreLoadCheckActivity, com.akexorcist.localizationactivity.LocalizationActivity, androidx.appcompat.app.AppCompatActivity, androidx.fragment.app.FragmentActivity, androidx.activity.ComponentActivity, androidx.core.app.ComponentActivity, android.app.Activity, android.view.ContextThemeWrapper, android.content.ContextWrapper
/*
Code decompiled incorrectly, please refer to instructions dump.
To view partially-correct add '--show-bad-code' argument
*/
public void attachBaseContext(android.content.Context r19) {
/*
Method dump skipped, instructions count: 720
To view this dump add '--comments-level debug' option
*/
throw new UnsupportedOperationException("Method not decompiled: com.scb.phone.view.activity.landingpage.PartnerWebViewActivity.attachBaseContext(android.content.Context):void");
}
private static void aA(short s2, int i, int i2, int i3, byte b, Object[] objArr) {
boolean z;
int i4 = 2 % 2;
DFY dfy = new DFY();
StringBuilder sb = new StringBuilder();
try {
Object[] objArr2 = {Integer.valueOf(i2), Integer.valueOf(k)};
Object obj = xzZ.y.get(-2092856797);
long j = 0;
if (obj == null) {
Class cls = (Class) xzZ.c(338 - (SystemClock.uptimeMillis() > 0L ? 1 : (SystemClock.uptimeMillis() == 0L ? 0 : -1)), 6 - (Process.getElapsedCpuTime() > 0L ? 1 : (Process.getElapsedCpuTime() == 0L ? 0 : -1)), (char) Color.argb(0, 0, 0, 0));
byte b2 = (byte) 0;
Object[] objArr3 = new Object[1];
aC(b2, (byte) (b2 | 39), b2, objArr3);
obj = cls.getMethod((String) objArr3[0], Integer.TYPE, Integer.TYPE);
xzZ.y.put(-2092856797, obj);
}
int intValue = ((Integer) ((Method) obj).invoke(null, objArr2)).intValue();
boolean z2 = intValue == -1;
if (!(!z2)) {
int i5 = $10;
int i6 = i5 + 37;
$11 = i6 % 128;
if (i6 % 2 == 0) {
throw null;
}
byte[] bArr = m;
if (bArr != null) {
int i7 = i5 + 69;
$11 = i7 % 128;
int i8 = i7 % 2;
int length = bArr.length;
byte[] bArr2 = new byte[length];
int i9 = 0;
while (i9 < length) {
int i10 = $11 + 19;
$10 = i10 % 128;
int i11 = i10 % 2;
Object[] objArr4 = {Integer.valueOf(bArr[i9])};
Object obj2 = xzZ.y.get(-1648115392);
if (obj2 == null) {
Class cls2 = (Class) xzZ.c(TextUtils.indexOf((CharSequence) "", '0', 0, 0) + 61, 5 - (ViewConfiguration.getScrollBarSize() >> 8), (char) ((-1) - ExpandableListView.getPackedPositionChild(j)));
byte b3 = (byte) 0;
Object[] objArr5 = new Object[1];
aC(b3, (byte) (b3 | 37), b3, objArr5);
obj2 = cls2.getMethod((String) objArr5[0], Integer.TYPE);
xzZ.y.put(-1648115392, obj2);
}
bArr2[i9] = ((Byte) ((Method) obj2).invoke(null, objArr4)).byteValue();
i9++;
j = 0;
}
bArr = bArr2;
}
if (bArr != null) {
byte[] bArr3 = m;
Object[] objArr6 = {Integer.valueOf(i), Integer.valueOf(f7534o)};
Object obj3 = xzZ.y.get(-2092856797);
if (obj3 == null) {
Class cls3 = (Class) xzZ.c(337 - (Process.myPid() >> 22), 5 - KeyEvent.normalizeMetaState(0), (char) TextUtils.indexOf("", ""));
byte b4 = (byte) 0;
Object[] objArr7 = new Object[1];
aC(b4, (byte) (b4 | 39), b4, objArr7);
obj3 = cls3.getMethod((String) objArr7[0], Integer.TYPE, Integer.TYPE);
xzZ.y.put(-2092856797, obj3);
}
intValue = (byte) (((byte) (bArr3[((Integer) ((Method) obj3).invoke(null, objArr6)).intValue()] ^ (-7303220121662775787L))) + ((int) (k ^ (-7303220121662775787L))));
} else {
intValue = (short) (((short) (p[i + ((int) (f7534o ^ (-7303220121662775787L)))] ^ (-7303220121662775787L))) + ((int) (k ^ (-7303220121662775787L))));
}
}
if (intValue > 0) {
dfy.c = ((i + intValue) - 2) + ((int) (f7534o ^ (-7303220121662775787L))) + (!(z2 ^ true) ? 1 : 0);
Object[] objArr8 = {dfy, Integer.valueOf(i3), Integer.valueOf(l), sb};
Object obj4 = xzZ.y.get(1546973421);
if (obj4 == null) {
obj4 = ((Class) xzZ.c(View.MeasureSpec.makeMeasureSpec(0, 0) + 748, (ViewConfiguration.getMaximumFlingVelocity() >> 16) + 5, (char) (ViewConfiguration.getKeyRepeatTimeout() >> 16))).getMethod("q", Object.class, Integer.TYPE, Integer.TYPE, Object.class);
xzZ.y.put(1546973421, obj4);
}
((StringBuilder) ((Method) obj4).invoke(null, objArr8)).append(dfy.a);
dfy.e = dfy.a;
byte[] bArr4 = m;
if (bArr4 != null) {
int length2 = bArr4.length;
byte[] bArr5 = new byte[length2];
for (int i12 = 0; i12 < length2; i12++) {
bArr5[i12] = (byte) (bArr4[i12] ^ (-7303220121662775787L));
}
bArr4 = bArr5;
}
if (bArr4 != null) {
int i13 = $11 + 81;
$10 = i13 % 128;
int i14 = i13 % 2;
z = true;
} else {
z = false;
}
dfy.d = 1;
while (dfy.d < intValue) {
int i15 = $10 + 17;
$11 = i15 % 128;
int i16 = i15 % 2;
if (z) {
byte[] bArr6 = m;
dfy.c = dfy.c - 1;
dfy.a = (char) (dfy.e + (((byte) (((byte) (bArr6[r7] ^ (-7303220121662775787L))) + s2)) ^ b));
} else {
short[] sArr = p;
dfy.c = dfy.c - 1;
dfy.a = (char) (dfy.e + (((short) (((short) (sArr[r7] ^ (-7303220121662775787L))) + s2)) ^ b));
}
sb.append(dfy.a);
dfy.e = dfy.a;
dfy.d++;
}
}
objArr[0] = sb.toString();
} catch (Throwable th) {
Throwable cause = th.getCause();
if (cause == null) {
throw th;
}
throw cause;
}
}
@Override // o.dWZ, 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 = r + 3;
s = i2 % 128;
int i3 = i2 % 2;
super.onStart();
int i4 = s + 95;
r = i4 % 128;
if (i4 % 2 == 0) {
return;
}
Object obj = null;
obj.hashCode();
throw null;
}
}