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

578 lines
41 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.PointF;
import android.media.AudioTrack;
import android.os.Bundle;
import android.os.Process;
import android.os.SystemClock;
import android.telephony.cdma.CdmaCellLocation;
import android.text.AndroidCharacter;
import android.text.TextUtils;
import android.util.TypedValue;
import android.view.KeyEvent;
import android.view.View;
import android.view.ViewConfiguration;
import android.widget.ExpandableListView;
import com.google.android.gms.maps.model.BitmapDescriptorFactory;
import com.google.common.base.Ascii;
import com.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.prepaid.PrepaidDetailsActivity;
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.tls.CipherSuite;
import org.jnbis.internal.NistHelper;
/* renamed from: o.ehG, reason: case insensitive filesystem */
/* loaded from: classes5.dex */
public abstract class AbstractActivityC11536ehG extends BaseActivity implements fPA {
private static short[] s;
private volatile C13073fPt m;
private static final byte[] $$g = {Ascii.CAN, -103, 8, 6};
private static final int $$h = 199;
private static int $10 = 0;
private static int $11 = 1;
private static int q = 0;
private static int x = 1;
private static int l = -1458894044;
/* renamed from: o, reason: collision with root package name */
private static int f9006o = 1406017091;
private static int r = -285046803;
private static byte[] p = {-87, -57, -51, -63, 107, -110, ISOFileInfo.A1, ISOFileInfo.A1, 88, -37, 6, -119, -104, -103, -110, -51, -107, ISO7816.INS_ENVELOPE, -70, -113, -72, 96, ISO7816.INS_READ_BINARY, -87, ISOFileInfo.FCI_EXT, ISOFileInfo.SECURITY_ATTR_COMPACT, -99, ISO7816.INS_READ_RECORD2, -124, -104, ISOFileInfo.PROP_INFO, -102, -122, -41, 117, ISOFileInfo.SECURITY_ATTR_COMPACT, -119, -109, -122, ISOFileInfo.PROP_INFO, ISO7816.INS_READ_BINARY, -49, 32, 70, 46, 67, 49, 126, Ascii.DEL, 45, 125, 54, ISO7816.INS_DECREASE, 78, 10, 124, 121, 125, 38, ISO7816.INS_REHABILITATE_CHV, 43, 67, 47, 70, 45, 70, 85, 70, 114, ISO7816.INS_DECREASE_STAMPED, 123, ISO7816.INS_DECREASE, ISO7816.INS_MSE, 71, 126, ISO7816.INS_MSE, SignedBytes.MAX_POWER_OF_TWO, 47, SignedBytes.MAX_POWER_OF_TWO, 10, 40, 114, ISO7816.INS_DECREASE_STAMPED, 124, 77, ISO7816.INS_MSE, 67, 54, 123, -1, -2, -105, -58, -108, -1, -92, -37, ISOFileInfo.SECURITY_ATTR_COMPACT, -63, -111, -119, -58, ISOFileInfo.ENV_TEMP_EF, -60, ISOFileInfo.CHANNEL_SECURITY, -16, -58, -7, -106, -105, -119, -105, -58, ISOFileInfo.CHANNEL_SECURITY, -14, ISO7816.INS_LOAD_KEY_FILE, -13, ISOFileInfo.CHANNEL_SECURITY, -58, -108, -14, -105, -6, ISOFileInfo.FCI_BYTE, -1, -89, -93, 104, -13, -105, ISOFileInfo.FILE_IDENTIFIER, -37, ISOFileInfo.FILE_IDENTIFIER, -83, -3, -111, -108, -7, 104, -3, -2, -106, -2, -111, -126, -58, -7, Byte.MIN_VALUE, -58, ISOFileInfo.ENV_TEMP_EF, -57, ISOFileInfo.CHANNEL_SECURITY, -111, -1, -81, Byte.MIN_VALUE, 120, -81, -16, 126, ISOFileInfo.LCS_BYTE, ISOFileInfo.A1, ISOFileInfo.ENV_TEMP_EF, -52, 120, -11, 125, -90, 120, -10, -124, -88, -10, -120, -11, 126, -16, Ascii.DEL, 123, -12, -10, 123, -81, -12, ISOFileInfo.PROP_INFO, ISOFileInfo.AB, Byte.MIN_VALUE, 120, -11, -88, -12, ISOFileInfo.PROP_INFO, -82, ISOFileInfo.LCS_BYTE, -16, 124, -12, 122, ISOFileInfo.A1, Ascii.DEL, 122, -126, 99, -9, -87, -10, -119, -15, 124, -90, 123, -119, -87, ISOFileInfo.PROP_INFO, 120, -13, -84, -31, Ascii.NAK, -84, -89, 5, -65, ISO7816.INS_UPDATE_RECORD, -21, ISO7816.INS_PSO, 109, 81, -81, -92, Ascii.DC4, Ascii.ETB, -93, ISO7816.INS_WRITE_BINARY, -20, Ascii.ETB, ISOFileInfo.A5, ISO7816.INS_LOAD_KEY_FILE, -24, Ascii.DC4, -70, -45, -25, Ascii.EM, -65, Ascii.SUB, -94, Ascii.DC4, ISOFileInfo.A5, Ascii.CAN, -65, Ascii.SUB, -92, -41, 80, -81, -72, Ascii.DC4, 5, -71, -22, Ascii.EM, ISOFileInfo.A0, Ascii.DC2, 108, -23, -21, -69, Ascii.NAK, 28, ISOFileInfo.A1, Ascii.SYN, -84, Ascii.US, -69, Ascii.SYN, -82, Ascii.DC4, -70, 28, -70, Ascii.SYN, 28, ISOFileInfo.FCP_BYTE, -82, 19, -19, -87, -22, -82, -70, -70, -98, 2, -122, 3};
private static int t = 2015661587;
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(byte r5, short r6, int r7, java.lang.Object[] r8) {
/*
int r6 = r6 * 3
int r6 = 4 - r6
int r5 = 110 - r5
byte[] r0 = o.AbstractActivityC11536ehG.$$g
int r7 = r7 * 2
int r1 = r7 + 1
byte[] r1 = new byte[r1]
r2 = 0
if (r0 != 0) goto L14
r4 = r7
r3 = r2
goto L26
L14:
r3 = r2
L15:
byte r4 = (byte) r5
r1[r3] = r4
if (r3 != r7) goto L22
java.lang.String r5 = new java.lang.String
r5.<init>(r1, r2)
r8[r2] = r5
return
L22:
r4 = r0[r6]
int r3 = r3 + 1
L26:
int r5 = r5 + r4
int r6 = r6 + 1
goto L15
*/
throw new UnsupportedOperationException("Method not decompiled: o.AbstractActivityC11536ehG.az(byte, short, int, java.lang.Object[]):void");
}
public AbstractActivityC11536ehG() {
addOnContextAvailableListener(new InterfaceC17278vUG(this) { // from class: o.ehG.3
private AbstractActivityC11536ehG e;
{
this.e = this;
}
@Override // o.InterfaceC17278vUG
public final void a(Context context) {
AbstractActivityC11536ehG abstractActivityC11536ehG = this.e;
if (abstractActivityC11536ehG.b) {
return;
}
abstractActivityC11536ehG.b = true;
((InterfaceC11540ehK) abstractActivityC11536ehG.y_()).a((PrepaidDetailsActivity) abstractActivityC11536ehG);
}
});
}
@Override // o.fPC
public final Object y_() {
int i = 2 % 2;
int i2 = x + 23;
q = i2 % 128;
Object obj = null;
if (i2 % 2 != 0) {
f().y_();
throw null;
}
Object y_ = f().y_();
int i3 = q + 77;
x = i3 % 128;
if (i3 % 2 != 0) {
return y_;
}
obj.hashCode();
throw null;
}
private C13073fPt f() {
if (this.m == null) {
synchronized (this.k) {
if (this.m == null) {
this.m = new C13073fPt(this);
}
}
}
return this.m;
}
@Override // androidx.activity.ComponentActivity, o.GvH
public VLM.LWm getDefaultViewModelProviderFactory() {
Bundle bundle;
int i = 2 % 2;
int i2 = q + 49;
x = 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 = q + 95;
x = i4 % 128;
int i5 = i4 % 2;
bundle = getIntent().getExtras();
} else {
int i6 = q + 61;
x = i6 % 128;
int i7 = i6 % 2;
bundle = null;
}
return a.aBN_(this, bundle, defaultViewModelProviderFactory);
}
private static void ay(int i, char[] cArr, int i2, boolean z, int i3, Object[] objArr) {
char[] cArr2;
int i4 = 2 % 2;
zUI zui = new zUI();
char[] cArr3 = new char[i];
zui.d = 0;
int i5 = $10 + 95;
$11 = i5 % 128;
if (i5 % 2 == 0) {
int i6 = 3 / 2;
}
while (zui.d < i) {
zui.c = cArr[zui.d];
cArr3[zui.d] = (char) (i2 + zui.c);
int i7 = zui.d;
try {
Object[] objArr2 = {Integer.valueOf(cArr3[i7]), Integer.valueOf(t)};
Object obj = xzZ.y.get(880493502);
if (obj == null) {
Class cls = (Class) xzZ.c(143 - Color.red(0), 7 - TextUtils.indexOf("", ""), (char) (ViewConfiguration.getDoubleTapTimeout() >> 16));
byte b = (byte) 0;
Object[] objArr3 = new Object[1];
az((byte) 41, b, b, objArr3);
obj = cls.getMethod((String) objArr3[0], Integer.TYPE, Integer.TYPE);
xzZ.y.put(880493502, obj);
}
cArr3[i7] = ((Character) ((Method) obj).invoke(null, objArr2)).charValue();
Object[] objArr4 = {zui, zui};
Object obj2 = xzZ.y.get(1294990079);
if (obj2 == null) {
Class cls2 = (Class) xzZ.c(342 - ((Process.getThreadPriority(0) + 20) >> 6), 5 - View.resolveSize(0, 0), (char) KeyEvent.getDeadChar(0, 0));
byte b2 = (byte) 0;
Object[] objArr5 = new Object[1];
az((byte) 34, b2, b2, objArr5);
obj2 = cls2.getMethod((String) objArr5[0], Object.class, Object.class);
xzZ.y.put(1294990079, obj2);
}
((Method) obj2).invoke(null, objArr4);
} catch (Throwable th) {
Throwable cause = th.getCause();
if (cause == null) {
throw th;
}
throw cause;
}
}
if (i3 > 0) {
zui.a = i3;
char[] cArr4 = new char[i];
System.arraycopy(cArr3, 0, cArr4, 0, i);
System.arraycopy(cArr4, 0, cArr3, i - zui.a, zui.a);
System.arraycopy(cArr4, zui.a, cArr3, 0, i - zui.a);
}
if (z) {
int i8 = $10 + 85;
$11 = i8 % 128;
if (i8 % 2 == 0) {
cArr2 = new char[i];
zui.d = 1;
} else {
cArr2 = new char[i];
zui.d = 0;
}
int i9 = $10 + 101;
$11 = i9 % 128;
int i10 = i9 % 2;
while (zui.d < i) {
int i11 = $10 + 11;
$11 = i11 % 128;
if (i11 % 2 == 0) {
cArr2[zui.d] = cArr3[zui.d * i];
Object[] objArr6 = {zui, zui};
Object obj3 = xzZ.y.get(1294990079);
if (obj3 == null) {
Class cls3 = (Class) xzZ.c(Color.blue(0) + 342, 5 - (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)), (char) ExpandableListView.getPackedPositionGroup(0L));
byte b3 = (byte) 0;
Object[] objArr7 = new Object[1];
az((byte) 34, b3, b3, objArr7);
obj3 = cls3.getMethod((String) objArr7[0], Object.class, Object.class);
xzZ.y.put(1294990079, obj3);
}
((Method) obj3).invoke(null, objArr6);
} else {
cArr2[zui.d] = cArr3[(i - zui.d) - 1];
try {
Object[] objArr8 = {zui, zui};
Object obj4 = xzZ.y.get(1294990079);
if (obj4 == null) {
Class cls4 = (Class) xzZ.c(KeyEvent.normalizeMetaState(0) + 342, 5 - (ViewConfiguration.getTapTimeout() >> 16), (char) View.combineMeasuredStates(0, 0));
byte b4 = (byte) 0;
Object[] objArr9 = new Object[1];
az((byte) 34, b4, b4, objArr9);
obj4 = cls4.getMethod((String) objArr9[0], Object.class, Object.class);
xzZ.y.put(1294990079, obj4);
}
((Method) obj4).invoke(null, objArr8);
} catch (Throwable th2) {
Throwable cause2 = th2.getCause();
if (cause2 == null) {
throw th2;
}
throw cause2;
}
}
}
cArr3 = cArr2;
}
objArr[0] = new String(cArr3);
}
@Override // com.scb.phone.view.activity.BaseActivity, com.scb.phone.view.activity.PreLoadCheckActivity, com.akexorcist.localizationactivity.LocalizationActivity, androidx.appcompat.app.AppCompatActivity, androidx.fragment.app.FragmentActivity, androidx.activity.ComponentActivity, androidx.core.app.ComponentActivity, android.app.Activity
public void onCreate(Bundle bundle) {
int i = 2 % 2;
Object[] objArr = new Object[1];
ax((short) (((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getResources().getString(com.scb.phone.R.string.juristic_pin_lock_error_title).substring(0, 4).length() - 50), 87747279 - (CdmaCellLocation.convertQuartSecToDecDegrees(0) > 0.0d ? 1 : (CdmaCellLocation.convertQuartSecToDecDegrees(0) == 0.0d ? 0 : -1)), (-87) - (TypedValue.complexToFloat(0) > BitmapDescriptorFactory.HUE_RED ? 1 : (TypedValue.complexToFloat(0) == BitmapDescriptorFactory.HUE_RED ? 0 : -1)), 1127441991 + ((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getApplicationInfo().targetSdkVersion, (byte) ((-92) - (ViewConfiguration.getMaximumDrawingCacheSize() >> 24)), objArr);
Class<?> cls = Class.forName((String) objArr[0]);
Object[] objArr2 = new Object[1];
ax((short) (((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getResources().getString(com.scb.phone.R.string.only_one_card_allowed_label).substring(7, 8).length() + 99), 87747284 + ((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getPackageName().length(), ((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getResources().getString(com.scb.phone.R.string.hml_external_authentication_intro).substring(109, 110).length() - 88, 1127442037 - TextUtils.indexOf("", "", 0, 0), (byte) (((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getResources().getString(com.scb.phone.R.string.ntb_scb_customer_tile).substring(16, 20).length() + 1), 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(KeyEvent.getDeadChar(0, 0) + 26, new char[]{65521, 5, 15, 2, 65534, 1, 65534, 11, 1, 15, '\f', 6, 1, 65483, 65534, '\r', '\r', 65483, 65502, 0, 17, 6, 19, 6, 17, 22}, ((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getApplicationInfo().targetSdkVersion + 117, false, 6 - (ViewConfiguration.getMinimumFlingVelocity() >> 16), objArr3);
Class<?> cls2 = Class.forName((String) objArr3[0]);
Object[] objArr4 = new Object[1];
ax((short) ((SystemClock.currentThreadTimeMillis() > (-1L) ? 1 : (SystemClock.currentThreadTimeMillis() == (-1L) ? 0 : -1)) + 108), 87747302 - View.MeasureSpec.getMode(0), ((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getApplicationInfo().targetSdkVersion - 121, ((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getApplicationInfo().targetSdkVersion + 1127441993, (byte) (((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getResources().getString(com.scb.phone.R.string.tap_to_retry).substring(11, 12).codePointAt(0) - 32), objArr4);
baseContext = (Context) cls2.getMethod((String) objArr4[0], new Class[0]).invoke(null, null);
int i2 = q + 109;
x = i2 % 128;
int i3 = i2 % 2;
}
if (baseContext != null) {
baseContext = baseContext.getApplicationContext();
}
if (baseContext != null) {
try {
Object obj = xzZ.y.get(125943855);
if (obj == null) {
obj = ((Class) xzZ.c((ViewConfiguration.getScrollBarFadeDuration() >> 16) + 492, (SystemClock.currentThreadTimeMillis() > (-1L) ? 1 : (SystemClock.currentThreadTimeMillis() == (-1L) ? 0 : -1)) + 4, (char) KeyEvent.getDeadChar(0, 0))).getMethod("a", null);
xzZ.y.put(125943855, obj);
}
Object invoke = ((Method) obj).invoke(null, null);
Object[] objArr5 = new Object[1];
ax((short) (((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getResources().getString(com.scb.phone.R.string.auto_purchase_bond_dlt_disclaimer_send_sms).substring(85, 86).codePointAt(0) + 25), 87747319 - Process.getGidForName(""), (-87) - (ViewConfiguration.getDoubleTapTimeout() >> 16), ((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getResources().getString(com.scb.phone.R.string.redeem_ssf_or_tesg_dialog_description).substring(21, 22).codePointAt(0) + 1127441945, (byte) ((-95) - (ViewConfiguration.getWindowTouchSlop() >> 8)), objArr5);
String str = (String) objArr5[0];
Object[] objArr6 = new Object[1];
ax((short) (75 - (ViewConfiguration.getScrollDefaultDelay() >> 16)), ((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getPackageName().codePointAt(7) + 87747322, View.combineMeasuredStates(0, 0) - 87, ((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getApplicationInfo().targetSdkVersion + 1127441995, (byte) ((ViewConfiguration.getZoomControlsTimeout() > 0L ? 1 : (ViewConfiguration.getZoomControlsTimeout() == 0L ? 0 : -1)) + 49), objArr6);
String str2 = (String) objArr6[0];
Object[] objArr7 = new Object[1];
ax((short) (((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getPackageName().length() - 53), KeyEvent.keyCodeFromString("") + 87747432, (-87) - View.resolveSize(0, 0), ((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getResources().getString(com.scb.phone.R.string.msg_point_x_user_blocked).substring(39, 43).codePointAt(0) + 1127433814, (byte) (((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getResources().getString(com.scb.phone.R.string.auto_touchpoints_troubleshooting_step).substring(5, 6).codePointAt(0) + 38), objArr7);
String str3 = (String) objArr7[0];
Object[] objArr8 = new Object[1];
ax((short) ((ViewConfiguration.getTapTimeout() >> 16) - 94), Color.argb(0, 0, 0, 0) + 87747496, (ViewConfiguration.getMinimumFlingVelocity() >> 16) - 87, ((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getPackageName().codePointAt(11) + 1127441922, (byte) (93 - (ViewConfiguration.getWindowTouchSlop() >> 8)), objArr8);
String str4 = (String) objArr8[0];
Object[] objArr9 = new Object[1];
ax((short) (((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getPackageName().length() - 98), (SystemClock.elapsedRealtimeNanos() > 0L ? 1 : (SystemClock.elapsedRealtimeNanos() == 0L ? 0 : -1)) + 87747569, Color.green(0) - 87, ((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getPackageName().length() + 1127441972, (byte) (((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getApplicationInfo().targetSdkVersion + 18), objArr9);
String str5 = (String) objArr9[0];
Object[] objArr10 = new Object[1];
ay(((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getPackageName().length() + 23, new char[]{65519, 65520, 65516, ' ', ' ', NistHelper.SEP_FS, 65517, 65519, 31, 65524, 65519, 65515, 65512, 65521, 65515, ' ', 29, 65512, 65519, 65517, 65516, 65516, 65512, NistHelper.SEP_FS, 29, ' ', 30, 65512, 65517, 30, 65517, NistHelper.SEP_FS, 65522, ' ', 30, 65520}, ((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getPackageName().codePointAt(11) + 11, false, 4 - TextUtils.getOffsetBefore("", 0), 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((SystemClock.elapsedRealtimeNanos() > 0L ? 1 : (SystemClock.elapsedRealtimeNanos() == 0L ? 0 : -1)) + 486, 6 - (Process.getElapsedCpuTime() > 0L ? 1 : (Process.getElapsedCpuTime() == 0L ? 0 : -1)), (char) Color.red(0))).getMethod("e", Context.class, String.class, String.class, String.class, String.class, Boolean.TYPE, String.class, String.class);
xzZ.y.put(1656189573, obj2);
}
((Method) obj2).invoke(invoke, objArr11);
int i4 = x + 19;
q = i4 % 128;
int i5 = i4 % 2;
} catch (Throwable th) {
Throwable cause = th.getCause();
if (cause == null) {
throw th;
}
throw cause;
}
}
}
super.onCreate(bundle);
}
@Override // com.scb.phone.view.activity.BaseActivity, com.scb.phone.view.activity.PreLoadCheckActivity, com.akexorcist.localizationactivity.LocalizationActivity, androidx.appcompat.app.AppCompatActivity, androidx.fragment.app.FragmentActivity, androidx.activity.ComponentActivity, androidx.core.app.ComponentActivity, android.app.Activity
public void onResume() {
int i = 2 % 2;
int i2 = x + 33;
q = i2 % 128;
int i3 = i2 % 2;
Context baseContext = getBaseContext();
Object obj = null;
if (baseContext == null) {
Object[] objArr = new Object[1];
ay(AndroidCharacter.getMirror('0') - 22, new char[]{65521, 5, 15, 2, 65534, 1, 65534, 11, 1, 15, '\f', 6, 1, 65483, 65534, '\r', '\r', 65483, 65502, 0, 17, 6, 19, 6, 17, 22}, 151 - TextUtils.getOffsetBefore("", 0), false, ((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getResources().getString(com.scb.phone.R.string.point_x_on_board_cta_text).substring(5, 13).codePointAt(1) - 74, objArr);
Class<?> cls = Class.forName((String) objArr[0]);
Object[] objArr2 = new Object[1];
ax((short) ((-16777107) - Color.rgb(0, 0, 0)), ((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getResources().getString(com.scb.phone.R.string.transfer_payment_amount_hint).substring(0, 4).length() + 87747298, (-87) - (ViewConfiguration.getScrollBarSize() >> 8), 1127442026 - TextUtils.indexOf((CharSequence) "", '0', 0, 0), (byte) (((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_1_3_years).substring(2, 4).length() - 2), objArr2);
baseContext = (Context) cls.getMethod((String) objArr2[0], new Class[0]).invoke(null, null);
}
if (baseContext != null) {
int i4 = q + 99;
x = i4 % 128;
if (i4 % 2 == 0) {
baseContext.getApplicationContext();
obj.hashCode();
throw null;
}
baseContext = baseContext.getApplicationContext();
}
if (baseContext != null) {
int i5 = q + 65;
x = i5 % 128;
try {
if (i5 % 2 == 0) {
Object obj2 = xzZ.y.get(125943855);
if (obj2 == null) {
obj2 = ((Class) xzZ.c((ViewConfiguration.getTouchSlop() >> 8) + 492, (CdmaCellLocation.convertQuartSecToDecDegrees(0) > 0.0d ? 1 : (CdmaCellLocation.convertQuartSecToDecDegrees(0) == 0.0d ? 0 : -1)) + 5, (char) ((-1) - TextUtils.lastIndexOf("", '0', 0)))).getMethod("a", null);
xzZ.y.put(125943855, obj2);
}
Object invoke = ((Method) obj2).invoke(null, null);
Object[] objArr3 = {baseContext};
Object obj3 = xzZ.y.get(1378719468);
if (obj3 == null) {
obj3 = ((Class) xzZ.c(487 - (ViewConfiguration.getLongPressTimeout() >> 16), (SystemClock.elapsedRealtime() > 0L ? 1 : (SystemClock.elapsedRealtime() == 0L ? 0 : -1)) + 4, (char) (1 - (ViewConfiguration.getZoomControlsTimeout() > 0L ? 1 : (ViewConfiguration.getZoomControlsTimeout() == 0L ? 0 : -1))))).getMethod(KtaJsonExactionHelper.OBJECT, Context.class);
xzZ.y.put(1378719468, obj3);
}
((Method) obj3).invoke(invoke, objArr3);
throw null;
}
Object obj4 = xzZ.y.get(125943855);
if (obj4 == null) {
obj4 = ((Class) xzZ.c(492 - (Process.myPid() >> 22), 5 - (ViewConfiguration.getScrollDefaultDelay() >> 16), (char) (ViewConfiguration.getTouchSlop() >> 8))).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(488 - (ViewConfiguration.getZoomControlsTimeout() > 0L ? 1 : (ViewConfiguration.getZoomControlsTimeout() == 0L ? 0 : -1)), View.MeasureSpec.getSize(0) + 5, (char) KeyEvent.keyCodeFromString(""))).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();
int i6 = q + 7;
x = i6 % 128;
if (i6 % 2 == 0) {
int i7 = 93 / 0;
}
}
@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 = x + 35;
q = i2 % 128;
int i3 = i2 % 2;
Context baseContext = getBaseContext();
if (baseContext == null) {
Object[] objArr = new Object[1];
ay(26 - TextUtils.getCapsMode("", 0, 0), new char[]{65521, 5, 15, 2, 65534, 1, 65534, 11, 1, 15, '\f', 6, 1, 65483, 65534, '\r', '\r', 65483, 65502, 0, 17, 6, 19, 6, 17, 22}, ((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getResources().getString(com.scb.phone.R.string.hml_business_owner_marketplace_about_subtitle2).substring(135, 136).length() + CipherSuite.TLS_RSA_WITH_SEED_CBC_SHA, false, TextUtils.lastIndexOf("", '0') + 7, objArr);
Class<?> cls = Class.forName((String) objArr[0]);
Object[] objArr2 = new Object[1];
ax((short) (((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getResources().getString(com.scb.phone.R.string.receive_statement_inapp_remark).substring(41, 42).length() + 108), (ViewConfiguration.getDoubleTapTimeout() >> 16) + 87747302, (-87) - (ViewConfiguration.getEdgeSlop() >> 16), (TypedValue.complexToFloat(0) > BitmapDescriptorFactory.HUE_RED ? 1 : (TypedValue.complexToFloat(0) == BitmapDescriptorFactory.HUE_RED ? 0 : -1)) + 1127442027, (byte) (((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getResources().getString(com.scb.phone.R.string.auto_single_form_terms_and_conditions_mf_check_box_title).substring(81, 82).codePointAt(0) - 32), objArr2);
baseContext = (Context) cls.getMethod((String) objArr2[0], new Class[0]).invoke(null, null);
}
if (baseContext != null) {
baseContext = baseContext.getApplicationContext();
}
if (baseContext != null) {
int i4 = x + 45;
q = i4 % 128;
try {
if (i4 % 2 != 0) {
Object obj = xzZ.y.get(125943855);
if (obj == null) {
obj = ((Class) xzZ.c(492 - (ViewConfiguration.getJumpTapTimeout() >> 16), 5 - (Process.myPid() >> 22), (char) (ViewConfiguration.getDoubleTapTimeout() >> 16))).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.indexOf("", "", 0), 5 - (ViewConfiguration.getScrollBarSize() >> 8), (char) View.MeasureSpec.getMode(0))).getMethod("c", Context.class);
xzZ.y.put(1633456013, obj2);
}
((Method) obj2).invoke(invoke, objArr3);
int i5 = 58 / 0;
} else {
Object obj3 = xzZ.y.get(125943855);
if (obj3 == null) {
obj3 = ((Class) xzZ.c(493 - (ViewConfiguration.getScrollFriction() > BitmapDescriptorFactory.HUE_RED ? 1 : (ViewConfiguration.getScrollFriction() == BitmapDescriptorFactory.HUE_RED ? 0 : -1)), Color.alpha(0) + 5, (char) ((-16777216) - Color.rgb(0, 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(TextUtils.lastIndexOf("", '0') + 488, KeyEvent.getDeadChar(0, 0) + 5, (char) (ViewConfiguration.getScrollBarSize() >> 8))).getMethod("c", Context.class);
xzZ.y.put(1633456013, obj4);
}
((Method) obj4).invoke(invoke2, objArr4);
}
} catch (Throwable th) {
Throwable cause = th.getCause();
if (cause == null) {
throw th;
}
throw cause;
}
}
super.onPause();
}
/* JADX WARN: Removed duplicated region for block: B:36:0x01b6 */
/*
Code decompiled incorrectly, please refer to instructions dump.
To view partially-correct add '--show-bad-code' argument
*/
private static void ax(short r18, int r19, int r20, int r21, byte r22, java.lang.Object[] r23) {
/*
Method dump skipped, instructions count: 773
To view this dump add '--comments-level debug' option
*/
throw new UnsupportedOperationException("Method not decompiled: o.AbstractActivityC11536ehG.ax(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, android.view.ContextThemeWrapper, android.content.ContextWrapper
public void attachBaseContext(Context context) {
int i = 2 % 2;
int i2 = q + 91;
x = i2 % 128;
int i3 = i2 % 2;
super.attachBaseContext(context);
Object[] objArr = new Object[1];
ax((short) ((ViewConfiguration.getLongPressTimeout() >> 16) - 46), 87747279 - ExpandableListView.getPackedPositionGroup(0L), View.resolveSizeAndState(0, 0, 0) - 87, 1127442025 - View.MeasureSpec.getMode(0), (byte) ((-91) - (AudioTrack.getMaxVolume() > BitmapDescriptorFactory.HUE_RED ? 1 : (AudioTrack.getMaxVolume() == BitmapDescriptorFactory.HUE_RED ? 0 : -1))), objArr);
Class<?> cls = Class.forName((String) objArr[0]);
Object[] objArr2 = new Object[1];
ax((short) (100 - (Process.myTid() >> 22)), View.MeasureSpec.makeMeasureSpec(0, 0) + 87747297, (-87) - (ViewConfiguration.getMinimumFlingVelocity() >> 16), (ViewConfiguration.getMaximumDrawingCacheSize() >> 24) + 1127442037, (byte) (Color.rgb(0, 0, 0) + 16777221), 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 applicationContext = context != null ? context.getApplicationContext() : context;
if (applicationContext != null) {
int i4 = x + 117;
q = i4 % 128;
int i5 = i4 % 2;
try {
Object obj = xzZ.y.get(125943855);
if (obj == null) {
obj = ((Class) xzZ.c(493 - (ViewConfiguration.getZoomControlsTimeout() > 0L ? 1 : (ViewConfiguration.getZoomControlsTimeout() == 0L ? 0 : -1)), Color.red(0) + 5, (char) TextUtils.getOffsetBefore("", 0))).getMethod("a", null);
xzZ.y.put(125943855, obj);
}
Object invoke = ((Method) obj).invoke(null, null);
Object[] objArr3 = new Object[1];
ax((short) (57 - TextUtils.getOffsetAfter("", 0)), TextUtils.getTrimmedLength("") + 87747320, View.MeasureSpec.getMode(0) - 87, TextUtils.lastIndexOf("", '0') + 1127441978, (byte) ((-95) - (ViewConfiguration.getMaximumDrawingCacheSize() >> 24)), objArr3);
String str = (String) objArr3[0];
Object[] objArr4 = new Object[1];
ax((short) (Color.argb(0, 0, 0, 0) + 75), 87747368 - TextUtils.getCapsMode("", 0, 0), Process.getGidForName("") - 86, 1127442029 - ExpandableListView.getPackedPositionGroup(0L), (byte) (50 - TextUtils.indexOf("", "", 0, 0)), objArr4);
String str2 = (String) objArr4[0];
Object[] objArr5 = new Object[1];
ax((short) ((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)) - 40), 87747432 - (ViewConfiguration.getDoubleTapTimeout() >> 16), (ExpandableListView.getPackedPositionForGroup(0) > 0L ? 1 : (ExpandableListView.getPackedPositionForGroup(0) == 0L ? 0 : -1)) - 87, (AudioTrack.getMinVolume() > BitmapDescriptorFactory.HUE_RED ? 1 : (AudioTrack.getMinVolume() == BitmapDescriptorFactory.HUE_RED ? 0 : -1)) + 1127442025, (byte) (70 - TextUtils.getOffsetAfter("", 0)), objArr5);
String str3 = (String) objArr5[0];
Object[] objArr6 = new Object[1];
ax((short) ((-93) - (SystemClock.currentThreadTimeMillis() > (-1L) ? 1 : (SystemClock.currentThreadTimeMillis() == (-1L) ? 0 : -1))), 87747496 + (ViewConfiguration.getScrollDefaultDelay() >> 16), (-87) - TextUtils.getCapsMode("", 0, 0), (ExpandableListView.getPackedPositionForChild(0, 0) > 0L ? 1 : (ExpandableListView.getPackedPositionForChild(0, 0) == 0L ? 0 : -1)) + 1127442033, (byte) (93 - View.MeasureSpec.getSize(0)), objArr6);
String str4 = (String) objArr6[0];
Object[] objArr7 = new Object[1];
ax((short) ((ViewConfiguration.getMinimumFlingVelocity() >> 16) - 85), 87747569 + (SystemClock.elapsedRealtimeNanos() > 0L ? 1 : (SystemClock.elapsedRealtimeNanos() == 0L ? 0 : -1)), Color.blue(0) - 87, 1127441985 - (KeyEvent.getMaxKeyCode() >> 16), (byte) (TextUtils.lastIndexOf("", '0', 0) + 53), objArr7);
String str5 = (String) objArr7[0];
Object[] objArr8 = new Object[1];
ay(KeyEvent.normalizeMetaState(0) + 36, new char[]{65519, 65520, 65516, ' ', ' ', NistHelper.SEP_FS, 65517, 65519, 31, 65524, 65519, 65515, 65512, 65521, 65515, ' ', 29, 65512, 65519, 65517, 65516, 65516, 65512, NistHelper.SEP_FS, 29, ' ', 30, 65512, 65517, 30, 65517, NistHelper.SEP_FS, 65522, ' ', 30, 65520}, View.combineMeasuredStates(0, 0) + 121, false, View.MeasureSpec.makeMeasureSpec(0, 0) + 4, objArr8);
Object[] objArr9 = {applicationContext, str, str2, str3, str4, true, str5, (String) objArr8[0]};
Object obj2 = xzZ.y.get(1656189573);
if (obj2 == null) {
obj2 = ((Class) xzZ.c((Process.getElapsedCpuTime() > 0L ? 1 : (Process.getElapsedCpuTime() == 0L ? 0 : -1)) + 486, ExpandableListView.getPackedPositionChild(0L) + 6, (char) (TypedValue.complexToFloat(0) > BitmapDescriptorFactory.HUE_RED ? 1 : (TypedValue.complexToFloat(0) == 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, 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 = x + 59;
q = i2 % 128;
int i3 = i2 % 2;
super.onStart();
if (i3 == 0) {
return;
}
Object obj = null;
obj.hashCode();
throw null;
}
}