what-the-bank/sources/com/scb/phone/view/activity/device/Hilt_ManageSingleDeviceActi...

612 lines
37 KiB
Java
Raw Permalink Normal View History

2024-07-27 18:17:47 +07:00
package com.scb.phone.view.activity.device;
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.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.pingan.ai.p;
import com.scb.phone.R;
import com.scb.phone.view.activity.BaseActivity;
import java.lang.reflect.Method;
import net.sf.scuba.smartcards.ISO7816;
import o.C13068fPo;
import o.C13073fPt;
import o.InterfaceC17278vUG;
import o.InterfaceC8326dHu;
import o.Nhs;
import o.TVH;
import o.VLM;
import o.fOV;
import o.fPA;
import o.xzZ;
import org.bouncycastle.crypto.tls.CipherSuite;
/* loaded from: classes4.dex */
public abstract class Hilt_ManageSingleDeviceActivity extends BaseActivity implements fPA {
private volatile C13073fPt k;
private static final byte[] $$g = {69, ISO7816.INS_CHANGE_CHV, 67, Ascii.CAN};
private static final int $$h = CipherSuite.TLS_PSK_WITH_AES_256_CBC_SHA;
private static int $10 = 0;
private static int $11 = 1;
private static int s = 0;
private static int t = 1;
private static char[] m = {39986, 40056, 40039, 40047, 40034, 40059, 40042, 39988, 40027, 40058, 40005, 40002, 40045, 40039, 40059, 40032, 40034, 40044, 39996, 40059, 40034, 40058, 40054, 40020, 40140, 40133, 40134, 40141, 40143, 40135, 40126, 40120, 40128, 40130, 40142, 40138, 40118, 40142, 40130, 40140, 40130, 40007, 40100, 40100, 40083, 40102, 40142, 40142, 40097, 40102, 40102, 40093, 40082, 40082, 40092, 40102, 40142, 40142, 40100, 40101, 40141, 40101, 40093, 40095, 40095, 40094, 40088, 40088, 40094, 40092, 40102, 40136, 40102, 40101, 40123, 40082, 40082, 40123, 40140, 40122, 40100, 40103, 40093, 40094, 40089, 40089, 40102, 40141, 40136, 40101, 40093, 40095, 40102, 40142, 40101, 40083, 40092, 40102, 40140, 40101, 40103, 40103, 40088, 40093, 40101, 40037, 40136, 40096, 40103, 40103, 40143, 40151, 40141, 40143, 40138, 40137, 40137, 40108, 40139, 40151, 40144, 40146, 40116, 40108, 40098, 40098, 40096, 40099, 40116, 40144, 40137, 40096, 40098, 40109, 40097, 40101, 40141, 40143, 40096, 40138, 40144};
/* renamed from: o, reason: collision with root package name */
private static long f7025o = 9051040786702654117L;
private static int p = 452713125;
private static char r = 22415;
private final Object l = new Object();
boolean b = false;
private static void az(byte b, short s2, short s3, Object[] objArr) {
int i = (b * 4) + 4;
int i2 = s3 * 2;
byte[] bArr = $$g;
int i3 = 115 - s2;
byte[] bArr2 = new byte[i2 + 1];
int i4 = -1;
if (bArr == null) {
i3 = i2 + i3;
i++;
}
while (true) {
i4++;
bArr2[i4] = (byte) i3;
if (i4 == i2) {
objArr[0] = new String(bArr2, 0);
return;
} else {
i3 += bArr[i];
i++;
}
}
}
/* JADX INFO: Access modifiers changed from: package-private */
public Hilt_ManageSingleDeviceActivity() {
addOnContextAvailableListener(new InterfaceC17278vUG(this) { // from class: com.scb.phone.view.activity.device.Hilt_ManageSingleDeviceActivity.3
private Hilt_ManageSingleDeviceActivity b;
{
this.b = this;
}
@Override // o.InterfaceC17278vUG
public final void a(Context context) {
Hilt_ManageSingleDeviceActivity hilt_ManageSingleDeviceActivity = this.b;
if (hilt_ManageSingleDeviceActivity.b) {
return;
}
hilt_ManageSingleDeviceActivity.b = true;
((InterfaceC8326dHu) hilt_ManageSingleDeviceActivity.y_()).d((ManageSingleDeviceActivity) hilt_ManageSingleDeviceActivity);
}
});
}
@Override // o.fPC
public final Object y_() {
int i = 2 % 2;
int i2 = t + 27;
s = i2 % 128;
int i3 = i2 % 2;
Object y_ = h().y_();
int i4 = t + 37;
s = i4 % 128;
int i5 = i4 % 2;
return y_;
}
private C13073fPt h() {
if (this.k == null) {
synchronized (this.l) {
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) {
int i2 = t + 15;
s = i2 % 128;
if (i2 % 2 != 0) {
bundle = getIntent().getExtras();
int i3 = 56 / 0;
} else {
bundle = getIntent().getExtras();
}
} else {
int i4 = s + 35;
t = i4 % 128;
int i5 = i4 % 2;
bundle = null;
}
VLM.LWm aBN_ = a.aBN_(this, bundle, defaultViewModelProviderFactory);
int i6 = t + 55;
s = i6 % 128;
int i7 = i6 % 2;
return aBN_;
}
private static void ay(char c, char[] cArr, char[] cArr2, char[] cArr3, int i, Object[] objArr) {
int i2;
int i3 = 2;
int i4 = 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;
int i5 = $11 + 87;
$10 = i5 % 128;
int i6 = i5 % 2;
while (nhs.a < length3) {
int i7 = $11 + 9;
$10 = i7 % 128;
int i8 = i7 % i3;
try {
Object[] objArr2 = {nhs};
Object obj = xzZ.y.get(263693715);
if (obj == null) {
obj = ((Class) xzZ.c(KeyEvent.keyCodeFromString("") + 45, (AudioTrack.getMinVolume() > BitmapDescriptorFactory.HUE_RED ? 1 : (AudioTrack.getMinVolume() == BitmapDescriptorFactory.HUE_RED ? 0 : -1)) + 5, (char) (ViewConfiguration.getMinimumFlingVelocity() >> 16))).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((ViewConfiguration.getKeyRepeatDelay() >> 16) + 352, ExpandableListView.getPackedPositionChild(0L) + 6, (char) (52127 - TextUtils.indexOf((CharSequence) "", '0', 0, 0)));
byte b = (byte) 0;
byte b2 = b;
Object[] objArr4 = new Object[1];
az(b, b2, b2, 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(748 - (ViewConfiguration.getTapTimeout() >> 16), 5 - TextUtils.getTrimmedLength(""), (char) (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)))).getMethod(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) {
i2 = 2;
} else {
Class cls2 = (Class) xzZ.c(TextUtils.indexOf((CharSequence) "", '0', 0, 0) + 403, (AudioTrack.getMinVolume() > BitmapDescriptorFactory.HUE_RED ? 1 : (AudioTrack.getMinVolume() == BitmapDescriptorFactory.HUE_RED ? 0 : -1)) + 5, (char) (21608 - View.resolveSizeAndState(0, 0, 0)));
byte b3 = (byte) 0;
byte b4 = (byte) (b3 + 1);
Object[] objArr7 = new Object[1];
az(b3, b4, (byte) (b4 - 1), objArr7);
i2 = 2;
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]) ^ (f7025o ^ 9051040786702654117L)) ^ ((int) (p ^ 9051040786702654117L))) ^ ((char) (r ^ 9051040786702654117L)));
nhs.a++;
i3 = i2;
} catch (Throwable th) {
Throwable cause = th.getCause();
if (cause == null) {
throw th;
}
throw cause;
}
}
objArr[0] = new String(cArr6);
}
@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(new int[]{0, 18, 0, 0}, true, new byte[]{1, 0, 0, 0, 0, 1, 0, 0, 1, 0, 1, 0, 1, 0, 1, 0, 0, 1}, objArr);
Class<?> cls = Class.forName((String) objArr[0]);
Object[] objArr2 = new Object[1];
ax(new int[]{18, 5, 10, 0}, true, new byte[]{0, 1, 0, 0, 0}, objArr2);
Object obj = null;
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((char) (((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getApplicationInfo().targetSdkVersion + 33930), new char[]{57873, 4923, 63827, 8210, 48585, 52902, 16510, 23512, 14565, 58902, 7019, 51244, 9878, 23892, 23321, 1069, 59806, 60346, 22616, 25136, 22044, 35897, 58573, 29683, 9073, 3693}, new char[]{13934, 27320, 44213, 33412}, new char[]{0, 0, 0, 0}, ((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getResources().getString(R.string.apply_theme_description).substring(27, 28).length() - 1, objArr3);
Class<?> cls2 = Class.forName((String) objArr3[0]);
Object[] objArr4 = new Object[1];
ax(new int[]{23, 18, 91, 0}, false, new byte[]{0, 0, 1, 0, 1, 1, 0, 1, 1, 0, 0, 1, 0, 0, 1, 1, 0, 1}, objArr4);
baseContext = (Context) cls2.getMethod((String) objArr4[0], new Class[0]).invoke(null, null);
}
if (baseContext != null) {
baseContext = baseContext.getApplicationContext();
int i2 = s + 91;
t = i2 % 128;
int i3 = i2 % 2;
}
if (baseContext != null) {
try {
Object obj2 = xzZ.y.get(125943855);
if (obj2 == null) {
obj2 = ((Class) xzZ.c(491 - TextUtils.indexOf((CharSequence) "", '0', 0, 0), 5 - ((Process.getThreadPriority(0) + 20) >> 6), (char) (1 - (ViewConfiguration.getGlobalActionKeyTimeout() > 0L ? 1 : (ViewConfiguration.getGlobalActionKeyTimeout() == 0L ? 0 : -1))))).getMethod("a", null);
xzZ.y.put(125943855, obj2);
}
Object invoke = ((Method) obj2).invoke(null, null);
Object[] objArr5 = new Object[1];
ay((char) (((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getPackageName().length() - 13), new char[]{37731, 7682, 51082, 7897, 39304, 11968, 52609, 9830, 42951, 36743, 13655, 59616, 22735, 31900, 21949, 36843, 64861, 3064, 59533, 52497, 57849, 40591, 61438, 43073, 23083, 11604, 24360, 34732, 39391, 45196, 13096, 58136, 5655, 46198, 54283, 59653, 4191, 7758, 19840, 49272, 51253, 35460, 53662, 62177, 8969, 12321, 51546, 61868}, new char[]{9110, 61427, 3678, 61938}, new char[]{0, 0, 0, 0}, ((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getResources().getString(R.string.common_ndid_idp_no_enrolled_title).substring(52, 57).length() - 5, objArr5);
String str = (String) objArr5[0];
Object[] objArr6 = new Object[1];
ay((char) (ImageFormat.getBitsPerPixel(0) + 1), new char[]{22414, 58465, 50404, 4073, 63051, 37628, 31827, 18065, 37546, 38942, 15121, 16565, 22780, 53271, 19259, 29242, 26086, 38740, 54395, 56176, 59202, 41267, 55992, 42615, 44317, 15999, 48163, 30290, 26876, 34431, 50879, 10690, 51940, 57165, 43587, 13892, 60127, 2702, 61637, 36538, 43395, 57784, 3372, 9460, 31845, 13151, 55034, 924, 1990, 16017, 19887, 59751, 39966, 62477, 26347, 2238, 52097, 58757, 55382, 56640, 29254, 43392, 8493, 18226}, new char[]{13432, 40578, 41457, 7907}, new char[]{0, 0, 0, 0}, ((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getApplicationInfo().targetSdkVersion - 34, objArr6);
String str2 = (String) objArr6[0];
Object[] objArr7 = new Object[1];
ax(new int[]{41, 64, 98, 0}, true, new byte[]{1, 0, 1, 1, 0, 1, 1, 1, 0, 0, 1, 1, 0, 0, 1, 1, 1, 1, 1, 1, 1, 0, 1, 1, 0, 0, 1, 1, 0, 0, 1, 0, 0, 1, 1, 0, 1, 1, 0, 1, 1, 1, 1, 1, 1, 0, 0, 1, 1, 0, 0, 0, 1, 0, 0, 1, 1, 0, 0, 0, 0, 1, 0, 1}, objArr7);
String str3 = (String) objArr7[0];
Object[] objArr8 = new Object[1];
ay((char) (((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getPackageName().length() - 13), new char[]{58270, 41193, 37768, 32219, 28993, 52705, 39095, 56725, 58421, 50863, 463, 9498, 63310, 33861, 39564, 41203, 7107, 44671, 41838, 25331, 18420, 21458, 13725, 61375, 57508, 43684, 49626, 36924, 30677, 54406, 59453, 48310, 9074, 21045, 36642, 2136, 28433, 53922, 47749, 13214, 20209, 10908, 16391, 52837, 25583, 41645, 57041, 46041, 20851, 49616, 3259, 7858, 51552, 49290, 33975, 7698, 18410, 48847, 8556, 55395, 51363, 5306, 44953, 23869, 26752, 59294, 3223, 41712, 20030, 26634, 57900, 31594, 13053, 55937}, new char[]{35835, 49292, 42568, 53807}, new char[]{0, 0, 0, 0}, ((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getApplicationInfo().targetSdkVersion - 34, objArr8);
String str4 = (String) objArr8[0];
Object[] objArr9 = new Object[1];
ay((char) (((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getPackageName().codePointAt(0) + 26667), new char[]{29122, 3943, 6648, 28675, 7628}, new char[]{20941, 49039, 36448, 6504}, new char[]{0, 0, 0, 0}, 1623166801 - Color.red(0), objArr9);
String str5 = (String) objArr9[0];
Object[] objArr10 = new Object[1];
ax(new int[]{105, 36, 120, 0}, true, new byte[]{1, 0, 0, 1, 1, 0, 0, 0, 0, 1, 1, 1, 1, 0, 0, 1, 1, 0, 0, 0, 1, 0, 1, 1, 1, 1, 0, 1, 1, 0, 1, 1, 0, 0, 1, 0}, objArr10);
Object[] objArr11 = {baseContext, str, str2, str3, str4, true, str5, (String) objArr10[0]};
Object obj3 = xzZ.y.get(1656189573);
if (obj3 == null) {
obj3 = ((Class) xzZ.c(487 - Color.alpha(0), TextUtils.indexOf("", "") + 5, (char) (ViewConfiguration.getTapTimeout() >> 16))).getMethod("e", Context.class, String.class, String.class, String.class, String.class, Boolean.TYPE, String.class, String.class);
xzZ.y.put(1656189573, obj3);
}
((Method) obj3).invoke(invoke, objArr11);
} catch (Throwable th) {
Throwable cause = th.getCause();
if (cause == null) {
throw th;
}
throw cause;
}
}
}
super.onCreate(bundle);
int i4 = s + 65;
t = i4 % 128;
if (i4 % 2 != 0) {
return;
}
obj.hashCode();
throw null;
}
@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;
int i2 = s + 125;
t = i2 % 128;
int i3 = i2 % 2;
Context baseContext = getBaseContext();
Object obj = null;
if (baseContext == null) {
int i4 = s + 7;
t = i4 % 128;
int i5 = i4 % 2;
Object[] objArr = new Object[1];
ay((char) ((TypedValue.complexToFloat(0) > BitmapDescriptorFactory.HUE_RED ? 1 : (TypedValue.complexToFloat(0) == BitmapDescriptorFactory.HUE_RED ? 0 : -1)) + 33964), new char[]{57873, 4923, 63827, 8210, 48585, 52902, 16510, 23512, 14565, 58902, 7019, 51244, 9878, 23892, 23321, 1069, 59806, 60346, 22616, 25136, 22044, 35897, 58573, 29683, 9073, 3693}, new char[]{13934, 27320, 44213, 33412}, new char[]{0, 0, 0, 0}, ((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getResources().getString(R.string.onboarding_registration_title_push_permission).substring(0, 9).length() - 9, objArr);
Class<?> cls = Class.forName((String) objArr[0]);
Object[] objArr2 = new Object[1];
ax(new int[]{23, 18, 91, 0}, false, new byte[]{0, 0, 1, 0, 1, 1, 0, 1, 1, 0, 0, 1, 0, 0, 1, 1, 0, 1}, objArr2);
baseContext = (Context) cls.getMethod((String) objArr2[0], new Class[0]).invoke(null, null);
}
if (baseContext != null) {
int i6 = t + 87;
s = i6 % 128;
if (i6 % 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((ViewConfiguration.getFadingEdgeLength() >> 16) + 492, (ViewConfiguration.getFadingEdgeLength() >> 16) + 5, (char) (((byte) KeyEvent.getModifierMetaStateMask()) + 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(487 - (ViewConfiguration.getWindowTouchSlop() >> 8), 4 - TextUtils.lastIndexOf("", '0', 0), (char) (1 - (SystemClock.elapsedRealtime() > 0L ? 1 : (SystemClock.elapsedRealtime() == 0L ? 0 : -1))))).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();
}
private static void ax(int[] iArr, boolean z, byte[] bArr, Object[] objArr) {
int i = 2 % 2;
TVH tvh = new TVH();
int i2 = iArr[0];
int i3 = iArr[1];
int i4 = iArr[2];
int i5 = iArr[3];
char[] cArr = m;
long j = 0;
if (cArr != null) {
int length = cArr.length;
char[] cArr2 = new char[length];
int i6 = 0;
while (i6 < length) {
try {
Object[] objArr2 = {Integer.valueOf(cArr[i6])};
Object obj = xzZ.y.get(1645349359);
if (obj == null) {
Class cls = (Class) xzZ.c((ViewConfiguration.getFadingEdgeLength() >> 16) + 223, 4 - ((byte) KeyEvent.getModifierMetaStateMask()), (char) (41978 - (SystemClock.elapsedRealtimeNanos() > j ? 1 : (SystemClock.elapsedRealtimeNanos() == j ? 0 : -1))));
byte b = (byte) 0;
Object[] objArr3 = new Object[1];
az(b, (byte) (b | ISO7816.INS_UNBLOCK_CHV), b, objArr3);
obj = cls.getMethod((String) objArr3[0], Integer.TYPE);
xzZ.y.put(1645349359, obj);
}
cArr2[i6] = ((Character) ((Method) obj).invoke(null, objArr2)).charValue();
i6++;
j = 0;
} catch (Throwable th) {
Throwable cause = th.getCause();
if (cause == null) {
throw th;
}
throw cause;
}
}
cArr = cArr2;
}
char[] cArr3 = new char[i3];
System.arraycopy(cArr, i2, cArr3, 0, i3);
if (bArr != null) {
char[] cArr4 = new char[i3];
tvh.c = 0;
char c = 0;
while (tvh.c < i3) {
if (bArr[tvh.c] == 1) {
int i7 = $11 + 111;
$10 = i7 % 128;
int i8 = i7 % 2;
int i9 = tvh.c;
Object[] objArr4 = {Integer.valueOf(cArr3[tvh.c]), Integer.valueOf(c)};
Object obj2 = xzZ.y.get(850398076);
if (obj2 == null) {
obj2 = ((Class) xzZ.c(502 - (KeyEvent.getMaxKeyCode() >> 16), 5 - (ExpandableListView.getPackedPositionForGroup(0) > 0L ? 1 : (ExpandableListView.getPackedPositionForGroup(0) == 0L ? 0 : -1)), (char) (54 - View.combineMeasuredStates(0, 0)))).getMethod("F", Integer.TYPE, Integer.TYPE);
xzZ.y.put(850398076, obj2);
}
cArr4[i9] = ((Character) ((Method) obj2).invoke(null, objArr4)).charValue();
} else {
int i10 = tvh.c;
Object[] objArr5 = {Integer.valueOf(cArr3[tvh.c]), Integer.valueOf(c)};
Object obj3 = xzZ.y.get(1084521042);
if (obj3 == null) {
obj3 = ((Class) xzZ.c((ViewConfiguration.getMinimumFlingVelocity() >> 16) + 15, TextUtils.getOffsetAfter("", 0) + 5, (char) (View.resolveSizeAndState(0, 0, 0) + 58134))).getMethod("H", Integer.TYPE, Integer.TYPE);
xzZ.y.put(1084521042, obj3);
}
cArr4[i10] = ((Character) ((Method) obj3).invoke(null, objArr5)).charValue();
}
c = cArr4[tvh.c];
try {
Object[] objArr6 = {tvh, tvh};
Object obj4 = xzZ.y.get(1698744941);
if (obj4 == null) {
Class cls2 = (Class) xzZ.c((ViewConfiguration.getDoubleTapTimeout() >> 16) + 402, (ViewConfiguration.getEdgeSlop() >> 16) + 5, (char) (21607 - (ExpandableListView.getPackedPositionForChild(0, 0) > 0L ? 1 : (ExpandableListView.getPackedPositionForChild(0, 0) == 0L ? 0 : -1))));
byte b2 = (byte) 0;
Object[] objArr7 = new Object[1];
az(b2, (byte) (b2 | ISO7816.INS_PSO), b2, objArr7);
obj4 = cls2.getMethod((String) objArr7[0], Object.class, Object.class);
xzZ.y.put(1698744941, obj4);
}
((Method) obj4).invoke(null, objArr6);
int i11 = $10 + 77;
$11 = i11 % 128;
if (i11 % 2 == 0) {
int i12 = 3 / 4;
}
} catch (Throwable th2) {
Throwable cause2 = th2.getCause();
if (cause2 == null) {
throw th2;
}
throw cause2;
}
}
cArr3 = cArr4;
}
if (i5 > 0) {
char[] cArr5 = new char[i3];
System.arraycopy(cArr3, 0, cArr5, 0, i3);
int i13 = i3 - i5;
System.arraycopy(cArr5, 0, cArr3, i13, i5);
System.arraycopy(cArr5, i5, cArr3, 0, i13);
}
if (z) {
char[] cArr6 = new char[i3];
tvh.c = 0;
int i14 = $10 + 91;
$11 = i14 % 128;
int i15 = i14 % 2;
while (tvh.c < i3) {
cArr6[tvh.c] = cArr3[(i3 - tvh.c) - 1];
tvh.c++;
}
cArr3 = cArr6;
}
if (i4 > 0) {
tvh.c = 0;
while (tvh.c < i3) {
cArr3[tvh.c] = (char) (cArr3[tvh.c] - iArr[2]);
tvh.c++;
}
}
objArr[0] = new String(cArr3);
}
@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) {
int i2 = s + 15;
t = i2 % 128;
int i3 = i2 % 2;
Object[] objArr = new Object[1];
ay((char) (((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getResources().getString(R.string.hml_external_instruction_first_step).substring(0, 3).codePointAt(1) + 33918), new char[]{57873, 4923, 63827, 8210, 48585, 52902, 16510, 23512, 14565, 58902, 7019, 51244, 9878, 23892, 23321, 1069, 59806, 60346, 22616, 25136, 22044, 35897, 58573, 29683, 9073, 3693}, new char[]{13934, 27320, 44213, 33412}, new char[]{0, 0, 0, 0}, ((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getResources().getString(R.string.contact_info_mcmc_topup_national_id_exp_warning).substring(0, 51).length() - 51, objArr);
Class<?> cls = Class.forName((String) objArr[0]);
Object[] objArr2 = new Object[1];
ax(new int[]{23, 18, 91, 0}, false, new byte[]{0, 0, 1, 0, 1, 1, 0, 1, 1, 0, 0, 1, 0, 0, 1, 1, 0, 1}, objArr2);
baseContext = (Context) cls.getMethod((String) objArr2[0], new Class[0]).invoke(null, null);
int i4 = t + 21;
s = i4 % 128;
int i5 = i4 % 2;
}
if (baseContext != null) {
int i6 = t + 29;
s = i6 % 128;
int i7 = i6 % 2;
baseContext = baseContext.getApplicationContext();
}
if (baseContext != null) {
try {
Object obj = xzZ.y.get(125943855);
if (obj == null) {
obj = ((Class) xzZ.c(491 - TextUtils.indexOf((CharSequence) "", '0'), 5 - (ViewConfiguration.getEdgeSlop() >> 16), (char) (ViewConfiguration.getWindowTouchSlop() >> 8))).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 - ExpandableListView.getPackedPositionGroup(0L), 5 - ExpandableListView.getPackedPositionType(0L), (char) View.MeasureSpec.getMode(0))).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();
}
@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) {
int i = 2 % 2;
int i2 = t + 69;
s = i2 % 128;
int i3 = i2 % 2;
super.attachBaseContext(context);
Object[] objArr = new Object[1];
ax(new int[]{0, 18, 0, 0}, true, new byte[]{1, 0, 0, 0, 0, 1, 0, 0, 1, 0, 1, 0, 1, 0, 1, 0, 0, 1}, objArr);
Class<?> cls = Class.forName((String) objArr[0]);
Object[] objArr2 = new Object[1];
ax(new int[]{18, 5, 10, 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 applicationContext = context != null ? context.getApplicationContext() : context;
if (applicationContext != null) {
try {
Object obj = xzZ.y.get(125943855);
if (obj == null) {
obj = ((Class) xzZ.c(493 - (SystemClock.currentThreadTimeMillis() > (-1L) ? 1 : (SystemClock.currentThreadTimeMillis() == (-1L) ? 0 : -1)), View.combineMeasuredStates(0, 0) + 5, (char) (ViewConfiguration.getWindowTouchSlop() >> 8))).getMethod("a", null);
xzZ.y.put(125943855, obj);
}
Object invoke = ((Method) obj).invoke(null, null);
Object[] objArr3 = new Object[1];
ay((char) Color.alpha(0), new char[]{37731, 7682, 51082, 7897, 39304, 11968, 52609, 9830, 42951, 36743, 13655, 59616, 22735, 31900, 21949, 36843, 64861, 3064, 59533, 52497, 57849, 40591, 61438, 43073, 23083, 11604, 24360, 34732, 39391, 45196, 13096, 58136, 5655, 46198, 54283, 59653, 4191, 7758, 19840, 49272, 51253, 35460, 53662, 62177, 8969, 12321, 51546, 61868}, new char[]{9110, 61427, 3678, 61938}, new char[]{0, 0, 0, 0}, TextUtils.indexOf((CharSequence) "", '0', 0, 0) + 1, objArr3);
String str = (String) objArr3[0];
Object[] objArr4 = new Object[1];
ay((char) ((-1) - ExpandableListView.getPackedPositionChild(0L)), new char[]{22414, 58465, 50404, 4073, 63051, 37628, 31827, 18065, 37546, 38942, 15121, 16565, 22780, 53271, 19259, 29242, 26086, 38740, 54395, 56176, 59202, 41267, 55992, 42615, 44317, 15999, 48163, 30290, 26876, 34431, 50879, 10690, 51940, 57165, 43587, 13892, 60127, 2702, 61637, 36538, 43395, 57784, 3372, 9460, 31845, 13151, 55034, 924, 1990, 16017, 19887, 59751, 39966, 62477, 26347, 2238, 52097, 58757, 55382, 56640, 29254, 43392, 8493, 18226}, new char[]{13432, 40578, 41457, 7907}, new char[]{0, 0, 0, 0}, TextUtils.indexOf("", "", 0, 0), objArr4);
String str2 = (String) objArr4[0];
Object[] objArr5 = new Object[1];
ax(new int[]{41, 64, 98, 0}, true, new byte[]{1, 0, 1, 1, 0, 1, 1, 1, 0, 0, 1, 1, 0, 0, 1, 1, 1, 1, 1, 1, 1, 0, 1, 1, 0, 0, 1, 1, 0, 0, 1, 0, 0, 1, 1, 0, 1, 1, 0, 1, 1, 1, 1, 1, 1, 0, 0, 1, 1, 0, 0, 0, 1, 0, 0, 1, 1, 0, 0, 0, 0, 1, 0, 1}, objArr5);
String str3 = (String) objArr5[0];
Object[] objArr6 = new Object[1];
ay((char) ExpandableListView.getPackedPositionType(0L), new char[]{58270, 41193, 37768, 32219, 28993, 52705, 39095, 56725, 58421, 50863, 463, 9498, 63310, 33861, 39564, 41203, 7107, 44671, 41838, 25331, 18420, 21458, 13725, 61375, 57508, 43684, 49626, 36924, 30677, 54406, 59453, 48310, 9074, 21045, 36642, 2136, 28433, 53922, 47749, 13214, 20209, 10908, 16391, 52837, 25583, 41645, 57041, 46041, 20851, 49616, 3259, 7858, 51552, 49290, 33975, 7698, 18410, 48847, 8556, 55395, 51363, 5306, 44953, 23869, 26752, 59294, 3223, 41712, 20030, 26634, 57900, 31594, 13053, 55937}, new char[]{35835, 49292, 42568, 53807}, new char[]{0, 0, 0, 0}, TextUtils.indexOf((CharSequence) "", '0', 0) + 1, objArr6);
String str4 = (String) objArr6[0];
Object[] objArr7 = new Object[1];
ay((char) (26766 - Color.alpha(0)), new char[]{29122, 3943, 6648, 28675, 7628}, new char[]{20941, 49039, 36448, 6504}, new char[]{0, 0, 0, 0}, Gravity.getAbsoluteGravity(0, 0) + 1623166801, objArr7);
String str5 = (String) objArr7[0];
Object[] objArr8 = new Object[1];
ax(new int[]{105, 36, 120, 0}, true, new byte[]{1, 0, 0, 1, 1, 0, 0, 0, 0, 1, 1, 1, 1, 0, 0, 1, 1, 0, 0, 0, 1, 0, 1, 1, 1, 1, 0, 1, 1, 0, 1, 1, 0, 0, 1, 0}, 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(487 - TextUtils.indexOf("", ""), (ViewConfiguration.getMinimumFlingVelocity() >> 16) + 5, (char) ((SystemClock.uptimeMillis() > 0L ? 1 : (SystemClock.uptimeMillis() == 0L ? 0 : -1)) - 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;
}
}
}
int i4 = t + 31;
s = i4 % 128;
int i5 = i4 % 2;
}
@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 = s + 49;
t = i2 % 128;
int i3 = i2 % 2;
super.onStart();
int i4 = t + 39;
s = i4 % 128;
int i5 = i4 % 2;
}
}