what-the-bank/sources/o/AbstractActivityC8373dJW.java

649 lines
36 KiB
Java
Raw Normal View History

2024-07-27 18:17:47 +07:00
package o;
import android.content.Context;
import android.graphics.Color;
import android.graphics.ImageFormat;
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.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.mobile.sdk._internal.impl.extraction.kta.KtaJsonExactionHelper;
import com.scb.phone.view.activity.AddressSearchActivity;
import com.scb.phone.view.activity.easycash.EasycashSubDistrictSearchActivity;
import java.lang.reflect.Method;
import net.sf.scuba.smartcards.ISO7816;
import org.bouncycastle.crypto.tls.CipherSuite;
/* renamed from: o.dJW, reason: case insensitive filesystem */
/* loaded from: classes4.dex */
public abstract class AbstractActivityC8373dJW extends AddressSearchActivity {
private boolean b = false;
private static final byte[] $$E = {Ascii.ESC, 74, ISO7816.INS_UPDATE_RECORD, 124};
private static final int $$F = 201;
private static int $10 = 0;
private static int $11 = 1;
private static int m = 0;
private static int k = 1;
private static long l = -5305156844328915478L;
/* renamed from: o, reason: collision with root package name */
private static char[] f8739o = {39993, 40045, 40020, 40044, 40056, 39986, 40059, 40039, 40045, 40002, 40012, 40035, 40059, 40004, 39996, 40025, 40032, 40037, 40036, 40036, 40037, 40061, 40045, 40021, 40038, 40032, 40040, 40041, 40041, 40044, 40034, 40002, 40096, 40102, 40103, 40096, 40093, 40094, 40089, 40098, 40138, 40137, 40143, 40097, 40088, 40094, 40089, 40091, 40098, 40102, 40102, 40096, 40096, 40096, 40102, 40101, 40103, 40098, 40089, 40095, 40095, 40090, 40098, 40103, 40095, 40098, 40098, 40098, 40099, 40095, 40103, 40139, 40137, 40136, 40097, 40098, 40097, 40095, 40088, 39984, 40041, 40001, 40012, 40043, 40043, 40041, 40048, 40042, 40000, 40007, 40041, 40050, 40042, 40003, 40001, 40041, 40060, 40049, 40042, 40013, 40013, 40002, 40001, 40043, 40040, 40046, 40048, 40047, 40006, 40006, 40047, 40041, 40042, 40060, 40042, 40000, 40002, 40012, 40012, 40002, 40003, 40003, 40001, 40041, 40049, 40041, 40040, 40050, 40050, 40042, 40000, 40006, 40006, 40001, 40042, 40042, 40021, 40050, 40050, 40042, 40007, 40040, 40040, 40060, 40163, 40163, 40163, 40175};
/* JADX WARN: Removed duplicated region for block: B:10:0x0024 */
/* JADX WARN: Removed duplicated region for block: B:7:0x001c */
/* JADX WARN: Unsupported multi-entry loop pattern (BACK_EDGE: B:10:0x0024 -> B:4:0x0026). Please report as a decompilation issue!!! */
/*
Code decompiled incorrectly, please refer to instructions dump.
To view partially-correct add '--show-bad-code' argument
*/
private static void aJ(int r6, short r7, int r8, java.lang.Object[] r9) {
/*
int r7 = r7 + 4
int r6 = r6 * 3
int r6 = r6 + 1
int r8 = r8 + 71
byte[] r0 = o.AbstractActivityC8373dJW.$$E
byte[] r1 = new byte[r6]
r2 = 0
if (r0 != 0) goto L12
r3 = r6
r4 = r2
goto L26
L12:
r3 = r2
L13:
int r4 = r3 + 1
byte r5 = (byte) r8
r1[r3] = r5
int r7 = r7 + 1
if (r4 != r6) goto L24
java.lang.String r6 = new java.lang.String
r6.<init>(r1, r2)
r9[r2] = r6
return
L24:
r3 = r0[r7]
L26:
int r8 = r8 + r3
r3 = r4
goto L13
*/
throw new UnsupportedOperationException("Method not decompiled: o.AbstractActivityC8373dJW.aJ(int, short, int, java.lang.Object[]):void");
}
public AbstractActivityC8373dJW() {
addOnContextAvailableListener(new InterfaceC17278vUG(this) { // from class: o.dJW.1
private AbstractActivityC8373dJW e;
{
this.e = this;
}
@Override // o.InterfaceC17278vUG
public final void a(Context context) {
this.e.j();
}
});
}
@Override // o.AbstractActivityC9729dpQ
public final void j() {
int i = 2 % 2;
int i2 = m + 109;
int i3 = i2 % 128;
k = i3;
int i4 = i2 % 2;
if (!this.b) {
int i5 = i3 + 51;
m = i5 % 128;
int i6 = i5 % 2;
this.b = true;
((dJA) y_()).b((EasycashSubDistrictSearchActivity) this);
int i7 = k + 51;
m = i7 % 128;
int i8 = i7 % 2;
}
}
private static void aG(char[] cArr, int i, Object[] objArr) {
int i2 = 2 % 2;
C4593bdB c4593bdB = new C4593bdB();
c4593bdB.a = i;
int length = cArr.length;
long[] jArr = new long[length];
c4593bdB.e = 0;
while (c4593bdB.e < cArr.length) {
int i3 = $11 + 37;
$10 = i3 % 128;
int i4 = i3 % 2;
int i5 = c4593bdB.e;
try {
Object[] objArr2 = {Integer.valueOf(cArr[c4593bdB.e]), c4593bdB, c4593bdB};
Object obj = xzZ.y.get(-1229953068);
if (obj == null) {
Class cls = (Class) xzZ.c(402 - Color.argb(0, 0, 0, 0), 5 - (ViewConfiguration.getMaximumDrawingCacheSize() >> 24), (char) (21608 - (ViewConfiguration.getMaximumFlingVelocity() >> 16)));
byte b = (byte) 0;
byte b2 = (byte) (b - 1);
Object[] objArr3 = new Object[1];
aJ(b, b2, (byte) (b2 & 6), objArr3);
obj = cls.getMethod((String) objArr3[0], Integer.TYPE, Object.class, Object.class);
xzZ.y.put(-1229953068, obj);
}
jArr[i5] = ((Long) ((Method) obj).invoke(null, objArr2)).longValue() ^ (l ^ (-6958928035870403642L));
try {
Object[] objArr4 = {c4593bdB, c4593bdB};
Object obj2 = xzZ.y.get(-1143917229);
if (obj2 == null) {
Class cls2 = (Class) xzZ.c(237 - TextUtils.lastIndexOf("", '0', 0, 0), View.MeasureSpec.getSize(0) + 5, (char) ((-1) - ExpandableListView.getPackedPositionChild(0L)));
byte b3 = (byte) 0;
byte b4 = (byte) (b3 - 1);
Object[] objArr5 = new Object[1];
aJ(b3, b4, (byte) (b4 & 7), objArr5);
obj2 = cls2.getMethod((String) objArr5[0], Object.class, Object.class);
xzZ.y.put(-1143917229, obj2);
}
((Method) obj2).invoke(null, objArr4);
} catch (Throwable th) {
Throwable cause = th.getCause();
if (cause == null) {
throw th;
}
throw cause;
}
} catch (Throwable th2) {
Throwable cause2 = th2.getCause();
if (cause2 == null) {
throw th2;
}
throw cause2;
}
}
char[] cArr2 = new char[length];
c4593bdB.e = 0;
while (c4593bdB.e < cArr.length) {
int i6 = $10 + 27;
$11 = i6 % 128;
int i7 = i6 % 2;
cArr2[c4593bdB.e] = (char) jArr[c4593bdB.e];
try {
Object[] objArr6 = {c4593bdB, c4593bdB};
Object obj3 = xzZ.y.get(-1143917229);
if (obj3 == null) {
Class cls3 = (Class) xzZ.c(238 - TextUtils.getCapsMode("", 0, 0), 5 - KeyEvent.keyCodeFromString(""), (char) ((-1) - ImageFormat.getBitsPerPixel(0)));
byte b5 = (byte) 0;
byte b6 = (byte) (b5 - 1);
Object[] objArr7 = new Object[1];
aJ(b5, b6, (byte) (b6 & 7), objArr7);
obj3 = cls3.getMethod((String) objArr7[0], Object.class, Object.class);
xzZ.y.put(-1143917229, obj3);
}
((Method) obj3).invoke(null, objArr6);
} catch (Throwable th3) {
Throwable cause3 = th3.getCause();
if (cause3 == null) {
throw th3;
}
throw cause3;
}
}
objArr[0] = new String(cArr2);
}
@Override // 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) {
Method method;
int i = 2 % 2;
Object[] objArr = new Object[1];
aG(new char[]{65101, 11995, 24442, 36757, 48167, 60600, 7646, 18989, 31371, 43838, 56312, 2287, 14706, 27014, 38417, 50878, 63439, 9334}, ((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getApplicationInfo().targetSdkVersion + 53367, objArr);
Class<?> cls = Class.forName((String) objArr[0]);
Object[] objArr2 = new Object[1];
aI(new int[]{0, 5, 0, 0}, true, new byte[]{0, 1, 0, 0, 0}, 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 i2 = m + 45;
k = i2 % 128;
if (i2 % 2 == 0) {
Object[] objArr3 = new Object[1];
aI(new int[]{5, 26, 0, 23}, true, new byte[]{0, 1, 0, 1, 0, 1, 1, 0, 0, 1, 0, 1, 1, 1, 1, 1, 1, 1, 0, 0, 1, 0, 1, 1, 1, 0}, objArr3);
Class<?> cls2 = Class.forName((String) objArr3[0]);
Object[] objArr4 = new Object[1];
aG(new char[]{65103, 43966, 21904, 65515, 43477, 21441, 64818, 42812, 20836, 64323, 42310, 20136, 63643, 41718, 19706, 63180, 41011, 18965}, 27613 - (ViewConfiguration.getDoubleTapTimeout() >> 34), objArr4);
method = cls2.getMethod((String) objArr4[0], new Class[0]);
} else {
Object[] objArr5 = new Object[1];
aI(new int[]{5, 26, 0, 23}, false, new byte[]{0, 1, 0, 1, 0, 1, 1, 0, 0, 1, 0, 1, 1, 1, 1, 1, 1, 1, 0, 0, 1, 0, 1, 1, 1, 0}, objArr5);
Class<?> cls3 = Class.forName((String) objArr5[0]);
Object[] objArr6 = new Object[1];
aG(new char[]{65103, 43966, 21904, 65515, 43477, 21441, 64818, 42812, 20836, 64323, 42310, 20136, 63643, 41718, 19706, 63180, 41011, 18965}, (ViewConfiguration.getDoubleTapTimeout() >> 16) + 21991, objArr6);
method = cls3.getMethod((String) objArr6[0], new Class[0]);
}
baseContext = (Context) method.invoke(null, null);
}
if (baseContext != null) {
baseContext = baseContext.getApplicationContext();
}
if (baseContext != null) {
int i3 = k + 77;
m = i3 % 128;
int i4 = i3 % 2;
try {
Object obj = xzZ.y.get(125943855);
if (obj == null) {
obj = ((Class) xzZ.c(Gravity.getAbsoluteGravity(0, 0) + 492, (ViewConfiguration.getMaximumFlingVelocity() >> 16) + 5, (char) KeyEvent.normalizeMetaState(0))).getMethod("a", null);
xzZ.y.put(125943855, obj);
}
Object invoke = ((Method) obj).invoke(null, null);
Object[] objArr7 = new Object[1];
aI(new int[]{31, 48, 95, 0}, true, new byte[]{1, 1, 1, 1, 0, 0, 1, 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}, objArr7);
String str = (String) objArr7[0];
Object[] objArr8 = new Object[1];
aG(new char[]{65097, 48627, 31072, 13694, 61678, 44287, 26742, 9278, 58273, 40892, 23420, 5893, 53954, 36483, 19021, 1550, 50634, 33173, 15703, 63769, 46219, 28827, 11379, 60387, 42919, 25455, 7982, 55968, 38578, 21116, 3642, 52727, 35259, 17734, 259, 48282, 30861, 13381, 61504, 44933, 27538, 9995, 58191, 40613, 23141, 5668, 54764, 37373, 19768, 2361, 50336, 32956, 15403, 63541, 47047, 29653, 12108, 60250, 42703, 25243, 7766, 55879, 39307, 21962}, (ViewConfiguration.getFadingEdgeLength() >> 16) + 17341, objArr8);
String str2 = (String) objArr8[0];
Object[] objArr9 = new Object[1];
aI(new int[]{79, 64, 22, 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}, objArr9);
String str3 = (String) objArr9[0];
Object[] objArr10 = new Object[1];
aG(new char[]{65092, 34523, 3934, 38869, 7251, 42137, 11537, 46486, 14919, 49886, 19283, 54240, 22635, 57572, 26987, 61932, 30329, 65261, 34681, 4092, 38001, 7423, 42252, 11656, 45578, 14988, 49996, 19337, 53264, 22665, 57619, 27024, 60984, 30380, 65323, 34742, 3124, 38125, 7481, 42412, 10805, 45733, 15158, 49246, 18649, 53598, 22983, 56915, 26329, 61201, 30681, 64602, 34013, 3356, 38383, 6777, 41709, 11048, 46059, 14451, 49407, 18814, 53733, 22117, 57027, 26393, 61400, 29770, 64645, 34069, 3483, 37399, 6784, 41732}, TextUtils.indexOf((CharSequence) "", '0', 0, 0) + 30852, objArr10);
String str4 = (String) objArr10[0];
Object[] objArr11 = new Object[1];
aI(new int[]{CipherSuite.TLS_DHE_PSK_WITH_3DES_EDE_CBC_SHA, 5, CipherSuite.TLS_DHE_PSK_WITH_NULL_SHA384, 5}, false, new byte[]{0, 1, 0, 0, 0}, objArr11);
String str5 = (String) objArr11[0];
Object[] objArr12 = new Object[1];
aG(new char[]{65097, 16406, 33448, 50441, 1828, 18898, 34874, 51809, 3289, 20265, 37266, 54176, 4618, 21662, 38626, 55627, 7085, 23062, 40039, 56972, 8530, 25406, 42397, 58412, 9878, 26796, 43808, 60884, 12271, 28166, 45285, 62236, 13688, 30626, 46603, 63544}, ((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getApplicationInfo().targetSdkVersion + 48697, objArr12);
Object[] objArr13 = {baseContext, str, str2, str3, str4, true, str5, (String) objArr12[0]};
Object obj2 = xzZ.y.get(1656189573);
if (obj2 == null) {
obj2 = ((Class) xzZ.c(488 - (ViewConfiguration.getGlobalActionKeyTimeout() > 0L ? 1 : (ViewConfiguration.getGlobalActionKeyTimeout() == 0L ? 0 : -1)), 6 - (ViewConfiguration.getZoomControlsTimeout() > 0L ? 1 : (ViewConfiguration.getZoomControlsTimeout() == 0L ? 0 : -1)), (char) TextUtils.indexOf("", ""))).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, objArr13);
} catch (Throwable th) {
Throwable cause = th.getCause();
if (cause == null) {
throw th;
}
throw cause;
}
}
}
super.onCreate(bundle);
int i5 = m + 99;
k = i5 % 128;
int i6 = i5 % 2;
}
@Override // 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() {
Method method;
int i = 2 % 2;
int i2 = m + 125;
k = i2 % 128;
Object obj = null;
if (i2 % 2 == 0) {
getBaseContext();
obj.hashCode();
throw null;
}
Context baseContext = getBaseContext();
if (baseContext == null) {
int i3 = m + 41;
k = i3 % 128;
if (i3 % 2 == 0) {
Object[] objArr = new Object[1];
aI(new int[]{5, 26, 0, 23}, false, new byte[]{0, 1, 0, 1, 0, 1, 1, 0, 0, 1, 0, 1, 1, 1, 1, 1, 1, 1, 0, 0, 1, 0, 1, 1, 1, 0}, objArr);
Class<?> cls = Class.forName((String) objArr[0]);
Object[] objArr2 = new Object[1];
aG(new char[]{65103, 43966, 21904, 65515, 43477, 21441, 64818, 42812, 20836, 64323, 42310, 20136, 63643, 41718, 19706, 63180, 41011, 18965}, 8133 - TextUtils.indexOf((CharSequence) "", 'l', 1, 0), objArr2);
method = cls.getMethod((String) objArr2[0], new Class[0]);
} else {
Object[] objArr3 = new Object[1];
aI(new int[]{5, 26, 0, 23}, false, new byte[]{0, 1, 0, 1, 0, 1, 1, 0, 0, 1, 0, 1, 1, 1, 1, 1, 1, 1, 0, 0, 1, 0, 1, 1, 1, 0}, objArr3);
Class<?> cls2 = Class.forName((String) objArr3[0]);
Object[] objArr4 = new Object[1];
aG(new char[]{65103, 43966, 21904, 65515, 43477, 21441, 64818, 42812, 20836, 64323, 42310, 20136, 63643, 41718, 19706, 63180, 41011, 18965}, 21990 - TextUtils.indexOf((CharSequence) "", '0', 0, 0), objArr4);
method = cls2.getMethod((String) objArr4[0], new Class[0]);
}
baseContext = (Context) method.invoke(null, null);
}
if (baseContext != null) {
int i4 = k + 95;
m = i4 % 128;
if (i4 % 2 != 0) {
baseContext.getApplicationContext();
obj.hashCode();
throw null;
}
baseContext = baseContext.getApplicationContext();
}
if (baseContext != null) {
int i5 = m + 65;
k = i5 % 128;
int i6 = i5 % 2;
try {
Object obj2 = xzZ.y.get(125943855);
if (obj2 == null) {
obj2 = ((Class) xzZ.c((ViewConfiguration.getScrollFriction() > BitmapDescriptorFactory.HUE_RED ? 1 : (ViewConfiguration.getScrollFriction() == BitmapDescriptorFactory.HUE_RED ? 0 : -1)) + 491, (-16777211) - Color.rgb(0, 0, 0), (char) (ViewConfiguration.getEdgeSlop() >> 16))).getMethod("a", null);
xzZ.y.put(125943855, obj2);
}
Object invoke = ((Method) obj2).invoke(null, null);
Object[] objArr5 = {baseContext};
Object obj3 = xzZ.y.get(1378719468);
if (obj3 == null) {
obj3 = ((Class) xzZ.c(487 - (Process.myPid() >> 22), (ExpandableListView.getPackedPositionForGroup(0) > 0L ? 1 : (ExpandableListView.getPackedPositionForGroup(0) == 0L ? 0 : -1)) + 5, (char) (ViewConfiguration.getWindowTouchSlop() >> 8))).getMethod(KtaJsonExactionHelper.OBJECT, Context.class);
xzZ.y.put(1378719468, obj3);
}
((Method) obj3).invoke(invoke, objArr5);
} catch (Throwable th) {
Throwable cause = th.getCause();
if (cause == null) {
throw th;
}
throw cause;
}
}
super.onResume();
}
@Override // 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;
int i2 = k + 111;
m = i2 % 128;
int i3 = i2 % 2;
Context baseContext = getBaseContext();
Object obj = null;
if (baseContext == null) {
Object[] objArr = new Object[1];
aI(new int[]{5, 26, 0, 23}, false, new byte[]{0, 1, 0, 1, 0, 1, 1, 0, 0, 1, 0, 1, 1, 1, 1, 1, 1, 1, 0, 0, 1, 0, 1, 1, 1, 0}, objArr);
Class<?> cls = Class.forName((String) objArr[0]);
Object[] objArr2 = new Object[1];
aG(new char[]{65103, 43966, 21904, 65515, 43477, 21441, 64818, 42812, 20836, 64323, 42310, 20136, 63643, 41718, 19706, 63180, 41011, 18965}, ((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getResources().getString(com.scb.phone.R.string.beid_camera_permission).substring(0, 39).length() + 21952, 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 = k + 121;
m = i4 % 128;
try {
if (i4 % 2 != 0) {
Object obj2 = xzZ.y.get(125943855);
if (obj2 == null) {
obj2 = ((Class) xzZ.c(491 - TextUtils.lastIndexOf("", '0'), Color.blue(0) + 5, (char) (KeyEvent.getMaxKeyCode() >> 16))).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(Color.green(0) + 487, ((byte) KeyEvent.getModifierMetaStateMask()) + 6, (char) (TextUtils.indexOf((CharSequence) "", '0') + 1))).getMethod("c", Context.class);
xzZ.y.put(1633456013, obj3);
}
((Method) obj3).invoke(invoke, objArr3);
obj.hashCode();
throw null;
}
Object obj4 = xzZ.y.get(125943855);
if (obj4 == null) {
obj4 = ((Class) xzZ.c(((Process.getThreadPriority(0) + 20) >> 6) + 492, 5 - (ViewConfiguration.getMinimumFlingVelocity() >> 16), (char) (CdmaCellLocation.convertQuartSecToDecDegrees(0) > 0.0d ? 1 : (CdmaCellLocation.convertQuartSecToDecDegrees(0) == 0.0d ? 0 : -1)))).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 - View.MeasureSpec.makeMeasureSpec(0, 0), (TypedValue.complexToFloat(0) > BitmapDescriptorFactory.HUE_RED ? 1 : (TypedValue.complexToFloat(0) == BitmapDescriptorFactory.HUE_RED ? 0 : -1)) + 5, (char) (ExpandableListView.getPackedPositionForGroup(0) > 0L ? 1 : (ExpandableListView.getPackedPositionForGroup(0) == 0L ? 0 : -1)))).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();
}
private static void aI(int[] iArr, boolean z, byte[] bArr, Object[] objArr) {
int i;
char[] cArr;
int i2 = 2 % 2;
TVH tvh = new TVH();
int i3 = 0;
int i4 = iArr[0];
int i5 = 1;
int i6 = iArr[1];
int i7 = iArr[2];
int i8 = iArr[3];
char[] cArr2 = f8739o;
long j = 0;
char c = '0';
if (cArr2 != null) {
int length = cArr2.length;
char[] cArr3 = new char[length];
int i9 = 0;
while (i9 < length) {
try {
Object[] objArr2 = new Object[i5];
objArr2[i3] = Integer.valueOf(cArr2[i9]);
Object obj = xzZ.y.get(1645349359);
if (obj == null) {
Class cls = (Class) xzZ.c(AndroidCharacter.getMirror(c) + 175, Color.alpha(i3) + 5, (char) (ExpandableListView.getPackedPositionType(j) + 41977));
byte b = (byte) i3;
byte b2 = (byte) (b - 1);
Object[] objArr3 = new Object[1];
aJ(b, b2, (byte) (b2 + 1), objArr3);
obj = cls.getMethod((String) objArr3[0], Integer.TYPE);
xzZ.y.put(1645349359, obj);
}
cArr3[i9] = ((Character) ((Method) obj).invoke(null, objArr2)).charValue();
i9++;
i3 = 0;
i5 = 1;
j = 0;
c = '0';
} catch (Throwable th) {
Throwable cause = th.getCause();
if (cause == null) {
throw th;
}
throw cause;
}
}
cArr2 = cArr3;
}
char[] cArr4 = new char[i6];
char c2 = 0;
System.arraycopy(cArr2, i4, cArr4, 0, i6);
if (bArr != null) {
int i10 = $10 + 25;
$11 = i10 % 128;
if (i10 % 2 == 0) {
cArr = new char[i6];
tvh.c = 0;
} else {
cArr = new char[i6];
tvh.c = 0;
c2 = 0;
}
while (tvh.c < i6) {
int i11 = $11 + 43;
$10 = i11 % 128;
int i12 = i11 % 2;
if (bArr[tvh.c] == 1) {
int i13 = tvh.c;
Object[] objArr4 = {Integer.valueOf(cArr4[tvh.c]), Integer.valueOf(c2)};
Object obj2 = xzZ.y.get(850398076);
if (obj2 == null) {
obj2 = ((Class) xzZ.c(550 - AndroidCharacter.getMirror('0'), 5 - View.MeasureSpec.getMode(0), (char) (TextUtils.indexOf("", "") + 54))).getMethod("F", Integer.TYPE, Integer.TYPE);
xzZ.y.put(850398076, obj2);
}
cArr[i13] = ((Character) ((Method) obj2).invoke(null, objArr4)).charValue();
} else {
int i14 = 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(15 - (ViewConfiguration.getScrollBarSize() >> 8), 6 - (ViewConfiguration.getZoomControlsTimeout() > 0L ? 1 : (ViewConfiguration.getZoomControlsTimeout() == 0L ? 0 : -1)), (char) (TextUtils.indexOf("", "", 0) + 58134))).getMethod("H", Integer.TYPE, Integer.TYPE);
xzZ.y.put(1084521042, obj3);
}
cArr[i14] = ((Character) ((Method) obj3).invoke(null, objArr5)).charValue();
}
c2 = cArr[tvh.c];
try {
Object[] objArr6 = {tvh, tvh};
Object obj4 = xzZ.y.get(1698744941);
if (obj4 == null) {
Class cls2 = (Class) xzZ.c(401 - Process.getGidForName(""), Color.rgb(0, 0, 0) + 16777221, (char) (21608 - (ViewConfiguration.getLongPressTimeout() >> 16)));
byte b3 = (byte) 0;
byte b4 = (byte) (b3 - 1);
Object[] objArr7 = new Object[1];
aJ(b3, b4, (byte) (b4 + 3), objArr7);
obj4 = cls2.getMethod((String) objArr7[0], Object.class, Object.class);
xzZ.y.put(1698744941, obj4);
}
((Method) obj4).invoke(null, objArr6);
} catch (Throwable th2) {
Throwable cause2 = th2.getCause();
if (cause2 == null) {
throw th2;
}
throw cause2;
}
}
cArr4 = cArr;
}
if (i8 > 0) {
char[] cArr5 = new char[i6];
i = 0;
System.arraycopy(cArr4, 0, cArr5, 0, i6);
int i15 = i6 - i8;
System.arraycopy(cArr5, 0, cArr4, i15, i8);
System.arraycopy(cArr5, i8, cArr4, 0, i15);
} else {
i = 0;
}
if (z) {
char[] cArr6 = new char[i6];
while (true) {
tvh.c = i;
if (tvh.c >= i6) {
break;
}
cArr6[tvh.c] = cArr4[(i6 - tvh.c) - 1];
i = tvh.c + 1;
}
cArr4 = cArr6;
}
if (i7 > 0) {
int i16 = 0;
while (true) {
tvh.c = i16;
if (tvh.c >= i6) {
break;
}
cArr4[tvh.c] = (char) (cArr4[tvh.c] - iArr[2]);
i16 = tvh.c + 1;
}
}
objArr[0] = new String(cArr4);
}
@Override // 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;
int i2 = m + 61;
k = i2 % 128;
int i3 = i2 % 2;
super.attachBaseContext(context);
Object[] objArr = new Object[1];
aG(new char[]{65101, 11995, 24442, 36757, 48167, 60600, 7646, 18989, 31371, 43838, 56312, 2287, 14706, 27014, 38417, 50878, 63439, 9334}, (ViewConfiguration.getMaximumFlingVelocity() >> 16) + 53401, objArr);
Class<?> cls = Class.forName((String) objArr[0]);
Object[] objArr2 = new Object[1];
aI(new int[]{0, 5, 0, 0}, true, new byte[]{0, 1, 0, 0, 0}, objArr2);
int intValue = ((Integer) cls.getDeclaredMethod((String) objArr2[0], new Class[0]).invoke(null, new Object[0])).intValue() % 100000;
if (intValue >= 99000) {
int i4 = m + 23;
k = i4 % 128;
int i5 = i4 % 2;
if (intValue <= 99999) {
return;
}
}
Context applicationContext = context != null ? context.getApplicationContext() : context;
if (applicationContext != null) {
try {
Object obj = xzZ.y.get(125943855);
if (obj == null) {
obj = ((Class) xzZ.c(492 - View.resolveSizeAndState(0, 0, 0), TextUtils.getTrimmedLength("") + 5, (char) TextUtils.indexOf("", "", 0, 0))).getMethod("a", null);
xzZ.y.put(125943855, obj);
}
Object invoke = ((Method) obj).invoke(null, null);
Object[] objArr3 = new Object[1];
aI(new int[]{31, 48, 95, 0}, true, new byte[]{1, 1, 1, 1, 0, 0, 1, 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}, objArr3);
String str = (String) objArr3[0];
Object[] objArr4 = new Object[1];
aG(new char[]{65097, 48627, 31072, 13694, 61678, 44287, 26742, 9278, 58273, 40892, 23420, 5893, 53954, 36483, 19021, 1550, 50634, 33173, 15703, 63769, 46219, 28827, 11379, 60387, 42919, 25455, 7982, 55968, 38578, 21116, 3642, 52727, 35259, 17734, 259, 48282, 30861, 13381, 61504, 44933, 27538, 9995, 58191, 40613, 23141, 5668, 54764, 37373, 19768, 2361, 50336, 32956, 15403, 63541, 47047, 29653, 12108, 60250, 42703, 25243, 7766, 55879, 39307, 21962}, TextUtils.getCapsMode("", 0, 0) + 17341, objArr4);
String str2 = (String) objArr4[0];
Object[] objArr5 = new Object[1];
aI(new int[]{79, 64, 22, 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}, objArr5);
String str3 = (String) objArr5[0];
Object[] objArr6 = new Object[1];
aG(new char[]{65092, 34523, 3934, 38869, 7251, 42137, 11537, 46486, 14919, 49886, 19283, 54240, 22635, 57572, 26987, 61932, 30329, 65261, 34681, 4092, 38001, 7423, 42252, 11656, 45578, 14988, 49996, 19337, 53264, 22665, 57619, 27024, 60984, 30380, 65323, 34742, 3124, 38125, 7481, 42412, 10805, 45733, 15158, 49246, 18649, 53598, 22983, 56915, 26329, 61201, 30681, 64602, 34013, 3356, 38383, 6777, 41709, 11048, 46059, 14451, 49407, 18814, 53733, 22117, 57027, 26393, 61400, 29770, 64645, 34069, 3483, 37399, 6784, 41732}, View.MeasureSpec.makeMeasureSpec(0, 0) + 30851, objArr6);
String str4 = (String) objArr6[0];
Object[] objArr7 = new Object[1];
aI(new int[]{CipherSuite.TLS_DHE_PSK_WITH_3DES_EDE_CBC_SHA, 5, CipherSuite.TLS_DHE_PSK_WITH_NULL_SHA384, 5}, false, new byte[]{0, 1, 0, 0, 0}, objArr7);
String str5 = (String) objArr7[0];
Object[] objArr8 = new Object[1];
aG(new char[]{65097, 16406, 33448, 50441, 1828, 18898, 34874, 51809, 3289, 20265, 37266, 54176, 4618, 21662, 38626, 55627, 7085, 23062, 40039, 56972, 8530, 25406, 42397, 58412, 9878, 26796, 43808, 60884, 12271, 28166, 45285, 62236, 13688, 30626, 46603, 63544}, 48779 - AndroidCharacter.getMirror('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(488 - (SystemClock.elapsedRealtimeNanos() > 0L ? 1 : (SystemClock.elapsedRealtimeNanos() == 0L ? 0 : -1)), 5 - Color.blue(0), (char) ((-1) - ExpandableListView.getPackedPositionChild(0L)))).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 // 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 = k + 89;
m = i2 % 128;
int i3 = i2 % 2;
super.onStart();
if (i3 != 0) {
throw null;
}
int i4 = k + 65;
m = i4 % 128;
if (i4 % 2 != 0) {
throw null;
}
}
}