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

697 lines
39 KiB
Java
Raw Permalink Normal View History

2024-07-27 18:17:47 +07:00
package o;
import android.content.Context;
import android.graphics.Color;
import android.graphics.ImageFormat;
import android.graphics.PointF;
import android.graphics.drawable.Drawable;
import android.media.AudioTrack;
import android.os.Bundle;
import android.os.Process;
import android.os.SystemClock;
import android.telephony.cdma.CdmaCellLocation;
import android.text.AndroidCharacter;
import android.text.TextUtils;
import android.util.TypedValue;
import android.view.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.google.common.primitives.SignedBytes;
import com.kofax.mobile.sdk._internal.impl.extraction.kta.KtaJsonExactionHelper;
import com.scb.phone.view.activity.BaseActivity;
import com.scb.phone.view.activity.mwpartner.MwOnboardInfoActivity;
import java.lang.reflect.Method;
import net.sf.scuba.smartcards.ISO7816;
import net.sf.scuba.smartcards.ISOFileInfo;
import o.C13068fPo;
import o.VLM;
import org.bouncycastle.crypto.signers.PSSSigner;
import org.jmrtd.lds.CVCAFile;
import org.jnbis.internal.NistHelper;
/* renamed from: o.dYm, reason: case insensitive filesystem */
/* loaded from: classes5.dex */
public abstract class AbstractActivityC8878dYm extends BaseActivity implements fPA {
private static short[] q;
/* renamed from: o, reason: collision with root package name */
private volatile C13073fPt f8876o;
private static final byte[] $$g = {65, 0, ISO7816.INS_CHANGE_CHV, ISOFileInfo.FMD_BYTE};
private static final int $$h = 135;
private static int $10 = 0;
private static int $11 = 1;
private static int u = 0;
private static int v = 1;
private static char[] m = {35368, 49116, 49091, 49123, 49098, 49052, 49025, 49089, 49088, 49115, 49106, 49126, 49117, 49093, 49112, 49118, 49094, 49035, 35370, 49114, 35371, 49105, 49053, 49138, 49034, 49110, 35372, 35373, 49119, 49027, 49033, 49111, 49108, 49090, 49104, 49095};
private static char l = 35375;
private static int p = 734197502;
private static int r = 1406017112;
private static int s = -1096678283;
private static byte[] t = {ISO7816.INS_LOAD_KEY_FILE, 99, 104, -109, 122, ISO7816.INS_MANAGE_CHANNEL, ISOFileInfo.SECURITY_ATTR_EXP, 97, 123, -109, 121, -111, 125, CVCAFile.CAR_TAG, 115, -82, 108, Ascii.DEL, 83, -70, 107, 106, 105, 126, -106, 121, -10, 83, -3, 69, -14, ISO7816.INS_UNBLOCK_CHV, Ascii.NAK, -18, 88, -24, 45, 35, -27, 33, -17, Ascii.DC4, -24, 93, -9, 90, -14, 94, -3, 88, -3, SignedBytes.MAX_POWER_OF_TWO, -3, -23, 39, -22, 35, 89, -10, Ascii.NAK, 89, -13, 94, -13, 33, 91, -23, 39, -17, -8, 89, -14, 45, -22, -26, -11, -78, -19, ISO7816.INS_READ_RECORD2, ISO7816.INS_GET_DATA, ISOFileInfo.FILE_IDENTIFIER, -26, -101, -20, PSSSigner.TRAILER_IMPLICIT, -124, -19, -104, -29, ISOFileInfo.PROP_INFO, -49, -19, -12, -67, -78, -124, -78, -19, ISOFileInfo.PROP_INFO, -55, -25, -50, ISOFileInfo.PROP_INFO, -19, ISO7816.INS_READ_RECORD2, -55, -78, -63, -70, ISO7816.INS_GET_DATA, -126, -2, -73, -50, -78, -98, -26, -98, -8, -56, PSSSigner.TRAILER_IMPLICIT, ISO7816.INS_READ_RECORD2, -12, -73, -56, -11, -67, -11, PSSSigner.TRAILER_IMPLICIT, -103, -19, -12, -97, -19, -104, ISO7816.INS_APPEND_RECORD, ISOFileInfo.PROP_INFO, PSSSigner.TRAILER_IMPLICIT, -26, ISO7816.INS_UPDATE_RECORD, Ascii.DEL, ISOFileInfo.FCI_EXT, ISO7816.INS_UPDATE_RECORD, -113, ISOFileInfo.ENV_TEMP_EF, 113, -34, 114, ISO7816.INS_READ_RECORD2, ISOFileInfo.FCI_EXT, ISOFileInfo.LCS_BYTE, -126, -59, ISOFileInfo.FCI_EXT, -75, 123, -41, -75, 119, ISOFileInfo.LCS_BYTE, ISOFileInfo.ENV_TEMP_EF, -113, ISOFileInfo.SECURITY_ATTR_COMPACT, Byte.MIN_VALUE, ISOFileInfo.SECURITY_ATTR_EXP, -75, Byte.MIN_VALUE, ISO7816.INS_UPDATE_RECORD, ISOFileInfo.SECURITY_ATTR_EXP, 122, ISO7816.INS_WRITE_BINARY, Ascii.DEL, ISOFileInfo.FCI_EXT, ISOFileInfo.LCS_BYTE, -41, ISOFileInfo.SECURITY_ATTR_EXP, 122, -35, 113, -113, ISOFileInfo.FILE_IDENTIFIER, ISOFileInfo.SECURITY_ATTR_EXP, ISOFileInfo.DATA_BYTES2, -34, ISOFileInfo.SECURITY_ATTR_COMPACT, ISOFileInfo.DATA_BYTES2, 121, -104, ISO7816.INS_READ_BINARY_STAMPED, ISO7816.INS_UPDATE_BINARY, -75, 118, ISOFileInfo.CHANNEL_SECURITY, ISOFileInfo.FILE_IDENTIFIER, -59, Byte.MIN_VALUE, 118, ISO7816.INS_UPDATE_BINARY, 122, ISOFileInfo.FCI_EXT, -120, -45, ISO7816.INS_ENVELOPE, -12, 60, Ascii.EM, 63, ISO7816.INS_PSO, 62, -18, 86, -17, 79, -55, 5, CVCAFile.CAR_TAG, 62, Ascii.ESC, Ascii.EM, -12, 60, Ascii.CAN, 63, 62, 7, 67, 61, -11, ISO7816.INS_INCREASE, 1, 61, 60, 51, 85, -56, Ascii.SUB, 41, 60};
private final Object k = new Object();
boolean b = false;
/* JADX WARN: Removed duplicated region for block: B:10:0x0022 */
/* JADX WARN: Removed duplicated region for block: B:7:0x001a */
/* JADX WARN: Unsupported multi-entry loop pattern (BACK_EDGE: B:10:0x0022 -> B:4:0x0026). Please report as a decompilation issue!!! */
/*
Code decompiled incorrectly, please refer to instructions dump.
To view partially-correct add '--show-bad-code' argument
*/
private static void az(short r5, byte r6, int r7, java.lang.Object[] r8) {
/*
int r5 = r5 * 3
int r0 = r5 + 1
int r6 = r6 * 3
int r6 = r6 + 4
int r7 = r7 + 108
byte[] r1 = o.AbstractActivityC8878dYm.$$g
byte[] r0 = new byte[r0]
r2 = 0
if (r1 != 0) goto L14
r4 = r5
r3 = r2
goto L26
L14:
r3 = r2
L15:
byte r4 = (byte) r7
r0[r3] = r4
if (r3 != r5) goto L22
java.lang.String r5 = new java.lang.String
r5.<init>(r0, r2)
r8[r2] = r5
return
L22:
int r3 = r3 + 1
r4 = r1[r6]
L26:
int r6 = r6 + 1
int r4 = -r4
int r7 = r7 + r4
goto L15
*/
throw new UnsupportedOperationException("Method not decompiled: o.AbstractActivityC8878dYm.az(short, byte, int, java.lang.Object[]):void");
}
public AbstractActivityC8878dYm() {
addOnContextAvailableListener(new InterfaceC17278vUG(this) { // from class: o.dYm.2
private AbstractActivityC8878dYm c;
{
this.c = this;
}
@Override // o.InterfaceC17278vUG
public final void a(Context context) {
AbstractActivityC8878dYm abstractActivityC8878dYm = this.c;
if (abstractActivityC8878dYm.b) {
return;
}
abstractActivityC8878dYm.b = true;
((InterfaceC8897dZU) abstractActivityC8878dYm.y_()).a((MwOnboardInfoActivity) abstractActivityC8878dYm);
}
});
}
@Override // o.fPC
public final Object y_() {
int i = 2 % 2;
int i2 = v + 27;
u = i2 % 128;
int i3 = i2 % 2;
Object y_ = g().y_();
int i4 = u + 87;
v = i4 % 128;
if (i4 % 2 == 0) {
int i5 = 26 / 0;
}
return y_;
}
private C13073fPt g() {
if (this.f8876o == null) {
synchronized (this.k) {
if (this.f8876o == null) {
this.f8876o = new C13073fPt(this);
}
}
}
return this.f8876o;
}
@Override // androidx.activity.ComponentActivity, o.GvH
public VLM.LWm getDefaultViewModelProviderFactory() {
Bundle bundle;
int i = 2 % 2;
int i2 = v + 91;
u = 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) {
int i4 = u + 83;
v = i4 % 128;
int i5 = i4 % 2;
bundle = getIntent().getExtras();
} else {
bundle = null;
}
VLM.LWm aBN_ = a.aBN_(this, bundle, defaultViewModelProviderFactory);
int i6 = u + 7;
v = i6 % 128;
if (i6 % 2 != 0) {
return aBN_;
}
throw null;
}
/* JADX WARN: Code restructure failed: missing block: B:4:0x00ea, code lost:
if (r2 > 99999) goto L6;
*/
@Override // com.scb.phone.view.activity.BaseActivity, com.scb.phone.view.activity.PreLoadCheckActivity, com.akexorcist.localizationactivity.LocalizationActivity, androidx.appcompat.app.AppCompatActivity, androidx.fragment.app.FragmentActivity, androidx.activity.ComponentActivity, androidx.core.app.ComponentActivity, android.app.Activity
/*
Code decompiled incorrectly, please refer to instructions dump.
To view partially-correct add '--show-bad-code' argument
*/
public void onCreate(android.os.Bundle r26) {
/*
Method dump skipped, instructions count: 1577
To view this dump add '--comments-level debug' option
*/
throw new UnsupportedOperationException("Method not decompiled: o.AbstractActivityC8878dYm.onCreate(android.os.Bundle):void");
}
@Override // com.scb.phone.view.activity.BaseActivity, com.scb.phone.view.activity.PreLoadCheckActivity, com.akexorcist.localizationactivity.LocalizationActivity, androidx.appcompat.app.AppCompatActivity, androidx.fragment.app.FragmentActivity, androidx.activity.ComponentActivity, androidx.core.app.ComponentActivity, android.app.Activity
public void onResume() {
int i = 2 % 2;
int i2 = v + 87;
u = i2 % 128;
int i3 = i2 % 2;
Context baseContext = getBaseContext();
if (baseContext == null) {
int i4 = u + 105;
v = i4 % 128;
int i5 = i4 % 2;
Object[] objArr = new Object[1];
ay((short) ((-122) - (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 - 2014112013, (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)) - 78, ((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getResources().getString(com.scb.phone.R.string.ndid_service_status_terms_and_conditions_not_clickable_end).substring(0, 1).length() + 311682560, (byte) ((-1) - ExpandableListView.getPackedPositionGroup(0L)), objArr);
Class<?> cls = Class.forName((String) objArr[0]);
Object[] objArr2 = new Object[1];
ax(new char[]{4, 22, 13827, 13827, 24, '\r', 5, 29, 13829, 13829, 25, 22, 4, 16, 31, 23, 0, '\r'}, (byte) (((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getApplicationInfo().targetSdkVersion - 7), ((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getApplicationInfo().targetSdkVersion - 16, objArr2);
baseContext = (Context) cls.getMethod((String) objArr2[0], new Class[0]).invoke(null, null);
}
if (baseContext != null) {
baseContext = baseContext.getApplicationContext();
}
if (baseContext != null) {
try {
Object obj = xzZ.y.get(125943855);
if (obj == null) {
obj = ((Class) xzZ.c((ViewConfiguration.getScrollFriction() > BitmapDescriptorFactory.HUE_RED ? 1 : (ViewConfiguration.getScrollFriction() == BitmapDescriptorFactory.HUE_RED ? 0 : -1)) + 491, 6 - (SystemClock.elapsedRealtime() > 0L ? 1 : (SystemClock.elapsedRealtime() == 0L ? 0 : -1)), (char) (MotionEvent.axisFromString("") + 1))).getMethod("a", null);
xzZ.y.put(125943855, obj);
}
Object invoke = ((Method) obj).invoke(null, null);
Object[] objArr3 = {baseContext};
Object obj2 = xzZ.y.get(1378719468);
if (obj2 == null) {
obj2 = ((Class) xzZ.c((ViewConfiguration.getJumpTapTimeout() >> 16) + 487, 5 - View.combineMeasuredStates(0, 0), (char) (PointF.length(BitmapDescriptorFactory.HUE_RED, BitmapDescriptorFactory.HUE_RED) > BitmapDescriptorFactory.HUE_RED ? 1 : (PointF.length(BitmapDescriptorFactory.HUE_RED, BitmapDescriptorFactory.HUE_RED) == BitmapDescriptorFactory.HUE_RED ? 0 : -1)))).getMethod(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();
int i6 = u + 117;
v = i6 % 128;
int i7 = i6 % 2;
}
/* JADX WARN: Code restructure failed: missing block: B:100:0x013e, code lost:
r0 = (java.lang.Class) o.xzZ.c(android.graphics.Color.alpha(0) + 60, 6 - (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)), (char) (android.os.Process.myTid() >> 22));
r8 = o.AbstractActivityC8878dYm.$$g[1];
r9 = r8;
r11 = new java.lang.Object[1];
az(r8, r9, r9, r11);
r0 = r0.getMethod((java.lang.String) r11[0], java.lang.Integer.TYPE);
o.xzZ.y.put(-1648115392, r0);
*/
/* JADX WARN: Code restructure failed: missing block: B:102:0x0198, code lost:
r3 = r14;
*/
/* JADX WARN: Code restructure failed: missing block: B:104:0x00a4, code lost:
if (r3 != null) goto L20;
*/
/* JADX WARN: Code restructure failed: missing block: B:14:0x009f, code lost:
if (r3 != null) goto L20;
*/
/* JADX WARN: Code restructure failed: missing block: B:15:0x0199, code lost:
if (r3 == null) goto L63;
*/
/* JADX WARN: Code restructure failed: missing block: B:16:0x019b, code lost:
r0 = o.AbstractActivityC8878dYm.$11 + 11;
o.AbstractActivityC8878dYm.$10 = r0 % 128;
*/
/* JADX WARN: Code restructure failed: missing block: B:17:0x01a5, code lost:
if ((r0 % 2) == 0) goto L55;
*/
/* JADX WARN: Code restructure failed: missing block: B:18:0x01a7, code lost:
r0 = o.AbstractActivityC8878dYm.t;
*/
/* JADX WARN: Code restructure failed: missing block: B:20:0x01ab, code lost:
r8 = new java.lang.Object[]{java.lang.Integer.valueOf(r19), java.lang.Integer.valueOf(o.AbstractActivityC8878dYm.p)};
r3 = o.xzZ.y.get(-2092856797);
*/
/* JADX WARN: Code restructure failed: missing block: B:21:0x01c6, code lost:
if (r3 == null) goto L47;
*/
/* JADX WARN: Code restructure failed: missing block: B:24:0x021e, code lost:
r0 = ((byte) (r0[((java.lang.Integer) ((java.lang.reflect.Method) r3).invoke(null, r8)).intValue()] & (-7303220121662775787L))) - ((int) (o.AbstractActivityC8878dYm.r | (-7303220121662775787L)));
*/
/* JADX WARN: Code restructure failed: missing block: B:25:0x02c7, code lost:
r3 = (byte) r0;
*/
/* JADX WARN: Code restructure failed: missing block: B:27:0x01c9, code lost:
r3 = (java.lang.Class) o.xzZ.c(android.text.TextUtils.lastIndexOf("", '0', 0) + 338, android.text.TextUtils.lastIndexOf("", '0', 0, 0) + 6, (char) (android.text.AndroidCharacter.getMirror('0') - '0'));
r7 = o.AbstractActivityC8878dYm.$$g[1];
r9 = r7;
r11 = new java.lang.Object[1];
az(r7, r9, (byte) (r9 + 2), r11);
r3 = r3.getMethod((java.lang.String) r11[0], java.lang.Integer.TYPE, java.lang.Integer.TYPE);
o.xzZ.y.put(-2092856797, r3);
*/
/* JADX WARN: Code restructure failed: missing block: B:28:0x0231, code lost:
r0 = move-exception;
*/
/* JADX WARN: Code restructure failed: missing block: B:29:0x0232, code lost:
r1 = r0.getCause();
*/
/* JADX WARN: Code restructure failed: missing block: B:30:0x0236, code lost:
if (r1 != null) goto L53;
*/
/* JADX WARN: Code restructure failed: missing block: B:31:0x0238, code lost:
throw r1;
*/
/* JADX WARN: Code restructure failed: missing block: B:33:0x0239, code lost:
throw r0;
*/
/* JADX WARN: Code restructure failed: missing block: B:34:0x023a, code lost:
r0 = o.AbstractActivityC8878dYm.t;
*/
/* JADX WARN: Code restructure failed: missing block: B:35:0x023f, code lost:
r8 = new java.lang.Object[]{java.lang.Integer.valueOf(r19), java.lang.Integer.valueOf(o.AbstractActivityC8878dYm.p)};
r3 = o.xzZ.y.get(-2092856797);
*/
/* JADX WARN: Code restructure failed: missing block: B:36:0x025a, code lost:
if (r3 == null) goto L59;
*/
/* JADX WARN: Code restructure failed: missing block: B:39:0x02b6, code lost:
r0 = ((byte) (r0[((java.lang.Integer) ((java.lang.reflect.Method) r3).invoke(null, r8)).intValue()] ^ (-7303220121662775787L))) + ((int) (o.AbstractActivityC8878dYm.r ^ (-7303220121662775787L)));
*/
/* JADX WARN: Code restructure failed: missing block: B:40:0x025d, code lost:
r3 = (java.lang.Class) o.xzZ.c(((byte) android.view.KeyEvent.getModifierMetaStateMask()) + 338, 4 - android.view.MotionEvent.axisFromString(""), (char) (1 - (android.os.SystemClock.uptimeMillis() > 0 ? 1 : (android.os.SystemClock.uptimeMillis() == 0 ? 0 : -1))));
r7 = o.AbstractActivityC8878dYm.$$g[1];
r9 = r7;
r11 = new java.lang.Object[1];
az(r7, r9, (byte) (r9 + 2), r11);
r3 = r3.getMethod((java.lang.String) r11[0], java.lang.Integer.TYPE, java.lang.Integer.TYPE);
o.xzZ.y.put(-2092856797, r3);
*/
/* JADX WARN: Code restructure failed: missing block: B:41:0x02c9, code lost:
r9 = -7303220121662775787L;
r3 = (short) (((short) (o.AbstractActivityC8878dYm.q[r19 + ((int) (o.AbstractActivityC8878dYm.p ^ (-7303220121662775787L)))] ^ (-7303220121662775787L))) + ((int) (o.AbstractActivityC8878dYm.r ^ (-7303220121662775787L))));
*/
/* JADX WARN: Code restructure failed: missing block: B:80:0x00a6, code lost:
r13 = r3.length;
r14 = new byte[r13];
r15 = 0;
*/
/* JADX WARN: Code restructure failed: missing block: B:81:0x00aa, code lost:
if (r15 >= r13) goto L111;
*/
/* JADX WARN: Code restructure failed: missing block: B:82:0x00ac, code lost:
r9 = o.AbstractActivityC8878dYm.$11 + 7;
o.AbstractActivityC8878dYm.$10 = r9 % 128;
*/
/* JADX WARN: Code restructure failed: missing block: B:83:0x00b8, code lost:
if ((r9 % r0) == 0) goto L31;
*/
/* JADX WARN: Code restructure failed: missing block: B:85:0x00bc, code lost:
r11 = new java.lang.Object[]{java.lang.Integer.valueOf(r3[r15])};
r7 = o.xzZ.y.get(-1648115392);
*/
/* JADX WARN: Code restructure failed: missing block: B:86:0x00ce, code lost:
if (r7 == null) goto L28;
*/
/* JADX WARN: Code restructure failed: missing block: B:89:0x011f, code lost:
r14[r15] = ((java.lang.Byte) ((java.lang.reflect.Method) r7).invoke(null, r11)).byteValue();
r15 = r15 - 1;
*/
/* JADX WARN: Code restructure failed: missing block: B:91:0x0191, code lost:
r0 = 2;
*/
/* JADX WARN: Code restructure failed: missing block: B:92:0x00d1, code lost:
r0 = (java.lang.Class) o.xzZ.c(60 - android.text.TextUtils.indexOf("", "", 0, 0), (android.view.ViewConfiguration.getMinimumFlingVelocity() >> 16) + 5, (char) (android.view.ViewConfiguration.getTouchSlop() >> 8));
r7 = o.AbstractActivityC8878dYm.$$g[1];
r9 = r7;
r10 = new java.lang.Object[1];
az(r7, r9, r9, r10);
r7 = r0.getMethod((java.lang.String) r10[0], java.lang.Integer.TYPE);
o.xzZ.y.put(-1648115392, r7);
*/
/* JADX WARN: Code restructure failed: missing block: B:94:0x0126, code lost:
r7 = new java.lang.Object[]{java.lang.Integer.valueOf(r3[r15])};
r0 = o.xzZ.y.get(-1648115392);
*/
/* JADX WARN: Code restructure failed: missing block: B:95:0x013b, code lost:
if (r0 == null) goto L35;
*/
/* JADX WARN: Code restructure failed: missing block: B:98:0x018d, code lost:
r14[r15] = ((java.lang.Byte) ((java.lang.reflect.Method) r0).invoke(null, r7)).byteValue();
r15 = r15 + 1;
*/
/*
Code decompiled incorrectly, please refer to instructions dump.
To view partially-correct add '--show-bad-code' argument
*/
private static void ay(short r18, int r19, int r20, int r21, byte r22, java.lang.Object[] r23) {
/*
Method dump skipped, instructions count: 1046
To view this dump add '--comments-level debug' option
*/
throw new UnsupportedOperationException("Method not decompiled: o.AbstractActivityC8878dYm.ay(short, int, int, int, byte, java.lang.Object[]):void");
}
@Override // com.scb.phone.view.activity.BaseActivity, com.scb.phone.view.activity.PreLoadCheckActivity, com.akexorcist.localizationactivity.LocalizationActivity, androidx.appcompat.app.AppCompatActivity, androidx.fragment.app.FragmentActivity, androidx.activity.ComponentActivity, androidx.core.app.ComponentActivity, android.app.Activity
public void onPause() {
int i = 2 % 2;
int i2 = v + 15;
u = i2 % 128;
int i3 = i2 % 2;
Context baseContext = getBaseContext();
if (baseContext == null) {
int i4 = u + 103;
v = i4 % 128;
int i5 = i4 % 2;
Object[] objArr = new Object[1];
ay((short) ((-122) - KeyEvent.normalizeMetaState(0)), ((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getResources().getString(com.scb.phone.R.string.ntb_fillinformation_contact_info_mobile_otp).substring(19, 20).codePointAt(0) - 2014112011, ((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getApplicationInfo().targetSdkVersion - 112, ((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getResources().getString(com.scb.phone.R.string.favorite_add_suggestion_transfer_end).substring(0, 1).codePointAt(0) + 311682529, (byte) (((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getApplicationInfo().targetSdkVersion - 35), objArr);
Class<?> cls = Class.forName((String) objArr[0]);
Object[] objArr2 = new Object[1];
ax(new char[]{4, 22, 13827, 13827, 24, '\r', 5, 29, 13829, 13829, 25, 22, 4, 16, 31, 23, 0, '\r'}, (byte) ((AudioTrack.getMaxVolume() > BitmapDescriptorFactory.HUE_RED ? 1 : (AudioTrack.getMaxVolume() == BitmapDescriptorFactory.HUE_RED ? 0 : -1)) + 26), 18 - View.combineMeasuredStates(0, 0), objArr2);
baseContext = (Context) cls.getMethod((String) objArr2[0], new Class[0]).invoke(null, null);
int i6 = u + 25;
v = i6 % 128;
int i7 = i6 % 2;
}
if (baseContext != null) {
baseContext = baseContext.getApplicationContext();
}
if (baseContext != null) {
try {
Object obj = xzZ.y.get(125943855);
if (obj == null) {
obj = ((Class) xzZ.c((-16776724) - Color.rgb(0, 0, 0), '5' - AndroidCharacter.getMirror('0'), (char) View.MeasureSpec.getMode(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 - TextUtils.getOffsetBefore("", 0), 4 - MotionEvent.axisFromString(""), (char) (1 - (ViewConfiguration.getZoomControlsTimeout() > 0L ? 1 : (ViewConfiguration.getZoomControlsTimeout() == 0L ? 0 : -1))))).getMethod("c", Context.class);
xzZ.y.put(1633456013, obj2);
}
((Method) obj2).invoke(invoke, objArr3);
} catch (Throwable th) {
Throwable cause = th.getCause();
if (cause == null) {
throw th;
}
throw cause;
}
}
super.onPause();
}
private static void ax(char[] cArr, byte b, int i, Object[] objArr) {
int i2;
Object obj;
int length;
char[] cArr2;
int i3 = 2 % 2;
IRS irs = new IRS();
char[] cArr3 = m;
Object obj2 = null;
if (cArr3 != null) {
int i4 = $10 + 79;
$11 = i4 % 128;
if (i4 % 2 == 0) {
length = cArr3.length;
cArr2 = new char[length];
} else {
length = cArr3.length;
cArr2 = new char[length];
}
for (int i5 = 0; i5 < length; i5++) {
try {
Object[] objArr2 = {Integer.valueOf(cArr3[i5])};
Object obj3 = xzZ.y.get(-1987398494);
if (obj3 == null) {
Class cls = (Class) xzZ.c(298 - (CdmaCellLocation.convertQuartSecToDecDegrees(0) > 0.0d ? 1 : (CdmaCellLocation.convertQuartSecToDecDegrees(0) == 0.0d ? 0 : -1)), 5 - Drawable.resolveOpacity(0, 0), (char) Color.blue(0));
byte b2 = $$g[1];
byte b3 = b2;
Object[] objArr3 = new Object[1];
az(b2, b3, (byte) (b3 | 9), objArr3);
obj3 = cls.getMethod((String) objArr3[0], Integer.TYPE);
xzZ.y.put(-1987398494, obj3);
}
cArr2[i5] = ((Character) ((Method) obj3).invoke(null, objArr2)).charValue();
} catch (Throwable th) {
Throwable cause = th.getCause();
if (cause == null) {
throw th;
}
throw cause;
}
}
cArr3 = cArr2;
}
Object[] objArr4 = {Integer.valueOf(l)};
Object obj4 = xzZ.y.get(-1987398494);
if (obj4 == null) {
Class cls2 = (Class) xzZ.c((ViewConfiguration.getMinimumFlingVelocity() >> 16) + 298, (TypedValue.complexToFloat(0) > BitmapDescriptorFactory.HUE_RED ? 1 : (TypedValue.complexToFloat(0) == BitmapDescriptorFactory.HUE_RED ? 0 : -1)) + 5, (char) (ViewConfiguration.getEdgeSlop() >> 16));
byte b4 = $$g[1];
byte b5 = b4;
Object[] objArr5 = new Object[1];
az(b4, b5, (byte) (b5 | 9), 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) {
i2 = i - 1;
cArr4[i2] = (char) (cArr[i2] - b);
} else {
i2 = i;
}
if (i2 > 1) {
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;
} else {
Object[] objArr6 = {irs, irs, Integer.valueOf(charValue), irs, irs, Integer.valueOf(charValue), irs, irs, Integer.valueOf(charValue), irs, irs, Integer.valueOf(charValue), irs};
Object obj5 = xzZ.y.get(822107368);
if (obj5 == null) {
Class cls3 = (Class) xzZ.c((ViewConfiguration.getTouchSlop() >> 8) + 233, TextUtils.indexOf((CharSequence) "", '0') + 6, (char) (22024 - (ViewConfiguration.getTouchSlop() >> 8)));
byte b6 = $$g[1];
byte b7 = b6;
Object[] objArr7 = new Object[1];
az(b6, b7, (byte) (b7 | 12), 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) {
Class cls4 = (Class) xzZ.c(327 - (ViewConfiguration.getFadingEdgeLength() >> 16), (ExpandableListView.getPackedPositionForChild(0, 0) > 0L ? 1 : (ExpandableListView.getPackedPositionForChild(0, 0) == 0L ? 0 : -1)) + 6, (char) (ViewConfiguration.getKeyRepeatTimeout() >> 16));
byte b8 = $$g[1];
byte b9 = b8;
Object[] objArr9 = new Object[1];
az(b8, b9, (byte) (b9 | 10), objArr9);
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 i6 = (irs.d * charValue) + irs.j;
cArr4[irs.e] = cArr3[intValue];
cArr4[irs.e + 1] = cArr3[i6];
} else {
obj = null;
if (irs.a == irs.d) {
irs.f = ((irs.f + charValue) - 1) % charValue;
irs.j = ((irs.j + charValue) - 1) % charValue;
int i7 = (irs.a * charValue) + irs.f;
int i8 = (irs.d * charValue) + irs.j;
cArr4[irs.e] = cArr3[i7];
cArr4[irs.e + 1] = cArr3[i8];
} else {
int i9 = (irs.a * charValue) + irs.j;
int i10 = (irs.d * charValue) + irs.f;
cArr4[irs.e] = cArr3[i9];
cArr4[irs.e + 1] = cArr3[i10];
}
}
}
irs.e += 2;
obj2 = obj;
}
}
for (int i11 = 0; i11 < i; i11++) {
int i12 = $11 + 47;
$10 = i12 % 128;
int i13 = i12 % 2;
cArr4[i11] = (char) (cArr4[i11] ^ 13722);
}
objArr[0] = new String(cArr4);
}
@Override // com.scb.phone.view.activity.BaseActivity, com.scb.phone.view.activity.PreLoadCheckActivity, com.akexorcist.localizationactivity.LocalizationActivity, androidx.appcompat.app.AppCompatActivity, androidx.fragment.app.FragmentActivity, androidx.activity.ComponentActivity, androidx.core.app.ComponentActivity, android.app.Activity, android.view.ContextThemeWrapper, android.content.ContextWrapper
public void attachBaseContext(Context context) {
int i = 2 % 2;
int i2 = v + 103;
u = i2 % 128;
int i3 = i2 % 2;
super.attachBaseContext(context);
Object[] objArr = new Object[1];
ax(new char[]{6, 16, 1, '\r', 7, 25, '\"', 19, 2, 7, 21, 4, '\r', 7, 31, NistHelper.SEP_FS, 13838, 13838}, (byte) ((SystemClock.uptimeMillis() > 0L ? 1 : (SystemClock.uptimeMillis() == 0L ? 0 : -1)) + 36), 18 - ((Process.getThreadPriority(0) + 20) >> 6), objArr);
Class<?> cls = Class.forName((String) objArr[0]);
Object[] objArr2 = new Object[1];
ax(new char[]{16, 3, 7, 23, 13824}, (byte) (TextUtils.indexOf((CharSequence) "", '0', 0) + 3), (ViewConfiguration.getWindowTouchSlop() >> 8) + 5, objArr2);
Object obj = null;
int intValue = ((Integer) cls.getDeclaredMethod((String) objArr2[0], new Class[0]).invoke(null, new Object[0])).intValue() % 100000;
if (intValue >= 99000) {
int i4 = v + 53;
u = i4 % 128;
if (i4 % 2 != 0) {
obj.hashCode();
throw null;
}
if (intValue <= 99999) {
return;
}
}
Context applicationContext = context != null ? context.getApplicationContext() : context;
if (applicationContext != null) {
int i5 = u + 41;
v = i5 % 128;
int i6 = i5 % 2;
try {
Object obj2 = xzZ.y.get(125943855);
if (obj2 == null) {
obj2 = ((Class) xzZ.c(493 - (AudioTrack.getMaxVolume() > BitmapDescriptorFactory.HUE_RED ? 1 : (AudioTrack.getMaxVolume() == BitmapDescriptorFactory.HUE_RED ? 0 : -1)), (ViewConfiguration.getScrollBarSize() >> 8) + 5, (char) KeyEvent.normalizeMetaState(0))).getMethod("a", null);
xzZ.y.put(125943855, obj2);
}
Object invoke = ((Method) obj2).invoke(null, null);
Object[] objArr3 = new Object[1];
ay((short) (Color.green(0) + 102), (-2014111954) + (SystemClock.currentThreadTimeMillis() > (-1L) ? 1 : (SystemClock.currentThreadTimeMillis() == (-1L) ? 0 : -1)), (-78) - TextUtils.indexOf("", ""), (SystemClock.uptimeMillis() > 0L ? 1 : (SystemClock.uptimeMillis() == 0L ? 0 : -1)) + 311682512, (byte) ((ViewConfiguration.getKeyRepeatTimeout() >> 16) + 99), objArr3);
String str = (String) objArr3[0];
Object[] objArr4 = new Object[1];
ay((short) (ExpandableListView.getPackedPositionChild(0L) + 63), TextUtils.getCapsMode("", 0, 0) - 2014111905, (-78) - (ViewConfiguration.getKeyRepeatDelay() >> 16), Color.red(0) + 311682565, (byte) ((ViewConfiguration.getScrollFriction() > BitmapDescriptorFactory.HUE_RED ? 1 : (ViewConfiguration.getScrollFriction() == BitmapDescriptorFactory.HUE_RED ? 0 : -1)) + 25), objArr4);
String str2 = (String) objArr4[0];
Object[] objArr5 = new Object[1];
ay((short) ((-26) - Color.blue(0)), (-2014111842) - ((byte) KeyEvent.getModifierMetaStateMask()), (-79) - TextUtils.indexOf((CharSequence) "", '0', 0), ExpandableListView.getPackedPositionType(0L) + 311682561, (byte) (Color.rgb(0, 0, 0) + 16777339), objArr5);
String str3 = (String) objArr5[0];
Object[] objArr6 = new Object[1];
ax(new char[]{11, '!', ' ', 5, 6, ' ', 13833, 13833, 7, 20, '\t', 16, 31, 4, 13899, 13899, 31, '\r', 31, 22, 16, '\"', 22, '\t', '\r', 15, 23, '\"', '\n', '\b', NistHelper.SEP_FS, 7, 30, '#', 11, '\t', '\"', 23, '\"', 14, 11, '\b', ' ', 7, '\"', 15, 11, '\b', NistHelper.SEP_FS, 19, 31, 4, 17, 3, '\b', 4, 23, 1, 18, '\r', 31, 26, 11, ' ', 1, 17, 11, 0, 31, 19, 24, '\r', ' ', 11}, (byte) (TextUtils.getOffsetBefore("", 0) + 84), 74 - KeyEvent.normalizeMetaState(0), objArr6);
String str4 = (String) objArr6[0];
Object[] objArr7 = new Object[1];
ax(new char[]{NistHelper.SEP_FS, 18, 16, 23, 13840}, (byte) ((ViewConfiguration.getScrollFriction() > BitmapDescriptorFactory.HUE_RED ? 1 : (ViewConfiguration.getScrollFriction() == BitmapDescriptorFactory.HUE_RED ? 0 : -1)) + 101), 5 - (ViewConfiguration.getTapTimeout() >> 16), objArr7);
String str5 = (String) objArr7[0];
Object[] objArr8 = new Object[1];
ay((short) ((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)) - 28), (ViewConfiguration.getLongPressTimeout() >> 16) - 2014111777, (TypedValue.complexToFloat(0) > BitmapDescriptorFactory.HUE_RED ? 1 : (TypedValue.complexToFloat(0) == BitmapDescriptorFactory.HUE_RED ? 0 : -1)) - 78, 311682565 - (ViewConfiguration.getKeyRepeatTimeout() >> 16), (byte) (ImageFormat.getBitsPerPixel(0) - 14), objArr8);
Object[] objArr9 = {applicationContext, str, str2, str3, str4, true, str5, (String) objArr8[0]};
Object obj3 = xzZ.y.get(1656189573);
if (obj3 == null) {
obj3 = ((Class) xzZ.c(TextUtils.getTrimmedLength("") + 487, 5 - View.resolveSizeAndState(0, 0, 0), (char) TextUtils.indexOf("", "", 0))).getMethod("e", Context.class, String.class, String.class, String.class, String.class, Boolean.TYPE, String.class, String.class);
xzZ.y.put(1656189573, obj3);
}
((Method) obj3).invoke(invoke, objArr9);
} catch (Throwable th) {
Throwable cause = th.getCause();
if (cause == null) {
throw th;
}
throw cause;
}
}
}
@Override // com.scb.phone.view.activity.BaseActivity, com.scb.phone.view.activity.PreLoadCheckActivity, com.akexorcist.localizationactivity.LocalizationActivity, androidx.appcompat.app.AppCompatActivity, androidx.fragment.app.FragmentActivity, androidx.activity.ComponentActivity, androidx.core.app.ComponentActivity, android.app.Activity
public void onStart() {
int i = 2 % 2;
int i2 = u + 31;
v = i2 % 128;
int i3 = i2 % 2;
super.onStart();
if (i3 != 0) {
return;
}
Object obj = null;
obj.hashCode();
throw null;
}
}