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

609 lines
38 KiB
Java

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.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.kofax.mobile.sdk._internal.impl.extraction.kta.KtaJsonExactionHelper;
import com.scb.phone.view.activity.BaseActivityWithFragment;
import com.scb.phone.view.activity.investment.scbs.ScbsInputActivity;
import java.lang.reflect.Method;
import net.sf.scuba.smartcards.ISOFileInfo;
import o.C13068fPo;
import o.VLM;
import org.bouncycastle.crypto.tls.CipherSuite;
/* renamed from: o.dVf, reason: case insensitive filesystem */
/* loaded from: classes5.dex */
public abstract class AbstractActivityC8772dVf extends BaseActivityWithFragment implements fPA {
private volatile C13073fPt k;
private static final byte[] $$p = {119, 83, -12, -52};
private static final int $$q = 102;
private static int $10 = 0;
private static int $11 = 1;
private static int p = 0;
private static int u = 1;
/* renamed from: o, reason: collision with root package name */
private static char[] f8845o = {15995, 15976, 15998, 15980, 15977, 15987, 15912, 15981, 15946, 15997, 15999, 15906, 15914, 15917, 15916, 15907, 15996, 15918, 15984, 15915, 15905, 15904, 15919, 15927};
private static int m = 1934310938;
private static boolean t = true;
private static boolean r = true;
private static char[] q = {62993, 56154, 44183, 32264, 17252, 56997, 62453, 33822, 22187, 27607, 15478, 52890, 58227, 46173, 18147, 6914, 11775, 65265, 37748, 42370, 30268, 2882, 56802, 60958, 32944, 22012, 26215, 14492, 52520, 40525, 45287, 36785, 41720, 54558, 1981, 15051, 28007, 40860, 45578, 58714, 6133, 18952, 31918, 44997, 49760, 62612, 10026, 23117, 36083, 44244, 33165, 63087, 9370, 6570, 20061, 48313, 37149, 50815, 13451, 26977, 24465, 36002, 57684, 55268, 1100, 31095, 44953, 40057, 62160, 10170, 5146, 19118, 48981, 60523, 49812, 14112, 26069, 23266, 36639, 64931, 53845, 1844, 30191, 43587, 40745, 52703, 8763, 4253, 17918, 47631, 59622, 56650, 12837, 24786, 21870, 35730, 63648, 36791, 41711, 54618, 1962, 15000, 28011, 40924, 45682, 58703, 6064, 19030, 31985, 44948, 49719, 62679, 10098, 23060, 36009, 48973, 53741, 1245, 14127, 27033, 40047, 53001, 57763, 5188, 18100, 31108, 44072, 57024, 61803, 9221, 22234, 35193, 48206, 61115, 337, 13226, 26313, 39228, 52103, 65061, 4369, 17331, 30288, 43254, 56257, 3686, 8389, 21306, 34312, 47357, 60225, 7661, 12505, 25378, 38294, 51301, 64271, 11680, 16403, 29361, 42454, 9300, 2327, 32502, 44113, 37171, 50909, 13353, 6538, 20151, 48130, 57835, 55108, 1067, 27008, 24419, 36032, 61865, 9985, 5361, 31320, 44849, 40091, 49780, 14292, 25786, 18960, 49076, 60749, 53808, 1933, 30075, 23260, 36776, 64864, 8899, 6066, 17684, 43689, 38977, 52528, 12933, 24697, 21966, 47802, 59417, 56826, 847, 28735, 42377, 35645, 63697, 11710, 4893, 16568, 46679, 39717, 51357, 15924, 25555, 20663, 34335, 60410, 55629, 3625, 29651, 41301, 38512, 64462, 10597, 7889, 17315, 45323, 59120, 54360};
private static long s = -4207653473964547443L;
private final Object l = new Object();
boolean b = false;
/* JADX WARN: Removed duplicated region for block: B:10:0x0025 */
/* JADX WARN: Removed duplicated region for block: B:7:0x001d */
/* JADX WARN: Unsupported multi-entry loop pattern (BACK_EDGE: B:10:0x0025 -> B:4:0x002a). 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, int r9, java.lang.Object[] r10) {
/*
int r8 = r8 * 3
int r8 = 1 - r8
int r7 = r7 + 65
int r9 = r9 * 2
int r9 = 4 - r9
byte[] r0 = o.AbstractActivityC8772dVf.$$p
byte[] r1 = new byte[r8]
r2 = 0
if (r0 != 0) goto L15
r3 = r8
r7 = r9
r4 = r2
goto L2a
L15:
r3 = r2
L16:
int r4 = r3 + 1
byte r5 = (byte) r7
r1[r3] = r5
if (r4 != r8) goto L25
java.lang.String r7 = new java.lang.String
r7.<init>(r1, r2)
r10[r2] = r7
return
L25:
r3 = r0[r9]
r6 = r9
r9 = r7
r7 = r6
L2a:
int r9 = r9 + r3
int r7 = r7 + 1
r3 = r4
r6 = r9
r9 = r7
r7 = r6
goto L16
*/
throw new UnsupportedOperationException("Method not decompiled: o.AbstractActivityC8772dVf.aC(byte, short, int, java.lang.Object[]):void");
}
public AbstractActivityC8772dVf() {
addOnContextAvailableListener(new InterfaceC17278vUG(this) { // from class: o.dVf.2
private AbstractActivityC8772dVf e;
{
this.e = this;
}
@Override // o.InterfaceC17278vUG
public final void a(Context context) {
AbstractActivityC8772dVf abstractActivityC8772dVf = this.e;
if (abstractActivityC8772dVf.b) {
return;
}
abstractActivityC8772dVf.b = true;
((InterfaceC8789dVw) abstractActivityC8772dVf.y_()).b((ScbsInputActivity) abstractActivityC8772dVf);
}
});
}
@Override // o.fPC
public final Object y_() {
Object y_;
int i = 2 % 2;
int i2 = p + 13;
u = i2 % 128;
if (i2 % 2 == 0) {
y_ = f().y_();
int i3 = 31 / 0;
} else {
y_ = f().y_();
}
int i4 = p + 9;
u = i4 % 128;
if (i4 % 2 == 0) {
int i5 = 77 / 0;
}
return y_;
}
private C13073fPt f() {
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;
int i2 = u + 27;
p = i2 % 128;
int i3 = i2 % 2;
VLM.LWm defaultViewModelProviderFactory = super.getDefaultViewModelProviderFactory();
C13068fPo.LWm a = ((C13068fPo.Sts) fOV.c(this, C13068fPo.Sts.class)).a();
if (getIntent() != null) {
bundle = getIntent().getExtras();
int i4 = p + 3;
u = i4 % 128;
int i5 = i4 % 2;
} else {
bundle = null;
}
return a.aBN_(this, bundle, defaultViewModelProviderFactory);
}
private static void aB(int i, int i2, char c, Object[] objArr) {
int i3 = 2 % 2;
dQY dqy = new dQY();
long[] jArr = new long[i2];
dqy.a = 0;
int i4 = $10 + 75;
$11 = i4 % 128;
int i5 = i4 % 2;
while (dqy.a < i2) {
int i6 = dqy.a;
try {
Object[] objArr2 = {Integer.valueOf(q[i + dqy.a])};
Object obj = xzZ.y.get(1095064095);
if (obj == null) {
Class cls = (Class) xzZ.c(View.MeasureSpec.makeMeasureSpec(0, 0) + 308, 5 - (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)), (char) (32797 - View.getDefaultSize(0, 0)));
byte b = (byte) 0;
Object[] objArr3 = new Object[1];
aC((byte) 33, b, b, objArr3);
obj = cls.getMethod((String) objArr3[0], Integer.TYPE);
xzZ.y.put(1095064095, obj);
}
Object[] objArr4 = {Long.valueOf(((Long) ((Method) obj).invoke(null, objArr2)).longValue()), Long.valueOf(dqy.a), Long.valueOf(s), Integer.valueOf(c)};
Object obj2 = xzZ.y.get(-548438098);
if (obj2 == null) {
Class cls2 = (Class) xzZ.c((SystemClock.elapsedRealtimeNanos() > 0L ? 1 : (SystemClock.elapsedRealtimeNanos() == 0L ? 0 : -1)) + 411, 5 - (ViewConfiguration.getMaximumDrawingCacheSize() >> 24), (char) (TextUtils.indexOf((CharSequence) "", '0', 0, 0) + 1));
byte b2 = (byte) 0;
Object[] objArr5 = new Object[1];
aC((byte) ($$q & CipherSuite.TLS_DH_DSS_WITH_CAMELLIA_128_CBC_SHA256), b2, b2, objArr5);
obj2 = cls2.getMethod((String) objArr5[0], Long.TYPE, Long.TYPE, Long.TYPE, Integer.TYPE);
xzZ.y.put(-548438098, obj2);
}
jArr[i6] = ((Long) ((Method) obj2).invoke(null, objArr4)).longValue();
Object[] objArr6 = {dqy, dqy};
Object obj3 = xzZ.y.get(1071125919);
if (obj3 == null) {
Class cls3 = (Class) xzZ.c((AudioTrack.getMaxVolume() > BitmapDescriptorFactory.HUE_RED ? 1 : (AudioTrack.getMaxVolume() == BitmapDescriptorFactory.HUE_RED ? 0 : -1)) + 406, 5 - TextUtils.getTrimmedLength(""), (char) ((KeyEvent.getMaxKeyCode() >> 16) + 29234));
byte b3 = (byte) 0;
Object[] objArr7 = new Object[1];
aC((byte) 41, b3, b3, objArr7);
obj3 = cls3.getMethod((String) objArr7[0], Object.class, Object.class);
xzZ.y.put(1071125919, obj3);
}
((Method) obj3).invoke(null, objArr6);
} catch (Throwable th) {
Throwable cause = th.getCause();
if (cause == null) {
throw th;
}
throw cause;
}
}
char[] cArr = new char[i2];
dqy.a = 0;
while (dqy.a < i2) {
int i7 = $10 + 33;
$11 = i7 % 128;
int i8 = i7 % 2;
cArr[dqy.a] = (char) jArr[dqy.a];
Object[] objArr8 = {dqy, dqy};
Object obj4 = xzZ.y.get(1071125919);
if (obj4 == null) {
Class cls4 = (Class) xzZ.c(407 - View.MeasureSpec.makeMeasureSpec(0, 0), (ViewConfiguration.getPressedStateDuration() >> 16) + 5, (char) (View.resolveSizeAndState(0, 0, 0) + 29234));
byte b4 = (byte) 0;
Object[] objArr9 = new Object[1];
aC((byte) 41, b4, b4, objArr9);
obj4 = cls4.getMethod((String) objArr9[0], Object.class, Object.class);
xzZ.y.put(1071125919, obj4);
}
((Method) obj4).invoke(null, objArr8);
}
String str = new String(cArr);
int i9 = $10 + 113;
$11 = i9 % 128;
int i10 = i9 % 2;
objArr[0] = str;
}
@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(null, null, ((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getResources().getString(com.scb.phone.R.string.mw_boarding_detail).substring(18, 19).codePointAt(0) + 95, new byte[]{-120, -120, ISOFileInfo.SECURITY_ATTR_EXP, ISOFileInfo.LCS_BYTE, ISOFileInfo.PROP_INFO, -124, -119, ISOFileInfo.FCI_EXT, -120, ISOFileInfo.PROP_INFO, ISOFileInfo.FCI_EXT, ISOFileInfo.FILE_IDENTIFIER, -122, ISOFileInfo.PROP_INFO, -124, ISOFileInfo.FILE_IDENTIFIER, -126, ISOFileInfo.DATA_BYTES2}, objArr);
Class<?> cls = Class.forName((String) objArr[0]);
Object[] objArr2 = new Object[1];
aB(((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getApplicationInfo().targetSdkVersion - 34, ((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getApplicationInfo().targetSdkVersion - 29, (char) (((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getApplicationInfo().targetSdkVersion + 31116), objArr2);
int intValue = ((Integer) cls.getDeclaredMethod((String) objArr2[0], new Class[0]).invoke(null, new Object[0])).intValue() % 100000;
if (intValue < 99000 || intValue > 99999) {
Context baseContext = getBaseContext();
if (baseContext == null) {
Object[] objArr3 = new Object[1];
aB(((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getPackageName().length() - 8, ((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getPackageName().length() + 13, (char) (((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getPackageName().codePointAt(3) + 20712), objArr3);
Class<?> cls2 = Class.forName((String) objArr3[0]);
Object[] objArr4 = new Object[1];
aB((ViewConfiguration.getEdgeSlop() >> 16) + 31, (ExpandableListView.getPackedPositionForGroup(0) > 0L ? 1 : (ExpandableListView.getPackedPositionForGroup(0) == 0L ? 0 : -1)) + 18, (char) (((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getResources().getString(com.scb.phone.R.string.input_income_card_x_remarks).substring(0, 108).codePointAt(100) - 3629), objArr4);
baseContext = (Context) cls2.getMethod((String) objArr4[0], new Class[0]).invoke(null, null);
}
if (baseContext != null) {
baseContext = baseContext.getApplicationContext();
}
if (baseContext != null) {
int i2 = u + 107;
p = i2 % 128;
int i3 = i2 % 2;
try {
Object obj = xzZ.y.get(125943855);
if (obj == null) {
obj = ((Class) xzZ.c(492 - (ViewConfiguration.getKeyRepeatTimeout() >> 16), 6 - (SystemClock.elapsedRealtimeNanos() > 0L ? 1 : (SystemClock.elapsedRealtimeNanos() == 0L ? 0 : -1)), (char) (ViewConfiguration.getDoubleTapTimeout() >> 16))).getMethod("a", null);
xzZ.y.put(125943855, obj);
}
Object invoke = ((Method) obj).invoke(null, null);
Object[] objArr5 = new Object[1];
aB(((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getPackageName().length() + 36, (ViewConfiguration.getWindowTouchSlop() >> 8) + 48, (char) (((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_occupation_no_results_found_description).substring(29, 30).length() + 9014), objArr5);
String str = (String) objArr5[0];
Object[] objArr6 = new Object[1];
aB(((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getApplicationInfo().targetSdkVersion + 63, 64 - KeyEvent.getDeadChar(0, 0), (char) ((-1) - TextUtils.lastIndexOf("", '0', 0, 0)), objArr6);
String str2 = (String) objArr6[0];
Object[] objArr7 = new Object[1];
ay(null, null, ((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getResources().getString(com.scb.phone.R.string.prepaid_tab_travel_service_block_domestic_description).substring(23, 24).length() + 126, new byte[]{-107, ISOFileInfo.LCS_BYTE, ISOFileInfo.SECURITY_ATTR_COMPACT, -105, ISOFileInfo.DATA_BYTES2, -109, ISOFileInfo.DATA_BYTES2, ISOFileInfo.ENV_TEMP_EF, -109, ISOFileInfo.ENV_TEMP_EF, -112, -106, ISOFileInfo.SECURITY_ATTR_COMPACT, -113, ISOFileInfo.SECURITY_ATTR_EXP, -111, ISOFileInfo.SECURITY_ATTR_EXP, -106, ISOFileInfo.LCS_BYTE, -109, ISOFileInfo.CHANNEL_SECURITY, -105, ISOFileInfo.ENV_TEMP_EF, -105, -108, -108, -113, -105, -105, ISOFileInfo.DATA_BYTES2, -111, -110, ISOFileInfo.FILE_IDENTIFIER, -112, -106, ISOFileInfo.SECURITY_ATTR_COMPACT, ISOFileInfo.SECURITY_ATTR_EXP, -109, ISOFileInfo.SECURITY_ATTR_COMPACT, ISOFileInfo.LCS_BYTE, -113, -107, ISOFileInfo.ENV_TEMP_EF, -108, ISOFileInfo.ENV_TEMP_EF, -109, -111, ISOFileInfo.DATA_BYTES2, ISOFileInfo.SECURITY_ATTR_COMPACT, ISOFileInfo.ENV_TEMP_EF, -110, -111, ISOFileInfo.SECURITY_ATTR_EXP, ISOFileInfo.CHANNEL_SECURITY, -112, -113, ISOFileInfo.SECURITY_ATTR_EXP, ISOFileInfo.SECURITY_ATTR_EXP, ISOFileInfo.CHANNEL_SECURITY, ISOFileInfo.DATA_BYTES2, ISOFileInfo.CHANNEL_SECURITY, ISOFileInfo.ENV_TEMP_EF, ISOFileInfo.SECURITY_ATTR_COMPACT, ISOFileInfo.DATA_BYTES2}, objArr7);
String str3 = (String) objArr7[0];
Object[] objArr8 = new Object[1];
aB(((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.deejung_transfer_speedy_cash_about).substring(CipherSuite.TLS_RSA_PSK_WITH_NULL_SHA256, CipherSuite.TLS_RSA_WITH_CAMELLIA_128_CBC_SHA256).codePointAt(1) + 26, (char) (((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getResources().getString(com.scb.phone.R.string.auto_kofax_review_desc_2).substring(79, 80).length() + 44013), objArr8);
String str4 = (String) objArr8[0];
Object[] objArr9 = new Object[1];
ay(null, null, ((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getApplicationInfo().targetSdkVersion + 93, new byte[]{ISOFileInfo.ENV_TEMP_EF, ISOFileInfo.FCI_EXT, ISOFileInfo.SECURITY_ATTR_COMPACT, ISOFileInfo.FCI_EXT, -112}, objArr9);
String str5 = (String) objArr9[0];
Object[] objArr10 = new Object[1];
ay(null, null, ((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getResources().getString(com.scb.phone.R.string.set_pin_instruction).substring(14, 15).codePointAt(0) + 95, new byte[]{ISOFileInfo.SECURITY_ATTR_EXP, -108, -105, -110, -105, ISOFileInfo.LCS_BYTE, ISOFileInfo.SECURITY_ATTR_EXP, -107, ISOFileInfo.DATA_BYTES2, -113, ISOFileInfo.LCS_BYTE, -113, -104, ISOFileInfo.LCS_BYTE, ISOFileInfo.SECURITY_ATTR_EXP, -111, ISOFileInfo.DATA_BYTES2, -104, -108, -108, -113, -110, -104, -111, ISOFileInfo.SECURITY_ATTR_EXP, ISOFileInfo.ENV_TEMP_EF, -106, -104, ISOFileInfo.ENV_TEMP_EF, -110, -112, ISOFileInfo.FILE_IDENTIFIER, -110, -113, ISOFileInfo.DATA_BYTES2, ISOFileInfo.SECURITY_ATTR_EXP}, 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((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)) + 487, 5 - Gravity.getAbsoluteGravity(0, 0), (char) (ViewConfiguration.getJumpTapTimeout() >> 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, objArr11);
int i4 = p + 41;
u = i4 % 128;
int i5 = i4 % 2;
} catch (Throwable th) {
Throwable cause = th.getCause();
if (cause == null) {
throw th;
}
throw cause;
}
}
}
super.onCreate(bundle);
}
private static void ay(int[] iArr, char[] cArr, int i, byte[] bArr, Object[] objArr) {
int i2;
int i3 = 2;
int i4 = 2 % 2;
C3614bBe c3614bBe = new C3614bBe();
char[] cArr2 = f8845o;
float f = BitmapDescriptorFactory.HUE_RED;
if (cArr2 != null) {
int length = cArr2.length;
char[] cArr3 = new char[length];
int i5 = $10 + 69;
$11 = i5 % 128;
int i6 = i5 % 2;
int i7 = 0;
while (i7 < length) {
int i8 = $11 + 125;
$10 = i8 % 128;
if (i8 % i3 != 0) {
try {
Object[] objArr2 = {Integer.valueOf(cArr2[i7])};
Object obj = xzZ.y.get(-950481649);
if (obj == null) {
Class cls = (Class) xzZ.c(TextUtils.indexOf((CharSequence) "", '0', 0) + 338, 6 - (AudioTrack.getMaxVolume() > f ? 1 : (AudioTrack.getMaxVolume() == f ? 0 : -1)), (char) (ViewConfiguration.getDoubleTapTimeout() >> 16));
byte b = (byte) 0;
byte b2 = b;
Object[] objArr3 = new Object[1];
aC(b, b2, b2, objArr3);
obj = cls.getMethod((String) objArr3[0], Integer.TYPE);
xzZ.y.put(-950481649, obj);
}
cArr3[i7] = ((Character) ((Method) obj).invoke(null, objArr2)).charValue();
i7 >>>= 1;
} catch (Throwable th) {
Throwable cause = th.getCause();
if (cause == null) {
throw th;
}
throw cause;
}
} else {
Object[] objArr4 = {Integer.valueOf(cArr2[i7])};
Object obj2 = xzZ.y.get(-950481649);
if (obj2 == null) {
Class cls2 = (Class) xzZ.c(337 - Color.alpha(0), 4 - Process.getGidForName(""), (char) (ViewConfiguration.getMaximumDrawingCacheSize() >> 24));
byte b3 = (byte) 0;
byte b4 = b3;
Object[] objArr5 = new Object[1];
aC(b3, b4, b4, objArr5);
obj2 = cls2.getMethod((String) objArr5[0], Integer.TYPE);
xzZ.y.put(-950481649, obj2);
}
cArr3[i7] = ((Character) ((Method) obj2).invoke(null, objArr4)).charValue();
i7++;
}
i3 = 2;
f = BitmapDescriptorFactory.HUE_RED;
}
cArr2 = cArr3;
}
Object[] objArr6 = {Integer.valueOf(m)};
Object obj3 = xzZ.y.get(-1521625011);
if (obj3 == null) {
Class cls3 = (Class) xzZ.c((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)) + 283, 5 - (ViewConfiguration.getMaximumDrawingCacheSize() >> 24), (char) (Color.blue(0) + 39813));
byte b5 = (byte) 0;
Object[] objArr7 = new Object[1];
aC((byte) 57, b5, b5, objArr7);
obj3 = cls3.getMethod((String) objArr7[0], Integer.TYPE);
xzZ.y.put(-1521625011, obj3);
}
int intValue = ((Integer) ((Method) obj3).invoke(null, objArr6)).intValue();
if (r) {
c3614bBe.c = bArr.length;
char[] cArr4 = new char[c3614bBe.c];
c3614bBe.a = 0;
while (c3614bBe.a < c3614bBe.c) {
int i9 = $10 + 61;
$11 = i9 % 128;
int i10 = i9 % 2;
cArr4[c3614bBe.a] = (char) (cArr2[bArr[(c3614bBe.c - 1) - c3614bBe.a] + i] - intValue);
try {
Object[] objArr8 = {c3614bBe, c3614bBe};
Object obj4 = xzZ.y.get(1779759091);
if (obj4 == null) {
obj4 = ((Class) xzZ.c(40 - (ViewConfiguration.getKeyRepeatTimeout() >> 16), (ViewConfiguration.getScrollBarSize() >> 8) + 5, (char) (ViewConfiguration.getWindowTouchSlop() >> 8))).getMethod("D", Object.class, Object.class);
xzZ.y.put(1779759091, obj4);
}
((Method) obj4).invoke(null, objArr8);
} catch (Throwable th2) {
Throwable cause2 = th2.getCause();
if (cause2 == null) {
throw th2;
}
throw cause2;
}
}
objArr[0] = new String(cArr4);
return;
}
if (!t) {
c3614bBe.c = iArr.length;
char[] cArr5 = new char[c3614bBe.c];
c3614bBe.a = 0;
while (c3614bBe.a < c3614bBe.c) {
int i11 = $10 + 27;
$11 = i11 % 128;
if (i11 % 2 == 0) {
cArr5[c3614bBe.a] = (char) (cArr2[iArr[(c3614bBe.c >>> 1) << c3614bBe.a] << i] % intValue);
i2 = c3614bBe.a / 0;
} else {
cArr5[c3614bBe.a] = (char) (cArr2[iArr[(c3614bBe.c - 1) - c3614bBe.a] - i] - intValue);
i2 = c3614bBe.a + 1;
}
c3614bBe.a = i2;
}
objArr[0] = new String(cArr5);
return;
}
c3614bBe.c = cArr.length;
char[] cArr6 = new char[c3614bBe.c];
c3614bBe.a = 0;
while (c3614bBe.a < c3614bBe.c) {
cArr6[c3614bBe.a] = (char) (cArr2[cArr[(c3614bBe.c - 1) - c3614bBe.a] - i] - intValue);
Object[] objArr9 = {c3614bBe, c3614bBe};
Object obj5 = xzZ.y.get(1779759091);
if (obj5 == null) {
obj5 = ((Class) xzZ.c((ExpandableListView.getPackedPositionForChild(0, 0) > 0L ? 1 : (ExpandableListView.getPackedPositionForChild(0, 0) == 0L ? 0 : -1)) + 41, 6 - (ViewConfiguration.getScrollFriction() > BitmapDescriptorFactory.HUE_RED ? 1 : (ViewConfiguration.getScrollFriction() == BitmapDescriptorFactory.HUE_RED ? 0 : -1)), (char) ((ExpandableListView.getPackedPositionForChild(0, 0) > 0L ? 1 : (ExpandableListView.getPackedPositionForChild(0, 0) == 0L ? 0 : -1)) + 1))).getMethod("D", Object.class, Object.class);
xzZ.y.put(1779759091, obj5);
}
((Method) obj5).invoke(null, objArr9);
}
String str = new String(cArr6);
int i12 = $11 + 63;
$10 = i12 % 128;
int i13 = i12 % 2;
objArr[0] = str;
}
@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;
int i2 = p + 73;
u = i2 % 128;
Object obj = null;
if (i2 % 2 == 0) {
getBaseContext();
obj.hashCode();
throw null;
}
Context baseContext = getBaseContext();
if (baseContext == null) {
Object[] objArr = new Object[1];
aB(((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getResources().getString(com.scb.phone.R.string.auto_robo_advisor_landing_message).substring(20, 21).codePointAt(0) - 106, ((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getResources().getString(com.scb.phone.R.string.sme_loan_detail_total_label).substring(5, 9).length() + 22, (char) ((SystemClock.elapsedRealtimeNanos() > 0L ? 1 : (SystemClock.elapsedRealtimeNanos() == 0L ? 0 : -1)) + 20757), objArr);
Class<?> cls = Class.forName((String) objArr[0]);
Object[] objArr2 = new Object[1];
aB(((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getPackageName().codePointAt(6) - 67, 18 - Color.green(0), (char) (((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getApplicationInfo().targetSdkVersion - 34), objArr2);
baseContext = (Context) cls.getMethod((String) objArr2[0], new Class[0]).invoke(null, null);
}
if (baseContext != null) {
baseContext = baseContext.getApplicationContext();
}
if (baseContext != null) {
int i3 = p + 9;
u = i3 % 128;
try {
if (i3 % 2 == 0) {
Object obj2 = xzZ.y.get(125943855);
if (obj2 == null) {
obj2 = ((Class) xzZ.c(492 - (ViewConfiguration.getEdgeSlop() >> 16), KeyEvent.getDeadChar(0, 0) + 5, (char) Color.argb(0, 0, 0, 0))).getMethod("a", null);
xzZ.y.put(125943855, obj2);
}
Object invoke = ((Method) obj2).invoke(null, null);
Object[] objArr3 = {baseContext};
Object obj3 = xzZ.y.get(1378719468);
if (obj3 == null) {
obj3 = ((Class) xzZ.c(View.getDefaultSize(0, 0) + 487, (ViewConfiguration.getMaximumFlingVelocity() >> 16) + 5, (char) Color.green(0))).getMethod(KtaJsonExactionHelper.OBJECT, Context.class);
xzZ.y.put(1378719468, obj3);
}
((Method) obj3).invoke(invoke, objArr3);
obj.hashCode();
throw null;
}
Object obj4 = xzZ.y.get(125943855);
if (obj4 == null) {
obj4 = ((Class) xzZ.c(493 - (ViewConfiguration.getZoomControlsTimeout() > 0L ? 1 : (ViewConfiguration.getZoomControlsTimeout() == 0L ? 0 : -1)), (ViewConfiguration.getScrollBarSize() >> 8) + 5, (char) View.MeasureSpec.makeMeasureSpec(0, 0))).getMethod("a", null);
xzZ.y.put(125943855, obj4);
}
Object invoke2 = ((Method) obj4).invoke(null, null);
Object[] objArr4 = {baseContext};
Object obj5 = xzZ.y.get(1378719468);
if (obj5 == null) {
obj5 = ((Class) xzZ.c(487 - (ViewConfiguration.getDoubleTapTimeout() >> 16), View.combineMeasuredStates(0, 0) + 5, (char) (TypedValue.complexToFloat(0) > BitmapDescriptorFactory.HUE_RED ? 1 : (TypedValue.complexToFloat(0) == BitmapDescriptorFactory.HUE_RED ? 0 : -1)))).getMethod(KtaJsonExactionHelper.OBJECT, Context.class);
xzZ.y.put(1378719468, obj5);
}
((Method) obj5).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;
int i2 = u + 17;
p = i2 % 128;
int i3 = i2 % 2;
Context baseContext = getBaseContext();
if (baseContext == null) {
Object[] objArr = new Object[1];
aB(((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getPackageName().length() - 8, ((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getPackageName().length() + 13, (char) (((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getResources().getString(com.scb.phone.R.string.invalid_lat_long).substring(7, 8).codePointAt(0) + 20726), objArr);
Class<?> cls = Class.forName((String) objArr[0]);
Object[] objArr2 = new Object[1];
aB(((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getPackageName().codePointAt(3) - 15, ((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getResources().getString(com.scb.phone.R.string.point_x_remaining_balance_p_cc).substring(47, 48).codePointAt(0) - 14, (char) (((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getPackageName().length() - 13), objArr2);
baseContext = (Context) cls.getMethod((String) objArr2[0], new Class[0]).invoke(null, null);
}
if (baseContext != null) {
baseContext = baseContext.getApplicationContext();
}
if (baseContext != null) {
int i4 = p + 71;
u = i4 % 128;
int i5 = i4 % 2;
try {
Object obj = xzZ.y.get(125943855);
if (obj == null) {
obj = ((Class) xzZ.c(492 - (ViewConfiguration.getJumpTapTimeout() >> 16), (ExpandableListView.getPackedPositionForGroup(0) > 0L ? 1 : (ExpandableListView.getPackedPositionForGroup(0) == 0L ? 0 : -1)) + 5, (char) ((Process.getThreadPriority(0) + 20) >> 6))).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((Process.getElapsedCpuTime() > 0L ? 1 : (Process.getElapsedCpuTime() == 0L ? 0 : -1)) + 486, 6 - (AudioTrack.getMaxVolume() > BitmapDescriptorFactory.HUE_RED ? 1 : (AudioTrack.getMaxVolume() == BitmapDescriptorFactory.HUE_RED ? 0 : -1)), (char) ((-1) - TextUtils.lastIndexOf("", '0', 0, 0)))).getMethod("c", Context.class);
xzZ.y.put(1633456013, obj2);
}
((Method) obj2).invoke(invoke, objArr3);
int i6 = u + 33;
p = i6 % 128;
int i7 = i6 % 2;
} catch (Throwable th) {
Throwable cause = th.getCause();
if (cause == null) {
throw th;
}
throw cause;
}
}
super.onPause();
int i8 = u + 97;
p = i8 % 128;
if (i8 % 2 != 0) {
int i9 = 32 / 0;
}
}
/* JADX WARN: Code restructure failed: missing block: B:4:0x0074, code lost:
if (r2 > 99999) goto L6;
*/
@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
/*
Code decompiled incorrectly, please refer to instructions dump.
To view partially-correct add '--show-bad-code' argument
*/
public void attachBaseContext(android.content.Context r18) {
/*
Method dump skipped, instructions count: 630
To view this dump add '--comments-level debug' option
*/
throw new UnsupportedOperationException("Method not decompiled: o.AbstractActivityC8772dVf.attachBaseContext(android.content.Context):void");
}
@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 = u + 101;
p = i2 % 128;
int i3 = i2 % 2;
super.onStart();
int i4 = u + 109;
p = i4 % 128;
if (i4 % 2 != 0) {
int i5 = 14 / 0;
}
}
}