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

666 lines
38 KiB
Java

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.text.TextUtils;
import android.util.TypedValue;
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 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.OnBoardingTutorialActivity;
import java.lang.reflect.Method;
import o.C13068fPo;
import o.VLM;
import org.bouncycastle.crypto.tls.CipherSuite;
import org.jnbis.internal.NistHelper;
/* renamed from: o.dqc, reason: case insensitive filesystem */
/* loaded from: classes4.dex */
public abstract class AbstractActivityC9794dqc extends BaseActivity implements fPA {
private volatile C13073fPt k;
private static final byte[] $$g = {67, 63, -31, 118};
private static final int $$h = 225;
private static int $10 = 0;
private static int $11 = 1;
private static int q = 0;
private static int v = 1;
private static char[] l = {49030, 49126, 49138, 49117, 49050, 49052, 49040, 49090, 49035, 49108, 49042, 49025, 49116, 49051, 49043, 49098, 49026, 49033, 49095, 49118, 49048, 49109, 49114, 49031, 49029, 49034, 49053, 49041, 49115, 49110, 49054, 49055, 49104, 49089, 49094, 49028, 49045, 49119, 49091, 49112, 49123, 49049, 49024, 49093, 49105, 49106, 49027, 49111, 49088};
private static char m = 35374;
private static char p = 56517;
private static char s = 13602;
private static char r = 34083;
private static char t = 60011;
/* renamed from: o, reason: collision with root package name */
private final Object f8893o = new Object();
boolean b = false;
private static void az(short s2, int i, short s3, Object[] objArr) {
int i2 = s3 + 4;
int i3 = s2 + 66;
int i4 = i * 3;
byte[] bArr = $$g;
byte[] bArr2 = new byte[1 - i4];
int i5 = 0 - i4;
int i6 = -1;
if (bArr == null) {
i3 += i2;
i2 = i2;
i6 = -1;
}
while (true) {
int i7 = i6 + 1;
int i8 = i2 + 1;
bArr2[i7] = (byte) i3;
if (i7 == i5) {
objArr[0] = new String(bArr2, 0);
return;
} else {
i3 += bArr[i8];
i2 = i8;
i6 = i7;
}
}
}
public AbstractActivityC9794dqc() {
addOnContextAvailableListener(new InterfaceC17278vUG(this) { // from class: o.dqc.2
private AbstractActivityC9794dqc b;
{
this.b = this;
}
@Override // o.InterfaceC17278vUG
public final void a(Context context) {
AbstractActivityC9794dqc abstractActivityC9794dqc = this.b;
if (abstractActivityC9794dqc.b) {
return;
}
abstractActivityC9794dqc.b = true;
((InterfaceC9788dqW) abstractActivityC9794dqc.y_()).d((OnBoardingTutorialActivity) abstractActivityC9794dqc);
}
});
}
@Override // o.fPC
public final Object y_() {
int i = 2 % 2;
int i2 = q + 109;
v = i2 % 128;
Object obj = null;
if (i2 % 2 == 0) {
j().y_();
obj.hashCode();
throw null;
}
Object y_ = j().y_();
int i3 = q + 109;
v = i3 % 128;
if (i3 % 2 != 0) {
return y_;
}
obj.hashCode();
throw null;
}
private C13073fPt j() {
if (this.k == null) {
synchronized (this.f8893o) {
if (this.k == null) {
this.k = new C13073fPt(this);
}
}
}
return this.k;
}
@Override // androidx.activity.ComponentActivity, o.GvH
public VLM.LWm getDefaultViewModelProviderFactory() {
Bundle bundle;
int i = 2 % 2;
VLM.LWm defaultViewModelProviderFactory = super.getDefaultViewModelProviderFactory();
C13068fPo.LWm a = ((C13068fPo.Sts) fOV.c(this, C13068fPo.Sts.class)).a();
if (getIntent() != null) {
bundle = getIntent().getExtras();
int i2 = q + 17;
v = i2 % 128;
int i3 = i2 % 2;
} else {
bundle = null;
}
VLM.LWm aBN_ = a.aBN_(this, bundle, defaultViewModelProviderFactory);
int i4 = v + 45;
q = i4 % 128;
if (i4 % 2 == 0) {
return aBN_;
}
throw null;
}
private static void ay(char[] cArr, int i, Object[] objArr) {
int i2;
int i3 = 2;
int i4 = 2 % 2;
jTb jtb = new jTb();
char[] cArr2 = new char[cArr.length];
int i5 = 0;
jtb.b = 0;
char[] cArr3 = new char[2];
int i6 = $10 + 109;
$11 = i6 % 128;
int i7 = i6 % 2;
while (jtb.b < cArr.length) {
int i8 = $11 + 119;
$10 = i8 % 128;
int i9 = 58224;
if (i8 % i3 != 0) {
cArr3[1] = cArr[jtb.b];
cArr3[i5] = cArr[jtb.b << 1];
} else {
cArr3[i5] = cArr[jtb.b];
cArr3[1] = cArr[jtb.b + 1];
}
int i10 = i5;
while (i10 < 16) {
char c = cArr3[1];
char c2 = cArr3[i5];
int i11 = (c2 + i9) ^ ((c2 << 4) + ((char) (r ^ 41718355337583039L)));
int i12 = c2 >>> 5;
try {
Object[] objArr2 = new Object[4];
objArr2[3] = Integer.valueOf(t);
objArr2[i3] = Integer.valueOf(i12);
objArr2[1] = Integer.valueOf(i11);
objArr2[i5] = Integer.valueOf(c);
Object obj = xzZ.y.get(597144044);
if (obj == null) {
Class cls = (Class) xzZ.c(412 - (ViewConfiguration.getMaximumDrawingCacheSize() >> 24), 4 - TextUtils.indexOf((CharSequence) "", '0', i5), (char) Color.argb(i5, i5, i5, i5));
byte b = (byte) i5;
byte b2 = b;
Object[] objArr3 = new Object[1];
az(b, b2, (byte) (b2 - 1), objArr3);
String str = (String) objArr3[i5];
Class<?>[] clsArr = new Class[4];
clsArr[i5] = Integer.TYPE;
clsArr[1] = Integer.TYPE;
clsArr[2] = Integer.TYPE;
clsArr[3] = Integer.TYPE;
obj = cls.getMethod(str, clsArr);
xzZ.y.put(597144044, obj);
}
char charValue = ((Character) ((Method) obj).invoke(null, objArr2)).charValue();
cArr3[1] = charValue;
char[] cArr4 = cArr3;
Object[] objArr4 = {Integer.valueOf(cArr3[i5]), Integer.valueOf((charValue + i9) ^ ((charValue << 4) + ((char) (p ^ 41718355337583039L)))), Integer.valueOf(charValue >>> 5), Integer.valueOf(s)};
Object obj2 = xzZ.y.get(597144044);
if (obj2 == null) {
Class cls2 = (Class) xzZ.c(TextUtils.lastIndexOf("", '0', 0) + 413, TextUtils.indexOf("", "", 0) + 5, (char) (ExpandableListView.getPackedPositionChild(0L) + 1));
byte b3 = (byte) 0;
byte b4 = b3;
Object[] objArr5 = new Object[1];
az(b3, b4, (byte) (b4 - 1), objArr5);
obj2 = cls2.getMethod((String) objArr5[0], Integer.TYPE, Integer.TYPE, Integer.TYPE, Integer.TYPE);
xzZ.y.put(597144044, obj2);
}
cArr4[0] = ((Character) ((Method) obj2).invoke(null, objArr4)).charValue();
i9 -= 40503;
i10++;
cArr3 = cArr4;
i3 = 2;
i5 = 0;
} catch (Throwable th) {
Throwable cause = th.getCause();
if (cause == null) {
throw th;
}
throw cause;
}
}
char[] cArr5 = cArr3;
cArr2[jtb.b] = cArr5[0];
cArr2[jtb.b + 1] = cArr5[1];
Object[] objArr6 = {jtb, jtb};
Object obj3 = xzZ.y.get(943004485);
if (obj3 != null) {
i2 = 2;
} else {
Class cls3 = (Class) xzZ.c(97 - ImageFormat.getBitsPerPixel(0), 5 - (ViewConfiguration.getFadingEdgeLength() >> 16), (char) ExpandableListView.getPackedPositionGroup(0L));
byte b5 = (byte) ($$h & 7);
byte b6 = (byte) (b5 - 1);
Object[] objArr7 = new Object[1];
az(b5, b6, (byte) (b6 - 1), objArr7);
i2 = 2;
obj3 = cls3.getMethod((String) objArr7[0], Object.class, Object.class);
xzZ.y.put(943004485, obj3);
}
((Method) obj3).invoke(null, objArr6);
i3 = i2;
cArr3 = cArr5;
i5 = 0;
}
objArr[0] = new String(cArr2, 0, i);
}
@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;
int i2 = v + 87;
q = i2 % 128;
int i3 = i2 % 2;
Object[] objArr = new Object[1];
ax(new char[]{3, '\n', 5, '(', '\b', 26, 5, '!', '\r', '/', '!', '/', '(', 19, '!', 30, 13888, 13888}, (byte) (((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getResources().getString(com.scb.phone.R.string.juristic_unlink_device_message).substring(24, 25).codePointAt(0) + 55), 18 - View.MeasureSpec.getMode(0), objArr);
Class<?> cls = Class.forName((String) objArr[0]);
Object[] objArr2 = new Object[1];
ax(new char[]{20, 16, '\b', 29, 13846}, (byte) (24 - (ExpandableListView.getPackedPositionForGroup(0) > 0L ? 1 : (ExpandableListView.getPackedPositionForGroup(0) == 0L ? 0 : -1))), ExpandableListView.getPackedPositionType(0L) + 5, 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];
ay(new char[]{5512, 46767, 44970, 46206, 44099, 48526, 19143, 41921, 6940, 12090, 20262, 6920, 1963, 58205, 12774, 19503, 1041, 7651, 7002, 24973, 34694, 40680, 50911, 45795, 1683, 23937}, (ViewConfiguration.getJumpTapTimeout() >> 16) + 26, objArr3);
Class<?> cls2 = Class.forName((String) objArr3[0]);
Object[] objArr4 = new Object[1];
ax(new char[]{'!', NistHelper.SEP_FS, 13814, 13814, 31, 1, 16, 4, 13816, 13816, '$', 23, 31, '.', 15, 25, '\n', 5}, (byte) (14 - Color.alpha(0)), 18 - (ViewConfiguration.getKeyRepeatTimeout() >> 16), objArr4);
baseContext = (Context) cls2.getMethod((String) objArr4[0], new Class[0]).invoke(null, null);
}
if (baseContext != null) {
baseContext = baseContext.getApplicationContext();
}
if (baseContext != null) {
int i4 = v + 77;
q = i4 % 128;
int i5 = i4 % 2;
try {
Object obj = xzZ.y.get(125943855);
if (obj == null) {
obj = ((Class) xzZ.c(493 - (SystemClock.elapsedRealtime() > 0L ? 1 : (SystemClock.elapsedRealtime() == 0L ? 0 : -1)), 5 - (ViewConfiguration.getMaximumDrawingCacheSize() >> 24), (char) (ViewConfiguration.getWindowTouchSlop() >> 8))).getMethod("a", null);
xzZ.y.put(125943855, obj);
}
Object invoke = ((Method) obj).invoke(null, null);
Object[] objArr5 = new Object[1];
ay(new char[]{31736, 49041, 20971, 12204, 32067, 54368, 63331, 53892, 47175, 11147, 12505, 48353, 27242, 16884, 44477, 12514, 46250, 54463, 6350, 34160, 27664, 31292, 21745, 23815, 61842, 62840, 25655, 10811, 26613, 19071, 6497, 4405, 45632, 19315, 13634, 42319, 45359, 27595, 49419, 6717, 48181, 26262, 57725, 60774, 25178, 30680, 37332, 41589}, ((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getResources().getString(com.scb.phone.R.string.scbs_data_sharing_confirm_decline_tc_description).substring(54, 55).length() + 47, objArr5);
String str = (String) objArr5[0];
Object[] objArr6 = new Object[1];
ax(new char[]{30, '+', 22, 31, 23, '-', 24, 26, NistHelper.SEP_FS, 1, '\n', 25, '\n', 25, '%', 14, 25, 24, 18, '\t', 31, 25, ',', 24, '-', 21, 4, '\'', 18, ' ', '+', 11, 13796, 13796, 3, '*', 1, 7, 13871, 13871, 23, '-', 3, 31, 2, 14, 23, '-', '+', '\f', NistHelper.SEP_FS, '*', 29, 11, 2, '*', 11, 29, 15, '\t', 23, '-', '+', 31}, (byte) (((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getApplicationInfo().targetSdkVersion + 21), ((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getResources().getString(com.scb.phone.R.string.ntb_resume_popup_description).substring(17, 18).codePointAt(0) + 32, objArr6);
String str2 = (String) objArr6[0];
Object[] objArr7 = new Object[1];
ay(new char[]{13261, 35902, 54891, 10903, 940, 52039, 13386, 39967, 34943, 20462, 63175, 33625, 10029, 26844, 32022, 45250, 20762, 25542, 40725, 34179, 10167, 16299, 45804, 38105, 25178, 30680, 45359, 27595, 62617, 64469, 27818, 46044, 20971, 12204, 25862, 23225, 15095, 13869, 47849, 57108, 61628, 65374, 40889, 44722, 57134, 63206, 58656, 1634, 29536, 9522, 6350, 34160, 37346, 19938, 19345, 18454, 39212, 61376, 63331, 53892, 20494, 21686, 28934, 28085}, ((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getResources().getString(com.scb.phone.R.string.root_checker_message).substring(CipherSuite.TLS_DHE_RSA_WITH_SEED_CBC_SHA, CipherSuite.TLS_RSA_WITH_AES_128_GCM_SHA256).length() + 62, objArr7);
String str3 = (String) objArr7[0];
Object[] objArr8 = new Object[1];
ax(new char[]{' ', 14, 17, '\'', '-', 20, 13804, 13804, '+', 27, '/', 17, '!', 11, 13870, 13870, 30, '\"', 29, 25, ',', '&', '-', '.', 4, '&', 25, 19, 29, '\"', 31, '+', 25, '\'', '.', '*', 19, 25, '\r', 30, '/', 31, '0', '*', '\r', NistHelper.SEP_FS, '/', 31, '!', 22, '!', 11, 26, '\f', 3, '-', 26, 1, 24, 1, '\b', 30, '.', 20, 1, '/', '\f', 4, '$', 1, 31, 1, 20, '.'}, (byte) ((ViewConfiguration.getMaximumDrawingCacheSize() >> 24) + 55), ((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getPackageName().codePointAt(8) - 38, objArr8);
String str4 = (String) objArr8[0];
Object[] objArr9 = new Object[1];
ay(new char[]{2611, 14055, 13531, 25017, 44778, 54445}, ((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getPackageName().length() - 8, objArr9);
String str5 = (String) objArr9[0];
Object[] objArr10 = new Object[1];
ay(new char[]{49121, 38756, 48181, 26262, 7392, 3521, 32229, 17292, 51189, 60290, 47488, 35947, 63193, 8072, 56783, 64673, 47849, 57108, 49821, 13519, 29536, 9522, 58207, 19868, 55506, 58241, 12505, 48353, 14690, 50204, 25655, 10811, 10496, 50734, 35511, 280}, ((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getApplicationInfo().targetSdkVersion + 2, 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(486 - ((byte) KeyEvent.getModifierMetaStateMask()), 5 - (AudioTrack.getMinVolume() > BitmapDescriptorFactory.HUE_RED ? 1 : (AudioTrack.getMinVolume() == BitmapDescriptorFactory.HUE_RED ? 0 : -1)), (char) ExpandableListView.getPackedPositionGroup(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, objArr11);
} catch (Throwable th) {
Throwable cause = th.getCause();
if (cause == null) {
throw th;
}
throw cause;
}
}
}
super.onCreate(bundle);
}
@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();
Object obj = null;
if (baseContext == null) {
int i2 = q + 117;
v = i2 % 128;
int i3 = i2 % 2;
Object[] objArr = new Object[1];
ay(new char[]{5512, 46767, 44970, 46206, 44099, 48526, 19143, 41921, 6940, 12090, 20262, 6920, 1963, 58205, 12774, 19503, 1041, 7651, 7002, 24973, 34694, 40680, 50911, 45795, 1683, 23937}, ((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getResources().getString(com.scb.phone.R.string.faq_pay_with_point_x_description_part_2).substring(92, 94).codePointAt(1) - 6, objArr);
Class<?> cls = Class.forName((String) objArr[0]);
Object[] objArr2 = new Object[1];
ax(new char[]{'!', NistHelper.SEP_FS, 13814, 13814, 31, 1, 16, 4, 13816, 13816, '$', 23, 31, '.', 15, 25, '\n', 5}, (byte) (13 - TextUtils.indexOf((CharSequence) "", '0', 0, 0)), ((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getApplicationInfo().targetSdkVersion - 16, objArr2);
baseContext = (Context) cls.getMethod((String) objArr2[0], new Class[0]).invoke(null, null);
}
if (baseContext != null) {
int i4 = q + 107;
v = i4 % 128;
if (i4 % 2 == 0) {
baseContext.getApplicationContext();
obj.hashCode();
throw null;
}
baseContext = baseContext.getApplicationContext();
}
if (baseContext != null) {
try {
Object obj2 = xzZ.y.get(125943855);
if (obj2 == null) {
obj2 = ((Class) xzZ.c((-16776724) - Color.rgb(0, 0, 0), Gravity.getAbsoluteGravity(0, 0) + 5, (char) (TypedValue.complexToFraction(0, BitmapDescriptorFactory.HUE_RED, BitmapDescriptorFactory.HUE_RED) > BitmapDescriptorFactory.HUE_RED ? 1 : (TypedValue.complexToFraction(0, BitmapDescriptorFactory.HUE_RED, BitmapDescriptorFactory.HUE_RED) == BitmapDescriptorFactory.HUE_RED ? 0 : -1)))).getMethod("a", null);
xzZ.y.put(125943855, obj2);
}
Object invoke = ((Method) obj2).invoke(null, null);
Object[] objArr3 = {baseContext};
Object obj3 = xzZ.y.get(1378719468);
if (obj3 == null) {
obj3 = ((Class) xzZ.c(View.resolveSize(0, 0) + 487, TextUtils.getOffsetBefore("", 0) + 5, (char) View.MeasureSpec.makeMeasureSpec(0, 0))).getMethod(KtaJsonExactionHelper.OBJECT, Context.class);
xzZ.y.put(1378719468, obj3);
}
((Method) obj3).invoke(invoke, objArr3);
} catch (Throwable th) {
Throwable cause = th.getCause();
if (cause == null) {
throw th;
}
throw cause;
}
}
super.onResume();
}
@Override // com.scb.phone.view.activity.BaseActivity, com.scb.phone.view.activity.PreLoadCheckActivity, com.akexorcist.localizationactivity.LocalizationActivity, androidx.appcompat.app.AppCompatActivity, androidx.fragment.app.FragmentActivity, androidx.activity.ComponentActivity, androidx.core.app.ComponentActivity, android.app.Activity
public void onPause() {
int i = 2 % 2;
Context baseContext = getBaseContext();
if (baseContext == null) {
Object[] objArr = new Object[1];
ay(new char[]{5512, 46767, 44970, 46206, 44099, 48526, 19143, 41921, 6940, 12090, 20262, 6920, 1963, 58205, 12774, 19503, 1041, 7651, 7002, 24973, 34694, 40680, 50911, 45795, 1683, 23937}, ((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getResources().getString(com.scb.phone.R.string.landing_page_scb).substring(0, 3).length() + 23, objArr);
Class<?> cls = Class.forName((String) objArr[0]);
Object[] objArr2 = new Object[1];
ax(new char[]{'!', NistHelper.SEP_FS, 13814, 13814, 31, 1, 16, 4, 13816, 13816, '$', 23, 31, '.', 15, 25, '\n', 5}, (byte) (((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getPackageName().codePointAt(11) - 96), ((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getApplicationInfo().targetSdkVersion - 16, objArr2);
baseContext = (Context) cls.getMethod((String) objArr2[0], new Class[0]).invoke(null, null);
}
if (baseContext != null) {
int i2 = v + 45;
q = i2 % 128;
int i3 = i2 % 2;
baseContext = baseContext.getApplicationContext();
}
if (baseContext != null) {
int i4 = v + 59;
q = i4 % 128;
int i5 = i4 % 2;
try {
Object obj = xzZ.y.get(125943855);
if (obj == null) {
obj = ((Class) xzZ.c(((byte) KeyEvent.getModifierMetaStateMask()) + 493, 5 - (ViewConfiguration.getScrollBarFadeDuration() >> 16), (char) View.getDefaultSize(0, 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(487 - View.MeasureSpec.makeMeasureSpec(0, 0), 5 - ((Process.getThreadPriority(0) + 20) >> 6), (char) (1 - (AudioTrack.getMaxVolume() > BitmapDescriptorFactory.HUE_RED ? 1 : (AudioTrack.getMaxVolume() == BitmapDescriptorFactory.HUE_RED ? 0 : -1))))).getMethod("c", Context.class);
xzZ.y.put(1633456013, obj2);
}
((Method) obj2).invoke(invoke, objArr3);
} catch (Throwable th) {
Throwable cause = th.getCause();
if (cause == null) {
throw th;
}
throw cause;
}
}
super.onPause();
int i6 = v + 3;
q = i6 % 128;
if (i6 % 2 != 0) {
throw null;
}
}
private static void ax(char[] cArr, byte b, int i, Object[] objArr) {
int i2;
char c;
int i3 = 2 % 2;
IRS irs = new IRS();
char[] cArr2 = l;
int i4 = 51;
int i5 = 6;
if (cArr2 != null) {
int length = cArr2.length;
char[] cArr3 = new char[length];
int i6 = 0;
while (i6 < length) {
try {
Object[] objArr2 = {Integer.valueOf(cArr2[i6])};
Object obj = xzZ.y.get(-1987398494);
if (obj == null) {
Class cls = (Class) xzZ.c(Color.argb(0, 0, 0, 0) + 298, TextUtils.lastIndexOf("", '0', 0) + i5, (char) (ViewConfiguration.getTouchSlop() >> 8));
byte b2 = (byte) 0;
Object[] objArr3 = new Object[1];
az((byte) i4, b2, (byte) (b2 - 1), objArr3);
obj = cls.getMethod((String) objArr3[0], Integer.TYPE);
xzZ.y.put(-1987398494, obj);
}
cArr3[i6] = ((Character) ((Method) obj).invoke(null, objArr2)).charValue();
i6++;
i4 = 51;
i5 = 6;
} catch (Throwable th) {
Throwable cause = th.getCause();
if (cause == null) {
throw th;
}
throw cause;
}
}
cArr2 = cArr3;
}
Object[] objArr4 = {Integer.valueOf(m)};
Object obj2 = xzZ.y.get(-1987398494);
float f = BitmapDescriptorFactory.HUE_RED;
char c2 = 5;
if (obj2 == null) {
Class cls2 = (Class) xzZ.c(297 - MotionEvent.axisFromString(""), 5 - View.MeasureSpec.getSize(0), (char) (1 - (ViewConfiguration.getScrollFriction() > BitmapDescriptorFactory.HUE_RED ? 1 : (ViewConfiguration.getScrollFriction() == BitmapDescriptorFactory.HUE_RED ? 0 : -1))));
byte b3 = (byte) 0;
Object[] objArr5 = new Object[1];
az((byte) 51, b3, (byte) (b3 - 1), objArr5);
obj2 = cls2.getMethod((String) objArr5[0], Integer.TYPE);
xzZ.y.put(-1987398494, obj2);
}
char charValue = ((Character) ((Method) obj2).invoke(null, objArr4)).charValue();
char[] cArr4 = new char[i];
if (i % 2 != 0) {
int i7 = $10 + 67;
$11 = i7 % 128;
if (i7 % 2 == 0) {
i2 = i + 42;
cArr4[i2] = (char) (cArr[i2] << b);
} else {
i2 = i - 1;
cArr4[i2] = (char) (cArr[i2] - b);
}
} else {
i2 = i;
}
if (i2 > 1) {
int i8 = $10 + 77;
$11 = i8 % 128;
int i9 = i8 % 2;
irs.e = 0;
while (irs.e < i2) {
irs.b = cArr[irs.e];
irs.c = cArr[irs.e + 1];
if (irs.b == irs.c) {
cArr4[irs.e] = (char) (irs.b - b);
cArr4[irs.e + 1] = (char) (irs.c - b);
c = c2;
} else {
Object[] objArr6 = new Object[13];
objArr6[12] = irs;
objArr6[11] = Integer.valueOf(charValue);
objArr6[10] = irs;
objArr6[9] = irs;
objArr6[8] = Integer.valueOf(charValue);
objArr6[7] = irs;
objArr6[6] = irs;
objArr6[c2] = Integer.valueOf(charValue);
objArr6[4] = irs;
objArr6[3] = irs;
objArr6[2] = Integer.valueOf(charValue);
objArr6[1] = irs;
objArr6[0] = irs;
Object obj3 = xzZ.y.get(822107368);
if (obj3 == null) {
Class cls3 = (Class) xzZ.c((ViewConfiguration.getJumpTapTimeout() >> 16) + 233, 5 - (PointF.length(f, f) > f ? 1 : (PointF.length(f, f) == f ? 0 : -1)), (char) (22024 - (ViewConfiguration.getPressedStateDuration() >> 16)));
byte b4 = (byte) 0;
Object[] objArr7 = new Object[1];
az((byte) 54, b4, (byte) (b4 - 1), objArr7);
obj3 = cls3.getMethod((String) objArr7[0], Object.class, Object.class, Integer.TYPE, Object.class, Object.class, Integer.TYPE, Object.class, Object.class, Integer.TYPE, Object.class, Object.class, Integer.TYPE, Object.class);
xzZ.y.put(822107368, obj3);
}
if (((Integer) ((Method) obj3).invoke(null, objArr6)).intValue() == irs.j) {
int i10 = $11 + 21;
$10 = i10 % 128;
int i11 = i10 % 2;
Object[] objArr8 = {irs, irs, Integer.valueOf(charValue), Integer.valueOf(charValue), irs, irs, Integer.valueOf(charValue), Integer.valueOf(charValue), irs, Integer.valueOf(charValue), irs};
Object obj4 = xzZ.y.get(-1152873385);
if (obj4 != null) {
c = 5;
} else {
Class cls4 = (Class) xzZ.c((ViewConfiguration.getGlobalActionKeyTimeout() > 0L ? 1 : (ViewConfiguration.getGlobalActionKeyTimeout() == 0L ? 0 : -1)) + 326, 4 - Process.getGidForName(""), (char) TextUtils.getTrimmedLength(""));
byte b5 = (byte) 0;
Object[] objArr9 = new Object[1];
az((byte) 52, b5, (byte) (b5 - 1), objArr9);
String str = (String) objArr9[0];
c = 5;
obj4 = cls4.getMethod(str, Object.class, Object.class, Integer.TYPE, Integer.TYPE, Object.class, Object.class, Integer.TYPE, Integer.TYPE, Object.class, Integer.TYPE, Object.class);
xzZ.y.put(-1152873385, obj4);
}
int intValue = ((Integer) ((Method) obj4).invoke(null, objArr8)).intValue();
int i12 = (irs.d * charValue) + irs.j;
cArr4[irs.e] = cArr2[intValue];
cArr4[irs.e + 1] = cArr2[i12];
} else {
c = 5;
if (irs.a == irs.d) {
irs.f = ((irs.f + charValue) - 1) % charValue;
irs.j = ((irs.j + charValue) - 1) % charValue;
int i13 = (irs.a * charValue) + irs.f;
int i14 = (irs.d * charValue) + irs.j;
cArr4[irs.e] = cArr2[i13];
cArr4[irs.e + 1] = cArr2[i14];
} else {
int i15 = (irs.a * charValue) + irs.j;
int i16 = (irs.d * charValue) + irs.f;
cArr4[irs.e] = cArr2[i15];
cArr4[irs.e + 1] = cArr2[i16];
}
}
}
irs.e += 2;
c2 = c;
f = BitmapDescriptorFactory.HUE_RED;
}
}
for (int i17 = 0; i17 < i; i17++) {
cArr4[i17] = (char) (cArr4[i17] ^ 13722);
}
objArr[0] = new String(cArr4);
}
@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;
super.attachBaseContext(context);
Object[] objArr = new Object[1];
ax(new char[]{3, '\n', 5, '(', '\b', 26, 5, '!', '\r', '/', '!', '/', '(', 19, '!', 30, 13888, 13888}, (byte) (86 - Process.getGidForName("")), TextUtils.lastIndexOf("", '0', 0, 0) + 19, objArr);
Class<?> cls = Class.forName((String) objArr[0]);
Object[] objArr2 = new Object[1];
ax(new char[]{20, 16, '\b', 29, 13846}, (byte) (TextUtils.indexOf((CharSequence) "", '0') + 25), ((Process.getThreadPriority(0) + 20) >> 6) + 5, 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) {
int i2 = v + 93;
q = i2 % 128;
int i3 = i2 % 2;
context2 = context.getApplicationContext();
} else {
context2 = context;
}
if (context2 != null) {
try {
Object obj = xzZ.y.get(125943855);
if (obj == null) {
obj = ((Class) xzZ.c((SystemClock.elapsedRealtime() > 0L ? 1 : (SystemClock.elapsedRealtime() == 0L ? 0 : -1)) + 491, (KeyEvent.getMaxKeyCode() >> 16) + 5, (char) Color.red(0))).getMethod("a", null);
xzZ.y.put(125943855, obj);
}
Object invoke = ((Method) obj).invoke(null, null);
Object[] objArr3 = new Object[1];
ay(new char[]{31736, 49041, 20971, 12204, 32067, 54368, 63331, 53892, 47175, 11147, 12505, 48353, 27242, 16884, 44477, 12514, 46250, 54463, 6350, 34160, 27664, 31292, 21745, 23815, 61842, 62840, 25655, 10811, 26613, 19071, 6497, 4405, 45632, 19315, 13634, 42319, 45359, 27595, 49419, 6717, 48181, 26262, 57725, 60774, 25178, 30680, 37332, 41589}, 48 - TextUtils.getTrimmedLength(""), objArr3);
String str = (String) objArr3[0];
Object[] objArr4 = new Object[1];
ax(new char[]{30, '+', 22, 31, 23, '-', 24, 26, NistHelper.SEP_FS, 1, '\n', 25, '\n', 25, '%', 14, 25, 24, 18, '\t', 31, 25, ',', 24, '-', 21, 4, '\'', 18, ' ', '+', 11, 13796, 13796, 3, '*', 1, 7, 13871, 13871, 23, '-', 3, 31, 2, 14, 23, '-', '+', '\f', NistHelper.SEP_FS, '*', 29, 11, 2, '*', 11, 29, 15, '\t', 23, '-', '+', 31}, (byte) (55 - (ViewConfiguration.getScrollDefaultDelay() >> 16)), MotionEvent.axisFromString("") + 65, objArr4);
String str2 = (String) objArr4[0];
Object[] objArr5 = new Object[1];
ay(new char[]{13261, 35902, 54891, 10903, 940, 52039, 13386, 39967, 34943, 20462, 63175, 33625, 10029, 26844, 32022, 45250, 20762, 25542, 40725, 34179, 10167, 16299, 45804, 38105, 25178, 30680, 45359, 27595, 62617, 64469, 27818, 46044, 20971, 12204, 25862, 23225, 15095, 13869, 47849, 57108, 61628, 65374, 40889, 44722, 57134, 63206, 58656, 1634, 29536, 9522, 6350, 34160, 37346, 19938, 19345, 18454, 39212, 61376, 63331, 53892, 20494, 21686, 28934, 28085}, 64 - Color.alpha(0), objArr5);
String str3 = (String) objArr5[0];
Object[] objArr6 = new Object[1];
ax(new char[]{' ', 14, 17, '\'', '-', 20, 13804, 13804, '+', 27, '/', 17, '!', 11, 13870, 13870, 30, '\"', 29, 25, ',', '&', '-', '.', 4, '&', 25, 19, 29, '\"', 31, '+', 25, '\'', '.', '*', 19, 25, '\r', 30, '/', 31, '0', '*', '\r', NistHelper.SEP_FS, '/', 31, '!', 22, '!', 11, 26, '\f', 3, '-', 26, 1, 24, 1, '\b', 30, '.', 20, 1, '/', '\f', 4, '$', 1, 31, 1, 20, '.'}, (byte) (56 - (Process.getElapsedCpuTime() > 0L ? 1 : (Process.getElapsedCpuTime() == 0L ? 0 : -1))), 74 - ExpandableListView.getPackedPositionType(0L), objArr6);
String str4 = (String) objArr6[0];
Object[] objArr7 = new Object[1];
ay(new char[]{2611, 14055, 13531, 25017, 44778, 54445}, 4 - ((byte) KeyEvent.getModifierMetaStateMask()), objArr7);
String str5 = (String) objArr7[0];
Object[] objArr8 = new Object[1];
ay(new char[]{49121, 38756, 48181, 26262, 7392, 3521, 32229, 17292, 51189, 60290, 47488, 35947, 63193, 8072, 56783, 64673, 47849, 57108, 49821, 13519, 29536, 9522, 58207, 19868, 55506, 58241, 12505, 48353, 14690, 50204, 25655, 10811, 10496, 50734, 35511, 280}, TextUtils.lastIndexOf("", '0', 0) + 37, 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(TextUtils.getTrimmedLength("") + 487, 5 - TextUtils.getTrimmedLength(""), (char) View.getDefaultSize(0, 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, objArr9);
} catch (Throwable th) {
Throwable cause = th.getCause();
if (cause == null) {
throw th;
}
throw cause;
}
}
}
int i4 = v + 27;
q = i4 % 128;
if (i4 % 2 != 0) {
int i5 = 7 / 0;
}
}
@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 = q + 105;
v = i2 % 128;
int i3 = i2 % 2;
super.onStart();
int i4 = q + 1;
v = i4 % 128;
if (i4 % 2 == 0) {
int i5 = 31 / 0;
}
}
}