what-the-bank/sources/com/scb/phone/view/activity/mwpartner/MwSubDistrictSearchActivity...

511 lines
38 KiB
Java

package com.scb.phone.view.activity.mwpartner;
import android.content.Context;
import android.content.Intent;
import android.graphics.Color;
import android.graphics.ImageFormat;
import android.media.AudioTrack;
import android.os.Bundle;
import android.os.Process;
import android.os.SystemClock;
import android.telephony.cdma.CdmaCellLocation;
import android.text.TextUtils;
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 butterknife.ButterKnife;
import com.google.android.gms.maps.model.BitmapDescriptorFactory;
import com.google.common.base.Ascii;
import com.kofax.mobile.sdk._internal.impl.extraction.kta.KtaJsonExactionHelper;
import com.scb.phone.R;
import java.lang.reflect.Method;
import net.sf.scuba.smartcards.ISO7816;
import net.sf.scuba.smartcards.ISOFileInfo;
import o.AbstractActivityC8883dYr;
import o.C3614bBe;
import o.xzZ;
import org.jmrtd.lds.CVCAFile;
/* loaded from: classes5.dex */
public class MwSubDistrictSearchActivity extends AbstractActivityC8883dYr {
private static short[] t;
private static final byte[] $$E = {Ascii.ESC, 74, ISO7816.INS_UPDATE_RECORD, 124};
private static final int $$F = 232;
private static int $10 = 0;
private static int $11 = 1;
private static int s = 0;
private static int w = 1;
private static char[] b = {15924, 15905, 15927, 15909, 15906, 15916, 16097, 15910, 15875, 15926, 15912, 15904, 15964, 15928, 15907, 15892, 15911, 15961, 15879, 15915, 16100, 15898, 16103, 15925, 16102, 15913, 15900, 16101, 15899, 15897, 15896, 16099, 15901, 16098, 15919, 15918, 15914, 15960, 15908, 16096};
private static int k = 1934311123;
private static boolean l = true;
private static boolean m = true;
/* renamed from: o, reason: collision with root package name */
private static int f7592o = -709185765;
private static int r = 1406017123;
private static int q = 1393237233;
private static byte[] p = {67, -6, 117, -17, CVCAFile.CAR_TAG, 70, 77, 76, -8, 19, 61, -6, -15, 79, -8, 77, -18, Ascii.NAK};
/* 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:0x0030). 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, byte r7, short r8, java.lang.Object[] r9) {
/*
int r8 = r8 * 3
int r0 = 1 - r8
int r6 = r6 * 4
int r6 = 3 - r6
byte[] r1 = com.scb.phone.view.activity.mwpartner.MwSubDistrictSearchActivity.$$E
int r7 = 122 - r7
byte[] r0 = new byte[r0]
r2 = 0
int r8 = 0 - r8
if (r1 != 0) goto L17
r3 = r7
r4 = r2
r7 = r6
goto L30
L17:
r3 = r2
L18:
byte r4 = (byte) r7
r0[r3] = r4
if (r3 != r8) goto L25
java.lang.String r6 = new java.lang.String
r6.<init>(r0, r2)
r9[r2] = r6
return
L25:
int r6 = r6 + 1
int r3 = r3 + 1
r4 = r1[r6]
r5 = r7
r7 = r6
r6 = r4
r4 = r3
r3 = r5
L30:
int r6 = -r6
int r6 = r6 + r3
r3 = r4
r5 = r7
r7 = r6
r6 = r5
goto L18
*/
throw new UnsupportedOperationException("Method not decompiled: com.scb.phone.view.activity.mwpartner.MwSubDistrictSearchActivity.aJ(short, byte, short, java.lang.Object[]):void");
}
public static Intent aiJ_(Context context) {
int i = 2 % 2;
Intent intent = new Intent(context, (Class<?>) MwSubDistrictSearchActivity.class);
int i2 = s + 29;
w = i2 % 128;
int i3 = i2 % 2;
return intent;
}
@Override // o.AbstractActivityC8883dYr, com.scb.phone.view.activity.AddressSearchActivity, o.AbstractActivityC9729dpQ, 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 + 23;
w = i2 % 128;
int i3 = i2 % 2;
Object[] objArr = new Object[1];
aG(null, null, ((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getResources().getString(R.string.suitability_assessment_offshore_derivatives_error).substring(54, 55).length() + 126, new byte[]{-120, -120, ISOFileInfo.SECURITY_ATTR_EXP, ISOFileInfo.LCS_BYTE, ISOFileInfo.PROP_INFO, -124, -119, ISOFileInfo.FCI_EXT, -120, ISOFileInfo.PROP_INFO, ISOFileInfo.FCI_EXT, ISOFileInfo.FILE_IDENTIFIER, -122, ISOFileInfo.PROP_INFO, -124, ISOFileInfo.FILE_IDENTIFIER, -126, ISOFileInfo.DATA_BYTES2}, objArr);
Class<?> cls = Class.forName((String) objArr[0]);
Object[] objArr2 = new Object[1];
aG(null, null, ((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getResources().getString(R.string.etb_personal_info_current_mailing_address).substring(17, 18).length() + 126, new byte[]{ISOFileInfo.FILE_IDENTIFIER, -122, ISOFileInfo.CHANNEL_SECURITY, ISOFileInfo.ENV_TEMP_EF, ISOFileInfo.SECURITY_ATTR_COMPACT}, 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 = s + 101;
w = i4 % 128;
int i5 = i4 % 2;
Object[] objArr3 = new Object[1];
aG(null, null, ((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getResources().getString(R.string.easycash_decline_ncb_consent_card_type_title).substring(0, 16).codePointAt(6) - 3483, new byte[]{ISOFileInfo.FILE_IDENTIFIER, ISOFileInfo.DATA_BYTES2, ISOFileInfo.SECURITY_ATTR_EXP, -124, -108, -109, ISOFileInfo.ENV_TEMP_EF, -111, -122, -110, -122, -111, ISOFileInfo.LCS_BYTE, -112, ISOFileInfo.FCI_EXT, -113, -113, ISOFileInfo.DATA_BYTES2, ISOFileInfo.FCI_EXT, ISOFileInfo.FILE_IDENTIFIER, -122, ISOFileInfo.PROP_INFO, -124, ISOFileInfo.FILE_IDENTIFIER, -126, ISOFileInfo.DATA_BYTES2}, objArr3);
Class<?> cls2 = Class.forName((String) objArr3[0]);
Object[] objArr4 = new Object[1];
aI((short) (((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getResources().getString(R.string.already_registered_error).substring(21, 22).codePointAt(0) - 17), 2039172730 + ((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getResources().getString(R.string.mobile_number_sample).substring(0, 12).codePointAt(6), ((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getPackageName().codePointAt(9) - 204, (-12911233) + (ViewConfiguration.getMaximumFlingVelocity() >> 16), (byte) (((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getResources().getString(R.string.preregistered_mobile_input_title).substring(38, 39).codePointAt(0) + 43), objArr4);
baseContext = (Context) cls2.getMethod((String) objArr4[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 - ((byte) KeyEvent.getModifierMetaStateMask()), 6 - (AudioTrack.getMaxVolume() > BitmapDescriptorFactory.HUE_RED ? 1 : (AudioTrack.getMaxVolume() == BitmapDescriptorFactory.HUE_RED ? 0 : -1)), (char) (Process.myPid() >> 22))).getMethod("a", null);
xzZ.y.put(125943855, obj);
}
Object invoke = ((Method) obj).invoke(null, null);
Object[] objArr5 = new Object[1];
aG(null, null, ((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getResources().getString(R.string.add_pay_account_disclaimer).substring(45, 46).length() + 126, new byte[]{-105, ISOFileInfo.SECURITY_ATTR_EXP, -99, ISOFileInfo.LCS_BYTE, -97, -101, -105, -100, -104, -104, ISOFileInfo.SECURITY_ATTR_EXP, -102, -107, -99, -97, -107, -107, ISOFileInfo.FILE_IDENTIFIER, -101, ISOFileInfo.LCS_BYTE, -97, ISOFileInfo.LCS_BYTE, -98, -102, -101, ISOFileInfo.DATA_BYTES2, -105, -103, -99, -100, -103, -104, -99, -103, -104, -103, ISOFileInfo.DATA_BYTES2, -100, -101, -104, ISOFileInfo.DATA_BYTES2, -102, ISOFileInfo.LCS_BYTE, -103, -104, -105, -106, -107}, objArr5);
String str = (String) objArr5[0];
Object[] objArr6 = new Object[1];
aG(null, null, ((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getApplicationInfo().targetSdkVersion + 93, new byte[]{ISOFileInfo.SECURITY_ATTR_EXP, ISOFileInfo.DATA_BYTES2, -104, -98, -99, -107, ISOFileInfo.LCS_BYTE, -99, -104, -97, -99, ISOFileInfo.LCS_BYTE, -106, -102, -99, ISOFileInfo.FILE_IDENTIFIER, -104, -98, -107, -97, -98, ISOFileInfo.DATA_BYTES2, -104, -98, -104, -104, -99, -97, ISOFileInfo.DATA_BYTES2, -97, -106, -106, -99, ISOFileInfo.A0, -101, -100, ISOFileInfo.LCS_BYTE, ISOFileInfo.A0, -98, -103, -105, ISOFileInfo.DATA_BYTES2, -98, ISOFileInfo.LCS_BYTE, -100, -107, -105, -98, -107, -106, -98, -100, -98, -100, -97, ISOFileInfo.SECURITY_ATTR_EXP, -101, -105, -104, -98, ISOFileInfo.SECURITY_ATTR_EXP, -98, -104, ISOFileInfo.SECURITY_ATTR_EXP}, objArr6);
String str2 = (String) objArr6[0];
Object[] objArr7 = new Object[1];
aG(null, null, 127 - (KeyEvent.getMaxKeyCode() >> 16), new byte[]{-106, ISOFileInfo.LCS_BYTE, -99, -97, ISOFileInfo.DATA_BYTES2, -102, ISOFileInfo.DATA_BYTES2, ISOFileInfo.A0, -102, ISOFileInfo.A0, -101, -98, -99, -100, ISOFileInfo.SECURITY_ATTR_EXP, -104, ISOFileInfo.SECURITY_ATTR_EXP, -98, ISOFileInfo.LCS_BYTE, -102, -103, -97, ISOFileInfo.A0, -97, -107, -107, -100, -97, -97, ISOFileInfo.DATA_BYTES2, -104, -105, ISOFileInfo.FILE_IDENTIFIER, -101, -98, -99, ISOFileInfo.SECURITY_ATTR_EXP, -102, -99, ISOFileInfo.LCS_BYTE, -100, -106, ISOFileInfo.A0, -107, ISOFileInfo.A0, -102, -104, ISOFileInfo.DATA_BYTES2, -99, ISOFileInfo.A0, -105, -104, ISOFileInfo.SECURITY_ATTR_EXP, -103, -101, -100, ISOFileInfo.SECURITY_ATTR_EXP, ISOFileInfo.SECURITY_ATTR_EXP, -103, ISOFileInfo.DATA_BYTES2, -103, ISOFileInfo.A0, -99, ISOFileInfo.DATA_BYTES2}, objArr7);
String str3 = (String) objArr7[0];
Object[] objArr8 = new Object[1];
aG(null, null, ((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getPackageName().codePointAt(7) + 81, new byte[]{-120, -111, -126, ISOFileInfo.SECURITY_ATTR_EXP, -110, ISOFileInfo.SECURITY_ATTR_EXP, -94, -100, -110, -94, -111, -120, ISOFileInfo.SECURITY_ATTR_EXP, ISOFileInfo.A5, -126, -122, -94, -122, -113, ISOFileInfo.DATA_BYTES2, -94, ISOFileInfo.SECURITY_ATTR_COMPACT, ISOFileInfo.PROP_INFO, ISOFileInfo.LCS_BYTE, ISOFileInfo.FCI_EXT, ISOFileInfo.SECURITY_ATTR_EXP, -124, ISOFileInfo.DATA_BYTES2, -90, -89, -120, ISOFileInfo.FILE_IDENTIFIER, -124, ISOFileInfo.DATA_BYTES2, -90, ISOFileInfo.A5, ISOFileInfo.FCI_EXT, -111, -120, ISOFileInfo.DATA_BYTES2, ISOFileInfo.LCS_BYTE, -111, ISOFileInfo.DATA_BYTES2, ISOFileInfo.SECURITY_ATTR_EXP, -124, -108, -111, ISOFileInfo.FCI_EXT, -92, -126, ISOFileInfo.DATA_BYTES2, -104, -93, ISOFileInfo.DATA_BYTES2, -122, ISOFileInfo.LCS_BYTE, -124, ISOFileInfo.SECURITY_ATTR_EXP, ISOFileInfo.SECURITY_ATTR_COMPACT, ISOFileInfo.SECURITY_ATTR_COMPACT, ISOFileInfo.PROP_INFO, ISOFileInfo.LCS_BYTE, ISOFileInfo.SECURITY_ATTR_COMPACT, ISOFileInfo.DATA_BYTES2, -122, -120, -94, -94, ISOFileInfo.A1, -120, -113, -111, -111, -108}, objArr8);
String str4 = (String) objArr8[0];
Object[] objArr9 = new Object[1];
aG(null, null, 127 - View.resolveSizeAndState(0, 0, 0), new byte[]{ISOFileInfo.A0, ISOFileInfo.FCI_EXT, -99, ISOFileInfo.FCI_EXT, -101}, objArr9);
String str5 = (String) objArr9[0];
Object[] objArr10 = new Object[1];
aG(null, null, View.MeasureSpec.makeMeasureSpec(0, 0) + 127, new byte[]{ISOFileInfo.SECURITY_ATTR_EXP, -107, -97, -105, -97, ISOFileInfo.LCS_BYTE, ISOFileInfo.SECURITY_ATTR_EXP, -106, ISOFileInfo.DATA_BYTES2, -100, ISOFileInfo.LCS_BYTE, -100, -88, ISOFileInfo.LCS_BYTE, ISOFileInfo.SECURITY_ATTR_EXP, -104, ISOFileInfo.DATA_BYTES2, -88, -107, -107, -100, -105, -88, -104, ISOFileInfo.SECURITY_ATTR_EXP, ISOFileInfo.A0, -98, -88, ISOFileInfo.A0, -105, -101, ISOFileInfo.FILE_IDENTIFIER, -105, -100, ISOFileInfo.DATA_BYTES2, ISOFileInfo.SECURITY_ATTR_EXP}, 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.getScrollBarSize() >> 8) + 487, 5 - TextUtils.getCapsMode("", 0, 0), (char) Color.green(0))).getMethod("e", Context.class, String.class, String.class, String.class, String.class, Boolean.TYPE, String.class, String.class);
xzZ.y.put(1656189573, obj2);
}
((Method) obj2).invoke(invoke, objArr11);
} catch (Throwable th) {
Throwable cause = th.getCause();
if (cause == null) {
throw th;
}
throw cause;
}
}
}
super.onCreate(bundle);
ButterKnife.Dg_(this);
Z();
setTitle(R.string.mw_shop_address_title);
ac();
}
@Override // o.AbstractActivityC8883dYr, com.scb.phone.view.activity.AddressSearchActivity, o.AbstractActivityC9729dpQ, 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;
int i2 = w + 11;
s = i2 % 128;
if (i2 % 2 != 0) {
getBaseContext();
throw null;
}
Context baseContext = getBaseContext();
if (baseContext == null) {
Object[] objArr = new Object[1];
aG(null, null, ((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getResources().getString(R.string.debit_value).substring(0, 3).length() + 124, new byte[]{ISOFileInfo.FILE_IDENTIFIER, ISOFileInfo.DATA_BYTES2, ISOFileInfo.SECURITY_ATTR_EXP, -124, -108, -109, ISOFileInfo.ENV_TEMP_EF, -111, -122, -110, -122, -111, ISOFileInfo.LCS_BYTE, -112, ISOFileInfo.FCI_EXT, -113, -113, ISOFileInfo.DATA_BYTES2, ISOFileInfo.FCI_EXT, ISOFileInfo.FILE_IDENTIFIER, -122, ISOFileInfo.PROP_INFO, -124, ISOFileInfo.FILE_IDENTIFIER, -126, ISOFileInfo.DATA_BYTES2}, objArr);
Class<?> cls = Class.forName((String) objArr[0]);
Object[] objArr2 = new Object[1];
aI((short) (((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getResources().getString(R.string.auto_kofax_verify_tutorial_desc).substring(65, 66).length() + 93), 2039172818 + ((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getResources().getString(R.string.manage_single_device_info1).substring(15, 16).codePointAt(0), ((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getPackageName().codePointAt(2) - 209, (-12911233) - (AudioTrack.getMinVolume() > BitmapDescriptorFactory.HUE_RED ? 1 : (AudioTrack.getMinVolume() == BitmapDescriptorFactory.HUE_RED ? 0 : -1)), (byte) (((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getResources().getString(R.string.auto_single_form_check_eligibility_open_mf_remark_1).substring(69, 70).codePointAt(0) + 27), objArr2);
baseContext = (Context) cls.getMethod((String) objArr2[0], new Class[0]).invoke(null, null);
int i3 = w + 73;
s = i3 % 128;
int i4 = i3 % 2;
}
if (baseContext != null) {
baseContext = baseContext.getApplicationContext();
}
if (baseContext != null) {
try {
Object obj = xzZ.y.get(125943855);
if (obj == null) {
obj = ((Class) xzZ.c(492 - (ViewConfiguration.getMinimumFlingVelocity() >> 16), (ViewConfiguration.getMaximumFlingVelocity() >> 16) + 5, (char) ((-1) - Process.getGidForName("")))).getMethod("a", null);
xzZ.y.put(125943855, obj);
}
Object invoke = ((Method) obj).invoke(null, null);
Object[] objArr3 = {baseContext};
Object obj2 = xzZ.y.get(1378719468);
if (obj2 == null) {
obj2 = ((Class) xzZ.c(486 - ImageFormat.getBitsPerPixel(0), 6 - (SystemClock.currentThreadTimeMillis() > (-1L) ? 1 : (SystemClock.currentThreadTimeMillis() == (-1L) ? 0 : -1)), (char) (1 - (Process.getElapsedCpuTime() > 0L ? 1 : (Process.getElapsedCpuTime() == 0L ? 0 : -1))))).getMethod(KtaJsonExactionHelper.OBJECT, Context.class);
xzZ.y.put(1378719468, obj2);
}
((Method) obj2).invoke(invoke, objArr3);
} catch (Throwable th) {
Throwable cause = th.getCause();
if (cause == null) {
throw th;
}
throw cause;
}
}
super.onResume();
}
@Override // o.AbstractActivityC8883dYr, com.scb.phone.view.activity.AddressSearchActivity, o.AbstractActivityC9729dpQ, 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) {
int i2 = s + 31;
w = i2 % 128;
int i3 = i2 % 2;
Object[] objArr = new Object[1];
aG(null, null, ((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getApplicationInfo().targetSdkVersion + 93, new byte[]{ISOFileInfo.FILE_IDENTIFIER, ISOFileInfo.DATA_BYTES2, ISOFileInfo.SECURITY_ATTR_EXP, -124, -108, -109, ISOFileInfo.ENV_TEMP_EF, -111, -122, -110, -122, -111, ISOFileInfo.LCS_BYTE, -112, ISOFileInfo.FCI_EXT, -113, -113, ISOFileInfo.DATA_BYTES2, ISOFileInfo.FCI_EXT, ISOFileInfo.FILE_IDENTIFIER, -122, ISOFileInfo.PROP_INFO, -124, ISOFileInfo.FILE_IDENTIFIER, -126, ISOFileInfo.DATA_BYTES2}, objArr);
Class<?> cls = Class.forName((String) objArr[0]);
Object[] objArr2 = new Object[1];
aI((short) (((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getResources().getString(R.string.auto_robo_advisor_open_scbs_account_stop_3).substring(0, 1).codePointAt(0) + 52), 2039172740 + ((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getPackageName().codePointAt(11), ((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getResources().getString(R.string.gift_tutorial_message_step_2).substring(7, 8).codePointAt(0) - 132, ((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getApplicationInfo().targetSdkVersion - 12911267, (byte) (75 - (Process.myPid() >> 22)), objArr2);
baseContext = (Context) cls.getMethod((String) objArr2[0], new Class[0]).invoke(null, null);
}
if (baseContext != null) {
baseContext = baseContext.getApplicationContext();
int i4 = w + 39;
s = i4 % 128;
int i5 = i4 % 2;
}
if (baseContext != null) {
int i6 = s + 67;
w = i6 % 128;
int i7 = i6 % 2;
try {
Object obj = xzZ.y.get(125943855);
if (obj == null) {
obj = ((Class) xzZ.c((SystemClock.elapsedRealtimeNanos() > 0L ? 1 : (SystemClock.elapsedRealtimeNanos() == 0L ? 0 : -1)) + 491, 5 - (ViewConfiguration.getPressedStateDuration() >> 16), (char) Color.alpha(0))).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((ViewConfiguration.getMaximumDrawingCacheSize() >> 24) + 487, 5 - Gravity.getAbsoluteGravity(0, 0), (char) ((AudioTrack.getMaxVolume() > BitmapDescriptorFactory.HUE_RED ? 1 : (AudioTrack.getMaxVolume() == BitmapDescriptorFactory.HUE_RED ? 0 : -1)) - 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();
}
private static void aG(int[] iArr, char[] cArr, int i, byte[] bArr, Object[] objArr) {
char[] cArr2;
int i2 = 2;
int i3 = 2 % 2;
C3614bBe c3614bBe = new C3614bBe();
char[] cArr3 = b;
if (cArr3 != null) {
int i4 = $10 + 85;
$11 = i4 % 128;
int i5 = i4 % 2;
int length = cArr3.length;
char[] cArr4 = new char[length];
int i6 = 0;
while (i6 < length) {
int i7 = $10 + 21;
$11 = i7 % 128;
int i8 = i7 % i2;
try {
Object[] objArr2 = {Integer.valueOf(cArr3[i6])};
Object obj = xzZ.y.get(-950481649);
if (obj == null) {
Class cls = (Class) xzZ.c((AudioTrack.getMaxVolume() > BitmapDescriptorFactory.HUE_RED ? 1 : (AudioTrack.getMaxVolume() == BitmapDescriptorFactory.HUE_RED ? 0 : -1)) + 336, (ViewConfiguration.getEdgeSlop() >> 16) + 5, (char) (ViewConfiguration.getFadingEdgeLength() >> 16));
byte b2 = (byte) 0;
Object[] objArr3 = new Object[1];
aJ(b2, (byte) (b2 | 57), b2, objArr3);
obj = cls.getMethod((String) objArr3[0], Integer.TYPE);
xzZ.y.put(-950481649, obj);
}
cArr4[i6] = ((Character) ((Method) obj).invoke(null, objArr2)).charValue();
i6++;
i2 = 2;
} catch (Throwable th) {
Throwable cause = th.getCause();
if (cause == null) {
throw th;
}
throw cause;
}
}
cArr3 = cArr4;
}
Object[] objArr4 = {Integer.valueOf(k)};
Object obj2 = xzZ.y.get(-1521625011);
if (obj2 == null) {
Class cls2 = (Class) xzZ.c(View.MeasureSpec.getMode(0) + 283, View.resolveSize(0, 0) + 5, (char) ((ViewConfiguration.getDoubleTapTimeout() >> 16) + 39813));
byte b3 = (byte) 0;
byte b4 = b3;
Object[] objArr5 = new Object[1];
aJ(b3, b4, b4, objArr5);
obj2 = cls2.getMethod((String) objArr5[0], Integer.TYPE);
xzZ.y.put(-1521625011, obj2);
}
int intValue = ((Integer) ((Method) obj2).invoke(null, objArr4)).intValue();
if (m) {
int i9 = $10 + 67;
$11 = i9 % 128;
if (i9 % 2 == 0) {
c3614bBe.c = bArr.length;
cArr2 = new char[c3614bBe.c];
c3614bBe.a = 1;
} else {
c3614bBe.c = bArr.length;
cArr2 = new char[c3614bBe.c];
c3614bBe.a = 0;
}
while (c3614bBe.a < c3614bBe.c) {
cArr2[c3614bBe.a] = (char) (cArr3[bArr[(c3614bBe.c - 1) - c3614bBe.a] + i] - intValue);
Object[] objArr6 = {c3614bBe, c3614bBe};
Object obj3 = xzZ.y.get(1779759091);
if (obj3 == null) {
obj3 = ((Class) xzZ.c((ViewConfiguration.getKeyRepeatTimeout() >> 16) + 40, KeyEvent.normalizeMetaState(0) + 5, (char) ((-1) - MotionEvent.axisFromString("")))).getMethod("D", Object.class, Object.class);
xzZ.y.put(1779759091, obj3);
}
((Method) obj3).invoke(null, objArr6);
}
objArr[0] = new String(cArr2);
return;
}
if (!l) {
c3614bBe.c = iArr.length;
char[] cArr5 = new char[c3614bBe.c];
c3614bBe.a = 0;
while (c3614bBe.a < c3614bBe.c) {
cArr5[c3614bBe.a] = (char) (cArr3[iArr[(c3614bBe.c - 1) - c3614bBe.a] - i] - intValue);
c3614bBe.a++;
int i10 = $11 + 1;
$10 = i10 % 128;
int i11 = i10 % 2;
}
objArr[0] = new String(cArr5);
return;
}
c3614bBe.c = cArr.length;
char[] cArr6 = new char[c3614bBe.c];
c3614bBe.a = 0;
while (c3614bBe.a < c3614bBe.c) {
cArr6[c3614bBe.a] = (char) (cArr3[cArr[(c3614bBe.c - 1) - c3614bBe.a] - i] - intValue);
Object[] objArr7 = {c3614bBe, c3614bBe};
Object obj4 = xzZ.y.get(1779759091);
if (obj4 == null) {
obj4 = ((Class) xzZ.c(ImageFormat.getBitsPerPixel(0) + 41, 5 - View.MeasureSpec.getMode(0), (char) (ViewConfiguration.getScrollBarSize() >> 8))).getMethod("D", Object.class, Object.class);
xzZ.y.put(1779759091, obj4);
}
((Method) obj4).invoke(null, objArr7);
}
objArr[0] = new String(cArr6);
}
@Override // o.AbstractActivityC8883dYr, com.scb.phone.view.activity.AddressSearchActivity, o.AbstractActivityC9729dpQ, 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;
super.attachBaseContext(context);
Object[] objArr = new Object[1];
Object obj = null;
aG(null, null, 127 - (ViewConfiguration.getJumpTapTimeout() >> 16), new byte[]{-120, -120, ISOFileInfo.SECURITY_ATTR_EXP, ISOFileInfo.LCS_BYTE, ISOFileInfo.PROP_INFO, -124, -119, ISOFileInfo.FCI_EXT, -120, ISOFileInfo.PROP_INFO, ISOFileInfo.FCI_EXT, ISOFileInfo.FILE_IDENTIFIER, -122, ISOFileInfo.PROP_INFO, -124, ISOFileInfo.FILE_IDENTIFIER, -126, ISOFileInfo.DATA_BYTES2}, objArr);
Class<?> cls = Class.forName((String) objArr[0]);
Object[] objArr2 = new Object[1];
aG(null, null, 127 - (ViewConfiguration.getScrollDefaultDelay() >> 16), new byte[]{ISOFileInfo.FILE_IDENTIFIER, -122, ISOFileInfo.CHANNEL_SECURITY, ISOFileInfo.ENV_TEMP_EF, ISOFileInfo.SECURITY_ATTR_COMPACT}, objArr2);
int intValue = ((Integer) cls.getDeclaredMethod((String) objArr2[0], new Class[0]).invoke(null, new Object[0])).intValue() % 100000;
if (intValue >= 99000) {
int i2 = w + 97;
s = i2 % 128;
if (i2 % 2 != 0) {
obj.hashCode();
throw null;
}
if (intValue <= 99999) {
return;
}
}
if (context != null) {
int i3 = s + 119;
w = i3 % 128;
int i4 = i3 % 2;
context = context.getApplicationContext();
}
if (context != null) {
try {
Object obj2 = xzZ.y.get(125943855);
if (obj2 == null) {
obj2 = ((Class) xzZ.c(TextUtils.indexOf((CharSequence) "", '0', 0) + 493, TextUtils.lastIndexOf("", '0', 0, 0) + 6, (char) TextUtils.getCapsMode("", 0, 0))).getMethod("a", null);
xzZ.y.put(125943855, obj2);
}
Object invoke = ((Method) obj2).invoke(null, null);
Object[] objArr3 = new Object[1];
aG(null, null, (ExpandableListView.getPackedPositionForChild(0, 0) > 0L ? 1 : (ExpandableListView.getPackedPositionForChild(0, 0) == 0L ? 0 : -1)) + 128, new byte[]{-105, ISOFileInfo.SECURITY_ATTR_EXP, -99, ISOFileInfo.LCS_BYTE, -97, -101, -105, -100, -104, -104, ISOFileInfo.SECURITY_ATTR_EXP, -102, -107, -99, -97, -107, -107, ISOFileInfo.FILE_IDENTIFIER, -101, ISOFileInfo.LCS_BYTE, -97, ISOFileInfo.LCS_BYTE, -98, -102, -101, ISOFileInfo.DATA_BYTES2, -105, -103, -99, -100, -103, -104, -99, -103, -104, -103, ISOFileInfo.DATA_BYTES2, -100, -101, -104, ISOFileInfo.DATA_BYTES2, -102, ISOFileInfo.LCS_BYTE, -103, -104, -105, -106, -107}, objArr3);
String str = (String) objArr3[0];
Object[] objArr4 = new Object[1];
aG(null, null, 127 - Color.blue(0), new byte[]{ISOFileInfo.SECURITY_ATTR_EXP, ISOFileInfo.DATA_BYTES2, -104, -98, -99, -107, ISOFileInfo.LCS_BYTE, -99, -104, -97, -99, ISOFileInfo.LCS_BYTE, -106, -102, -99, ISOFileInfo.FILE_IDENTIFIER, -104, -98, -107, -97, -98, ISOFileInfo.DATA_BYTES2, -104, -98, -104, -104, -99, -97, ISOFileInfo.DATA_BYTES2, -97, -106, -106, -99, ISOFileInfo.A0, -101, -100, ISOFileInfo.LCS_BYTE, ISOFileInfo.A0, -98, -103, -105, ISOFileInfo.DATA_BYTES2, -98, ISOFileInfo.LCS_BYTE, -100, -107, -105, -98, -107, -106, -98, -100, -98, -100, -97, ISOFileInfo.SECURITY_ATTR_EXP, -101, -105, -104, -98, ISOFileInfo.SECURITY_ATTR_EXP, -98, -104, ISOFileInfo.SECURITY_ATTR_EXP}, objArr4);
String str2 = (String) objArr4[0];
Object[] objArr5 = new Object[1];
aG(null, null, (CdmaCellLocation.convertQuartSecToDecDegrees(0) > 0.0d ? 1 : (CdmaCellLocation.convertQuartSecToDecDegrees(0) == 0.0d ? 0 : -1)) + 127, new byte[]{-106, ISOFileInfo.LCS_BYTE, -99, -97, ISOFileInfo.DATA_BYTES2, -102, ISOFileInfo.DATA_BYTES2, ISOFileInfo.A0, -102, ISOFileInfo.A0, -101, -98, -99, -100, ISOFileInfo.SECURITY_ATTR_EXP, -104, ISOFileInfo.SECURITY_ATTR_EXP, -98, ISOFileInfo.LCS_BYTE, -102, -103, -97, ISOFileInfo.A0, -97, -107, -107, -100, -97, -97, ISOFileInfo.DATA_BYTES2, -104, -105, ISOFileInfo.FILE_IDENTIFIER, -101, -98, -99, ISOFileInfo.SECURITY_ATTR_EXP, -102, -99, ISOFileInfo.LCS_BYTE, -100, -106, ISOFileInfo.A0, -107, ISOFileInfo.A0, -102, -104, ISOFileInfo.DATA_BYTES2, -99, ISOFileInfo.A0, -105, -104, ISOFileInfo.SECURITY_ATTR_EXP, -103, -101, -100, ISOFileInfo.SECURITY_ATTR_EXP, ISOFileInfo.SECURITY_ATTR_EXP, -103, ISOFileInfo.DATA_BYTES2, -103, ISOFileInfo.A0, -99, ISOFileInfo.DATA_BYTES2}, objArr5);
String str3 = (String) objArr5[0];
Object[] objArr6 = new Object[1];
aG(null, null, (ViewConfiguration.getPressedStateDuration() >> 16) + 127, new byte[]{-120, -111, -126, ISOFileInfo.SECURITY_ATTR_EXP, -110, ISOFileInfo.SECURITY_ATTR_EXP, -94, -100, -110, -94, -111, -120, ISOFileInfo.SECURITY_ATTR_EXP, ISOFileInfo.A5, -126, -122, -94, -122, -113, ISOFileInfo.DATA_BYTES2, -94, ISOFileInfo.SECURITY_ATTR_COMPACT, ISOFileInfo.PROP_INFO, ISOFileInfo.LCS_BYTE, ISOFileInfo.FCI_EXT, ISOFileInfo.SECURITY_ATTR_EXP, -124, ISOFileInfo.DATA_BYTES2, -90, -89, -120, ISOFileInfo.FILE_IDENTIFIER, -124, ISOFileInfo.DATA_BYTES2, -90, ISOFileInfo.A5, ISOFileInfo.FCI_EXT, -111, -120, ISOFileInfo.DATA_BYTES2, ISOFileInfo.LCS_BYTE, -111, ISOFileInfo.DATA_BYTES2, ISOFileInfo.SECURITY_ATTR_EXP, -124, -108, -111, ISOFileInfo.FCI_EXT, -92, -126, ISOFileInfo.DATA_BYTES2, -104, -93, ISOFileInfo.DATA_BYTES2, -122, ISOFileInfo.LCS_BYTE, -124, ISOFileInfo.SECURITY_ATTR_EXP, ISOFileInfo.SECURITY_ATTR_COMPACT, ISOFileInfo.SECURITY_ATTR_COMPACT, ISOFileInfo.PROP_INFO, ISOFileInfo.LCS_BYTE, ISOFileInfo.SECURITY_ATTR_COMPACT, ISOFileInfo.DATA_BYTES2, -122, -120, -94, -94, ISOFileInfo.A1, -120, -113, -111, -111, -108}, objArr6);
String str4 = (String) objArr6[0];
Object[] objArr7 = new Object[1];
aG(null, null, (ViewConfiguration.getFadingEdgeLength() >> 16) + 127, new byte[]{ISOFileInfo.A0, ISOFileInfo.FCI_EXT, -99, ISOFileInfo.FCI_EXT, -101}, objArr7);
String str5 = (String) objArr7[0];
Object[] objArr8 = new Object[1];
aG(null, null, 127 - ((Process.getThreadPriority(0) + 20) >> 6), new byte[]{ISOFileInfo.SECURITY_ATTR_EXP, -107, -97, -105, -97, ISOFileInfo.LCS_BYTE, ISOFileInfo.SECURITY_ATTR_EXP, -106, ISOFileInfo.DATA_BYTES2, -100, ISOFileInfo.LCS_BYTE, -100, -88, ISOFileInfo.LCS_BYTE, ISOFileInfo.SECURITY_ATTR_EXP, -104, ISOFileInfo.DATA_BYTES2, -88, -107, -107, -100, -105, -88, -104, ISOFileInfo.SECURITY_ATTR_EXP, ISOFileInfo.A0, -98, -88, ISOFileInfo.A0, -105, -101, ISOFileInfo.FILE_IDENTIFIER, -105, -100, ISOFileInfo.DATA_BYTES2, ISOFileInfo.SECURITY_ATTR_EXP}, objArr8);
Object[] objArr9 = {context, str, str2, str3, str4, true, str5, (String) objArr8[0]};
Object obj3 = xzZ.y.get(1656189573);
if (obj3 == null) {
obj3 = ((Class) xzZ.c(487 - (ViewConfiguration.getLongPressTimeout() >> 16), 4 - TextUtils.lastIndexOf("", '0', 0, 0), (char) (1 - (ViewConfiguration.getScrollFriction() > BitmapDescriptorFactory.HUE_RED ? 1 : (ViewConfiguration.getScrollFriction() == BitmapDescriptorFactory.HUE_RED ? 0 : -1))))).getMethod("e", Context.class, String.class, String.class, String.class, String.class, Boolean.TYPE, String.class, String.class);
xzZ.y.put(1656189573, obj3);
}
((Method) obj3).invoke(invoke, objArr9);
} catch (Throwable th) {
Throwable cause = th.getCause();
if (cause == null) {
throw th;
}
throw cause;
}
}
}
/* JADX WARN: Code restructure failed: missing block: B:45:0x01c2, code lost:
if (r12 != false) goto L46;
*/
/* JADX WARN: Code restructure failed: missing block: B:46:0x01d6, code lost:
r4 = 0;
*/
/* JADX WARN: Code restructure failed: missing block: B:74:0x01d8, code lost:
r4 = 1;
*/
/* JADX WARN: Code restructure failed: missing block: B:76:0x01d4, code lost:
if (r12 != true) goto L45;
*/
/*
Code decompiled incorrectly, please refer to instructions dump.
To view partially-correct add '--show-bad-code' argument
*/
private static void aI(short r20, int r21, int r22, int r23, byte r24, java.lang.Object[] r25) {
/*
Method dump skipped, instructions count: 763
To view this dump add '--comments-level debug' option
*/
throw new UnsupportedOperationException("Method not decompiled: com.scb.phone.view.activity.mwpartner.MwSubDistrictSearchActivity.aI(short, int, int, int, byte, java.lang.Object[]):void");
}
@Override // o.AbstractActivityC8883dYr, com.scb.phone.view.activity.AddressSearchActivity, o.AbstractActivityC9729dpQ, 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 = s + 55;
w = i2 % 128;
int i3 = i2 % 2;
super.onStart();
int i4 = s + 17;
w = i4 % 128;
if (i4 % 2 == 0) {
int i5 = 88 / 0;
}
}
}