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

554 lines
38 KiB
Java
Raw Normal View History

2024-07-27 18:17:47 +07:00
package o;
import android.content.Context;
import android.graphics.Color;
import android.graphics.PointF;
import android.media.AudioTrack;
import android.os.Bundle;
import android.os.Process;
import android.os.SystemClock;
import android.telephony.cdma.CdmaCellLocation;
import android.text.AndroidCharacter;
import android.text.TextUtils;
import android.util.TypedValue;
import android.view.Gravity;
import android.view.KeyEvent;
import android.view.View;
import android.view.ViewConfiguration;
import android.widget.ExpandableListView;
import com.google.android.gms.maps.model.BitmapDescriptorFactory;
import com.google.common.base.Ascii;
import com.kofax.mobile.sdk._internal.impl.extraction.kta.KtaJsonExactionHelper;
import com.scb.phone.view.activity.BaseActivity;
import com.scb.phone.view.activity.ndid.BaseLivenessCheckActivity;
import java.lang.reflect.Method;
import net.sf.scuba.smartcards.ISO7816;
import net.sf.scuba.smartcards.ISOFileInfo;
import o.C13068fPo;
import o.VLM;
import org.bouncycastle.crypto.signers.PSSSigner;
/* renamed from: o.ebj, reason: case insensitive filesystem */
/* loaded from: classes5.dex */
public abstract class AbstractActivityC11247ebj extends BaseActivity implements fPA {
private static short[] q;
private volatile C13073fPt b;
private final Object l = new Object();
private boolean m = false;
private static final byte[] $$E = {39, 45, ISO7816.INS_PUT_DATA, 49};
private static final int $$F = 41;
private static int $10 = 0;
private static int $11 = 1;
private static int p = 0;
private static int x = 1;
/* renamed from: o, reason: collision with root package name */
private static int f8965o = 447203560;
private static int k = 1406017097;
private static int t = -1594820796;
private static byte[] s = {-93, ISOFileInfo.CHANNEL_SECURITY, Byte.MIN_VALUE, ISOFileInfo.SECURITY_ATTR_COMPACT, 122, 125, -84, -84, 55, ISOFileInfo.LCS_BYTE, -55, ISO7816.INS_REHABILITATE_CHV, 119, 116, 125, Byte.MIN_VALUE, 120, ISOFileInfo.ENV_TEMP_EF, ISOFileInfo.AB, -26, -83, ISO7816.INS_UPDATE_BINARY, -1, -11, ISOFileInfo.CHANNEL_SECURITY, ISO7816.INS_DELETE_FILE, -2, ISO7816.INS_UPDATE_BINARY, -4, -44, -16, 7, -10, 99, -31, -14, Ascii.SYN, -65, -82, -81, -84, -13, ISOFileInfo.AB, -4, -93, 17, 120, -21, 117, 16, 28, 19, Ascii.DC2, 102, 65, 35, 120, ISOFileInfo.FCI_BYTE, Ascii.NAK, 102, 19, 116, -15, -107, ISO7816.INS_APPEND_RECORD, -67, -29, 106, -45, ISO7816.INS_READ_RECORD_STAMPED, -37, PSSSigner.TRAILER_IMPLICIT, -20, -60, -67, ISO7816.INS_LOAD_KEY_FILE, ISO7816.INS_READ_RECORD2, -59, ISOFileInfo.FCI_BYTE, -67, -108, -19, ISO7816.INS_APPEND_RECORD, -60, ISO7816.INS_APPEND_RECORD, -67, -59, 105, -73, 110, -59, -67, -29, 105, ISO7816.INS_APPEND_RECORD, -111, -6, 106, ISO7816.INS_WRITE_RECORD, -66, -25, 110, ISO7816.INS_APPEND_RECORD, -34, ISO7816.INS_READ_RECORD_STAMPED, -34, -72, 104, -20, -29, -108, -25, 104, -107, -19, -107, -20, -39, -67, -108, -33, -67, ISO7816.INS_LOAD_KEY_FILE, -78, -59, -20, -15, 38, -47, -55, 38, 1, -9, -37, ISO7816.INS_DECREASE, -60, 5, -55, 12, -12, 63, -55, 15, -35, 57, 15, -39, 12, -9, 1, -10, ISO7816.INS_GET_DATA, 13, 15, ISO7816.INS_GET_DATA, 38, 13, ISO7816.INS_UPDATE_RECORD, 58, -47, -55, 12, 57, 13, ISO7816.INS_UPDATE_RECORD, 39, -37, 1, -11, 13, -53, ISO7816.INS_DECREASE, -10, -53, -45, -14, 14, 56, 15, ISO7816.INS_LOAD_KEY_FILE, 0, -11, 63, ISO7816.INS_GET_DATA, ISO7816.INS_LOAD_KEY_FILE, 56, ISO7816.INS_UPDATE_RECORD, -55, 2, 37, -35, 92, -124, 105, -101, -66, -102, 74, -78, 75, ISOFileInfo.AB, 89, 109, ISO7816.INS_UPDATE_BINARY, -102, ISOFileInfo.FCI_BYTE, 105, 92, -124, 104, -101, -102, 99, -41, ISOFileInfo.PROP_INFO, 93, -122, -111, ISOFileInfo.PROP_INFO, -124, ISOFileInfo.FCI_EXT, -67, 88, 110, -71, -124};
private static long r = 688521775287030733L;
/* JADX WARN: Removed duplicated region for block: B:10:0x0024 */
/* JADX WARN: Removed duplicated region for block: B:7:0x001c */
/* JADX WARN: Unsupported multi-entry loop pattern (BACK_EDGE: B:10:0x0024 -> B:4:0x0026). Please report as a decompilation issue!!! */
/*
Code decompiled incorrectly, please refer to instructions dump.
To view partially-correct add '--show-bad-code' argument
*/
private static void aK(short r5, int r6, byte r7, java.lang.Object[] r8) {
/*
int r7 = r7 * 4
int r7 = r7 + 1
int r6 = r6 * 3
int r6 = r6 + 4
int r5 = r5 + 77
byte[] r0 = o.AbstractActivityC11247ebj.$$E
byte[] r1 = new byte[r7]
r2 = 0
if (r0 != 0) goto L14
r4 = r7
r3 = r2
goto L26
L14:
r3 = r2
L15:
byte r4 = (byte) r5
r1[r3] = r4
int r3 = r3 + 1
if (r3 != r7) goto L24
java.lang.String r5 = new java.lang.String
r5.<init>(r1, r2)
r8[r2] = r5
return
L24:
r4 = r0[r6]
L26:
int r6 = r6 + 1
int r5 = r5 + r4
goto L15
*/
throw new UnsupportedOperationException("Method not decompiled: o.AbstractActivityC11247ebj.aK(short, int, byte, java.lang.Object[]):void");
}
public AbstractActivityC11247ebj() {
addOnContextAvailableListener(new InterfaceC17278vUG(this) { // from class: o.ebj.1
private AbstractActivityC11247ebj d;
{
this.d = this;
}
@Override // o.InterfaceC17278vUG
public final void a(Context context) {
this.d.M();
}
});
}
@Override // o.fPC
public final Object y_() {
int i = 2 % 2;
int i2 = p + 3;
x = i2 % 128;
int i3 = i2 % 2;
C13073fPt n = n();
if (i3 != 0) {
return n.y_();
}
n.y_();
throw null;
}
private C13073fPt n() {
if (this.b == null) {
synchronized (this.l) {
if (this.b == null) {
this.b = new C13073fPt(this);
}
}
}
return this.b;
}
protected void M() {
int i = 2 % 2;
if (!this.m) {
int i2 = p + 91;
x = i2 % 128;
int i3 = i2 % 2;
this.m = true;
((InterfaceC11239ebb) y_()).b((BaseLivenessCheckActivity) this);
}
int i4 = x + 91;
p = i4 % 128;
int i5 = i4 % 2;
}
@Override // androidx.activity.ComponentActivity, o.GvH
public VLM.LWm getDefaultViewModelProviderFactory() {
int i;
int i2;
int i3 = 2 % 2;
int i4 = x + 119;
p = i4 % 128;
int i5 = i4 % 2;
VLM.LWm defaultViewModelProviderFactory = super.getDefaultViewModelProviderFactory();
C13068fPo.LWm a = ((C13068fPo.Sts) fOV.c(this, C13068fPo.Sts.class)).a();
Bundle bundle = null;
if (getIntent() != null) {
int i6 = x + 1;
p = i6 % 128;
if (i6 % 2 != 0) {
getIntent().getExtras();
bundle.hashCode();
throw null;
}
bundle = getIntent().getExtras();
i = p + 59;
i2 = i % 128;
} else {
i = p + 63;
i2 = i % 128;
}
x = i2;
int i7 = i % 2;
return a.aBN_(this, bundle, defaultViewModelProviderFactory);
}
private static void aJ(char[] cArr, int i, Object[] objArr) {
int i2 = 2 % 2;
C4593bdB c4593bdB = new C4593bdB();
c4593bdB.a = i;
int length = cArr.length;
long[] jArr = new long[length];
c4593bdB.e = 0;
while (c4593bdB.e < cArr.length) {
int i3 = c4593bdB.e;
try {
Object[] objArr2 = {Integer.valueOf(cArr[c4593bdB.e]), c4593bdB, c4593bdB};
Object obj = xzZ.y.get(-1229953068);
if (obj == null) {
Class cls = (Class) xzZ.c(((byte) KeyEvent.getModifierMetaStateMask()) + 403, ExpandableListView.getPackedPositionGroup(0L) + 5, (char) (21608 - (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))));
byte b = (byte) 0;
byte b2 = b;
Object[] objArr3 = new Object[1];
aK(b, b2, b2, objArr3);
obj = cls.getMethod((String) objArr3[0], Integer.TYPE, Object.class, Object.class);
xzZ.y.put(-1229953068, obj);
}
jArr[i3] = ((Long) ((Method) obj).invoke(null, objArr2)).longValue() ^ (r ^ (-6958928035870403642L));
Object[] objArr4 = {c4593bdB, c4593bdB};
Object obj2 = xzZ.y.get(-1143917229);
if (obj2 == null) {
Class cls2 = (Class) xzZ.c(Color.red(0) + 238, 5 - (ViewConfiguration.getKeyRepeatDelay() >> 16), (char) (KeyEvent.getMaxKeyCode() >> 16));
byte b3 = (byte) ($$F & 7);
byte b4 = (byte) (b3 - 1);
Object[] objArr5 = new Object[1];
aK(b3, b4, b4, objArr5);
obj2 = cls2.getMethod((String) objArr5[0], Object.class, Object.class);
xzZ.y.put(-1143917229, obj2);
}
((Method) obj2).invoke(null, objArr4);
} catch (Throwable th) {
Throwable cause = th.getCause();
if (cause == null) {
throw th;
}
throw cause;
}
}
char[] cArr2 = new char[length];
c4593bdB.e = 0;
while (c4593bdB.e < cArr.length) {
int i4 = $10 + 23;
$11 = i4 % 128;
if (i4 % 2 == 0) {
cArr2[c4593bdB.e] = (char) jArr[c4593bdB.e];
Object[] objArr6 = {c4593bdB, c4593bdB};
Object obj3 = xzZ.y.get(-1143917229);
if (obj3 == null) {
Class cls3 = (Class) xzZ.c(238 - ExpandableListView.getPackedPositionGroup(0L), 5 - Color.blue(0), (char) (CdmaCellLocation.convertQuartSecToDecDegrees(0) > 0.0d ? 1 : (CdmaCellLocation.convertQuartSecToDecDegrees(0) == 0.0d ? 0 : -1)));
byte b5 = (byte) ($$F & 7);
byte b6 = (byte) (b5 - 1);
Object[] objArr7 = new Object[1];
aK(b5, b6, b6, objArr7);
obj3 = cls3.getMethod((String) objArr7[0], Object.class, Object.class);
xzZ.y.put(-1143917229, obj3);
}
Object obj4 = null;
((Method) obj3).invoke(null, objArr6);
obj4.hashCode();
throw null;
}
cArr2[c4593bdB.e] = (char) jArr[c4593bdB.e];
try {
Object[] objArr8 = {c4593bdB, c4593bdB};
Object obj5 = xzZ.y.get(-1143917229);
if (obj5 == null) {
Class cls4 = (Class) xzZ.c((ViewConfiguration.getMaximumDrawingCacheSize() >> 24) + 238, 5 - KeyEvent.keyCodeFromString(""), (char) ('0' - AndroidCharacter.getMirror('0')));
byte b7 = (byte) ($$F & 7);
byte b8 = (byte) (b7 - 1);
Object[] objArr9 = new Object[1];
aK(b7, b8, b8, objArr9);
obj5 = cls4.getMethod((String) objArr9[0], Object.class, Object.class);
xzZ.y.put(-1143917229, obj5);
}
((Method) obj5).invoke(null, objArr8);
} catch (Throwable th2) {
Throwable cause2 = th2.getCause();
if (cause2 == null) {
throw th2;
}
throw cause2;
}
}
String str = new String(cArr2);
int i5 = $10 + 47;
$11 = i5 % 128;
if (i5 % 2 != 0) {
objArr[0] = str;
} else {
int i6 = 24 / 0;
objArr[0] = str;
}
}
@Override // com.scb.phone.view.activity.BaseActivity, com.scb.phone.view.activity.PreLoadCheckActivity, com.akexorcist.localizationactivity.LocalizationActivity, androidx.appcompat.app.AppCompatActivity, androidx.fragment.app.FragmentActivity, androidx.activity.ComponentActivity, androidx.core.app.ComponentActivity, android.app.Activity
public void onCreate(Bundle bundle) {
int i = 2 % 2;
Object[] objArr = new Object[1];
aI((short) (((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getApplicationInfo().targetSdkVersion + 93), (-1231673086) - Process.getGidForName(""), (-93) - View.getDefaultSize(0, 0), 213980834 + ((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getPackageName().codePointAt(11), (byte) (((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getResources().getString(com.scb.phone.R.string.prepaid_travel_wallet_other_currency_wallet_empty_state).substring(40, 41).length() + 25), objArr);
Class<?> cls = Class.forName((String) objArr[0]);
Object[] objArr2 = new Object[1];
aJ(new char[]{49254, 28633, 40712, 53091, 32451}, ((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getResources().getString(com.scb.phone.R.string.registration_line).substring(0, 3).length() + 44968, 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 = p + 5;
x = i2 % 128;
int i3 = i2 % 2;
Object[] objArr3 = new Object[1];
aI((short) (((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getResources().getString(com.scb.phone.R.string.investment_number_of_funds).substring(0, 3).length() + 39), ((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getResources().getString(com.scb.phone.R.string.auto_kofax_camera_tutorial_no_blurry).substring(0, 2).length() - 1231673069, (-93) - (ViewConfiguration.getLongPressTimeout() >> 16), AndroidCharacter.getMirror('0') + 5856, (byte) (((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getResources().getString(com.scb.phone.R.string.remittance_mobile_no_title).substring(0, 10).length() + 20), objArr3);
Class<?> cls2 = Class.forName((String) objArr3[0]);
Object[] objArr4 = new Object[1];
aI((short) (((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getApplicationInfo().targetSdkVersion - 94), ((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getApplicationInfo().targetSdkVersion - 1231673075, ((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getResources().getString(com.scb.phone.R.string.onboarding_input_address_house_no_is_not_allowed).substring(29, 30).codePointAt(0) - 125, ((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getApplicationInfo().targetSdkVersion + 213980912, (byte) (((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getApplicationInfo().targetSdkVersion + 21), 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 = x + 85;
p = i4 % 128;
int i5 = i4 % 2;
try {
Object obj = xzZ.y.get(125943855);
if (obj == null) {
obj = ((Class) xzZ.c(492 - (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)), 5 - (ViewConfiguration.getDoubleTapTimeout() >> 16), (char) TextUtils.getCapsMode("", 0, 0))).getMethod("a", null);
xzZ.y.put(125943855, obj);
}
Object invoke = ((Method) obj).invoke(null, null);
Object[] objArr5 = new Object[1];
aJ(new char[]{49210, 26947, 37569, 15380, 26052, 36627, 14487, 25107, 35729, 13637, 24271, 34847, 12748, 23322, 33994, 11842, 22425, 33111, 10967, 21598, 64980, 10068, 20608, 64091, 9093, 19802, 63118, 8283, 18828, 62289, 7309, 18011, 61402, 6497, 17133, 60519, 5553, 48949, 59571, 4656, 48097, 58728, 3812, 47211, 57788, 2912, 46268, 56942}, (ViewConfiguration.getKeyRepeatDelay() >> 16) + 43391, objArr5);
String str = (String) objArr5[0];
Object[] objArr6 = new Object[1];
aI((short) (((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getApplicationInfo().targetSdkVersion - 92), (-1231673024) - ExpandableListView.getPackedPositionChild(0L), (-93) - (ExpandableListView.getPackedPositionForGroup(0) > 0L ? 1 : (ExpandableListView.getPackedPositionForGroup(0) == 0L ? 0 : -1)), (ViewConfiguration.getScrollDefaultDelay() >> 16) + 213980948, (byte) (((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getPackageName().codePointAt(7) + 20), objArr6);
String str2 = (String) objArr6[0];
Object[] objArr7 = new Object[1];
aI((short) ((-124) - View.getDefaultSize(0, 0)), (-1231672961) + ((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getResources().getString(com.scb.phone.R.string.auto_p2p_introduction_cashback_benefits).substring(0, 2).length(), (AudioTrack.getMaxVolume() > BitmapDescriptorFactory.HUE_RED ? 1 : (AudioTrack.getMaxVolume() == BitmapDescriptorFactory.HUE_RED ? 0 : -1)) - 94, ((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getApplicationInfo().targetSdkVersion + 213980910, (byte) (KeyEvent.keyCodeFromString("") + 99), objArr7);
String str3 = (String) objArr7[0];
Object[] objArr8 = new Object[1];
aJ(new char[]{49251, 51428, 53577, 55722, 57876, 60214, 62342, 64537, 33952, 36113, 38500, 40655, 42796, 44987, 47132, 16755, 18910, 21042, 23182, 25571, 27766, 29904, 32059, 1415, 3821, 5955, 8091, 10278, 12439, 14838, 49732, 51887, 54047, 56211, 58620, 60745, 62899, 65090, 34670, 36835, 38994, 41130, 43265, 45681, 47838, 17217, 19376, 21516, 23934, 25998, 28206, 30341, 32538, 2099, 4312, 6454, 8586, 10919, 13180, 15324, 50232, 52353, 54770, 56922, 59108, 61222, 63439, 32949, 35138, 37306, 39436, 41624, 44007, 46155}, 2203 - (CdmaCellLocation.convertQuartSecToDecDegrees(0) > 0.0d ? 1 : (CdmaCellLocation.convertQuartSecToDecDegrees(0) == 0.0d ? 0 : -1)), objArr8);
String str4 = (String) objArr8[0];
Object[] objArr9 = new Object[1];
aJ(new char[]{49202, 6842, 29965, 20472, 43591}, ((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getResources().getString(com.scb.phone.R.string.auto_kofax_camera_tutorial_no_crumple).substring(0, 2).length() + 55965, objArr9);
String str5 = (String) objArr9[0];
Object[] objArr10 = new Object[1];
aI((short) (((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getResources().getString(com.scb.phone.R.string.auto_single_form_check_eligibility_omnibus_all_product_property_header).substring(50, 51).codePointAt(0) + 12), (-1231672895) - (ViewConfiguration.getJumpTapTimeout() >> 16), ((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getPackageName().codePointAt(11) - 203, Color.red(0) + 213980948, (byte) (((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getApplicationInfo().targetSdkVersion - 43), 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(487 - ExpandableListView.getPackedPositionType(0L), (ExpandableListView.getPackedPositionForGroup(0) > 0L ? 1 : (ExpandableListView.getPackedPositionForGroup(0) == 0L ? 0 : -1)) + 5, (char) View.MeasureSpec.getSize(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 i6 = x + 15;
p = i6 % 128;
int i7 = i6 % 2;
} 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;
int i2 = x + 87;
p = i2 % 128;
int i3 = i2 % 2;
Context baseContext = getBaseContext();
if (baseContext == null) {
Object[] objArr = new Object[1];
aI((short) (((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getPackageName().length() + 29), (ViewConfiguration.getScrollBarFadeDuration() >> 16) - 1231673067, ((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getApplicationInfo().targetSdkVersion - 127, ((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getResources().getString(com.scb.phone.R.string.hml_external_instruction_main_title).substring(21, 22).length() + 213980943, (byte) (((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getPackageName().codePointAt(10) - 81), objArr);
Class<?> cls = Class.forName((String) objArr[0]);
Object[] objArr2 = new Object[1];
aI((short) (((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getApplicationInfo().targetSdkVersion - 94), (-1231673041) - Color.argb(0, 0, 0, 0), ((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getResources().getString(com.scb.phone.R.string.your_current_pin).substring(4, 5).codePointAt(0) - 125, (Process.getElapsedCpuTime() > 0L ? 1 : (Process.getElapsedCpuTime() == 0L ? 0 : -1)) + 213980945, (byte) (ExpandableListView.getPackedPositionGroup(0L) + 55), objArr2);
baseContext = (Context) cls.getMethod((String) objArr2[0], new Class[0]).invoke(null, null);
}
if (baseContext != null) {
baseContext = baseContext.getApplicationContext();
}
if (baseContext != null) {
try {
Object obj = xzZ.y.get(125943855);
if (obj == null) {
obj = ((Class) xzZ.c(492 - Color.green(0), 5 - (ViewConfiguration.getDoubleTapTimeout() >> 16), (char) (ViewConfiguration.getTapTimeout() >> 16))).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((ExpandableListView.getPackedPositionForGroup(0) > 0L ? 1 : (ExpandableListView.getPackedPositionForGroup(0) == 0L ? 0 : -1)) + 487, 5 - (ViewConfiguration.getMinimumFlingVelocity() >> 16), (char) (ViewConfiguration.getKeyRepeatTimeout() >> 16))).getMethod(KtaJsonExactionHelper.OBJECT, Context.class);
xzZ.y.put(1378719468, obj2);
}
((Method) obj2).invoke(invoke, objArr3);
int i4 = x + 85;
p = i4 % 128;
int i5 = i4 % 2;
} catch (Throwable th) {
Throwable cause = th.getCause();
if (cause == null) {
throw th;
}
throw cause;
}
}
super.onResume();
}
/* JADX WARN: Removed duplicated region for block: B:35:0x01c6 */
/*
Code decompiled incorrectly, please refer to instructions dump.
To view partially-correct add '--show-bad-code' argument
*/
private static void aI(short r18, int r19, int r20, int r21, byte r22, java.lang.Object[] r23) {
/*
Method dump skipped, instructions count: 788
To view this dump add '--comments-level debug' option
*/
throw new UnsupportedOperationException("Method not decompiled: o.AbstractActivityC11247ebj.aI(short, int, int, int, byte, java.lang.Object[]):void");
}
@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 = x + 49;
p = i2 % 128;
int i3 = i2 % 2;
Object[] objArr = new Object[1];
aI((short) (KeyEvent.keyCodeFromString("") + 42), ((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getPackageName().length() - 1231673080, KeyEvent.normalizeMetaState(0) - 93, ((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getResources().getString(com.scb.phone.R.string.collateral_estimate_price_error).substring(29, 30).length() + 213980943, (byte) (((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getApplicationInfo().targetSdkVersion - 4), objArr);
Class<?> cls = Class.forName((String) objArr[0]);
Object[] objArr2 = new Object[1];
aI((short) (AndroidCharacter.getMirror('0') - 'l'), ((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getPackageName().length() - 1231673054, ((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getApplicationInfo().targetSdkVersion - 127, ((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getResources().getString(com.scb.phone.R.string.auto_kofax_instruction_step_1_desc).substring(0, 2).codePointAt(1) + 213980914, (byte) (((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getPackageName().codePointAt(9) - 49), objArr2);
baseContext = (Context) cls.getMethod((String) objArr2[0], new Class[0]).invoke(null, null);
int i4 = p + 99;
x = i4 % 128;
int i5 = i4 % 2;
}
if (baseContext != null) {
int i6 = x + 39;
p = i6 % 128;
int i7 = i6 % 2;
baseContext = baseContext.getApplicationContext();
int i8 = p + 95;
x = i8 % 128;
int i9 = i8 % 2;
}
if (baseContext != null) {
int i10 = p + 53;
x = i10 % 128;
int i11 = i10 % 2;
try {
Object obj = xzZ.y.get(125943855);
if (obj == null) {
obj = ((Class) xzZ.c(TextUtils.indexOf("", "", 0) + 492, 6 - (SystemClock.currentThreadTimeMillis() > (-1L) ? 1 : (SystemClock.currentThreadTimeMillis() == (-1L) ? 0 : -1)), (char) (TextUtils.lastIndexOf("", '0', 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(1633456013);
if (obj2 == null) {
obj2 = ((Class) xzZ.c(487 - (ExpandableListView.getPackedPositionForGroup(0) > 0L ? 1 : (ExpandableListView.getPackedPositionForGroup(0) == 0L ? 0 : -1)), TextUtils.indexOf((CharSequence) "", '0') + 6, (char) (ViewConfiguration.getDoubleTapTimeout() >> 16))).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) {
Context context2;
int i = 2 % 2;
super.attachBaseContext(context);
Object[] objArr = new Object[1];
aI((short) (127 - KeyEvent.getDeadChar(0, 0)), (-1231673085) - (ViewConfiguration.getDoubleTapTimeout() >> 16), Color.argb(0, 0, 0, 0) - 93, (SystemClock.elapsedRealtimeNanos() > 0L ? 1 : (SystemClock.elapsedRealtimeNanos() == 0L ? 0 : -1)) + 213980943, (byte) ((ViewConfiguration.getEdgeSlop() >> 16) + 26), objArr);
Class<?> cls = Class.forName((String) objArr[0]);
Object[] objArr2 = new Object[1];
aJ(new char[]{49254, 28633, 40712, 53091, 32451}, (AudioTrack.getMaxVolume() > BitmapDescriptorFactory.HUE_RED ? 1 : (AudioTrack.getMaxVolume() == BitmapDescriptorFactory.HUE_RED ? 0 : -1)) + 44970, 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 = p + 93;
x = i2 % 128;
int i3 = i2 % 2;
context2 = context.getApplicationContext();
} else {
context2 = context;
}
if (context2 != null) {
int i4 = x + 13;
p = i4 % 128;
int i5 = i4 % 2;
try {
Object obj = xzZ.y.get(125943855);
if (obj == null) {
obj = ((Class) xzZ.c((SystemClock.currentThreadTimeMillis() > (-1L) ? 1 : (SystemClock.currentThreadTimeMillis() == (-1L) ? 0 : -1)) + 491, KeyEvent.getDeadChar(0, 0) + 5, (char) (ViewConfiguration.getFadingEdgeLength() >> 16))).getMethod("a", null);
xzZ.y.put(125943855, obj);
}
Object invoke = ((Method) obj).invoke(null, null);
Object[] objArr3 = new Object[1];
aJ(new char[]{49210, 26947, 37569, 15380, 26052, 36627, 14487, 25107, 35729, 13637, 24271, 34847, 12748, 23322, 33994, 11842, 22425, 33111, 10967, 21598, 64980, 10068, 20608, 64091, 9093, 19802, 63118, 8283, 18828, 62289, 7309, 18011, 61402, 6497, 17133, 60519, 5553, 48949, 59571, 4656, 48097, 58728, 3812, 47211, 57788, 2912, 46268, 56942}, (ViewConfiguration.getEdgeSlop() >> 16) + 43391, objArr3);
String str = (String) objArr3[0];
Object[] objArr4 = new Object[1];
aI((short) ((-57) - (SystemClock.elapsedRealtimeNanos() > 0L ? 1 : (SystemClock.elapsedRealtimeNanos() == 0L ? 0 : -1))), (-1231673024) - TextUtils.indexOf((CharSequence) "", '0'), (ExpandableListView.getPackedPositionForGroup(0) > 0L ? 1 : (ExpandableListView.getPackedPositionForGroup(0) == 0L ? 0 : -1)) - 93, 213980948 - (ViewConfiguration.getDoubleTapTimeout() >> 16), (byte) (67 - (SystemClock.elapsedRealtime() > 0L ? 1 : (SystemClock.elapsedRealtime() == 0L ? 0 : -1))), objArr4);
String str2 = (String) objArr4[0];
Object[] objArr5 = new Object[1];
aI((short) ((-125) - ExpandableListView.getPackedPositionChild(0L)), (-1231672959) - (ViewConfiguration.getKeyRepeatTimeout() >> 16), (ViewConfiguration.getWindowTouchSlop() >> 8) - 93, 213980943 - (ExpandableListView.getPackedPositionForChild(0, 0) > 0L ? 1 : (ExpandableListView.getPackedPositionForChild(0, 0) == 0L ? 0 : -1)), (byte) (99 - Gravity.getAbsoluteGravity(0, 0)), objArr5);
String str3 = (String) objArr5[0];
Object[] objArr6 = new Object[1];
aJ(new char[]{49251, 51428, 53577, 55722, 57876, 60214, 62342, 64537, 33952, 36113, 38500, 40655, 42796, 44987, 47132, 16755, 18910, 21042, 23182, 25571, 27766, 29904, 32059, 1415, 3821, 5955, 8091, 10278, 12439, 14838, 49732, 51887, 54047, 56211, 58620, 60745, 62899, 65090, 34670, 36835, 38994, 41130, 43265, 45681, 47838, 17217, 19376, 21516, 23934, 25998, 28206, 30341, 32538, 2099, 4312, 6454, 8586, 10919, 13180, 15324, 50232, 52353, 54770, 56922, 59108, 61222, 63439, 32949, 35138, 37306, 39436, 41624, 44007, 46155}, (ExpandableListView.getPackedPositionForChild(0, 0) > 0L ? 1 : (ExpandableListView.getPackedPositionForChild(0, 0) == 0L ? 0 : -1)) + 2204, objArr6);
String str4 = (String) objArr6[0];
Object[] objArr7 = new Object[1];
aJ(new char[]{49202, 6842, 29965, 20472, 43591}, Color.argb(0, 0, 0, 0) + 55967, objArr7);
String str5 = (String) objArr7[0];
Object[] objArr8 = new Object[1];
aI((short) (122 - Color.alpha(0)), (-1231672896) - TextUtils.lastIndexOf("", '0', 0, 0), (-93) - Color.alpha(0), Color.rgb(0, 0, 0) + 230758164, (byte) (ExpandableListView.getPackedPositionType(0L) - 9), objArr8);
Object[] objArr9 = {context2, str, str2, str3, str4, true, str5, (String) objArr8[0]};
Object obj2 = xzZ.y.get(1656189573);
if (obj2 == null) {
obj2 = ((Class) xzZ.c(487 - TextUtils.getOffsetBefore("", 0), TextUtils.getCapsMode("", 0, 0) + 5, (char) (ViewConfiguration.getScrollBarFadeDuration() >> 16))).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 i6 = x + 19;
p = i6 % 128;
if (i6 % 2 == 0) {
return;
}
Object obj3 = null;
obj3.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 onStart() {
int i = 2 % 2;
int i2 = p + 93;
x = i2 % 128;
int i3 = i2 % 2;
super.onStart();
int i4 = p + 107;
x = i4 % 128;
int i5 = i4 % 2;
}
}