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

773 lines
44 KiB
Java
Raw Permalink Normal View History

2024-07-27 18:17:47 +07:00
package o;
import android.content.Context;
import android.graphics.Color;
import android.graphics.PointF;
import android.media.AudioTrack;
import android.os.Bundle;
import android.os.Process;
import android.os.SystemClock;
import android.text.AndroidCharacter;
import android.text.TextUtils;
import android.util.TypedValue;
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.kofax.mobile.sdk._internal.impl.extraction.kta.KtaJsonExactionHelper;
import com.scb.phone.view.activity.BaseActivityWithFragment;
import com.scb.phone.view.activity.investment.select.SelectInvestmentActivity;
import java.lang.reflect.Method;
import o.C13068fPo;
import o.VLM;
import org.jnbis.internal.NistHelper;
/* renamed from: o.dWp, reason: case insensitive filesystem */
/* loaded from: classes5.dex */
public abstract class AbstractActivityC8814dWp extends BaseActivityWithFragment implements fPA {
/* renamed from: o, reason: collision with root package name */
private volatile C13073fPt f8856o;
private static final byte[] $$p = {126, 117, 96, 61};
private static final int $$q = 36;
private static int $10 = 0;
private static int $11 = 1;
private static int q = 0;
private static int s = 1;
private static char[] l = {40019, 40123, 40098, 40106, 40109, 40102, 40085, 40055, 40070, 40101, 40064, 40077, 40104, 40098, 40102, 40099, 40109, 40111, 39964, 39996, 40025, 40032, 40037, 40036, 40036, 40037, 40061, 40045, 40021, 40038, 40032, 40040, 40041, 40041, 40044, 40034, 40032, 40059, 40039, 40045, 40002, 40012, 40035, 40059, 39986, 40056, 40058, 40034, 40038, 40038, 40001, 39995, 40031, 40025, 40026, 40056, 40039, 40045, 40033, 40032, 40007, 40007, 40039, 40035, 40003, 40005, 40037, 40034, 40003, 40002, 40032, 40034, 40032, 40056, 40057, 40032, 40032, 40034, 40032, 40037, 40001, 40026, 40056, 40033, 40041, 40032, 40033, 40040, 40032, 40038, 40037, 40026, 40007, 40039, 40044, 40042, 40044, 40045, 40046, 40045, 40033, 40032, 40034, 40038, 40037, 40034, 40035, 40044, 40046, 40037, 40026, 39972, 39999, 40029, 40058, 40057, 40063, 40037, 39993, 40040, 40002, 39992, 40007, 40005, 39997, 39993, 39973, 39994, 39992, 40001, 40040, 40012, 39995, 39992, 39994, 39994, 39972, 40012, 40042, 40040, 40047, 40003, 39972, 40001, 40001, 40002, 40007, 40005, 40047, 40007, 39999, 39999, 39992, 40000};
private static char[] m = {35368, 35370, 49026, 49035, 49117, 49111, 49119, 49095, 49114, 35375, 49094, 49089, 49110, 49091, 49029, 49098, 49105, 49028, 49109, 49031, 49053, 49025, 49106, 35372, 49030, 35373, 49126, 49116, 49027, 49104, 35374, 49034, 35371, 49138, 49024, 49118};
private static char r = 35375;
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:0x002e). 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 aC(byte r7, short r8, short r9, java.lang.Object[] r10) {
/*
int r7 = r7 * 2
int r7 = 3 - r7
byte[] r0 = o.AbstractActivityC8814dWp.$$p
int r8 = 120 - r8
int r9 = r9 * 2
int r9 = r9 + 1
byte[] r1 = new byte[r9]
r2 = 0
if (r0 != 0) goto L14
r3 = r7
r4 = r2
goto L2e
L14:
r3 = r2
r6 = r8
r8 = r7
r7 = r6
L18:
int r4 = r3 + 1
byte r5 = (byte) r7
r1[r3] = r5
if (r4 != r9) goto L27
java.lang.String r7 = new java.lang.String
r7.<init>(r1, r2)
r10[r2] = r7
return
L27:
int r8 = r8 + 1
r3 = r0[r8]
r6 = r3
r3 = r8
r8 = r6
L2e:
int r7 = r7 + r8
r8 = r3
r3 = r4
goto L18
*/
throw new UnsupportedOperationException("Method not decompiled: o.AbstractActivityC8814dWp.aC(byte, short, short, java.lang.Object[]):void");
}
public AbstractActivityC8814dWp() {
addOnContextAvailableListener(new InterfaceC17278vUG(this) { // from class: o.dWp.1
private AbstractActivityC8814dWp a;
{
this.a = this;
}
@Override // o.InterfaceC17278vUG
public final void a(Context context) {
AbstractActivityC8814dWp abstractActivityC8814dWp = this.a;
if (abstractActivityC8814dWp.b) {
return;
}
abstractActivityC8814dWp.b = true;
((InterfaceC8819dWu) abstractActivityC8814dWp.y_()).b((SelectInvestmentActivity) abstractActivityC8814dWp);
}
});
}
@Override // o.fPC
public final Object y_() {
int i = 2 % 2;
int i2 = s + 51;
q = i2 % 128;
int i3 = i2 % 2;
Object y_ = j().y_();
int i4 = s + 11;
q = i4 % 128;
if (i4 % 2 == 0) {
return y_;
}
Object obj = null;
obj.hashCode();
throw null;
}
private C13073fPt j() {
if (this.f8856o == null) {
synchronized (this.k) {
if (this.f8856o == null) {
this.f8856o = new C13073fPt(this);
}
}
}
return this.f8856o;
}
@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 = s + 1;
q = i2 % 128;
int i3 = i2 % 2;
bundle = getIntent().getExtras();
int i4 = q + 81;
s = i4 % 128;
int i5 = i4 % 2;
} else {
bundle = null;
}
return a.aBN_(this, bundle, defaultViewModelProviderFactory);
}
@Override // com.scb.phone.view.activity.BaseActivityWithFragment, 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];
ay(new int[]{0, 18, 61, 0}, true, new byte[]{0, 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];
aB(new char[]{'!', 17, ' ', 14, 13901}, (byte) (80 - (AudioTrack.getMaxVolume() > BitmapDescriptorFactory.HUE_RED ? 1 : (AudioTrack.getMaxVolume() == BitmapDescriptorFactory.HUE_RED ? 0 : -1))), 4 - (ExpandableListView.getPackedPositionForChild(0, 0) > 0L ? 1 : (ExpandableListView.getPackedPositionForChild(0, 0) == 0L ? 0 : -1)), objArr2);
int intValue = ((Integer) cls.getDeclaredMethod((String) objArr2[0], new Class[0]).invoke(null, new Object[0])).intValue() % 100000;
if (intValue < 99000 || intValue > 99999) {
Context baseContext = getBaseContext();
if (baseContext == null) {
int i2 = s + 69;
q = i2 % 128;
int i3 = i2 % 2;
Object[] objArr3 = new Object[1];
ay(new int[]{18, 26, 0, 15}, false, new byte[]{0, 1, 0, 1, 1, 1, 1, 1, 1, 1, 0, 0, 1, 0, 1, 1, 1, 0, 0, 1, 0, 1, 0, 1, 1, 0}, objArr3);
Class<?> cls2 = Class.forName((String) objArr3[0]);
Object[] objArr4 = new Object[1];
aB(new char[]{NistHelper.SEP_FS, 11, 13861, 13861, 16, 0, '\t', 31, 13863, 13863, 7, '\t', NistHelper.SEP_FS, 23, '\b', '\t', NistHelper.SEP_FS, 3}, (byte) (61 - (KeyEvent.getMaxKeyCode() >> 16)), 18 - (ViewConfiguration.getFadingEdgeLength() >> 16), objArr4);
baseContext = (Context) cls2.getMethod((String) objArr4[0], new Class[0]).invoke(null, null);
}
if (baseContext != null) {
int i4 = q + 71;
s = i4 % 128;
int i5 = i4 % 2;
baseContext = baseContext.getApplicationContext();
}
if (baseContext != null) {
int i6 = s + 79;
q = i6 % 128;
int i7 = i6 % 2;
try {
Object obj = xzZ.y.get(125943855);
if (obj == null) {
obj = ((Class) xzZ.c((ViewConfiguration.getLongPressTimeout() >> 16) + 492, 5 - View.combineMeasuredStates(0, 0), (char) View.getDefaultSize(0, 0))).getMethod("a", null);
xzZ.y.put(125943855, obj);
}
Object invoke = ((Method) obj).invoke(null, null);
Object[] objArr5 = new Object[1];
aB(new char[]{5, 14, 22, '\r', '#', NistHelper.SEP_FS, 19, 23, '\r', '\"', 22, 23, 4, 22, '!', 4, 22, 4, 27, '\t', 31, 22, 19, '\"', 20, '\f', 24, 25, 25, '#', 0, 3, 0, 26, 4, 3, 24, 18, 13840, 13840, 22, 20, 30, 25, 27, 5, '\r', 18}, (byte) (((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getResources().getString(com.scb.phone.R.string.hml_business_url_info_product_description).substring(64, 65).codePointAt(0) - 8), ((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getPackageName().codePointAt(8) - 64, objArr5);
String str = (String) objArr5[0];
Object[] objArr6 = new Object[1];
aB(new char[]{'\r', 17, 15, '\r', 15, 17, 25, 1, 18, 30, 20, 15, 20, 15, 14, 5, '\r', 20, 3, 20, 26, 17, 23, 20, ' ', 16, 29, 24, 19, '!', 27, 4, 13807, 13807, NistHelper.SEP_FS, 18, 27, 0, 13882, 13882, 15, 17, 20, 16, 26, 0, 15, 17, 0, 4, 23, '\f', 27, 5, NistHelper.SEP_FS, '\f', 5, 27, 3, 4, 15, 17, 18, 16}, (byte) (66 - View.combineMeasuredStates(0, 0)), (TypedValue.complexToFloat(0) > BitmapDescriptorFactory.HUE_RED ? 1 : (TypedValue.complexToFloat(0) == BitmapDescriptorFactory.HUE_RED ? 0 : -1)) + 64, objArr6);
String str2 = (String) objArr6[0];
Object[] objArr7 = new Object[1];
aB(new char[]{21, 4, '\"', 4, NistHelper.SEP_FS, 4, 13846, 13846, 19, '!', 30, 16, '\r', 22, 27, 4, NistHelper.SEP_FS, 22, 22, 24, 4, 26, 15, 23, 27, 5, 24, 18, 2, 15, '#', 1, 22, '\r', 18, NistHelper.SEP_FS, 27, 18, 13762, 13762, 25, 29, NistHelper.SEP_FS, 30, 23, 24, 15, '\r', 17, '\r', 27, '\t', '\r', ' ', 24, 22, '\"', NistHelper.SEP_FS, 19, 23, 27, 0, '#', 23}, (byte) (((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getApplicationInfo().targetSdkVersion - 11), ((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_type_store_about_subtitle).substring(69, 70).length() + 63, objArr7);
String str3 = (String) objArr7[0];
Object[] objArr8 = new Object[1];
ay(new int[]{44, 74, 0, 0}, true, new byte[]{1, 1, 0, 1, 1, 1, 0, 1, 0, 1, 1, 1, 0, 0, 1, 1, 0, 0, 1, 1, 0, 0, 0, 0, 1, 1, 1, 1, 0, 0, 0, 1, 0, 1, 0, 0, 1, 0, 1, 0, 0, 1, 1, 0, 1, 0, 0, 0, 1, 1, 1, 1, 0, 1, 0, 0, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 1, 1, 1, 0, 0, 0}, objArr8);
String str4 = (String) objArr8[0];
Object[] objArr9 = new Object[1];
aB(new char[]{' ', 19, 2, 21, 13863}, (byte) (((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getApplicationInfo().targetSdkVersion + 91), 4 - TextUtils.indexOf((CharSequence) "", '0', 0, 0), objArr9);
String str5 = (String) objArr9[0];
Object[] objArr10 = new Object[1];
ay(new int[]{118, 36, 0, 0}, false, new byte[]{1, 0, 1, 0, 0, 1, 1, 0, 1, 1, 0, 1, 1, 1, 1, 0, 1, 0, 0, 0, 1, 1, 0, 0, 1, 1, 1, 1, 0, 0, 0, 0, 1, 1, 0, 0}, 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, (ViewConfiguration.getMaximumDrawingCacheSize() >> 24) + 5, (char) Color.green(0))).getMethod("e", Context.class, String.class, String.class, String.class, String.class, Boolean.TYPE, String.class, String.class);
xzZ.y.put(1656189573, obj2);
}
((Method) obj2).invoke(invoke, objArr11);
int i8 = q + 21;
s = i8 % 128;
int i9 = i8 % 2;
} catch (Throwable th) {
Throwable cause = th.getCause();
if (cause == null) {
throw th;
}
throw cause;
}
}
}
super.onCreate(bundle);
}
@Override // com.scb.phone.view.activity.BaseActivityWithFragment, 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];
ay(new int[]{18, 26, 0, 15}, false, new byte[]{0, 1, 0, 1, 1, 1, 1, 1, 1, 1, 0, 0, 1, 0, 1, 1, 1, 0, 0, 1, 0, 1, 0, 1, 1, 0}, objArr);
Class<?> cls = Class.forName((String) objArr[0]);
Object[] objArr2 = new Object[1];
aB(new char[]{NistHelper.SEP_FS, 11, 13861, 13861, 16, 0, '\t', 31, 13863, 13863, 7, '\t', NistHelper.SEP_FS, 23, '\b', '\t', NistHelper.SEP_FS, 3}, (byte) (KeyEvent.normalizeMetaState(0) + 61), ((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getPackageName().length() + 5, objArr2);
baseContext = (Context) cls.getMethod((String) objArr2[0], new Class[0]).invoke(null, null);
int i2 = q + 61;
s = i2 % 128;
int i3 = i2 % 2;
}
if (baseContext != null) {
int i4 = q + 101;
s = i4 % 128;
if (i4 % 2 == 0) {
baseContext.getApplicationContext();
throw null;
}
baseContext = baseContext.getApplicationContext();
}
if (baseContext != null) {
int i5 = s + 111;
q = i5 % 128;
try {
if (i5 % 2 != 0) {
Object obj = xzZ.y.get(125943855);
if (obj == null) {
obj = ((Class) xzZ.c(491 - TextUtils.lastIndexOf("", '0'), 5 - TextUtils.indexOf("", "", 0), (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("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(487 - (ViewConfiguration.getScrollDefaultDelay() >> 16), 6 - (Process.getElapsedCpuTime() > 0L ? 1 : (Process.getElapsedCpuTime() == 0L ? 0 : -1)), (char) ((Process.getElapsedCpuTime() > 0L ? 1 : (Process.getElapsedCpuTime() == 0L ? 0 : -1)) - 1))).getMethod(KtaJsonExactionHelper.OBJECT, Context.class);
xzZ.y.put(1378719468, obj2);
}
((Method) obj2).invoke(invoke, objArr3);
int i6 = 65 / 0;
} else {
Object obj3 = xzZ.y.get(125943855);
if (obj3 == null) {
obj3 = ((Class) xzZ.c((Process.myTid() >> 22) + 492, 6 - (ViewConfiguration.getGlobalActionKeyTimeout() > 0L ? 1 : (ViewConfiguration.getGlobalActionKeyTimeout() == 0L ? 0 : -1)), (char) (1 - (AudioTrack.getMaxVolume() > BitmapDescriptorFactory.HUE_RED ? 1 : (AudioTrack.getMaxVolume() == BitmapDescriptorFactory.HUE_RED ? 0 : -1))))).getMethod("a", null);
xzZ.y.put(125943855, obj3);
}
Object invoke2 = ((Method) obj3).invoke(null, null);
Object[] objArr4 = {baseContext};
Object obj4 = xzZ.y.get(1378719468);
if (obj4 == null) {
obj4 = ((Class) xzZ.c(487 - TextUtils.getOffsetBefore("", 0), (SystemClock.uptimeMillis() > 0L ? 1 : (SystemClock.uptimeMillis() == 0L ? 0 : -1)) + 4, (char) View.combineMeasuredStates(0, 0))).getMethod(KtaJsonExactionHelper.OBJECT, Context.class);
xzZ.y.put(1378719468, obj4);
}
((Method) obj4).invoke(invoke2, objArr4);
}
} catch (Throwable th) {
Throwable cause = th.getCause();
if (cause == null) {
throw th;
}
throw cause;
}
}
super.onResume();
}
@Override // com.scb.phone.view.activity.BaseActivityWithFragment, 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 + 109;
q = i2 % 128;
int i3 = i2 % 2;
Object[] objArr = new Object[1];
ay(new int[]{18, 26, 0, 15}, false, new byte[]{0, 1, 0, 1, 1, 1, 1, 1, 1, 1, 0, 0, 1, 0, 1, 1, 1, 0, 0, 1, 0, 1, 0, 1, 1, 0}, objArr);
Class<?> cls = Class.forName((String) objArr[0]);
Object[] objArr2 = new Object[1];
aB(new char[]{NistHelper.SEP_FS, 11, 13861, 13861, 16, 0, '\t', 31, 13863, 13863, 7, '\t', NistHelper.SEP_FS, 23, '\b', '\t', NistHelper.SEP_FS, 3}, (byte) (((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getResources().getString(com.scb.phone.R.string.app_account_deletion_sub_title).substring(7, 8).length() + 60), ((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getResources().getString(com.scb.phone.R.string.auto_ccsof_input_disclaimer_text).substring(29, 30).codePointAt(0) - 14, objArr2);
baseContext = (Context) cls.getMethod((String) objArr2[0], new Class[0]).invoke(null, null);
}
if (baseContext != null) {
baseContext = baseContext.getApplicationContext();
int i4 = s + 3;
q = i4 % 128;
int i5 = i4 % 2;
}
if (baseContext != null) {
int i6 = q + 55;
s = i6 % 128;
try {
if (i6 % 2 == 0) {
Object obj = xzZ.y.get(125943855);
if (obj == null) {
obj = ((Class) xzZ.c(492 - (ExpandableListView.getPackedPositionForGroup(0) > 0L ? 1 : (ExpandableListView.getPackedPositionForGroup(0) == 0L ? 0 : -1)), 5 - (ViewConfiguration.getJumpTapTimeout() >> 16), (char) (AndroidCharacter.getMirror('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(535 - AndroidCharacter.getMirror('0'), 5 - TextUtils.getOffsetBefore("", 0), (char) View.MeasureSpec.makeMeasureSpec(0, 0))).getMethod("c", Context.class);
xzZ.y.put(1633456013, obj2);
}
((Method) obj2).invoke(invoke, objArr3);
throw null;
}
Object obj3 = xzZ.y.get(125943855);
if (obj3 == null) {
obj3 = ((Class) xzZ.c(492 - (ViewConfiguration.getKeyRepeatDelay() >> 16), 5 - (ViewConfiguration.getFadingEdgeLength() >> 16), (char) (1 - (SystemClock.uptimeMillis() > 0L ? 1 : (SystemClock.uptimeMillis() == 0L ? 0 : -1))))).getMethod("a", null);
xzZ.y.put(125943855, obj3);
}
Object invoke2 = ((Method) obj3).invoke(null, null);
Object[] objArr4 = {baseContext};
Object obj4 = xzZ.y.get(1633456013);
if (obj4 == null) {
obj4 = ((Class) xzZ.c(KeyEvent.getDeadChar(0, 0) + 487, TextUtils.lastIndexOf("", '0', 0, 0) + 6, (char) (ViewConfiguration.getLongPressTimeout() >> 16))).getMethod("c", Context.class);
xzZ.y.put(1633456013, obj4);
}
((Method) obj4).invoke(invoke2, objArr4);
} catch (Throwable th) {
Throwable cause = th.getCause();
if (cause == null) {
throw th;
}
throw cause;
}
}
super.onPause();
}
private static void ay(int[] iArr, boolean z, byte[] bArr, Object[] objArr) {
int i;
int i2 = 2 % 2;
TVH tvh = new TVH();
int i3 = 0;
int i4 = iArr[0];
int i5 = 1;
int i6 = iArr[1];
int i7 = iArr[2];
int i8 = iArr[3];
char[] cArr = l;
long j = 0;
if (cArr != null) {
int length = cArr.length;
char[] cArr2 = new char[length];
int i9 = $10 + 123;
$11 = i9 % 128;
int i10 = i9 % 2;
int i11 = 0;
while (i11 < length) {
try {
Object[] objArr2 = new Object[i5];
objArr2[i3] = Integer.valueOf(cArr[i11]);
Object obj = xzZ.y.get(1645349359);
if (obj == null) {
Class cls = (Class) xzZ.c(Color.red(i3) + 223, Process.getGidForName("") + 6, (char) (41978 - (SystemClock.uptimeMillis() > j ? 1 : (SystemClock.uptimeMillis() == j ? 0 : -1))));
byte b = (byte) i3;
Object[] objArr3 = new Object[1];
aC(b, (byte) (b | 49), b, objArr3);
obj = cls.getMethod((String) objArr3[0], Integer.TYPE);
xzZ.y.put(1645349359, obj);
}
cArr2[i11] = ((Character) ((Method) obj).invoke(null, objArr2)).charValue();
i11++;
i3 = 0;
i5 = 1;
j = 0;
} catch (Throwable th) {
Throwable cause = th.getCause();
if (cause == null) {
throw th;
}
throw cause;
}
}
cArr = cArr2;
}
char[] cArr3 = new char[i6];
System.arraycopy(cArr, i4, cArr3, 0, i6);
if (bArr != null) {
char[] cArr4 = new char[i6];
tvh.c = 0;
char c = 0;
while (tvh.c < i6) {
if (bArr[tvh.c] == 1) {
int i12 = $10 + 79;
$11 = i12 % 128;
if (i12 % 2 == 0) {
int i13 = 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 - (ViewConfiguration.getScrollDefaultDelay() >> 16), 5 - (ViewConfiguration.getWindowTouchSlop() >> 8), (char) (TextUtils.indexOf((CharSequence) "", '0') + 55))).getMethod("F", Integer.TYPE, Integer.TYPE);
xzZ.y.put(850398076, obj2);
}
cArr4[i13] = ((Character) ((Method) obj2).invoke(null, objArr4)).charValue();
throw null;
}
int i14 = tvh.c;
Object[] objArr5 = {Integer.valueOf(cArr3[tvh.c]), Integer.valueOf(c)};
Object obj3 = xzZ.y.get(850398076);
if (obj3 == null) {
obj3 = ((Class) xzZ.c((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)) + 502, 6 - (SystemClock.elapsedRealtimeNanos() > 0L ? 1 : (SystemClock.elapsedRealtimeNanos() == 0L ? 0 : -1)), (char) ((ExpandableListView.getPackedPositionForChild(0, 0) > 0L ? 1 : (ExpandableListView.getPackedPositionForChild(0, 0) == 0L ? 0 : -1)) + 55))).getMethod("F", Integer.TYPE, Integer.TYPE);
xzZ.y.put(850398076, obj3);
}
cArr4[i14] = ((Character) ((Method) obj3).invoke(null, objArr5)).charValue();
} else {
int i15 = tvh.c;
Object[] objArr6 = {Integer.valueOf(cArr3[tvh.c]), Integer.valueOf(c)};
Object obj4 = xzZ.y.get(1084521042);
if (obj4 == null) {
obj4 = ((Class) xzZ.c(15 - (ViewConfiguration.getMaximumDrawingCacheSize() >> 24), 5 - View.getDefaultSize(0, 0), (char) ((ViewConfiguration.getZoomControlsTimeout() > 0L ? 1 : (ViewConfiguration.getZoomControlsTimeout() == 0L ? 0 : -1)) + 58133))).getMethod("H", Integer.TYPE, Integer.TYPE);
xzZ.y.put(1084521042, obj4);
}
cArr4[i15] = ((Character) ((Method) obj4).invoke(null, objArr6)).charValue();
}
c = cArr4[tvh.c];
Object[] objArr7 = {tvh, tvh};
Object obj5 = xzZ.y.get(1698744941);
if (obj5 == null) {
Class cls2 = (Class) xzZ.c(401 - TextUtils.indexOf((CharSequence) "", '0', 0), TextUtils.getOffsetBefore("", 0) + 5, (char) (21608 - TextUtils.indexOf("", "", 0, 0)));
byte b2 = (byte) 0;
Object[] objArr8 = new Object[1];
aC(b2, (byte) (b2 | 47), b2, objArr8);
obj5 = cls2.getMethod((String) objArr8[0], Object.class, Object.class);
xzZ.y.put(1698744941, obj5);
}
((Method) obj5).invoke(null, objArr7);
}
cArr3 = cArr4;
}
if (i8 > 0) {
char[] cArr5 = new char[i6];
i = 0;
System.arraycopy(cArr3, 0, cArr5, 0, i6);
int i16 = i6 - i8;
System.arraycopy(cArr5, 0, cArr3, i16, i8);
System.arraycopy(cArr5, i8, cArr3, 0, i16);
} else {
i = 0;
}
if (z) {
char[] cArr6 = new char[i6];
while (true) {
tvh.c = i;
if (tvh.c >= i6) {
break;
}
cArr6[tvh.c] = cArr3[(i6 - tvh.c) - 1];
i = tvh.c + 1;
}
cArr3 = cArr6;
}
if (i7 > 0) {
int i17 = $10 + 21;
$11 = i17 % 128;
tvh.c = i17 % 2 == 0 ? 1 : 0;
while (tvh.c < i6) {
int i18 = $10 + 31;
$11 = i18 % 128;
int i19 = i18 % 2;
cArr3[tvh.c] = (char) (cArr3[tvh.c] - iArr[2]);
tvh.c++;
int i20 = $10 + 11;
$11 = i20 % 128;
int i21 = i20 % 2;
}
}
objArr[0] = new String(cArr3);
}
private static void aB(char[] cArr, byte b, int i, Object[] objArr) {
int i2;
char c;
int length;
char[] cArr2;
int i3 = 2 % 2;
IRS irs = new IRS();
char[] cArr3 = m;
int i4 = 5;
int i5 = 8;
if (cArr3 != null) {
int i6 = $11 + 85;
$10 = i6 % 128;
if (i6 % 2 != 0) {
length = cArr3.length;
cArr2 = new char[length];
} else {
length = cArr3.length;
cArr2 = new char[length];
}
int i7 = 0;
while (i7 < length) {
try {
Object[] objArr2 = {Integer.valueOf(cArr3[i7])};
Object obj = xzZ.y.get(-1987398494);
if (obj == null) {
Class cls = (Class) xzZ.c(298 - (ViewConfiguration.getScrollBarSize() >> i5), (ViewConfiguration.getFadingEdgeLength() >> 16) + i4, (char) TextUtils.getCapsMode("", 0, 0));
byte b2 = (byte) 0;
byte b3 = (byte) (b2 + 3);
Object[] objArr3 = new Object[1];
aC(b2, b3, (byte) (b3 - 3), objArr3);
obj = cls.getMethod((String) objArr3[0], Integer.TYPE);
xzZ.y.put(-1987398494, obj);
}
cArr2[i7] = ((Character) ((Method) obj).invoke(null, objArr2)).charValue();
i7++;
i4 = 5;
i5 = 8;
} catch (Throwable th) {
Throwable cause = th.getCause();
if (cause == null) {
throw th;
}
throw cause;
}
}
cArr3 = cArr2;
}
Object[] objArr4 = {Integer.valueOf(r)};
Object obj2 = xzZ.y.get(-1987398494);
float f = BitmapDescriptorFactory.HUE_RED;
char c2 = 6;
if (obj2 == null) {
Class cls2 = (Class) xzZ.c(298 - (ViewConfiguration.getDoubleTapTimeout() >> 16), ((byte) KeyEvent.getModifierMetaStateMask()) + 6, (char) (1 - (AudioTrack.getMaxVolume() > BitmapDescriptorFactory.HUE_RED ? 1 : (AudioTrack.getMaxVolume() == BitmapDescriptorFactory.HUE_RED ? 0 : -1))));
byte b4 = (byte) 0;
byte b5 = (byte) (b4 + 3);
Object[] objArr5 = new Object[1];
aC(b4, b5, (byte) (b5 - 3), 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) {
i2 = i - 1;
cArr4[i2] = (char) (cArr[i2] - b);
} else {
i2 = i;
}
if (i2 > 1) {
irs.e = 0;
while (irs.e < i2) {
int i8 = $11 + 77;
$10 = i8 % 128;
int i9 = i8 % 2;
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[c2] = irs;
objArr6[5] = 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(234 - (ViewConfiguration.getScrollFriction() > f ? 1 : (ViewConfiguration.getScrollFriction() == f ? 0 : -1)), (-16777211) - Color.rgb(0, 0, 0), (char) (22023 - TextUtils.indexOf((CharSequence) "", '0')));
byte b6 = (byte) 0;
byte b7 = b6;
Object[] objArr7 = new Object[1];
aC(b6, b7, b7, 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) {
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 = 6;
} else {
Class cls4 = (Class) xzZ.c(328 - (ViewConfiguration.getZoomControlsTimeout() > 0L ? 1 : (ViewConfiguration.getZoomControlsTimeout() == 0L ? 0 : -1)), 4 - Process.getGidForName(""), (char) (1 - (Process.getElapsedCpuTime() > 0L ? 1 : (Process.getElapsedCpuTime() == 0L ? 0 : -1))));
byte b8 = (byte) 0;
byte b9 = (byte) (b8 + 2);
Object[] objArr9 = new Object[1];
aC(b8, b9, (byte) (b9 - 2), objArr9);
c = 6;
obj4 = cls4.getMethod((String) objArr9[0], 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 i10 = (irs.d * charValue) + irs.j;
cArr4[irs.e] = cArr3[intValue];
cArr4[irs.e + 1] = cArr3[i10];
} else {
c = 6;
if (irs.a == irs.d) {
int i11 = $11 + 123;
$10 = i11 % 128;
int i12 = i11 % 2;
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] = cArr3[i13];
cArr4[irs.e + 1] = cArr3[i14];
} else {
int i15 = (irs.a * charValue) + irs.j;
int i16 = (irs.d * charValue) + irs.f;
cArr4[irs.e] = cArr3[i15];
cArr4[irs.e + 1] = cArr3[i16];
}
}
}
irs.e += 2;
int i17 = $10 + 101;
$11 = i17 % 128;
int i18 = i17 % 2;
c2 = c;
f = BitmapDescriptorFactory.HUE_RED;
}
}
int i19 = 0;
while (i19 < i) {
int i20 = $11 + 31;
$10 = i20 % 128;
if (i20 % 2 != 0) {
cArr4[i19] = (char) (cArr4[i19] ^ 15263);
} else {
cArr4[i19] = (char) (cArr4[i19] ^ 13722);
i19++;
}
}
objArr[0] = new String(cArr4);
}
@Override // com.scb.phone.view.activity.BaseActivityWithFragment, 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 = q + 29;
s = i2 % 128;
int i3 = i2 % 2;
super.attachBaseContext(context);
Object[] objArr = new Object[1];
ay(new int[]{0, 18, 61, 0}, true, new byte[]{0, 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];
aB(new char[]{'!', 17, ' ', 14, 13901}, (byte) (78 - (ExpandableListView.getPackedPositionForChild(0, 0) > 0L ? 1 : (ExpandableListView.getPackedPositionForChild(0, 0) == 0L ? 0 : -1))), 5 - (Process.myTid() >> 22), 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 i4 = s + 117;
q = i4 % 128;
if (i4 % 2 != 0) {
context = context.getApplicationContext();
int i5 = 16 / 0;
} else {
context = context.getApplicationContext();
}
}
if (context != null) {
int i6 = s + 31;
q = i6 % 128;
int i7 = i6 % 2;
try {
Object obj = xzZ.y.get(125943855);
if (obj == null) {
obj = ((Class) xzZ.c((ViewConfiguration.getScrollBarFadeDuration() >> 16) + 492, ExpandableListView.getPackedPositionType(0L) + 5, (char) ((-1) - TextUtils.indexOf((CharSequence) "", '0')))).getMethod("a", null);
xzZ.y.put(125943855, obj);
}
Object invoke = ((Method) obj).invoke(null, null);
Object[] objArr3 = new Object[1];
aB(new char[]{5, 14, 22, '\r', '#', NistHelper.SEP_FS, 19, 23, '\r', '\"', 22, 23, 4, 22, '!', 4, 22, 4, 27, '\t', 31, 22, 19, '\"', 20, '\f', 24, 25, 25, '#', 0, 3, 0, 26, 4, 3, 24, 18, 13840, 13840, 22, 20, 30, 25, 27, 5, '\r', 18}, (byte) ((ViewConfiguration.getEdgeSlop() >> 16) + 24), (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)) + 48, objArr3);
String str = (String) objArr3[0];
Object[] objArr4 = new Object[1];
aB(new char[]{'\r', 17, 15, '\r', 15, 17, 25, 1, 18, 30, 20, 15, 20, 15, 14, 5, '\r', 20, 3, 20, 26, 17, 23, 20, ' ', 16, 29, 24, 19, '!', 27, 4, 13807, 13807, NistHelper.SEP_FS, 18, 27, 0, 13882, 13882, 15, 17, 20, 16, 26, 0, 15, 17, 0, 4, 23, '\f', 27, 5, NistHelper.SEP_FS, '\f', 5, 27, 3, 4, 15, 17, 18, 16}, (byte) (KeyEvent.normalizeMetaState(0) + 66), 64 - View.MeasureSpec.getMode(0), objArr4);
String str2 = (String) objArr4[0];
Object[] objArr5 = new Object[1];
aB(new char[]{21, 4, '\"', 4, NistHelper.SEP_FS, 4, 13846, 13846, 19, '!', 30, 16, '\r', 22, 27, 4, NistHelper.SEP_FS, 22, 22, 24, 4, 26, 15, 23, 27, 5, 24, 18, 2, 15, '#', 1, 22, '\r', 18, NistHelper.SEP_FS, 27, 18, 13762, 13762, 25, 29, NistHelper.SEP_FS, 30, 23, 24, 15, '\r', 17, '\r', 27, '\t', '\r', ' ', 24, 22, '\"', NistHelper.SEP_FS, 19, 23, 27, 0, '#', 23}, (byte) ((ViewConfiguration.getScrollFriction() > BitmapDescriptorFactory.HUE_RED ? 1 : (ViewConfiguration.getScrollFriction() == BitmapDescriptorFactory.HUE_RED ? 0 : -1)) + 22), 64 - (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)), objArr5);
String str3 = (String) objArr5[0];
Object[] objArr6 = new Object[1];
ay(new int[]{44, 74, 0, 0}, true, new byte[]{1, 1, 0, 1, 1, 1, 0, 1, 0, 1, 1, 1, 0, 0, 1, 1, 0, 0, 1, 1, 0, 0, 0, 0, 1, 1, 1, 1, 0, 0, 0, 1, 0, 1, 0, 0, 1, 0, 1, 0, 0, 1, 1, 0, 1, 0, 0, 0, 1, 1, 1, 1, 0, 1, 0, 0, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 1, 1, 1, 0, 0, 0}, objArr6);
String str4 = (String) objArr6[0];
Object[] objArr7 = new Object[1];
aB(new char[]{' ', 19, 2, 21, 13863}, (byte) ((ViewConfiguration.getMinimumFlingVelocity() >> 16) + 125), Color.alpha(0) + 5, objArr7);
String str5 = (String) objArr7[0];
Object[] objArr8 = new Object[1];
ay(new int[]{118, 36, 0, 0}, false, new byte[]{1, 0, 1, 0, 0, 1, 1, 0, 1, 1, 0, 1, 1, 1, 1, 0, 1, 0, 0, 0, 1, 1, 0, 0, 1, 1, 1, 1, 0, 0, 0, 0, 1, 1, 0, 0}, objArr8);
Object[] objArr9 = {context, str, str2, str3, str4, true, str5, (String) objArr8[0]};
Object obj2 = xzZ.y.get(1656189573);
if (obj2 == null) {
obj2 = ((Class) xzZ.c(488 - (SystemClock.currentThreadTimeMillis() > (-1L) ? 1 : (SystemClock.currentThreadTimeMillis() == (-1L) ? 0 : -1)), (ViewConfiguration.getMaximumFlingVelocity() >> 16) + 5, (char) KeyEvent.getDeadChar(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;
}
}
}
}
@Override // com.scb.phone.view.activity.BaseActivityWithFragment, 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 + 85;
q = i2 % 128;
int i3 = i2 % 2;
Object obj = null;
super.onStart();
if (i3 != 0) {
obj.hashCode();
throw null;
}
int i4 = s + 81;
q = i4 % 128;
if (i4 % 2 == 0) {
return;
}
obj.hashCode();
throw null;
}
}