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

634 lines
40 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.graphics.PointF;
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.util.TypedValue;
import android.view.KeyEvent;
import android.view.MotionEvent;
import android.view.View;
import android.view.ViewConfiguration;
import android.widget.ExpandableListView;
import com.google.android.gms.maps.model.BitmapDescriptorFactory;
import com.kofax.mobile.sdk._internal.impl.extraction.kta.KtaJsonExactionHelper;
import com.scb.phone.view.activity.BaseActivity;
import com.scb.phone.view.activity.prelogin.quicktopup.ModifyQuickTopUpActivity;
import java.lang.reflect.Method;
import net.sf.scuba.smartcards.ISO7816;
import net.sf.scuba.smartcards.ISOFileInfo;
import o.C13068fPo;
import o.VLM;
import org.bouncycastle.crypto.tls.CipherSuite;
/* renamed from: o.ehl, reason: case insensitive filesystem */
/* loaded from: classes5.dex */
public abstract class AbstractActivityC11567ehl extends BaseActivity implements fPA {
private volatile C13073fPt m;
private static final byte[] $$g = {85, 123, 51, ISO7816.INS_READ_RECORD2};
private static final int $$h = 17;
private static int $10 = 0;
private static int $11 = 1;
private static int v = 0;
private static int x = 1;
private static long l = 9051040786702654117L;
/* renamed from: o, reason: collision with root package name */
private static int f9009o = 452713125;
private static char p = 65447;
private static char[] t = {16296, 16292, 16256, 16308, 16319, 16318, 16288, 16301, 16304, 16297, 16303, 16284, 16299, 16311, 16316, 16298, 15980, 15970, 15983, 16317, 15982, 16305, 15972, 15981, 15971, 15969, 15968, 15979, 15976};
private static int s = 1934311003;
private static boolean r = true;
private static boolean q = true;
private final Object k = new Object();
boolean b = false;
/* JADX WARN: Removed duplicated region for block: B:10:0x0027 */
/* JADX WARN: Removed duplicated region for block: B:7:0x001f */
/* JADX WARN: Unsupported multi-entry loop pattern (BACK_EDGE: B:10:0x0027 -> B:4:0x002c). Please report as a decompilation issue!!! */
/*
Code decompiled incorrectly, please refer to instructions dump.
To view partially-correct add '--show-bad-code' argument
*/
private static void az(short r6, short r7, int r8, java.lang.Object[] r9) {
/*
int r8 = r8 * 2
int r0 = r8 + 1
byte[] r1 = o.AbstractActivityC11567ehl.$$g
int r6 = 122 - r6
int r7 = r7 * 3
int r7 = 3 - r7
byte[] r0 = new byte[r0]
r2 = 0
if (r1 != 0) goto L15
r3 = r7
r6 = r8
r4 = r2
goto L2c
L15:
r3 = r2
L16:
int r7 = r7 + 1
byte r4 = (byte) r6
r0[r3] = r4
int r4 = r3 + 1
if (r3 != r8) goto L27
java.lang.String r6 = new java.lang.String
r6.<init>(r0, r2)
r9[r2] = r6
return
L27:
r3 = r1[r7]
r5 = r3
r3 = r7
r7 = r5
L2c:
int r6 = r6 + r7
r7 = r3
r3 = r4
goto L16
*/
throw new UnsupportedOperationException("Method not decompiled: o.AbstractActivityC11567ehl.az(short, short, int, java.lang.Object[]):void");
}
public AbstractActivityC11567ehl() {
addOnContextAvailableListener(new InterfaceC17278vUG(this) { // from class: o.ehl.5
private AbstractActivityC11567ehl a;
{
this.a = this;
}
@Override // o.InterfaceC17278vUG
public final void a(Context context) {
AbstractActivityC11567ehl abstractActivityC11567ehl = this.a;
if (abstractActivityC11567ehl.b) {
return;
}
abstractActivityC11567ehl.b = true;
((InterfaceC11576ehu) abstractActivityC11567ehl.y_()).d((ModifyQuickTopUpActivity) abstractActivityC11567ehl);
}
});
}
@Override // o.fPC
public final Object y_() {
int i = 2 % 2;
int i2 = x + 69;
v = i2 % 128;
Object obj = null;
if (i2 % 2 != 0) {
g().y_();
throw null;
}
Object y_ = g().y_();
int i3 = v + 71;
x = i3 % 128;
if (i3 % 2 != 0) {
return y_;
}
obj.hashCode();
throw null;
}
private C13073fPt g() {
if (this.m == null) {
synchronized (this.k) {
if (this.m == null) {
this.m = new C13073fPt(this);
}
}
}
return this.m;
}
@Override // androidx.activity.ComponentActivity, o.GvH
public VLM.LWm getDefaultViewModelProviderFactory() {
int i = 2 % 2;
int i2 = x + 107;
v = i2 % 128;
Bundle bundle = null;
if (i2 % 2 != 0) {
super.getDefaultViewModelProviderFactory();
((C13068fPo.Sts) fOV.c(this, C13068fPo.Sts.class)).a();
getIntent();
bundle.hashCode();
throw null;
}
VLM.LWm defaultViewModelProviderFactory = super.getDefaultViewModelProviderFactory();
C13068fPo.LWm a = ((C13068fPo.Sts) fOV.c(this, C13068fPo.Sts.class)).a();
if (getIntent() != null) {
int i3 = x + 17;
v = i3 % 128;
if (i3 % 2 != 0) {
getIntent().getExtras();
bundle.hashCode();
throw null;
}
bundle = getIntent().getExtras();
}
return a.aBN_(this, bundle, defaultViewModelProviderFactory);
}
private static void ax(char c, char[] cArr, char[] cArr2, char[] cArr3, int i, Object[] objArr) {
int i2 = 2 % 2;
Nhs nhs = new Nhs();
int length = cArr2.length;
char[] cArr4 = new char[length];
int length2 = cArr3.length;
char[] cArr5 = new char[length2];
System.arraycopy(cArr2, 0, cArr4, 0, length);
System.arraycopy(cArr3, 0, cArr5, 0, length2);
cArr4[0] = (char) (cArr4[0] ^ c);
cArr5[2] = (char) (cArr5[2] + ((char) i));
int length3 = cArr.length;
char[] cArr6 = new char[length3];
nhs.a = 0;
while (nhs.a < length3) {
int i3 = $11 + 45;
$10 = i3 % 128;
int i4 = i3 % 2;
try {
Object[] objArr2 = {nhs};
Object obj = xzZ.y.get(263693715);
if (obj == null) {
obj = ((Class) xzZ.c(TextUtils.indexOf((CharSequence) "", '0', 0) + 46, (ViewConfiguration.getScrollFriction() > BitmapDescriptorFactory.HUE_RED ? 1 : (ViewConfiguration.getScrollFriction() == BitmapDescriptorFactory.HUE_RED ? 0 : -1)) + 4, (char) (MotionEvent.axisFromString("") + 1))).getMethod("t", Object.class);
xzZ.y.put(263693715, obj);
}
int intValue = ((Integer) ((Method) obj).invoke(null, objArr2)).intValue();
Object[] objArr3 = {nhs};
Object obj2 = xzZ.y.get(-484664112);
if (obj2 == null) {
Class cls = (Class) xzZ.c((CdmaCellLocation.convertQuartSecToDecDegrees(0) > 0.0d ? 1 : (CdmaCellLocation.convertQuartSecToDecDegrees(0) == 0.0d ? 0 : -1)) + 352, (SystemClock.currentThreadTimeMillis() > (-1L) ? 1 : (SystemClock.currentThreadTimeMillis() == (-1L) ? 0 : -1)) + 4, (char) (ExpandableListView.getPackedPositionType(0L) + 52128));
byte b = (byte) 0;
Object[] objArr4 = new Object[1];
az((byte) 7, b, b, objArr4);
obj2 = cls.getMethod((String) objArr4[0], Object.class);
xzZ.y.put(-484664112, obj2);
}
int intValue2 = ((Integer) ((Method) obj2).invoke(null, objArr3)).intValue();
Object[] objArr5 = {nhs, Integer.valueOf(cArr4[nhs.a % 4] * 32718), Integer.valueOf(cArr5[intValue])};
Object obj3 = xzZ.y.get(430099516);
if (obj3 == null) {
obj3 = ((Class) xzZ.c((AudioTrack.getMaxVolume() > BitmapDescriptorFactory.HUE_RED ? 1 : (AudioTrack.getMaxVolume() == BitmapDescriptorFactory.HUE_RED ? 0 : -1)) + 747, TextUtils.indexOf("", "") + 5, (char) (KeyEvent.getMaxKeyCode() >> 16))).getMethod(com.pingan.ai.p.a, Object.class, Integer.TYPE, Integer.TYPE);
xzZ.y.put(430099516, obj3);
}
((Method) obj3).invoke(null, objArr5);
Object[] objArr6 = {Integer.valueOf(cArr4[intValue2] * 32718), Integer.valueOf(cArr5[intValue])};
Object obj4 = xzZ.y.get(1019894806);
if (obj4 == null) {
Class cls2 = (Class) xzZ.c(402 - (ViewConfiguration.getTapTimeout() >> 16), TextUtils.getOffsetAfter("", 0) + 5, (char) ((ViewConfiguration.getMinimumFlingVelocity() >> 16) + 21608));
byte b2 = (byte) 0;
Object[] objArr7 = new Object[1];
az((byte) ($$h >>> 1), b2, b2, objArr7);
obj4 = cls2.getMethod((String) objArr7[0], Integer.TYPE, Integer.TYPE);
xzZ.y.put(1019894806, obj4);
}
cArr5[intValue2] = ((Character) ((Method) obj4).invoke(null, objArr6)).charValue();
cArr4[intValue2] = nhs.c;
cArr6[nhs.a] = (char) ((((cArr4[intValue2] ^ cArr[nhs.a]) ^ (l ^ 9051040786702654117L)) ^ ((int) (f9009o ^ 9051040786702654117L))) ^ ((char) (p ^ 9051040786702654117L)));
nhs.a++;
} catch (Throwable th) {
Throwable cause = th.getCause();
if (cause == null) {
throw th;
}
throw cause;
}
}
String str = new String(cArr6);
int i5 = $10 + 69;
$11 = i5 % 128;
int i6 = i5 % 2;
objArr[0] = str;
}
@Override // 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;
Object[] objArr = new Object[1];
ax((char) (((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getResources().getString(com.scb.phone.R.string.hml_no_deposit_sub_action).substring(69, 70).codePointAt(0) + 54414), new char[]{51931, 19960, 486, 33589, 7113, 19852, 43224, 53338, 44846, 37788, 39154, 12262, 48868, 43800, 27874, 27881, 56557, 46009}, new char[]{28269, 273, 61194, 15060}, new char[]{0, 0, 0, 0}, ((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getResources().getString(com.scb.phone.R.string.unsuccessful_transfer_summary).substring(15, 16).length() - 1, objArr);
Class<?> cls = Class.forName((String) objArr[0]);
Object[] objArr2 = new Object[1];
ay(null, null, ((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getResources().getString(com.scb.phone.R.string.receive_statement_inapp_remark).substring(41, 42).length() + 126, new byte[]{ISOFileInfo.PROP_INFO, -124, ISOFileInfo.FILE_IDENTIFIER, -126, ISOFileInfo.DATA_BYTES2}, 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) {
Object[] objArr3 = new Object[1];
ax((char) (((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getPackageName().codePointAt(3) + 12747), new char[]{28966, 54514, 14715, 46386, 57653, 7962, 46759, 13299, 24131, 30058, 5240, 24528, 44020, 58526, 17756, 55959, 7942, 35429, 50200, 51088, 33571, 41815, 54200, 58796, 55559, 48728}, new char[]{35203, 47004, 63880, 58673}, new char[]{0, 0, 0, 0}, ((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getResources().getString(com.scb.phone.R.string.fill_information_title_breadcrumb_en).substring(0, 19).codePointAt(6) - 110, objArr3);
Class<?> cls2 = Class.forName((String) objArr3[0]);
Object[] objArr4 = new Object[1];
ay(null, null, ((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getResources().getString(com.scb.phone.R.string.add_account_info_title).substring(11, 12).codePointAt(0) + 17, new byte[]{ISOFileInfo.LCS_BYTE, -112, -124, ISOFileInfo.SECURITY_ATTR_EXP, -113, -122, -124, ISOFileInfo.CHANNEL_SECURITY, ISOFileInfo.ENV_TEMP_EF, ISOFileInfo.ENV_TEMP_EF, ISOFileInfo.SECURITY_ATTR_COMPACT, ISOFileInfo.SECURITY_ATTR_EXP, ISOFileInfo.LCS_BYTE, -119, -120, -120, ISOFileInfo.FCI_EXT, -122}, objArr4);
baseContext = (Context) cls2.getMethod((String) objArr4[0], new Class[0]).invoke(null, null);
}
if (baseContext != null) {
int i2 = v + 65;
x = i2 % 128;
if (i2 % 2 == 0) {
baseContext.getApplicationContext();
throw null;
}
baseContext = baseContext.getApplicationContext();
}
if (baseContext != null) {
int i3 = x + 41;
v = i3 % 128;
int i4 = i3 % 2;
try {
Object obj = xzZ.y.get(125943855);
if (obj == null) {
obj = ((Class) xzZ.c(ImageFormat.getBitsPerPixel(0) + 493, 4 - TextUtils.lastIndexOf("", '0'), (char) View.combineMeasuredStates(0, 0))).getMethod("a", null);
xzZ.y.put(125943855, obj);
}
Object invoke = ((Method) obj).invoke(null, null);
Object[] objArr5 = new Object[1];
ay(null, null, ((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getResources().getString(com.scb.phone.R.string.hml_business_owner_monthly_income_about_additional_info).substring(12, 13).length() + 126, new byte[]{-109, -119, -103, -122, -101, -105, -109, -104, -108, -108, -119, -106, -111, -103, -101, -111, -111, ISOFileInfo.PROP_INFO, -105, -122, -101, -122, -102, -106, -105, -113, -109, -107, -103, -104, -107, -108, -103, -107, -108, -107, -113, -104, -105, -108, -113, -106, -122, -107, -108, -109, -110, -111}, objArr5);
String str = (String) objArr5[0];
Object[] objArr6 = new Object[1];
ay(null, null, ((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getResources().getString(com.scb.phone.R.string.mw_shop_information_shop_email_hint).substring(0, 16).codePointAt(7) + 23, new byte[]{-119, -113, -108, -102, -103, -111, -122, -103, -108, -101, -103, -122, -110, -106, -103, ISOFileInfo.PROP_INFO, -108, -102, -111, -101, -102, -113, -108, -102, -108, -108, -103, -101, -113, -101, -110, -110, -103, -100, -105, -104, -122, -100, -102, -107, -109, -113, -102, -122, -104, -111, -109, -102, -111, -110, -102, -104, -102, -104, -101, -119, -105, -109, -108, -102, -119, -102, -108, -119}, objArr6);
String str2 = (String) objArr6[0];
Object[] objArr7 = new Object[1];
ax((char) (((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getPackageName().length() - 13), new char[]{28437, 40791, '4', 10194, 43085, 55626, 27466, 57500, 35399, 36227, 37100, 39941, 58946, 34828, 24214, 47784, 63703, 23677, 24261, 31347, 16708, 9156, 29798, 30098, 62362, 56753, 18802, 13184, 48138, 41418, 43869, 45686, 28942, 59077, 10707, 56069, 54250, 37681, 8163, 61274, 59557, 16078, 37471, 30792, 57001, 51840, 24116, 3675, 26906, 36986, 16016, 22264, 46434, 60291, 56675, 'j', 25660, 57686, 6556, 49877, 34605, 29504, 45431, 58236}, new char[]{63164, 53718, 13023, 39724}, new char[]{0, 0, 0, 0}, ((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getApplicationInfo().targetSdkVersion - 34, objArr7);
String str3 = (String) objArr7[0];
Object[] objArr8 = new Object[1];
ax((char) (((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getResources().getString(com.scb.phone.R.string.hml_business_owner_outcome_pending_notified_content).substring(CipherSuite.TLS_PSK_WITH_3DES_EDE_CBC_SHA, CipherSuite.TLS_PSK_WITH_AES_128_CBC_SHA).length() - 1), new char[]{40895, 19925, 59098, 18210, 34184, 41574, 5279, 58438, 8511, 37123, 30812, 26326, 23344, 24328, 58577, 25764, 53832, 60893, 8495, 12696, 63069, 33599, 62031, 3299, 17607, 26847, 27116, 11709, 10386, 31971, 55022, 22457, 5907, 19117, 53785, 7797, 48697, 7117, 60187, 55007, 20874, 17780, 10079, 28290, 52671, 26927, 9479, 55308, 18352, 17871, 1811, 18145, 26618, 44395, 54747, 37927, 64869, 45143, 23709, 37922, 21553, 62419, 9368, 30329, 61857, 32626, 65161, 49813, 58459, 18649, 31702, 13599, 39888, 46172}, new char[]{15583, 1354, 47469, 56636}, new char[]{0, 0, 0, 0}, ((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getPackageName().length() - 13, objArr8);
String str4 = (String) objArr8[0];
Object[] objArr9 = new Object[1];
ax((char) ((ViewConfiguration.getMinimumFlingVelocity() >> 16) + 32552), new char[]{4500, 3652, 43012, 24282, 35456}, new char[]{41844, 22480, 10430, 19583}, new char[]{0, 0, 0, 0}, ((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getApplicationInfo().targetSdkVersion - 1101541247, objArr9);
String str5 = (String) objArr9[0];
Object[] objArr10 = new Object[1];
ay(null, null, ((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getResources().getString(com.scb.phone.R.string.investment_discover_items_selected).substring(12, 13).codePointAt(0) + 95, new byte[]{-119, -111, -101, -109, -101, -122, -119, -110, -113, -104, -122, -104, -99, -122, -119, -108, -113, -99, -111, -111, -104, -109, -99, -108, -119, -100, -102, -99, -100, -109, -105, ISOFileInfo.PROP_INFO, -109, -104, -113, -119}, 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(((Process.getThreadPriority(0) + 20) >> 6) + 487, 5 - (ViewConfiguration.getDoubleTapTimeout() >> 16), (char) (TextUtils.indexOf((CharSequence) "", '0') + 1))).getMethod("e", Context.class, String.class, String.class, String.class, String.class, Boolean.TYPE, String.class, String.class);
xzZ.y.put(1656189573, obj2);
}
((Method) obj2).invoke(invoke, objArr11);
} catch (Throwable th) {
Throwable cause = th.getCause();
if (cause == null) {
throw th;
}
throw cause;
}
}
}
super.onCreate(bundle);
int i5 = x + 17;
v = i5 % 128;
if (i5 % 2 != 0) {
throw null;
}
}
private static void ay(int[] iArr, char[] cArr, int i, byte[] bArr, Object[] objArr) {
int i2 = 2;
int i3 = 2 % 2;
C3614bBe c3614bBe = new C3614bBe();
char[] cArr2 = t;
int i4 = 0;
if (cArr2 != null) {
int length = cArr2.length;
char[] cArr3 = new char[length];
int i5 = 0;
while (i5 < length) {
int i6 = $11 + 21;
$10 = i6 % 128;
int i7 = i6 % i2;
try {
Object[] objArr2 = new Object[1];
objArr2[i4] = Integer.valueOf(cArr2[i5]);
Object obj = xzZ.y.get(-950481649);
if (obj == null) {
Class cls = (Class) xzZ.c(337 - View.getDefaultSize(i4, i4), 6 - (AudioTrack.getMaxVolume() > BitmapDescriptorFactory.HUE_RED ? 1 : (AudioTrack.getMaxVolume() == BitmapDescriptorFactory.HUE_RED ? 0 : -1)), (char) (((byte) KeyEvent.getModifierMetaStateMask()) + 1));
byte b = (byte) i4;
Object[] objArr3 = new Object[1];
az((byte) ($$h | 40), b, b, objArr3);
obj = cls.getMethod((String) objArr3[0], Integer.TYPE);
xzZ.y.put(-950481649, obj);
}
cArr3[i5] = ((Character) ((Method) obj).invoke(null, objArr2)).charValue();
i5++;
int i8 = $11 + 15;
$10 = i8 % 128;
int i9 = i8 % 2;
i2 = 2;
i4 = 0;
} catch (Throwable th) {
Throwable cause = th.getCause();
if (cause == null) {
throw th;
}
throw cause;
}
}
cArr2 = cArr3;
}
Object[] objArr4 = {Integer.valueOf(s)};
Object obj2 = xzZ.y.get(-1521625011);
if (obj2 == null) {
Class cls2 = (Class) xzZ.c(TextUtils.getOffsetAfter("", 0) + 283, 5 - TextUtils.indexOf("", ""), (char) (KeyEvent.getDeadChar(0, 0) + 39813));
byte b2 = (byte) 0;
byte b3 = b2;
Object[] objArr5 = new Object[1];
az(b2, b3, b3, objArr5);
obj2 = cls2.getMethod((String) objArr5[0], Integer.TYPE);
xzZ.y.put(-1521625011, obj2);
}
int intValue = ((Integer) ((Method) obj2).invoke(null, objArr4)).intValue();
if (!(!q)) {
c3614bBe.c = bArr.length;
char[] cArr4 = new char[c3614bBe.c];
c3614bBe.a = 0;
int i10 = $11 + 123;
$10 = i10 % 128;
int i11 = i10 % 2;
while (c3614bBe.a < c3614bBe.c) {
cArr4[c3614bBe.a] = (char) (cArr2[bArr[(c3614bBe.c - 1) - c3614bBe.a] + i] - intValue);
try {
Object[] objArr6 = {c3614bBe, c3614bBe};
Object obj3 = xzZ.y.get(1779759091);
if (obj3 == null) {
obj3 = ((Class) xzZ.c(41 - (Process.getElapsedCpuTime() > 0L ? 1 : (Process.getElapsedCpuTime() == 0L ? 0 : -1)), (ViewConfiguration.getKeyRepeatTimeout() >> 16) + 5, (char) View.resolveSize(0, 0))).getMethod("D", Object.class, Object.class);
xzZ.y.put(1779759091, obj3);
}
((Method) obj3).invoke(null, objArr6);
} catch (Throwable th2) {
Throwable cause2 = th2.getCause();
if (cause2 == null) {
throw th2;
}
throw cause2;
}
}
objArr[0] = new String(cArr4);
return;
}
if (r) {
int i12 = $11 + 99;
$10 = i12 % 128;
int i13 = i12 % 2;
c3614bBe.c = cArr.length;
char[] cArr5 = new char[c3614bBe.c];
c3614bBe.a = 0;
while (c3614bBe.a < c3614bBe.c) {
cArr5[c3614bBe.a] = (char) (cArr2[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((ViewConfiguration.getScrollBarFadeDuration() >> 16) + 40, (-16777211) - Color.rgb(0, 0, 0), (char) View.MeasureSpec.makeMeasureSpec(0, 0))).getMethod("D", Object.class, Object.class);
xzZ.y.put(1779759091, obj4);
}
((Method) obj4).invoke(null, objArr7);
}
objArr[0] = new String(cArr5);
return;
}
int i14 = 0;
c3614bBe.c = iArr.length;
char[] cArr6 = new char[c3614bBe.c];
while (true) {
c3614bBe.a = i14;
if (c3614bBe.a >= c3614bBe.c) {
objArr[0] = new String(cArr6);
return;
} else {
cArr6[c3614bBe.a] = (char) (cArr2[iArr[(c3614bBe.c - 1) - c3614bBe.a] - i] - intValue);
i14 = c3614bBe.a + 1;
}
}
}
@Override // 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();
if (baseContext == null) {
Object[] objArr = new Object[1];
ax((char) (Color.argb(0, 0, 0, 0) + 12793), new char[]{28966, 54514, 14715, 46386, 57653, 7962, 46759, 13299, 24131, 30058, 5240, 24528, 44020, 58526, 17756, 55959, 7942, 35429, 50200, 51088, 33571, 41815, 54200, 58796, 55559, 48728}, new char[]{35203, 47004, 63880, 58673}, new char[]{0, 0, 0, 0}, ((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getResources().getString(com.scb.phone.R.string.select_investment_screen_robo_advisor).substring(0, 22).length() - 22, objArr);
Class<?> cls = Class.forName((String) objArr[0]);
Object[] objArr2 = new Object[1];
ay(null, null, (ViewConfiguration.getTouchSlop() >> 8) + 127, new byte[]{ISOFileInfo.LCS_BYTE, -112, -124, ISOFileInfo.SECURITY_ATTR_EXP, -113, -122, -124, ISOFileInfo.CHANNEL_SECURITY, ISOFileInfo.ENV_TEMP_EF, ISOFileInfo.ENV_TEMP_EF, ISOFileInfo.SECURITY_ATTR_COMPACT, ISOFileInfo.SECURITY_ATTR_EXP, ISOFileInfo.LCS_BYTE, -119, -120, -120, ISOFileInfo.FCI_EXT, -122}, objArr2);
baseContext = (Context) cls.getMethod((String) objArr2[0], new Class[0]).invoke(null, null);
}
if (baseContext != null) {
int i2 = x + 103;
v = i2 % 128;
int i3 = i2 % 2;
baseContext = baseContext.getApplicationContext();
}
if (baseContext != null) {
int i4 = v + 81;
x = i4 % 128;
int i5 = i4 % 2;
try {
Object obj = xzZ.y.get(125943855);
if (obj == null) {
obj = ((Class) xzZ.c(491 - ((byte) KeyEvent.getModifierMetaStateMask()), View.MeasureSpec.getMode(0) + 5, (char) ((SystemClock.elapsedRealtimeNanos() > 0L ? 1 : (SystemClock.elapsedRealtimeNanos() == 0L ? 0 : -1)) - 1))).getMethod("a", null);
xzZ.y.put(125943855, obj);
}
Object invoke = ((Method) obj).invoke(null, null);
Object[] objArr3 = {baseContext};
Object obj2 = xzZ.y.get(1378719468);
if (obj2 == null) {
obj2 = ((Class) xzZ.c(Color.alpha(0) + 487, (ViewConfiguration.getMinimumFlingVelocity() >> 16) + 5, (char) TextUtils.getOffsetBefore("", 0))).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 // 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 = v + 95;
x = i2 % 128;
Object obj = null;
if (i2 % 2 == 0) {
getBaseContext();
obj.hashCode();
throw null;
}
Context baseContext = getBaseContext();
if (baseContext == null) {
Object[] objArr = new Object[1];
ax((char) (12793 - Color.blue(0)), new char[]{28966, 54514, 14715, 46386, 57653, 7962, 46759, 13299, 24131, 30058, 5240, 24528, 44020, 58526, 17756, 55959, 7942, 35429, 50200, 51088, 33571, 41815, 54200, 58796, 55559, 48728}, new char[]{35203, 47004, 63880, 58673}, new char[]{0, 0, 0, 0}, ((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getPackageName().length() - 13, objArr);
Class<?> cls = Class.forName((String) objArr[0]);
Object[] objArr2 = new Object[1];
ay(null, null, ((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getResources().getString(com.scb.phone.R.string.gps_disabled).substring(0, 4).codePointAt(2) + 44, new byte[]{ISOFileInfo.LCS_BYTE, -112, -124, ISOFileInfo.SECURITY_ATTR_EXP, -113, -122, -124, ISOFileInfo.CHANNEL_SECURITY, ISOFileInfo.ENV_TEMP_EF, ISOFileInfo.ENV_TEMP_EF, ISOFileInfo.SECURITY_ATTR_COMPACT, ISOFileInfo.SECURITY_ATTR_EXP, ISOFileInfo.LCS_BYTE, -119, -120, -120, ISOFileInfo.FCI_EXT, -122}, objArr2);
baseContext = (Context) cls.getMethod((String) objArr2[0], new Class[0]).invoke(null, null);
}
if (baseContext != null) {
int i3 = v + 109;
x = i3 % 128;
int i4 = i3 % 2;
baseContext = baseContext.getApplicationContext();
}
if (baseContext != null) {
try {
Object obj2 = xzZ.y.get(125943855);
if (obj2 == null) {
obj2 = ((Class) xzZ.c(493 - (ViewConfiguration.getScrollFriction() > BitmapDescriptorFactory.HUE_RED ? 1 : (ViewConfiguration.getScrollFriction() == BitmapDescriptorFactory.HUE_RED ? 0 : -1)), 5 - (KeyEvent.getMaxKeyCode() >> 16), (char) (ViewConfiguration.getKeyRepeatDelay() >> 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(((byte) KeyEvent.getModifierMetaStateMask()) + 488, 5 - Color.alpha(0), (char) (ImageFormat.getBitsPerPixel(0) + 1))).getMethod("c", Context.class);
xzZ.y.put(1633456013, obj3);
}
((Method) obj3).invoke(invoke, objArr3);
int i5 = v + 41;
x = i5 % 128;
if (i5 % 2 == 0) {
int i6 = 2 / 4;
}
} catch (Throwable th) {
Throwable cause = th.getCause();
if (cause == null) {
throw th;
}
throw cause;
}
}
super.onPause();
}
@Override // 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) {
Context context2;
int i = 2 % 2;
int i2 = x + 57;
v = i2 % 128;
int i3 = i2 % 2;
super.attachBaseContext(context);
Object[] objArr = new Object[1];
ax((char) (TextUtils.indexOf("", "", 0, 0) + 54511), new char[]{51931, 19960, 486, 33589, 7113, 19852, 43224, 53338, 44846, 37788, 39154, 12262, 48868, 43800, 27874, 27881, 56557, 46009}, new char[]{28269, 273, 61194, 15060}, new char[]{0, 0, 0, 0}, ExpandableListView.getPackedPositionGroup(0L), objArr);
Class<?> cls = Class.forName((String) objArr[0]);
Object[] objArr2 = new Object[1];
ay(null, null, (ViewConfiguration.getTapTimeout() >> 16) + 127, new byte[]{ISOFileInfo.PROP_INFO, -124, ISOFileInfo.FILE_IDENTIFIER, -126, ISOFileInfo.DATA_BYTES2}, objArr2);
int intValue = ((Integer) cls.getDeclaredMethod((String) objArr2[0], new Class[0]).invoke(null, new Object[0])).intValue() % 100000;
if (intValue < 99000 || intValue > 99999) {
if (context != null) {
context2 = context.getApplicationContext();
int i4 = x + 29;
v = i4 % 128;
int i5 = i4 % 2;
} else {
context2 = context;
}
if (context2 != null) {
try {
Object obj = xzZ.y.get(125943855);
if (obj == null) {
obj = ((Class) xzZ.c(492 - (CdmaCellLocation.convertQuartSecToDecDegrees(0) > 0.0d ? 1 : (CdmaCellLocation.convertQuartSecToDecDegrees(0) == 0.0d ? 0 : -1)), (AudioTrack.getMinVolume() > BitmapDescriptorFactory.HUE_RED ? 1 : (AudioTrack.getMinVolume() == BitmapDescriptorFactory.HUE_RED ? 0 : -1)) + 5, (char) ((-1) - ((byte) KeyEvent.getModifierMetaStateMask())))).getMethod("a", null);
xzZ.y.put(125943855, obj);
}
Object invoke = ((Method) obj).invoke(null, null);
Object[] objArr3 = new Object[1];
ay(null, null, 127 - (TypedValue.complexToFloat(0) > BitmapDescriptorFactory.HUE_RED ? 1 : (TypedValue.complexToFloat(0) == BitmapDescriptorFactory.HUE_RED ? 0 : -1)), new byte[]{-109, -119, -103, -122, -101, -105, -109, -104, -108, -108, -119, -106, -111, -103, -101, -111, -111, ISOFileInfo.PROP_INFO, -105, -122, -101, -122, -102, -106, -105, -113, -109, -107, -103, -104, -107, -108, -103, -107, -108, -107, -113, -104, -105, -108, -113, -106, -122, -107, -108, -109, -110, -111}, objArr3);
String str = (String) objArr3[0];
Object[] objArr4 = new Object[1];
ay(null, null, 127 - (ExpandableListView.getPackedPositionForGroup(0) > 0L ? 1 : (ExpandableListView.getPackedPositionForGroup(0) == 0L ? 0 : -1)), new byte[]{-119, -113, -108, -102, -103, -111, -122, -103, -108, -101, -103, -122, -110, -106, -103, ISOFileInfo.PROP_INFO, -108, -102, -111, -101, -102, -113, -108, -102, -108, -108, -103, -101, -113, -101, -110, -110, -103, -100, -105, -104, -122, -100, -102, -107, -109, -113, -102, -122, -104, -111, -109, -102, -111, -110, -102, -104, -102, -104, -101, -119, -105, -109, -108, -102, -119, -102, -108, -119}, objArr4);
String str2 = (String) objArr4[0];
Object[] objArr5 = new Object[1];
ax((char) (ViewConfiguration.getMinimumFlingVelocity() >> 16), new char[]{28437, 40791, '4', 10194, 43085, 55626, 27466, 57500, 35399, 36227, 37100, 39941, 58946, 34828, 24214, 47784, 63703, 23677, 24261, 31347, 16708, 9156, 29798, 30098, 62362, 56753, 18802, 13184, 48138, 41418, 43869, 45686, 28942, 59077, 10707, 56069, 54250, 37681, 8163, 61274, 59557, 16078, 37471, 30792, 57001, 51840, 24116, 3675, 26906, 36986, 16016, 22264, 46434, 60291, 56675, 'j', 25660, 57686, 6556, 49877, 34605, 29504, 45431, 58236}, new char[]{63164, 53718, 13023, 39724}, new char[]{0, 0, 0, 0}, ViewConfiguration.getWindowTouchSlop() >> 8, objArr5);
String str3 = (String) objArr5[0];
Object[] objArr6 = new Object[1];
ax((char) View.MeasureSpec.getSize(0), new char[]{40895, 19925, 59098, 18210, 34184, 41574, 5279, 58438, 8511, 37123, 30812, 26326, 23344, 24328, 58577, 25764, 53832, 60893, 8495, 12696, 63069, 33599, 62031, 3299, 17607, 26847, 27116, 11709, 10386, 31971, 55022, 22457, 5907, 19117, 53785, 7797, 48697, 7117, 60187, 55007, 20874, 17780, 10079, 28290, 52671, 26927, 9479, 55308, 18352, 17871, 1811, 18145, 26618, 44395, 54747, 37927, 64869, 45143, 23709, 37922, 21553, 62419, 9368, 30329, 61857, 32626, 65161, 49813, 58459, 18649, 31702, 13599, 39888, 46172}, new char[]{15583, 1354, 47469, 56636}, new char[]{0, 0, 0, 0}, (PointF.length(BitmapDescriptorFactory.HUE_RED, BitmapDescriptorFactory.HUE_RED) > BitmapDescriptorFactory.HUE_RED ? 1 : (PointF.length(BitmapDescriptorFactory.HUE_RED, BitmapDescriptorFactory.HUE_RED) == BitmapDescriptorFactory.HUE_RED ? 0 : -1)), objArr6);
String str4 = (String) objArr6[0];
Object[] objArr7 = new Object[1];
ax((char) ((ViewConfiguration.getWindowTouchSlop() >> 8) + 32552), new char[]{4500, 3652, 43012, 24282, 35456}, new char[]{41844, 22480, 10430, 19583}, new char[]{0, 0, 0, 0}, (ViewConfiguration.getEdgeSlop() >> 16) - 1101541213, objArr7);
String str5 = (String) objArr7[0];
Object[] objArr8 = new Object[1];
ay(null, null, 127 - (ViewConfiguration.getKeyRepeatDelay() >> 16), new byte[]{-119, -111, -101, -109, -101, -122, -119, -110, -113, -104, -122, -104, -99, -122, -119, -108, -113, -99, -111, -111, -104, -109, -99, -108, -119, -100, -102, -99, -100, -109, -105, ISOFileInfo.PROP_INFO, -109, -104, -113, -119}, objArr8);
Object[] objArr9 = {context2, str, str2, str3, str4, true, str5, (String) objArr8[0]};
Object obj2 = xzZ.y.get(1656189573);
if (obj2 == null) {
obj2 = ((Class) xzZ.c(487 - (ViewConfiguration.getPressedStateDuration() >> 16), (SystemClock.currentThreadTimeMillis() > (-1L) ? 1 : (SystemClock.currentThreadTimeMillis() == (-1L) ? 0 : -1)) + 4, (char) (AudioTrack.getMinVolume() > BitmapDescriptorFactory.HUE_RED ? 1 : (AudioTrack.getMinVolume() == 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, 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.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 = x + 85;
v = i2 % 128;
int i3 = i2 % 2;
super.onStart();
int i4 = v + 47;
x = i4 % 128;
if (i4 % 2 == 0) {
int i5 = 47 / 0;
}
}
}