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

670 lines
38 KiB
Java

package o;
import android.content.Context;
import android.graphics.Color;
import android.os.Bundle;
import android.os.Process;
import android.os.SystemClock;
import android.text.AndroidCharacter;
import android.text.TextUtils;
import android.util.TypedValue;
import android.view.Gravity;
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.google.common.base.Ascii;
import com.kofax.kmc.kut.utilities.IpLibUtil;
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.ScbsAccountDetailActivity;
import java.lang.reflect.Method;
import net.sf.scuba.smartcards.ISO7816;
import net.sf.scuba.smartcards.ISOFileInfo;
import org.bouncycastle.crypto.signers.PSSSigner;
import org.jmrtd.lds.CVCAFile;
import org.jnbis.internal.NistHelper;
/* renamed from: o.dVd, reason: case insensitive filesystem */
/* loaded from: classes5.dex */
public abstract class AbstractActivityC8770dVd extends BaseActivityWithFragment implements fPA {
private static short[] p;
private volatile C13073fPt k;
private static final byte[] $$p = {69, ISO7816.INS_CHANGE_CHV, 67, Ascii.CAN};
private static final int $$q = 76;
private static int $10 = 0;
private static int $11 = 1;
private static int v = 0;
private static int y = 1;
/* renamed from: o, reason: collision with root package name */
private static char[] f8843o = {49127, 49093, 49106, 49145, 49123, 49109, 49126, 49138, 49119, 49098, 49104, 49027, 49025, 49088, 49091, 49094, 49030, 49117, 49110, 49114, 49095, 49105, 49035, 49115, 49111, 49034, 49028, 49031, 49029, 49118, 49053, 49024, 49026, 49116, 49089, 49054};
private static char m = 35375;
private static int t = -2136392604;
private static int r = 1406017025;
private static int q = -229403233;
private static byte[] s = {9, ISO7816.INS_MSE, 76, ISO7816.INS_CHANGE_CHV, 67, 29, -108, ISOFileInfo.FCI_BYTE, 57, 105, 28, Ascii.DC2, ISO7816.INS_REHABILITATE_CHV, 16, 110, -107, 105, ISO7816.INS_UNBLOCK_CHV, 70, 59, 67, 63, 76, 57, 76, 49, 76, 104, Ascii.SYN, 107, Ascii.DC2, 56, 71, -108, 56, CVCAFile.CAR_TAG, 63, CVCAFile.CAR_TAG, 16, 58, 104, Ascii.SYN, 110, 89, 56, 67, 28, 107, 35, -10, -65, ISOFileInfo.A0, -58, -88, -113, -12, 53, 126, ISO7816.INS_INCREASE, -72, -89, -9, -16, PSSSigner.TRAILER_IMPLICIT, ISO7816.INS_READ_RECORD2, -1, -16, -90, ISOFileInfo.SECURITY_ATTR_EXP, -5, -9, ISOFileInfo.A5, ISOFileInfo.SECURITY_ATTR_COMPACT, ISO7816.INS_CREATE_FILE, ISO7816.INS_GET_DATA, -88, -59, -67, -9, -90, -53, -88, -59, -89, ISO7816.INS_READ_BINARY, 51, -72, ISOFileInfo.AB, -9, -58, -86, -11, ISO7816.INS_GET_DATA, -93, -51, Ascii.DEL, -6, -12, -92, -10, -49, -94, -15, -65, -56, -92, -15, -71, -9, ISOFileInfo.A5, -49, ISOFileInfo.A5, -15, -49, 125, -71, -52, -2, -70, -11, -71, ISOFileInfo.A5};
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:0x0027). 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(short r6, int r7, int r8, java.lang.Object[] r9) {
/*
int r7 = 120 - r7
int r6 = r6 * 4
int r6 = 4 - r6
int r8 = r8 * 3
int r8 = 1 - r8
byte[] r0 = o.AbstractActivityC8770dVd.$$p
byte[] r1 = new byte[r8]
r2 = 0
if (r0 != 0) goto L15
r3 = r7
r7 = r8
r4 = r2
goto L27
L15:
r3 = r2
L16:
int r4 = r3 + 1
byte r5 = (byte) r7
r1[r3] = r5
if (r4 != r8) goto L25
java.lang.String r6 = new java.lang.String
r6.<init>(r1, r2)
r9[r2] = r6
return
L25:
r3 = r0[r6]
L27:
int r7 = r7 + r3
int r6 = r6 + 1
r3 = r4
goto L16
*/
throw new UnsupportedOperationException("Method not decompiled: o.AbstractActivityC8770dVd.aC(short, int, int, java.lang.Object[]):void");
}
public AbstractActivityC8770dVd() {
addOnContextAvailableListener(new InterfaceC17278vUG(this) { // from class: o.dVd.3
private AbstractActivityC8770dVd b;
{
this.b = this;
}
@Override // o.InterfaceC17278vUG
public final void a(Context context) {
AbstractActivityC8770dVd abstractActivityC8770dVd = this.b;
if (abstractActivityC8770dVd.b) {
return;
}
abstractActivityC8770dVd.b = true;
((InterfaceC8777dVk) abstractActivityC8770dVd.y_()).c((ScbsAccountDetailActivity) abstractActivityC8770dVd);
}
});
}
@Override // o.fPC
public final Object y_() {
int i = 2 % 2;
int i2 = v + 23;
y = i2 % 128;
int i3 = i2 % 2;
C13073fPt j = j();
if (i3 != 0) {
return j.y_();
}
j.y_();
throw null;
}
private C13073fPt j() {
if (this.k == null) {
synchronized (this.l) {
if (this.k == null) {
this.k = new C13073fPt(this);
}
}
}
return this.k;
}
/* JADX WARN: Code restructure failed: missing block: B:10:0x004b, code lost:
r2 = getIntent().getExtras();
*/
/* JADX WARN: Code restructure failed: missing block: B:11:0x0054, code lost:
getIntent().getExtras();
r2.hashCode();
*/
/* JADX WARN: Code restructure failed: missing block: B:12:0x005e, code lost:
throw null;
*/
/* JADX WARN: Code restructure failed: missing block: B:14:0x003e, code lost:
if (getIntent() != null) goto L9;
*/
/* JADX WARN: Code restructure failed: missing block: B:4:0x0027, code lost:
if (getIntent() != null) goto L9;
*/
/* JADX WARN: Code restructure failed: missing block: B:8:0x0040, code lost:
r4 = o.AbstractActivityC8770dVd.y + 103;
o.AbstractActivityC8770dVd.v = r4 % 128;
*/
/* JADX WARN: Code restructure failed: missing block: B:9:0x0049, code lost:
if ((r4 % 2) != 0) goto L12;
*/
@Override // androidx.activity.ComponentActivity, o.GvH
/*
Code decompiled incorrectly, please refer to instructions dump.
To view partially-correct add '--show-bad-code' argument
*/
public o.VLM.LWm getDefaultViewModelProviderFactory() {
/*
r6 = this;
r0 = 2
int r1 = r0 % r0
int r1 = o.AbstractActivityC8770dVd.y
int r1 = r1 + 41
int r2 = r1 % 128
o.AbstractActivityC8770dVd.v = r2
int r1 = r1 % r0
r2 = 0
if (r1 == 0) goto L2a
o.VLM$LWm r1 = super.getDefaultViewModelProviderFactory()
java.lang.Class<o.fPo$Sts> r3 = o.C13068fPo.Sts.class
java.lang.Object r3 = o.fOV.c(r6, r3)
o.fPo$Sts r3 = (o.C13068fPo.Sts) r3
o.fPo$LWm r3 = r3.a()
android.content.Intent r4 = r6.getIntent()
r5 = 71
int r5 = r5 / 0
if (r4 == 0) goto L5f
goto L40
L2a:
o.VLM$LWm r1 = super.getDefaultViewModelProviderFactory()
java.lang.Class<o.fPo$Sts> r3 = o.C13068fPo.Sts.class
java.lang.Object r3 = o.fOV.c(r6, r3)
o.fPo$Sts r3 = (o.C13068fPo.Sts) r3
o.fPo$LWm r3 = r3.a()
android.content.Intent r4 = r6.getIntent()
if (r4 == 0) goto L5f
L40:
int r4 = o.AbstractActivityC8770dVd.y
int r4 = r4 + 103
int r5 = r4 % 128
o.AbstractActivityC8770dVd.v = r5
int r4 = r4 % r0
if (r4 != 0) goto L54
android.content.Intent r2 = r6.getIntent()
android.os.Bundle r2 = r2.getExtras()
goto L5f
L54:
android.content.Intent r0 = r6.getIntent()
r0.getExtras()
r2.hashCode()
throw r2
L5f:
o.VLM$LWm r1 = r3.aBN_(r6, r2, r1)
int r2 = o.AbstractActivityC8770dVd.y
int r2 = r2 + 27
int r3 = r2 % 128
o.AbstractActivityC8770dVd.v = r3
int r2 = r2 % r0
return r1
*/
throw new UnsupportedOperationException("Method not decompiled: o.AbstractActivityC8770dVd.getDefaultViewModelProviderFactory():o.VLM$LWm");
}
@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;
int i2 = v + 93;
y = i2 % 128;
int i3 = i2 % 2;
Object[] objArr = new Object[1];
ay(new char[]{5, 14, NistHelper.SEP_FS, 30, 31, 21, 30, 0, 31, 15, '\"', 0, '#', '\"', 6, 22, 13894, 13894}, (byte) ((ViewConfiguration.getPressedStateDuration() >> 16) + 93), ((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getApplicationInfo().targetSdkVersion - 16, objArr);
Class<?> cls = Class.forName((String) objArr[0]);
Object[] objArr2 = new Object[1];
ay(new char[]{27, 11, 7, 18, 13867}, (byte) (((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getApplicationInfo().targetSdkVersion + 11), ((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getPackageName().length() - 8, 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];
ay(new char[]{5, 14, NistHelper.SEP_FS, 30, 31, 21, 30, 0, '\b', 20, '\f', ' ', '\b', 11, 21, 20, 7, 25, 21, '\b', 5, 18, 30, 22, 0, 26}, (byte) (((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getResources().getString(com.scb.phone.R.string.auto_p2p_select_purchase_pts).substring(0, 5).length() + 64), ((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getResources().getString(com.scb.phone.R.string.hml_no_deposit_sub_action).substring(69, 70).length() + 25, objArr3);
Class<?> cls2 = Class.forName((String) objArr3[0]);
Object[] objArr4 = new Object[1];
ay(new char[]{'\t', 16, 13827, 13827, 23, '\f', 19, '\b', 13829, 13829, 7, 20, '\b', 4, 21, 20, '#', 15}, (byte) ((ViewConfiguration.getPressedStateDuration() >> 16) + 27), 17 - TextUtils.lastIndexOf("", '0', 0), 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 = v + 103;
y = i4 % 128;
int i5 = i4 % 2;
try {
Object obj = xzZ.y.get(125943855);
if (obj == null) {
obj = ((Class) xzZ.c((ViewConfiguration.getJumpTapTimeout() >> 16) + 492, TextUtils.indexOf((CharSequence) "", '0', 0, 0) + 6, (char) (ViewConfiguration.getScrollBarFadeDuration() >> 16))).getMethod("a", null);
xzZ.y.put(125943855, obj);
}
Object invoke = ((Method) obj).invoke(null, null);
Object[] objArr5 = new Object[1];
aB((short) (((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getResources().getString(com.scb.phone.R.string.abc_menu_enter_shortcut_label).substring(1, 5).codePointAt(0) - 48), 748215580 + ((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getPackageName().codePointAt(4), (-20) - (ViewConfiguration.getScrollFriction() > BitmapDescriptorFactory.HUE_RED ? 1 : (ViewConfiguration.getScrollFriction() == BitmapDescriptorFactory.HUE_RED ? 0 : -1)), 1583510661 + ((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getApplicationInfo().targetSdkVersion, (byte) (((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getApplicationInfo().targetSdkVersion + IpLibUtil.KIPP_BARCODE_DRIVER_FAIL), objArr5);
String str = (String) objArr5[0];
Object[] objArr6 = new Object[1];
ay(new char[]{19, 22, 24, 22, 27, 22, NistHelper.SEP_FS, 26, 22, '\f', 16, 24, 16, 24, ' ', 2, 29, NistHelper.SEP_FS, 30, 14, 16, '\"', 3, 26, '\"', 25, 6, 11, '\r', 24, '\n', 23, 13815, 13815, 14, 4, 22, NistHelper.SEP_FS, 13890, 13890, 27, 22, 4, 26, 14, '\"', 27, 22, NistHelper.SEP_FS, 18, 2, 29, 16, NistHelper.SEP_FS, 15, 22, NistHelper.SEP_FS, 16, '\"', 20, 27, 22, 0, 20}, (byte) (Color.alpha(0) + 74), ((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getApplicationInfo().targetSdkVersion + 30, objArr6);
String str2 = (String) objArr6[0];
Object[] objArr7 = new Object[1];
ay(new char[]{4, 20, 7, '#', 1, ' ', 13890, 13890, '\r', 24, 30, 19, 27, '!', '\n', 23, 3, 20, 11, 17, '#', '\b', 24, 14, 16, NistHelper.SEP_FS, 0, 23, NistHelper.SEP_FS, '\"', 26, 25, '!', 27, 4, 14, 17, '\r', 13806, 13806, 17, '\n', '\r', '\"', 4, 11, 24, 22, 22, 19, 16, 18, 29, 26, 17, 11, '\b', 5, 0, 3, 22, NistHelper.SEP_FS, '\b', NistHelper.SEP_FS}, (byte) (((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getResources().getString(com.scb.phone.R.string.contact_info_title_auto_topup).substring(0, 19).codePointAt(7) - 3574), ((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getApplicationInfo().targetSdkVersion + 30, objArr7);
String str3 = (String) objArr7[0];
Object[] objArr8 = new Object[1];
aB((short) (((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getPackageName().codePointAt(1) - 55), ((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getPackageName().length() + 748215730, (-21) - (ExpandableListView.getPackedPositionForGroup(0) > 0L ? 1 : (ExpandableListView.getPackedPositionForGroup(0) == 0L ? 0 : -1)), ((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getApplicationInfo().targetSdkVersion + 1583510716, (byte) (((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getApplicationInfo().targetSdkVersion - 62), objArr8);
String str4 = (String) objArr8[0];
Object[] objArr9 = new Object[1];
ay(new char[]{24, 31, 18, '\"', 13774}, (byte) (((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getResources().getString(com.scb.phone.R.string.verify_identity_4).substring(0, 3).length() + 33), (ViewConfiguration.getTouchSlop() >> 8) + 5, objArr9);
String str5 = (String) objArr9[0];
Object[] objArr10 = new Object[1];
ay(new char[]{20, 0, 15, 24, 25, 26, 29, '\t', '\"', 29, 6, 23, 23, '!', 24, 15, 13799, 13799, ' ', 5, 22, 19, 11, '\"', 16, 6, 14, 0, 24, 20, 16, 22, NistHelper.SEP_FS, 15, 30, 20}, (byte) (KeyEvent.getDeadChar(0, 0) + 60), TextUtils.lastIndexOf("", '0', 0) + 37, 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 - View.combineMeasuredStates(0, 0), 4 - (ExpandableListView.getPackedPositionForChild(0, 0) > 0L ? 1 : (ExpandableListView.getPackedPositionForChild(0, 0) == 0L ? 0 : -1)), (char) TextUtils.indexOf("", "", 0, 0))).getMethod("e", Context.class, String.class, String.class, String.class, String.class, Boolean.TYPE, String.class, String.class);
xzZ.y.put(1656189573, obj2);
}
((Method) obj2).invoke(invoke, objArr11);
} catch (Throwable th) {
Throwable cause = th.getCause();
if (cause == null) {
throw th;
}
throw cause;
}
}
}
super.onCreate(bundle);
int i6 = y + 99;
v = i6 % 128;
int i7 = i6 % 2;
}
@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 = y + 113;
v = i2 % 128;
Object obj = null;
if (i2 % 2 != 0) {
getBaseContext();
obj.hashCode();
throw null;
}
Context baseContext = getBaseContext();
if (baseContext == null) {
int i3 = y + 81;
v = i3 % 128;
int i4 = i3 % 2;
Object[] objArr = new Object[1];
ay(new char[]{5, 14, NistHelper.SEP_FS, 30, 31, 21, 30, 0, '\b', 20, '\f', ' ', '\b', 11, 21, 20, 7, 25, 21, '\b', 5, 18, 30, 22, 0, 26}, (byte) (((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getResources().getString(com.scb.phone.R.string.registration_completed_instruction).substring(35, 36).length() + 68), TextUtils.indexOf("", "", 0, 0) + 26, objArr);
Class<?> cls = Class.forName((String) objArr[0]);
Object[] objArr2 = new Object[1];
ay(new char[]{'\t', 16, 13827, 13827, 23, '\f', 19, '\b', 13829, 13829, 7, 20, '\b', 4, 21, 20, '#', 15}, (byte) (((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getPackageName().length() + 14), 'B' - AndroidCharacter.getMirror('0'), objArr2);
baseContext = (Context) cls.getMethod((String) objArr2[0], new Class[0]).invoke(null, null);
}
if (baseContext != null) {
baseContext = baseContext.getApplicationContext();
}
if (baseContext != null) {
int i5 = y + 95;
v = i5 % 128;
try {
if (i5 % 2 != 0) {
Object obj2 = xzZ.y.get(125943855);
if (obj2 == null) {
obj2 = ((Class) xzZ.c(493 - (SystemClock.elapsedRealtime() > 0L ? 1 : (SystemClock.elapsedRealtime() == 0L ? 0 : -1)), 5 - View.getDefaultSize(0, 0), (char) (ExpandableListView.getPackedPositionForGroup(0) > 0L ? 1 : (ExpandableListView.getPackedPositionForGroup(0) == 0L ? 0 : -1)))).getMethod("a", null);
xzZ.y.put(125943855, obj2);
}
Object invoke = ((Method) obj2).invoke(null, null);
Object[] objArr3 = {baseContext};
Object obj3 = xzZ.y.get(1378719468);
if (obj3 == null) {
obj3 = ((Class) xzZ.c(TextUtils.getCapsMode("", 0, 0) + 487, TextUtils.getCapsMode("", 0, 0) + 5, (char) View.MeasureSpec.getMode(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(491 - ExpandableListView.getPackedPositionChild(0L), 5 - View.resolveSizeAndState(0, 0, 0), (char) ((-1) - TextUtils.indexOf((CharSequence) "", '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((ViewConfiguration.getZoomControlsTimeout() > 0L ? 1 : (ViewConfiguration.getZoomControlsTimeout() == 0L ? 0 : -1)) + 486, TextUtils.indexOf("", "", 0) + 5, (char) (ViewConfiguration.getMinimumFlingVelocity() >> 16))).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 = y + 61;
v = i2 % 128;
int i3 = i2 % 2;
Context baseContext = getBaseContext();
Object obj = null;
if (baseContext == null) {
int i4 = y + 83;
v = i4 % 128;
int i5 = i4 % 2;
Object[] objArr = new Object[1];
ay(new char[]{5, 14, NistHelper.SEP_FS, 30, 31, 21, 30, 0, '\b', 20, '\f', ' ', '\b', 11, 21, 20, 7, 25, 21, '\b', 5, 18, 30, 22, 0, 26}, (byte) (((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getResources().getString(com.scb.phone.R.string.ndid_service_description).substring(61, 62).codePointAt(0) + 37), 27 - (SystemClock.elapsedRealtime() > 0L ? 1 : (SystemClock.elapsedRealtime() == 0L ? 0 : -1)), objArr);
Class<?> cls = Class.forName((String) objArr[0]);
Object[] objArr2 = new Object[1];
ay(new char[]{'\t', 16, 13827, 13827, 23, '\f', 19, '\b', 13829, 13829, 7, 20, '\b', 4, 21, 20, '#', 15}, (byte) (((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getResources().getString(com.scb.phone.R.string.billpayment_bnpl_coin_more_detail_description_2_2).substring(0, 73).codePointAt(67) - 3621), ((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getResources().getString(com.scb.phone.R.string.debit_value).substring(0, 3).codePointAt(0) - 27, objArr2);
baseContext = (Context) cls.getMethod((String) objArr2[0], new Class[0]).invoke(null, null);
}
if (baseContext != null) {
baseContext = baseContext.getApplicationContext();
}
if (baseContext != null) {
int i6 = v + 105;
y = i6 % 128;
try {
if (i6 % 2 == 0) {
Object obj2 = xzZ.y.get(125943855);
if (obj2 == null) {
obj2 = ((Class) xzZ.c(TextUtils.getOffsetBefore("", 0) + 492, Gravity.getAbsoluteGravity(0, 0) + 5, (char) ((ViewConfiguration.getZoomControlsTimeout() > 0L ? 1 : (ViewConfiguration.getZoomControlsTimeout() == 0L ? 0 : -1)) - 1))).getMethod("a", null);
xzZ.y.put(125943855, obj2);
}
Object invoke = ((Method) obj2).invoke(null, null);
Object[] objArr3 = {baseContext};
Object obj3 = xzZ.y.get(1633456013);
if (obj3 == null) {
obj3 = ((Class) xzZ.c(487 - (TypedValue.complexToFloat(0) > BitmapDescriptorFactory.HUE_RED ? 1 : (TypedValue.complexToFloat(0) == BitmapDescriptorFactory.HUE_RED ? 0 : -1)), 6 - (ViewConfiguration.getZoomControlsTimeout() > 0L ? 1 : (ViewConfiguration.getZoomControlsTimeout() == 0L ? 0 : -1)), (char) ((SystemClock.elapsedRealtimeNanos() > 0L ? 1 : (SystemClock.elapsedRealtimeNanos() == 0L ? 0 : -1)) - 1))).getMethod("c", Context.class);
xzZ.y.put(1633456013, obj3);
}
((Method) obj3).invoke(invoke, objArr3);
obj.hashCode();
throw null;
}
Object obj4 = xzZ.y.get(125943855);
if (obj4 == null) {
obj4 = ((Class) xzZ.c((ExpandableListView.getPackedPositionForChild(0, 0) > 0L ? 1 : (ExpandableListView.getPackedPositionForChild(0, 0) == 0L ? 0 : -1)) + 493, 4 - ExpandableListView.getPackedPositionChild(0L), (char) KeyEvent.getDeadChar(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(1633456013);
if (obj5 == null) {
obj5 = ((Class) xzZ.c(487 - (ViewConfiguration.getTapTimeout() >> 16), 5 - ExpandableListView.getPackedPositionGroup(0L), (char) Gravity.getAbsoluteGravity(0, 0))).getMethod("c", Context.class);
xzZ.y.put(1633456013, obj5);
}
((Method) obj5).invoke(invoke2, objArr4);
int i7 = y + 109;
v = i7 % 128;
int i8 = i7 % 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:40:0x01da, code lost:
if (r12 != false) goto L48;
*/
/* JADX WARN: Code restructure failed: missing block: B:41:0x01f0, code lost:
r8 = 0;
*/
/* JADX WARN: Code restructure failed: missing block: B:70:0x01ee, code lost:
r8 = 1;
*/
/* JADX WARN: Code restructure failed: missing block: B:72:0x01ec, code lost:
if (r12 != false) goto L48;
*/
/* JADX WARN: Removed duplicated region for block: B:14:0x009f */
/* JADX WARN: Removed duplicated region for block: B:37:0x01bf */
/*
Code decompiled incorrectly, please refer to instructions dump.
To view partially-correct add '--show-bad-code' argument
*/
private static void aB(short r19, int r20, int r21, int r22, byte r23, java.lang.Object[] r24) {
/*
Method dump skipped, instructions count: 785
To view this dump add '--comments-level debug' option
*/
throw new UnsupportedOperationException("Method not decompiled: o.AbstractActivityC8770dVd.aB(short, int, int, int, byte, java.lang.Object[]):void");
}
private static void ay(char[] cArr, byte b, int i, Object[] objArr) {
int i2;
Object obj;
char c;
int i3 = 2;
int i4 = 2 % 2;
IRS irs = new IRS();
char[] cArr2 = f8843o;
Object obj2 = null;
int i5 = 5;
if (cArr2 != null) {
int length = cArr2.length;
char[] cArr3 = new char[length];
int i6 = 0;
while (i6 < length) {
int i7 = $10 + 37;
$11 = i7 % 128;
int i8 = i7 % i3;
try {
Object[] objArr2 = {Integer.valueOf(cArr2[i6])};
Object obj3 = xzZ.y.get(-1987398494);
if (obj3 == null) {
Class cls = (Class) xzZ.c((ViewConfiguration.getMaximumFlingVelocity() >> 16) + 298, View.getDefaultSize(0, 0) + i5, (char) (TypedValue.complexToFloat(0) > BitmapDescriptorFactory.HUE_RED ? 1 : (TypedValue.complexToFloat(0) == BitmapDescriptorFactory.HUE_RED ? 0 : -1)));
byte b2 = (byte) 0;
byte b3 = (byte) (b2 + 3);
Object[] objArr3 = new Object[1];
aC(b2, b3, (byte) (b3 - 3), objArr3);
obj3 = cls.getMethod((String) objArr3[0], Integer.TYPE);
xzZ.y.put(-1987398494, obj3);
}
cArr3[i6] = ((Character) ((Method) obj3).invoke(null, objArr2)).charValue();
i6++;
int i9 = $11 + 79;
$10 = i9 % 128;
int i10 = i9 % 2;
i3 = 2;
i5 = 5;
} catch (Throwable th) {
Throwable cause = th.getCause();
if (cause == null) {
throw th;
}
throw cause;
}
}
cArr2 = cArr3;
}
Object[] objArr4 = {Integer.valueOf(m)};
Object obj4 = xzZ.y.get(-1987398494);
char c2 = 6;
if (obj4 == null) {
Class cls2 = (Class) xzZ.c(Process.getGidForName("") + 299, ((byte) KeyEvent.getModifierMetaStateMask()) + 6, (char) ExpandableListView.getPackedPositionType(0L));
byte b4 = (byte) 0;
byte b5 = (byte) (b4 + 3);
Object[] objArr5 = new Object[1];
aC(b4, b5, (byte) (b5 - 3), objArr5);
obj4 = cls2.getMethod((String) objArr5[0], Integer.TYPE);
xzZ.y.put(-1987398494, obj4);
}
char charValue = ((Character) ((Method) obj4).invoke(null, objArr4)).charValue();
char[] cArr4 = new char[i];
if (i % 2 != 0) {
int i11 = $10 + 79;
$11 = i11 % 128;
int i12 = i11 % 2;
i2 = i - 1;
cArr4[i2] = (char) (cArr[i2] - b);
} else {
i2 = i;
}
if (i2 > 1) {
int i13 = $10 + 51;
$11 = i13 % 128;
int i14 = i13 % 2;
irs.e = 0;
while (irs.e < i2) {
irs.b = cArr[irs.e];
irs.c = cArr[irs.e + 1];
if (irs.b == irs.c) {
cArr4[irs.e] = (char) (irs.b - b);
cArr4[irs.e + 1] = (char) (irs.c - b);
obj = obj2;
c = c2;
} else {
Object[] objArr6 = new Object[13];
objArr6[12] = irs;
objArr6[11] = Integer.valueOf(charValue);
objArr6[10] = irs;
objArr6[9] = irs;
objArr6[8] = Integer.valueOf(charValue);
objArr6[7] = irs;
objArr6[c2] = irs;
objArr6[5] = Integer.valueOf(charValue);
objArr6[4] = irs;
objArr6[3] = irs;
objArr6[2] = Integer.valueOf(charValue);
objArr6[1] = irs;
objArr6[0] = irs;
Object obj5 = xzZ.y.get(822107368);
if (obj5 == null) {
Class cls3 = (Class) xzZ.c((ViewConfiguration.getScrollBarSize() >> 8) + 233, 5 - (ViewConfiguration.getFadingEdgeLength() >> 16), (char) (22023 - MotionEvent.axisFromString("")));
byte b6 = (byte) 0;
byte b7 = b6;
Object[] objArr7 = new Object[1];
aC(b6, b7, b7, objArr7);
obj5 = cls3.getMethod((String) objArr7[0], Object.class, Object.class, Integer.TYPE, Object.class, Object.class, Integer.TYPE, Object.class, Object.class, Integer.TYPE, Object.class, Object.class, Integer.TYPE, Object.class);
xzZ.y.put(822107368, obj5);
}
if (((Integer) ((Method) obj5).invoke(null, objArr6)).intValue() == irs.j) {
Object[] objArr8 = {irs, irs, Integer.valueOf(charValue), Integer.valueOf(charValue), irs, irs, Integer.valueOf(charValue), Integer.valueOf(charValue), irs, Integer.valueOf(charValue), irs};
Object obj6 = xzZ.y.get(-1152873385);
if (obj6 != null) {
c = 6;
} else {
Class cls4 = (Class) xzZ.c((ViewConfiguration.getScrollDefaultDelay() >> 16) + 327, TextUtils.indexOf("", "") + 5, (char) (ViewConfiguration.getScrollBarSize() >> 8));
byte b8 = (byte) 0;
byte b9 = (byte) (b8 + 2);
Object[] objArr9 = new Object[1];
aC(b8, b9, (byte) (b9 - 2), objArr9);
c = 6;
obj6 = cls4.getMethod((String) objArr9[0], Object.class, Object.class, Integer.TYPE, Integer.TYPE, Object.class, Object.class, Integer.TYPE, Integer.TYPE, Object.class, Integer.TYPE, Object.class);
xzZ.y.put(-1152873385, obj6);
}
obj = null;
int intValue = ((Integer) ((Method) obj6).invoke(null, objArr8)).intValue();
int i15 = (irs.d * charValue) + irs.j;
cArr4[irs.e] = cArr2[intValue];
cArr4[irs.e + 1] = cArr2[i15];
} else {
obj = null;
c = 6;
if (irs.a == irs.d) {
irs.f = ((irs.f + charValue) - 1) % charValue;
irs.j = ((irs.j + charValue) - 1) % charValue;
int i16 = (irs.a * charValue) + irs.f;
int i17 = (irs.d * charValue) + irs.j;
cArr4[irs.e] = cArr2[i16];
cArr4[irs.e + 1] = cArr2[i17];
} else {
int i18 = (irs.a * charValue) + irs.j;
int i19 = (irs.d * charValue) + irs.f;
cArr4[irs.e] = cArr2[i18];
cArr4[irs.e + 1] = cArr2[i19];
}
}
}
irs.e += 2;
obj2 = obj;
c2 = c;
}
}
for (int i20 = 0; i20 < i; i20++) {
int i21 = $10 + 39;
$11 = i21 % 128;
int i22 = i21 % 2;
cArr4[i20] = (char) (cArr4[i20] ^ 13722);
}
objArr[0] = new String(cArr4);
}
/* JADX WARN: Code restructure failed: missing block: B:4:0x0076, code lost:
if (r1 > 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: 836
To view this dump add '--comments-level debug' option
*/
throw new UnsupportedOperationException("Method not decompiled: o.AbstractActivityC8770dVd.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 = y + 39;
v = i2 % 128;
int i3 = i2 % 2;
super.onStart();
int i4 = y + 31;
v = i4 % 128;
if (i4 % 2 != 0) {
int i5 = 6 / 0;
}
}
}