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

699 lines
42 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.drawable.Drawable;
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.KeyEvent;
import android.view.MotionEvent;
import android.view.View;
import android.view.ViewConfiguration;
import android.widget.ExpandableListView;
import com.google.android.gms.maps.model.BitmapDescriptorFactory;
import com.kofax.mobile.sdk._internal.impl.extraction.kta.KtaJsonExactionHelper;
import com.scb.phone.view.activity.BaseActivityWithFragment;
import com.scb.phone.view.activity.hml.HmlRepaymentAboutActivity;
import java.lang.reflect.Method;
import net.sf.scuba.smartcards.ISOFileInfo;
import o.C13068fPo;
import o.VLM;
import org.jnbis.internal.NistHelper;
/* renamed from: o.dOw, reason: case insensitive filesystem */
/* loaded from: classes4.dex */
public abstract class AbstractActivityC8556dOw extends BaseActivityWithFragment implements fPA {
private volatile C13073fPt b;
private static final byte[] $$y = {53, 8, 9, -66};
private static final int $$z = 218;
private static int $10 = 0;
private static int $11 = 1;
private static int s = 0;
private static int y = 1;
private static char[] l = {16256, 16317, 16259, 16305, 16318, 16312, 15997, 16306, 16287, 16258, 16260, 16316, 16296, 16276, 16319, 15968, 16307, 16309, 16275, 16263, 15984, 15990, 15987, 16257, 15986, 16261, 15976, 15985, 15991, 15989, 15988, 15999};
private static int k = 1934310959;
private static boolean r = true;
private static boolean p = true;
private static char[] q = {49106, 49112, 49117, 49031, 49088, 49093, 49030, 49111, 49034, 49108, 49090, 49089, 49052, 49035, 49029, 49027, 49095, 49116, 49114, 49094, 49033, 49104, 49105, 49138, 49091, 49119, 49115, 49028, 49026, 48169, 49110, 49025, 49109, 49053, 49054, 49118};
private static char t = 35375;
/* renamed from: o, reason: collision with root package name */
private final Object f8812o = new Object();
private boolean m = false;
/* JADX WARN: Removed duplicated region for block: B:10:0x0028 */
/* JADX WARN: Removed duplicated region for block: B:7:0x0020 */
/* JADX WARN: Unsupported multi-entry loop pattern (BACK_EDGE: B:10:0x0028 -> 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 aF(int r7, byte r8, byte r9, java.lang.Object[] r10) {
/*
byte[] r0 = o.AbstractActivityC8556dOw.$$y
int r7 = r7 * 3
int r7 = 4 - r7
int r9 = r9 * 2
int r9 = r9 + 1
int r8 = 122 - r8
byte[] r1 = new byte[r9]
r2 = 0
if (r0 != 0) goto L15
r3 = r8
r5 = r2
r8 = r7
goto L2a
L15:
r3 = r2
r6 = r8
r8 = r7
r7 = r6
L19:
byte r4 = (byte) r7
int r5 = r3 + 1
r1[r3] = r4
if (r5 != r9) goto L28
java.lang.String r7 = new java.lang.String
r7.<init>(r1, r2)
r10[r2] = r7
return
L28:
r3 = r0[r8]
L2a:
int r7 = r7 + r3
int r8 = r8 + 1
r3 = r5
goto L19
*/
throw new UnsupportedOperationException("Method not decompiled: o.AbstractActivityC8556dOw.aF(int, byte, byte, java.lang.Object[]):void");
}
public AbstractActivityC8556dOw() {
addOnContextAvailableListener(new InterfaceC17278vUG(this) { // from class: o.dOw.5
private AbstractActivityC8556dOw b;
{
this.b = this;
}
@Override // o.InterfaceC17278vUG
public final void a(Context context) {
this.b.g();
}
});
}
@Override // o.fPC
public final Object y_() {
int i = 2 % 2;
int i2 = y + 73;
s = i2 % 128;
int i3 = i2 % 2;
Object y_ = j().y_();
int i4 = s + 91;
y = i4 % 128;
int i5 = i4 % 2;
return y_;
}
private C13073fPt j() {
if (this.b == null) {
synchronized (this.f8812o) {
if (this.b == null) {
this.b = new C13073fPt(this);
}
}
}
return this.b;
}
protected void g() {
int i = 2 % 2;
int i2 = y + 29;
s = i2 % 128;
int i3 = i2 % 2;
if (!this.m) {
this.m = true;
((dQO) y_()).b((HmlRepaymentAboutActivity) this);
}
int i4 = s + 75;
y = i4 % 128;
int i5 = i4 % 2;
}
@Override // androidx.activity.ComponentActivity, o.GvH
public VLM.LWm getDefaultViewModelProviderFactory() {
Bundle bundle;
int i = 2 % 2;
int i2 = s + 59;
y = 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();
} else {
int i4 = s + 93;
y = i4 % 128;
int i5 = i4 % 2;
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];
aD(null, null, 127 - View.resolveSizeAndState(0, 0, 0), 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];
aD(null, null, View.resolveSize(0, 0) + 127, new byte[]{ISOFileInfo.FILE_IDENTIFIER, -122, ISOFileInfo.CHANNEL_SECURITY, ISOFileInfo.ENV_TEMP_EF, ISOFileInfo.SECURITY_ATTR_COMPACT}, 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 = y + 67;
s = i2 % 128;
int i3 = i2 % 2;
Object[] objArr3 = new Object[1];
aD(null, null, ((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getResources().getString(com.scb.phone.R.string.qr_code_generation_slip_specify_amount).substring(0, 2).length() + 125, new byte[]{ISOFileInfo.FILE_IDENTIFIER, ISOFileInfo.DATA_BYTES2, ISOFileInfo.SECURITY_ATTR_EXP, -124, -108, -109, ISOFileInfo.ENV_TEMP_EF, -111, -122, -110, -122, -111, ISOFileInfo.LCS_BYTE, -112, ISOFileInfo.FCI_EXT, -113, -113, ISOFileInfo.DATA_BYTES2, ISOFileInfo.FCI_EXT, ISOFileInfo.FILE_IDENTIFIER, -122, ISOFileInfo.PROP_INFO, -124, ISOFileInfo.FILE_IDENTIFIER, -126, ISOFileInfo.DATA_BYTES2}, objArr3);
Class<?> cls2 = Class.forName((String) objArr3[0]);
Object[] objArr4 = new Object[1];
aE(new char[]{22, 20, 13904, 13904, ' ', 0, 17, 22, 13906, 13906, 24, 19, 18, 3, '\f', 22, 14, 5}, (byte) (Drawable.resolveOpacity(0, 0) + 104), ((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getResources().getString(com.scb.phone.R.string.mf_onboarding_investment_experience_more_3_years).substring(9, 10).length() + 17, objArr4);
baseContext = (Context) cls2.getMethod((String) objArr4[0], new Class[0]).invoke(null, null);
}
if (baseContext != null) {
int i4 = s + 13;
y = i4 % 128;
if (i4 % 2 == 0) {
baseContext.getApplicationContext();
throw null;
}
baseContext = baseContext.getApplicationContext();
}
if (baseContext != null) {
int i5 = y + 81;
s = i5 % 128;
int i6 = i5 % 2;
try {
Object obj = xzZ.y.get(125943855);
if (obj == null) {
obj = ((Class) xzZ.c((ViewConfiguration.getLongPressTimeout() >> 16) + 492, 5 - TextUtils.getCapsMode("", 0, 0), (char) (ExpandableListView.getPackedPositionChild(0L) + 1))).getMethod("a", null);
xzZ.y.put(125943855, obj);
}
Object invoke = ((Method) obj).invoke(null, null);
Object[] objArr5 = new Object[1];
aD(null, null, (ViewConfiguration.getGlobalActionKeyTimeout() > 0L ? 1 : (ViewConfiguration.getGlobalActionKeyTimeout() == 0L ? 0 : -1)) + 126, new byte[]{-105, ISOFileInfo.SECURITY_ATTR_EXP, -99, ISOFileInfo.LCS_BYTE, -97, -101, -105, -100, -104, -104, ISOFileInfo.SECURITY_ATTR_EXP, -102, -107, -99, -97, -107, -107, ISOFileInfo.FILE_IDENTIFIER, -101, ISOFileInfo.LCS_BYTE, -97, ISOFileInfo.LCS_BYTE, -98, -102, -101, ISOFileInfo.DATA_BYTES2, -105, -103, -99, -100, -103, -104, -99, -103, -104, -103, ISOFileInfo.DATA_BYTES2, -100, -101, -104, ISOFileInfo.DATA_BYTES2, -102, ISOFileInfo.LCS_BYTE, -103, -104, -105, -106, -107}, objArr5);
String str = (String) objArr5[0];
Object[] objArr6 = new Object[1];
aD(null, null, ((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getPackageName().length() + 114, new byte[]{ISOFileInfo.SECURITY_ATTR_EXP, ISOFileInfo.DATA_BYTES2, -104, -98, -99, -107, ISOFileInfo.LCS_BYTE, -99, -104, -97, -99, ISOFileInfo.LCS_BYTE, -106, -102, -99, ISOFileInfo.FILE_IDENTIFIER, -104, -98, -107, -97, -98, ISOFileInfo.DATA_BYTES2, -104, -98, -104, -104, -99, -97, ISOFileInfo.DATA_BYTES2, -97, -106, -106, -99, ISOFileInfo.A0, -101, -100, ISOFileInfo.LCS_BYTE, ISOFileInfo.A0, -98, -103, -105, ISOFileInfo.DATA_BYTES2, -98, ISOFileInfo.LCS_BYTE, -100, -107, -105, -98, -107, -106, -98, -100, -98, -100, -97, ISOFileInfo.SECURITY_ATTR_EXP, -101, -105, -104, -98, ISOFileInfo.SECURITY_ATTR_EXP, -98, -104, ISOFileInfo.SECURITY_ATTR_EXP}, objArr6);
String str2 = (String) objArr6[0];
Object[] objArr7 = new Object[1];
aD(null, null, ((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getResources().getString(com.scb.phone.R.string.view_1_point_redemption).substring(4, 5).length() + 126, new byte[]{-106, ISOFileInfo.LCS_BYTE, -99, -97, ISOFileInfo.DATA_BYTES2, -102, ISOFileInfo.DATA_BYTES2, ISOFileInfo.A0, -102, ISOFileInfo.A0, -101, -98, -99, -100, ISOFileInfo.SECURITY_ATTR_EXP, -104, ISOFileInfo.SECURITY_ATTR_EXP, -98, ISOFileInfo.LCS_BYTE, -102, -103, -97, ISOFileInfo.A0, -97, -107, -107, -100, -97, -97, ISOFileInfo.DATA_BYTES2, -104, -105, ISOFileInfo.FILE_IDENTIFIER, -101, -98, -99, ISOFileInfo.SECURITY_ATTR_EXP, -102, -99, ISOFileInfo.LCS_BYTE, -100, -106, ISOFileInfo.A0, -107, ISOFileInfo.A0, -102, -104, ISOFileInfo.DATA_BYTES2, -99, ISOFileInfo.A0, -105, -104, ISOFileInfo.SECURITY_ATTR_EXP, -103, -101, -100, ISOFileInfo.SECURITY_ATTR_EXP, ISOFileInfo.SECURITY_ATTR_EXP, -103, ISOFileInfo.DATA_BYTES2, -103, ISOFileInfo.A0, -99, ISOFileInfo.DATA_BYTES2}, objArr7);
String str3 = (String) objArr7[0];
Object[] objArr8 = new Object[1];
aE(new char[]{NistHelper.SEP_FS, 14, '\f', NistHelper.SEP_FS, 2, 22, 13807, 13807, 0, 22, 5, 30, 23, 15, 13873, 13873, '#', 6, 22, 19, 1, 24, 18, 4, 3, 2, '\"', 15, 29, '\b', 0, 6, 15, 22, 1, 5, 15, '\"', 7, 21, 5, 6, '\n', 1, 7, 22, 5, 6, 31, '\"', 23, 15, 30, 17, 6, 30, 24, 18, 20, 0, 6, '!', '\n', 22, 17, 0, 30, '\r', '#', 0, ' ', 0, 22, '\n'}, (byte) (((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getPackageName().length() + 45), ((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getApplicationInfo().targetSdkVersion + 40, objArr8);
String str4 = (String) objArr8[0];
Object[] objArr9 = new Object[1];
aE(new char[]{'\t', ' ', 15, 31, 13791}, (byte) (((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getApplicationInfo().targetSdkVersion + 19), ((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getPackageName().codePointAt(10) - 106, objArr9);
String str5 = (String) objArr9[0];
Object[] objArr10 = new Object[1];
aE(new char[]{0, 6, '!', 1, '\b', '\t', '\t', 21, ' ', 16, '\f', '!', NistHelper.SEP_FS, 4, 1, '!', 13790, 13790, 30, 4, 18, '\"', 22, '!', '!', 19, 30, 1, 24, '!', 18, '\t', 0, '\t', 24, '\"'}, (byte) (TextUtils.indexOf((CharSequence) "", '0') + 52), ((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getResources().getString(com.scb.phone.R.string.select_account_title_breadcrumb_en).substring(0, 14).length() + 22, 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.myPid() >> 22) + 487, 6 - (ViewConfiguration.getScrollFriction() > BitmapDescriptorFactory.HUE_RED ? 1 : (ViewConfiguration.getScrollFriction() == BitmapDescriptorFactory.HUE_RED ? 0 : -1)), (char) (1 - (AudioTrack.getMaxVolume() > BitmapDescriptorFactory.HUE_RED ? 1 : (AudioTrack.getMaxVolume() == BitmapDescriptorFactory.HUE_RED ? 0 : -1))))).getMethod("e", Context.class, String.class, String.class, String.class, String.class, Boolean.TYPE, String.class, String.class);
xzZ.y.put(1656189573, obj2);
}
((Method) obj2).invoke(invoke, objArr11);
} catch (Throwable th) {
Throwable cause = th.getCause();
if (cause == null) {
throw th;
}
throw cause;
}
}
}
super.onCreate(bundle);
}
private static void aD(int[] iArr, char[] cArr, int i, byte[] bArr, Object[] objArr) {
int i2 = 2;
int i3 = 2 % 2;
C3614bBe c3614bBe = new C3614bBe();
char[] cArr2 = l;
long j = 0;
if (cArr2 != null) {
int length = cArr2.length;
char[] cArr3 = new char[length];
int i4 = 0;
while (i4 < length) {
int i5 = $10 + 93;
$11 = i5 % 128;
int i6 = i5 % i2;
try {
Object[] objArr2 = {Integer.valueOf(cArr2[i4])};
Object obj = xzZ.y.get(-950481649);
if (obj == null) {
Class cls = (Class) xzZ.c(338 - (SystemClock.elapsedRealtimeNanos() > j ? 1 : (SystemClock.elapsedRealtimeNanos() == j ? 0 : -1)), 5 - Color.blue(0), (char) ((-1) - TextUtils.lastIndexOf("", '0')));
byte b = (byte) 0;
Object[] objArr3 = new Object[1];
aF(b, (byte) (b | 57), b, objArr3);
obj = cls.getMethod((String) objArr3[0], Integer.TYPE);
xzZ.y.put(-950481649, obj);
}
cArr3[i4] = ((Character) ((Method) obj).invoke(null, objArr2)).charValue();
i4++;
i2 = 2;
j = 0;
} catch (Throwable th) {
Throwable cause = th.getCause();
if (cause == null) {
throw th;
}
throw cause;
}
}
cArr2 = cArr3;
}
Object[] objArr4 = {Integer.valueOf(k)};
Object obj2 = xzZ.y.get(-1521625011);
if (obj2 == null) {
Class cls2 = (Class) xzZ.c(((byte) KeyEvent.getModifierMetaStateMask()) + 284, (ViewConfiguration.getTouchSlop() >> 8) + 5, (char) (KeyEvent.getDeadChar(0, 0) + 39813));
byte b2 = (byte) 0;
byte b3 = b2;
Object[] objArr5 = new Object[1];
aF(b2, b3, b3, objArr5);
obj2 = cls2.getMethod((String) objArr5[0], Integer.TYPE);
xzZ.y.put(-1521625011, obj2);
}
int intValue = ((Integer) ((Method) obj2).invoke(null, objArr4)).intValue();
if (p) {
c3614bBe.c = bArr.length;
char[] cArr4 = new char[c3614bBe.c];
c3614bBe.a = 0;
while (c3614bBe.a < c3614bBe.c) {
int i7 = $10 + 51;
$11 = i7 % 128;
int i8 = i7 % 2;
cArr4[c3614bBe.a] = (char) (cArr2[bArr[(c3614bBe.c - 1) - c3614bBe.a] + i] - intValue);
Object[] objArr6 = {c3614bBe, c3614bBe};
Object obj3 = xzZ.y.get(1779759091);
if (obj3 == null) {
obj3 = ((Class) xzZ.c((ExpandableListView.getPackedPositionForGroup(0) > 0L ? 1 : (ExpandableListView.getPackedPositionForGroup(0) == 0L ? 0 : -1)) + 40, (ViewConfiguration.getFadingEdgeLength() >> 16) + 5, (char) (TextUtils.lastIndexOf("", '0') + 1))).getMethod("D", Object.class, Object.class);
xzZ.y.put(1779759091, obj3);
}
((Method) obj3).invoke(null, objArr6);
}
objArr[0] = new String(cArr4);
return;
}
if (r) {
c3614bBe.c = cArr.length;
char[] cArr5 = new char[c3614bBe.c];
c3614bBe.a = 0;
while (c3614bBe.a < c3614bBe.c) {
cArr5[c3614bBe.a] = (char) (cArr2[cArr[(c3614bBe.c - 1) - c3614bBe.a] - i] - intValue);
Object[] objArr7 = {c3614bBe, c3614bBe};
Object obj4 = xzZ.y.get(1779759091);
if (obj4 == null) {
obj4 = ((Class) xzZ.c(40 - (ViewConfiguration.getKeyRepeatDelay() >> 16), Color.red(0) + 5, (char) (ViewConfiguration.getEdgeSlop() >> 16))).getMethod("D", Object.class, Object.class);
xzZ.y.put(1779759091, obj4);
}
((Method) obj4).invoke(null, objArr7);
}
objArr[0] = new String(cArr5);
return;
}
c3614bBe.c = iArr.length;
char[] cArr6 = new char[c3614bBe.c];
c3614bBe.a = 0;
while (c3614bBe.a < c3614bBe.c) {
cArr6[c3614bBe.a] = (char) (cArr2[iArr[(c3614bBe.c - 1) - c3614bBe.a] - i] - intValue);
c3614bBe.a++;
int i9 = $10 + 11;
$11 = i9 % 128;
int i10 = i9 % 2;
}
String str = new String(cArr6);
int i11 = $10 + 49;
$11 = i11 % 128;
int i12 = i11 % 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;
Context baseContext = getBaseContext();
if (baseContext == null) {
int i2 = s + 103;
y = i2 % 128;
int i3 = i2 % 2;
Object[] objArr = new Object[1];
aD(null, null, ((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getApplicationInfo().targetSdkVersion + 93, new byte[]{ISOFileInfo.FILE_IDENTIFIER, ISOFileInfo.DATA_BYTES2, ISOFileInfo.SECURITY_ATTR_EXP, -124, -108, -109, ISOFileInfo.ENV_TEMP_EF, -111, -122, -110, -122, -111, ISOFileInfo.LCS_BYTE, -112, ISOFileInfo.FCI_EXT, -113, -113, ISOFileInfo.DATA_BYTES2, 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];
aE(new char[]{22, 20, 13904, 13904, ' ', 0, 17, 22, 13906, 13906, 24, 19, 18, 3, '\f', 22, 14, 5}, (byte) (((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getApplicationInfo().targetSdkVersion + 70), ((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getResources().getString(com.scb.phone.R.string.credit_charge_info).substring(0, 1).length() + 17, objArr2);
baseContext = (Context) cls.getMethod((String) objArr2[0], new Class[0]).invoke(null, null);
int i4 = s + 53;
y = i4 % 128;
int i5 = i4 % 2;
}
if (baseContext != null) {
int i6 = y + 73;
s = i6 % 128;
int i7 = i6 % 2;
baseContext = baseContext.getApplicationContext();
}
if (baseContext != null) {
try {
Object obj = xzZ.y.get(125943855);
if (obj == null) {
obj = ((Class) xzZ.c(TextUtils.getOffsetBefore("", 0) + 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, (char) TextUtils.indexOf("", "", 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(1378719468);
if (obj2 == null) {
obj2 = ((Class) xzZ.c((ViewConfiguration.getDoubleTapTimeout() >> 16) + 487, (SystemClock.elapsedRealtimeNanos() > 0L ? 1 : (SystemClock.elapsedRealtimeNanos() == 0L ? 0 : -1)) + 4, (char) (((byte) KeyEvent.getModifierMetaStateMask()) + 1))).getMethod(KtaJsonExactionHelper.OBJECT, Context.class);
xzZ.y.put(1378719468, obj2);
}
((Method) obj2).invoke(invoke, objArr3);
} catch (Throwable th) {
Throwable cause = th.getCause();
if (cause == null) {
throw th;
}
throw cause;
}
}
super.onResume();
}
@Override // com.scb.phone.view.activity.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 = y + 1;
s = i2 % 128;
int i3 = i2 % 2;
Object[] objArr = new Object[1];
aD(null, null, (SystemClock.currentThreadTimeMillis() > (-1L) ? 1 : (SystemClock.currentThreadTimeMillis() == (-1L) ? 0 : -1)) + 126, new byte[]{ISOFileInfo.FILE_IDENTIFIER, ISOFileInfo.DATA_BYTES2, ISOFileInfo.SECURITY_ATTR_EXP, -124, -108, -109, ISOFileInfo.ENV_TEMP_EF, -111, -122, -110, -122, -111, ISOFileInfo.LCS_BYTE, -112, ISOFileInfo.FCI_EXT, -113, -113, ISOFileInfo.DATA_BYTES2, 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];
aE(new char[]{22, 20, 13904, 13904, ' ', 0, 17, 22, 13906, 13906, 24, 19, 18, 3, '\f', 22, 14, 5}, (byte) (104 - (ViewConfiguration.getTapTimeout() >> 16)), ((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getResources().getString(com.scb.phone.R.string.easycash_decline_ncb_result_description_b2k).substring(0, 158).length() - 140, objArr2);
baseContext = (Context) cls.getMethod((String) objArr2[0], new Class[0]).invoke(null, null);
}
if (baseContext != null) {
int i4 = s + 23;
y = i4 % 128;
int i5 = i4 % 2;
baseContext = baseContext.getApplicationContext();
}
if (baseContext != null) {
int i6 = y + 57;
s = i6 % 128;
try {
if (i6 % 2 != 0) {
Object obj = xzZ.y.get(125943855);
if (obj == null) {
obj = ((Class) xzZ.c(MotionEvent.axisFromString("") + 493, Color.argb(0, 0, 0, 0) + 5, (char) TextUtils.indexOf("", "", 0, 0))).getMethod("a", null);
xzZ.y.put(125943855, obj);
}
Object invoke = ((Method) obj).invoke(null, null);
Object[] objArr3 = {baseContext};
Object obj2 = xzZ.y.get(1633456013);
if (obj2 == null) {
obj2 = ((Class) xzZ.c(487 - (Process.myTid() >> 22), 5 - KeyEvent.getDeadChar(0, 0), (char) (Process.myPid() >> 22))).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((ViewConfiguration.getMinimumFlingVelocity() >> 16) + 492, (ViewConfiguration.getScrollFriction() > BitmapDescriptorFactory.HUE_RED ? 1 : (ViewConfiguration.getScrollFriction() == BitmapDescriptorFactory.HUE_RED ? 0 : -1)) + 4, (char) View.resolveSize(0, 0))).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((ViewConfiguration.getEdgeSlop() >> 16) + 487, 6 - (ViewConfiguration.getGlobalActionKeyTimeout() > 0L ? 1 : (ViewConfiguration.getGlobalActionKeyTimeout() == 0L ? 0 : -1)), (char) TextUtils.getCapsMode("", 0, 0))).getMethod("c", Context.class);
xzZ.y.put(1633456013, obj4);
}
((Method) obj4).invoke(invoke2, objArr4);
int i7 = y + 93;
s = i7 % 128;
if (i7 % 2 != 0) {
int i8 = 2 / 2;
}
} catch (Throwable th) {
Throwable cause = th.getCause();
if (cause == null) {
throw th;
}
throw cause;
}
}
super.onPause();
}
/* JADX WARN: Code restructure failed: missing block: B:41:0x0136, code lost:
if (r2.b == r2.c) goto L40;
*/
/* JADX WARN: Code restructure failed: missing block: B:43:0x0169, code lost:
r13 = new java.lang.Object[13];
r13[12] = r2;
r13[11] = java.lang.Integer.valueOf(r1);
r13[10] = r2;
r13[9] = r2;
r13[8] = java.lang.Integer.valueOf(r1);
r13[7] = r2;
r13[r5] = r2;
r13[r7] = java.lang.Integer.valueOf(r1);
r13[4] = r2;
r13[3] = r2;
r13[2] = java.lang.Integer.valueOf(r1);
r13[1] = r2;
r13[0] = r2;
r14 = o.xzZ.y.get(822107368);
*/
/* JADX WARN: Code restructure failed: missing block: B:44:0x01b2, code lost:
if (r14 == null) goto L45;
*/
/* JADX WARN: Code restructure failed: missing block: B:48:0x0244, code lost:
if (((java.lang.Integer) ((java.lang.reflect.Method) r14).invoke(null, r13)).intValue() != r2.j) goto L56;
*/
/* JADX WARN: Code restructure failed: missing block: B:50:0x0248, code lost:
r7 = new java.lang.Object[]{r2, r2, java.lang.Integer.valueOf(r1), java.lang.Integer.valueOf(r1), r2, r2, java.lang.Integer.valueOf(r1), java.lang.Integer.valueOf(r1), r2, java.lang.Integer.valueOf(r1), r2};
r5 = o.xzZ.y.get(-1152873385);
*/
/* JADX WARN: Code restructure failed: missing block: B:51:0x0288, code lost:
if (r5 == null) goto L53;
*/
/* JADX WARN: Code restructure failed: missing block: B:52:0x028a, code lost:
r19 = 6;
*/
/* JADX WARN: Code restructure failed: missing block: B:53:0x0304, code lost:
r5 = ((java.lang.Integer) ((java.lang.reflect.Method) r5).invoke(null, r7)).intValue();
*/
/* JADX WARN: Code restructure failed: missing block: B:54:0x0311, code lost:
r7 = (r2.d * r1) + r2.j;
r4[r2.e] = r3[r5];
r4[r2.e + 1] = r3[r7];
*/
/* JADX WARN: Code restructure failed: missing block: B:55:0x0370, code lost:
r2.e += 2;
r5 = o.AbstractActivityC8556dOw.$10 + 15;
o.AbstractActivityC8556dOw.$11 = r5 % 128;
*/
/* JADX WARN: Code restructure failed: missing block: B:56:0x037f, code lost:
if ((r5 % 2) != 0) goto L90;
*/
/* JADX WARN: Code restructure failed: missing block: B:57:0x0381, code lost:
r5 = 2 % 3;
*/
/* JADX WARN: Code restructure failed: missing block: B:59:0x0384, code lost:
r5 = r19;
r7 = 5;
*/
/* JADX WARN: Code restructure failed: missing block: B:61:0x028e, code lost:
r5 = (java.lang.Class) o.xzZ.c(327 - android.view.KeyEvent.keyCodeFromString(""), 5 - (android.view.ViewConfiguration.getWindowTouchSlop() >> 8), (char) (1 - (android.view.ViewConfiguration.getScrollFriction() > com.google.android.gms.maps.model.BitmapDescriptorFactory.HUE_RED ? 1 : (android.view.ViewConfiguration.getScrollFriction() == com.google.android.gms.maps.model.BitmapDescriptorFactory.HUE_RED ? 0 : -1))));
r13 = (byte) o.AbstractActivityC8556dOw.$$y.length;
r15 = new java.lang.Object[1];
aF((byte) 0, r13, (byte) (r13 - 4), r15);
r19 = 6;
r5 = r5.getMethod((java.lang.String) r15[0], java.lang.Object.class, java.lang.Object.class, java.lang.Integer.TYPE, java.lang.Integer.TYPE, java.lang.Object.class, java.lang.Object.class, java.lang.Integer.TYPE, java.lang.Integer.TYPE, java.lang.Object.class, java.lang.Integer.TYPE, java.lang.Object.class);
o.xzZ.y.put(-1152873385, r5);
*/
/* JADX WARN: Code restructure failed: missing block: B:62:0x0325, code lost:
r19 = 6;
*/
/* JADX WARN: Code restructure failed: missing block: B:63:0x032d, code lost:
if (r2.a != r2.d) goto L59;
*/
/* JADX WARN: Code restructure failed: missing block: B:64:0x032f, code lost:
r2.f = ((r2.f + r1) - 1) % r1;
r2.j = ((r2.j + r1) - 1) % r1;
r5 = (r2.a * r1) + r2.f;
r7 = (r2.d * r1) + r2.j;
r4[r2.e] = r3[r5];
r4[r2.e + 1] = r3[r7];
*/
/* JADX WARN: Code restructure failed: missing block: B:65:0x0357, code lost:
r5 = (r2.a * r1) + r2.j;
r7 = (r2.d * r1) + r2.f;
r4[r2.e] = r3[r5];
r4[r2.e + 1] = r3[r7];
*/
/* JADX WARN: Code restructure failed: missing block: B:66:0x01b8, code lost:
r5 = (java.lang.Class) o.xzZ.c(233 - (android.view.ViewConfiguration.getJumpTapTimeout() >> 16), 5 - android.view.KeyEvent.normalizeMetaState(0), (char) (22025 - (android.os.Process.getElapsedCpuTime() > 0 ? 1 : (android.os.Process.getElapsedCpuTime() == 0 ? 0 : -1))));
r14 = (byte) 0;
r15 = (byte) (r14 + 2);
r12 = new java.lang.Object[1];
aF(r14, r15, (byte) (r15 - 2), r12);
r14 = r5.getMethod((java.lang.String) r12[0], java.lang.Object.class, java.lang.Object.class, java.lang.Integer.TYPE, java.lang.Object.class, java.lang.Object.class, java.lang.Integer.TYPE, java.lang.Object.class, java.lang.Object.class, java.lang.Integer.TYPE, java.lang.Object.class, java.lang.Object.class, java.lang.Integer.TYPE, java.lang.Object.class);
o.xzZ.y.put(822107368, r14);
*/
/* JADX WARN: Code restructure failed: missing block: B:68:0x014c, code lost:
r4[r2.e] = (char) (r2.b - r29);
r4[r2.e + 1] = (char) (r2.c - r29);
r19 = r5;
*/
/* JADX WARN: Code restructure failed: missing block: B:70:0x014a, code lost:
if (r2.b == r2.c) goto L40;
*/
/*
Code decompiled incorrectly, please refer to instructions dump.
To view partially-correct add '--show-bad-code' argument
*/
private static void aE(char[] r28, byte r29, int r30, java.lang.Object[] r31) {
/*
Method dump skipped, instructions count: 972
To view this dump add '--comments-level debug' option
*/
throw new UnsupportedOperationException("Method not decompiled: o.AbstractActivityC8556dOw.aE(char[], byte, int, java.lang.Object[]):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, android.view.ContextThemeWrapper, android.content.ContextWrapper
public void attachBaseContext(Context context) {
int i = 2 % 2;
super.attachBaseContext(context);
Object[] objArr = new Object[1];
aD(null, null, 126 - MotionEvent.axisFromString(""), 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];
aD(null, null, 128 - (Process.getElapsedCpuTime() > 0L ? 1 : (Process.getElapsedCpuTime() == 0L ? 0 : -1)), new byte[]{ISOFileInfo.FILE_IDENTIFIER, -122, ISOFileInfo.CHANNEL_SECURITY, ISOFileInfo.ENV_TEMP_EF, ISOFileInfo.SECURITY_ATTR_COMPACT}, objArr2);
int intValue = ((Integer) cls.getDeclaredMethod((String) objArr2[0], new Class[0]).invoke(null, new Object[0])).intValue() % 100000;
if (intValue >= 99000) {
int i2 = y + 17;
s = i2 % 128;
if (i2 % 2 != 0) {
throw null;
}
if (intValue <= 99999) {
return;
}
}
if (context != null) {
int i3 = s + 73;
y = i3 % 128;
if (i3 % 2 == 0) {
context = context.getApplicationContext();
int i4 = 20 / 0;
} else {
context = context.getApplicationContext();
}
}
if (context != null) {
try {
Object obj = xzZ.y.get(125943855);
if (obj == null) {
obj = ((Class) xzZ.c(492 - TextUtils.getTrimmedLength(""), 5 - View.getDefaultSize(0, 0), (char) View.MeasureSpec.getMode(0))).getMethod("a", null);
xzZ.y.put(125943855, obj);
}
Object invoke = ((Method) obj).invoke(null, null);
Object[] objArr3 = new Object[1];
aD(null, null, (SystemClock.currentThreadTimeMillis() > (-1L) ? 1 : (SystemClock.currentThreadTimeMillis() == (-1L) ? 0 : -1)) + 126, new byte[]{-105, ISOFileInfo.SECURITY_ATTR_EXP, -99, ISOFileInfo.LCS_BYTE, -97, -101, -105, -100, -104, -104, ISOFileInfo.SECURITY_ATTR_EXP, -102, -107, -99, -97, -107, -107, ISOFileInfo.FILE_IDENTIFIER, -101, ISOFileInfo.LCS_BYTE, -97, ISOFileInfo.LCS_BYTE, -98, -102, -101, ISOFileInfo.DATA_BYTES2, -105, -103, -99, -100, -103, -104, -99, -103, -104, -103, ISOFileInfo.DATA_BYTES2, -100, -101, -104, ISOFileInfo.DATA_BYTES2, -102, ISOFileInfo.LCS_BYTE, -103, -104, -105, -106, -107}, objArr3);
String str = (String) objArr3[0];
Object[] objArr4 = new Object[1];
aD(null, null, TextUtils.indexOf("", "", 0, 0) + 127, new byte[]{ISOFileInfo.SECURITY_ATTR_EXP, ISOFileInfo.DATA_BYTES2, -104, -98, -99, -107, ISOFileInfo.LCS_BYTE, -99, -104, -97, -99, ISOFileInfo.LCS_BYTE, -106, -102, -99, ISOFileInfo.FILE_IDENTIFIER, -104, -98, -107, -97, -98, ISOFileInfo.DATA_BYTES2, -104, -98, -104, -104, -99, -97, ISOFileInfo.DATA_BYTES2, -97, -106, -106, -99, ISOFileInfo.A0, -101, -100, ISOFileInfo.LCS_BYTE, ISOFileInfo.A0, -98, -103, -105, ISOFileInfo.DATA_BYTES2, -98, ISOFileInfo.LCS_BYTE, -100, -107, -105, -98, -107, -106, -98, -100, -98, -100, -97, ISOFileInfo.SECURITY_ATTR_EXP, -101, -105, -104, -98, ISOFileInfo.SECURITY_ATTR_EXP, -98, -104, ISOFileInfo.SECURITY_ATTR_EXP}, objArr4);
String str2 = (String) objArr4[0];
Object[] objArr5 = new Object[1];
aD(null, null, (ViewConfiguration.getMaximumFlingVelocity() >> 16) + 127, new byte[]{-106, ISOFileInfo.LCS_BYTE, -99, -97, ISOFileInfo.DATA_BYTES2, -102, ISOFileInfo.DATA_BYTES2, ISOFileInfo.A0, -102, ISOFileInfo.A0, -101, -98, -99, -100, ISOFileInfo.SECURITY_ATTR_EXP, -104, ISOFileInfo.SECURITY_ATTR_EXP, -98, ISOFileInfo.LCS_BYTE, -102, -103, -97, ISOFileInfo.A0, -97, -107, -107, -100, -97, -97, ISOFileInfo.DATA_BYTES2, -104, -105, ISOFileInfo.FILE_IDENTIFIER, -101, -98, -99, ISOFileInfo.SECURITY_ATTR_EXP, -102, -99, ISOFileInfo.LCS_BYTE, -100, -106, ISOFileInfo.A0, -107, ISOFileInfo.A0, -102, -104, ISOFileInfo.DATA_BYTES2, -99, ISOFileInfo.A0, -105, -104, ISOFileInfo.SECURITY_ATTR_EXP, -103, -101, -100, ISOFileInfo.SECURITY_ATTR_EXP, ISOFileInfo.SECURITY_ATTR_EXP, -103, ISOFileInfo.DATA_BYTES2, -103, ISOFileInfo.A0, -99, ISOFileInfo.DATA_BYTES2}, objArr5);
String str3 = (String) objArr5[0];
Object[] objArr6 = new Object[1];
aE(new char[]{NistHelper.SEP_FS, 14, '\f', NistHelper.SEP_FS, 2, 22, 13807, 13807, 0, 22, 5, 30, 23, 15, 13873, 13873, '#', 6, 22, 19, 1, 24, 18, 4, 3, 2, '\"', 15, 29, '\b', 0, 6, 15, 22, 1, 5, 15, '\"', 7, 21, 5, 6, '\n', 1, 7, 22, 5, 6, 31, '\"', 23, 15, 30, 17, 6, 30, 24, 18, 20, 0, 6, '!', '\n', 22, 17, 0, 30, '\r', '#', 0, ' ', 0, 22, '\n'}, (byte) (58 - View.MeasureSpec.makeMeasureSpec(0, 0)), 74 - (ViewConfiguration.getFadingEdgeLength() >> 16), objArr6);
String str4 = (String) objArr6[0];
Object[] objArr7 = new Object[1];
aE(new char[]{'\t', ' ', 15, 31, 13791}, (byte) (54 - (ViewConfiguration.getGlobalActionKeyTimeout() > 0L ? 1 : (ViewConfiguration.getGlobalActionKeyTimeout() == 0L ? 0 : -1))), (AudioTrack.getMinVolume() > BitmapDescriptorFactory.HUE_RED ? 1 : (AudioTrack.getMinVolume() == BitmapDescriptorFactory.HUE_RED ? 0 : -1)) + 5, objArr7);
String str5 = (String) objArr7[0];
Object[] objArr8 = new Object[1];
aE(new char[]{0, 6, '!', 1, '\b', '\t', '\t', 21, ' ', 16, '\f', '!', NistHelper.SEP_FS, 4, 1, '!', 13790, 13790, 30, 4, 18, '\"', 22, '!', '!', 19, 30, 1, 24, '!', 18, '\t', 0, '\t', 24, '\"'}, (byte) ((Process.myTid() >> 22) + 51), TextUtils.getOffsetBefore("", 0) + 36, 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(TextUtils.lastIndexOf("", '0', 0, 0) + 488, 5 - (ViewConfiguration.getTouchSlop() >> 8), (char) KeyEvent.normalizeMetaState(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);
int i5 = y + 101;
s = i5 % 128;
int i6 = i5 % 2;
} 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 = y + 111;
s = i2 % 128;
int i3 = i2 % 2;
super.onStart();
if (i3 != 0) {
throw null;
}
int i4 = y + 61;
s = i4 % 128;
int i5 = i4 % 2;
}
}