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

548 lines
34 KiB
Java

package o;
import android.content.Context;
import android.graphics.Color;
import android.graphics.ImageFormat;
import android.graphics.drawable.Drawable;
import android.media.AudioTrack;
import android.os.Bundle;
import android.os.Process;
import android.os.SystemClock;
import android.text.TextUtils;
import android.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.mobile.sdk._internal.impl.extraction.kta.KtaJsonExactionHelper;
import com.scb.phone.view.activity.BaseActivity;
import com.scb.phone.view.activity.demo.ntb.NtbUserInfoActivity;
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.bouncycastle.crypto.tls.CipherSuite;
/* renamed from: o.dGy, reason: case insensitive filesystem */
/* loaded from: classes4.dex */
public abstract class AbstractActivityC8298dGy extends BaseActivity implements fPA {
private static short[] s;
private volatile C13073fPt m;
private static final byte[] $$g = {55, -34, 73, 110};
private static final int $$h = 38;
private static int $10 = 0;
private static int $11 = 1;
private static int r = 0;
private static int y = 1;
private static int k = -753005450;
private static int l = 1406017065;
private static int p = 1010713044;
private static byte[] t = {-61, ISOFileInfo.A0, ISO7816.INS_UPDATE_BINARY, -94, PSSSigner.TRAILER_IMPLICIT, -89, ISO7816.INS_ENVELOPE, ISO7816.INS_ENVELOPE, 101, -84, -29, 106, ISOFileInfo.A5, -70, -89, ISO7816.INS_UPDATE_BINARY, -66, -41, ISO7816.INS_UPDATE_RECORD, -90, -39, ISOFileInfo.DATA_BYTES2, -47, 17, ISO7816.INS_DECREASE_STAMPED, 9, 92, 14, 49, -2, 93, -26, 95, 15, -25, 92, -5, 94, ISO7816.INS_DELETE_FILE, 10, 92, 55, 12, 9, -25, 9, 92, ISO7816.INS_DELETE_FILE, 8, 82, 53, ISO7816.INS_DELETE_FILE, 92, 14, 8, 9, ISO7816.INS_DECREASE, 1, 49, -7, 69, 2, 53, 9, -27, 93, -27, 91, 11, 15, 14, 55, 2, 11, ISO7816.INS_DECREASE_STAMPED, 12, ISO7816.INS_DECREASE_STAMPED, 15, -8, 92, 55, -6, 92, -5, 89, ISO7816.INS_DELETE_FILE, 15, 17, 4, 125, 85, 4, 45, 87, 123, Ascii.DC2, 102, 33, 85, 46, 86, Ascii.US, 85, 47, 121, 5, 47, 101, 46, 87, 45, 84, 40, 41, 47, 40, 4, 41, 126, Ascii.CAN, 125, 85, 46, 5, 41, 126, 7, 123, 45, 81, 41, 43, Ascii.DC2, 84, 43, 115, 80, ISO7816.INS_UNBLOCK_CHV, Ascii.SUB, 47, 122, ISO7816.INS_MSE, 81, Ascii.US, 40, 122, Ascii.SUB, 126, 85, 32, 1, ISO7816.INS_UPDATE_RECORD, 77, 89, 117, 94};
private static char[] q = {40081, 40250, 40226, 40225, 40225, 40226, 40237, 40198, 40185, 40193, 40224, 40232, 40201, 40207, 40234, 40236, 40224, 40237, 40239, 40233, 40214, 40214, 40213, 40237, 40227, 40210, 39996, 40037, 40035, 40039, 40056, 40057, 40032, 40034, 40058, 40017, 40019, 40059, 40037, 40033, 40045, 40041, 40033, 40037, 39955, 39999, 39998, 40000, 40001, 40000, 40047, 40040, 40042, 40006, 39998, 40002, 40001, 40001, 40001, 39998, 40006, 40001, 39993, 39998, 39998, 39992, 40001, 40006, 40004, 40005, 40007, 40007, 40007, 40005, 40005, 40001, 39994, 39992, 39997, 39999, 40000, 40046, 40040, 40041, 40001, 39992, 39997, 39996, 40007, 40006, 40005, 40007, 40037, 40143, 40129, 40161, 40174, 40143, 40142, 40172, 40174, 40172, 40164, 40165, 40172, 40172, 40174, 40172, 40161, 40141, 40134, 40164, 40173, 40149, 40172, 40173, 40148, 40172, 40162, 40161, 40134, 40131, 40163, 40168, 40150, 40168, 40169, 40170, 40169, 40173, 40172, 40174, 40162, 40161, 40174, 40175, 40168, 40170, 40161, 40134, 40096, 40123, 40153, 40166, 40165, 40187, 40161, 40162, 40164, 40166, 40174, 40162, 40162, 40141, 40103, 40155, 40133, 40134, 40164, 40163, 40169, 40173, 40172, 40131, 40131, 40163, 39955, 39994, 39994, 39992, 39995, 40012, 40040, 40001, 39992, 39994, 39973, 39993, 39997, 40005, 40007, 39992, 40002, 40040, 40046, 40000, 39992, 39999, 39999, 40007, 40047, 40005, 40007, 40002, 40001, 40001, 39972, 40003, 40047, 40040, 40042, 40012};
/* renamed from: o, reason: collision with root package name */
private final Object f8718o = new Object();
boolean b = false;
/* JADX WARN: Removed duplicated region for block: B:10:0x0025 */
/* JADX WARN: Removed duplicated region for block: B:7:0x001d */
/* JADX WARN: Unsupported multi-entry loop pattern (BACK_EDGE: B:10:0x0025 -> B:4:0x002a). Please report as a decompilation issue!!! */
/*
Code decompiled incorrectly, please refer to instructions dump.
To view partially-correct add '--show-bad-code' argument
*/
private static void az(byte r7, short r8, byte r9, java.lang.Object[] r10) {
/*
byte[] r0 = o.AbstractActivityC8298dGy.$$g
int r7 = r7 + 71
int r9 = r9 * 4
int r9 = r9 + 4
int r8 = r8 * 3
int r8 = r8 + 1
byte[] r1 = new byte[r8]
r2 = 0
if (r0 != 0) goto L15
r7 = r8
r3 = r9
r4 = r2
goto L2a
L15:
r3 = r2
L16:
int r4 = r3 + 1
byte r5 = (byte) r7
r1[r3] = r5
if (r4 != r8) goto L25
java.lang.String r7 = new java.lang.String
r7.<init>(r1, r2)
r10[r2] = r7
return
L25:
r3 = r0[r9]
r6 = r3
r3 = r9
r9 = r6
L2a:
int r7 = r7 + r9
int r9 = r3 + 1
r3 = r4
goto L16
*/
throw new UnsupportedOperationException("Method not decompiled: o.AbstractActivityC8298dGy.az(byte, short, byte, java.lang.Object[]):void");
}
public AbstractActivityC8298dGy() {
addOnContextAvailableListener(new InterfaceC17278vUG(this) { // from class: o.dGy.2
private AbstractActivityC8298dGy b;
{
this.b = this;
}
@Override // o.InterfaceC17278vUG
public final void a(Context context) {
AbstractActivityC8298dGy abstractActivityC8298dGy = this.b;
if (abstractActivityC8298dGy.b) {
return;
}
abstractActivityC8298dGy.b = true;
((InterfaceC8269dGM) abstractActivityC8298dGy.y_()).e((NtbUserInfoActivity) abstractActivityC8298dGy);
}
});
}
@Override // o.fPC
public final Object y_() {
int i = 2 % 2;
int i2 = r + 19;
y = i2 % 128;
int i3 = i2 % 2;
Object y_ = f().y_();
int i4 = y + 111;
r = i4 % 128;
if (i4 % 2 == 0) {
return y_;
}
throw null;
}
private C13073fPt f() {
if (this.m == null) {
synchronized (this.f8718o) {
if (this.m == null) {
this.m = new C13073fPt(this);
}
}
}
return this.m;
}
@Override // androidx.activity.ComponentActivity, o.GvH
public VLM.LWm getDefaultViewModelProviderFactory() {
int i = 2 % 2;
int i2 = y + 77;
r = i2 % 128;
Bundle bundle = null;
if (i2 % 2 != 0) {
super.getDefaultViewModelProviderFactory();
((C13068fPo.Sts) fOV.c(this, C13068fPo.Sts.class)).a();
getIntent();
throw null;
}
VLM.LWm defaultViewModelProviderFactory = super.getDefaultViewModelProviderFactory();
C13068fPo.LWm a = ((C13068fPo.Sts) fOV.c(this, C13068fPo.Sts.class)).a();
if (getIntent() != null) {
bundle = getIntent().getExtras();
} else {
int i3 = y + 69;
r = i3 % 128;
int i4 = i3 % 2;
}
return a.aBN_(this, bundle, defaultViewModelProviderFactory);
}
@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().getApplicationInfo().targetSdkVersion + 41), 2133847419 + ((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getApplicationInfo().targetSdkVersion, ((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getPackageName().codePointAt(10) - 172, (-1878024032) - View.MeasureSpec.getMode(0), (byte) (((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getResources().getString(com.scb.phone.R.string.fund_pay_credit_card_fragment).substring(0, 19).codePointAt(8) - 114), 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.hml_offline_success_remark_etb).substring(27, 28).length() + 71), ((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getResources().getString(com.scb.phone.R.string.root_checker_message).substring(CipherSuite.TLS_DHE_RSA_WITH_SEED_CBC_SHA, CipherSuite.TLS_RSA_WITH_AES_128_GCM_SHA256).codePointAt(1) + 2133847374, ((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getResources().getString(com.scb.phone.R.string.open_now_gift_msg).substring(4, 5).codePointAt(0) - 176, TextUtils.getOffsetAfter("", 0) - 1878024020, (byte) TextUtils.indexOf("", ""), objArr2);
int intValue = ((Integer) cls.getDeclaredMethod((String) objArr2[0], new Class[0]).invoke(null, new Object[0])).intValue() % 100000;
if (intValue < 99000 || intValue > 99999) {
Context baseContext = getBaseContext();
if (baseContext == null) {
int i2 = r + 115;
y = i2 % 128;
int i3 = i2 % 2;
Object[] objArr3 = new Object[1];
ay(new int[]{0, 26, CipherSuite.TLS_DH_DSS_WITH_CAMELLIA_128_CBC_SHA256, 20}, true, new byte[]{0, 1, 1, 1, 1, 1, 1, 0, 1, 0, 0, 1, 1, 0, 1, 0, 1, 0, 0, 1, 1, 1, 0, 1, 0, 0}, objArr3);
Class<?> cls2 = Class.forName((String) objArr3[0]);
Object[] objArr4 = new Object[1];
ay(new int[]{26, 18, 0, 2}, false, new byte[]{1, 1, 1, 0, 1, 0, 1, 1, 0, 1, 1, 0, 0, 1, 0, 0, 1, 1}, objArr4);
baseContext = (Context) cls2.getMethod((String) objArr4[0], new Class[0]).invoke(null, null);
int i4 = r + 23;
y = i4 % 128;
int i5 = i4 % 2;
}
if (baseContext != null) {
int i6 = y + 33;
r = i6 % 128;
if (i6 % 2 != 0) {
baseContext.getApplicationContext();
throw null;
}
baseContext = baseContext.getApplicationContext();
}
if (baseContext != null) {
try {
Object obj = xzZ.y.get(125943855);
if (obj == null) {
obj = ((Class) xzZ.c(TextUtils.indexOf("", "", 0, 0) + 492, 5 - KeyEvent.normalizeMetaState(0), (char) (ExpandableListView.getPackedPositionChild(0L) + 1))).getMethod("a", null);
xzZ.y.put(125943855, obj);
}
Object invoke = ((Method) obj).invoke(null, null);
Object[] objArr5 = new Object[1];
ay(new int[]{44, 48, 0, 0}, false, new byte[]{1, 0, 1, 0, 1, 0, 1, 1, 1, 1, 1, 1, 0, 1, 1, 1, 0, 1, 1, 0, 1, 1, 1, 0, 1, 0, 1, 0, 0, 0, 1, 1, 0, 0, 1, 1, 1, 1, 1, 0, 0, 0, 1, 0, 0, 1, 1, 1}, objArr5);
String str = (String) objArr5[0];
Object[] objArr6 = new Object[1];
ax((short) ((Process.myPid() >> 22) - 29), (SystemClock.elapsedRealtime() > 0L ? 1 : (SystemClock.elapsedRealtime() == 0L ? 0 : -1)) + 2133847475, (ViewConfiguration.getScrollDefaultDelay() >> 16) - 61, ((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getResources().getString(com.scb.phone.R.string.scbs_account_detail_screen_empty_state).substring(45, 46).codePointAt(0) - 1878024060, (byte) (((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getPackageName().length() - 13), 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().getApplicationInfo().targetSdkVersion - 95), ((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getResources().getString(com.scb.phone.R.string.view_all_request).substring(17, 19).codePointAt(0) + 2133847508, ((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getApplicationInfo().targetSdkVersion - 95, ((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getResources().getString(com.scb.phone.R.string.preregistration_pin_body).substring(48, 49).length() - 1878024033, (byte) (((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getPackageName().codePointAt(2) - 109), objArr7);
String str3 = (String) objArr7[0];
Object[] objArr8 = new Object[1];
ay(new int[]{92, 74, 124, 55}, true, new byte[]{1, 0, 0, 0, 0, 1, 1, 1, 1, 0, 0, 0, 1, 0, 1, 0, 0, 1, 0, 1, 0, 0, 1, 1, 0, 1, 0, 0, 0, 1, 1, 1, 1, 0, 1, 0, 0, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 1, 1, 1, 0, 0, 0, 1, 1, 0, 1, 1, 1, 0, 1, 0, 1, 1, 1, 0, 0, 1, 1, 0, 0, 1}, 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().getResources().getString(com.scb.phone.R.string.contact_info_mcmc_topup_document_receive_option_header).substring(0, 19).length() - 105), Color.argb(0, 0, 0, 0) + 2133847604, ((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getResources().getString(com.scb.phone.R.string.isprint_force_set_new_pin_message).substring(22, 23).codePointAt(0) - 93, (-1878024072) - (ViewConfiguration.getTapTimeout() >> 16), (byte) (((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getResources().getString(com.scb.phone.R.string.oops).substring(4, 5).length() - 1), objArr9);
String str5 = (String) objArr9[0];
Object[] objArr10 = new Object[1];
ay(new int[]{CipherSuite.TLS_DH_anon_WITH_AES_128_GCM_SHA256, 36, 0, 18}, true, new byte[]{1, 0, 1, 0, 1, 1, 1, 1, 0, 1, 1, 0, 1, 1, 0, 0, 1, 0, 0, 0, 0, 1, 1, 0, 0, 0, 0, 1, 1, 1, 1, 0, 0, 1, 1, 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(487 - View.MeasureSpec.getSize(0), 5 - (ViewConfiguration.getMinimumFlingVelocity() >> 16), (char) (TextUtils.indexOf((CharSequence) "", '0', 0, 0) + 1))).getMethod("e", Context.class, String.class, String.class, String.class, String.class, Boolean.TYPE, String.class, String.class);
xzZ.y.put(1656189573, obj2);
}
((Method) obj2).invoke(invoke, objArr11);
int i7 = y + 45;
r = i7 % 128;
int i8 = i7 % 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 = y + 47;
r = i2 % 128;
int i3 = i2 % 2;
Context baseContext = getBaseContext();
if (baseContext == null) {
Object[] objArr = new Object[1];
ay(new int[]{0, 26, CipherSuite.TLS_DH_DSS_WITH_CAMELLIA_128_CBC_SHA256, 20}, true, new byte[]{0, 1, 1, 1, 1, 1, 1, 0, 1, 0, 0, 1, 1, 0, 1, 0, 1, 0, 0, 1, 1, 1, 0, 1, 0, 0}, objArr);
Class<?> cls = Class.forName((String) objArr[0]);
Object[] objArr2 = new Object[1];
ay(new int[]{26, 18, 0, 2}, false, new byte[]{1, 1, 1, 0, 1, 0, 1, 1, 0, 1, 1, 0, 0, 1, 0, 0, 1, 1}, objArr2);
baseContext = (Context) cls.getMethod((String) objArr2[0], new Class[0]).invoke(null, null);
int i4 = r + 113;
y = i4 % 128;
int i5 = i4 % 2;
}
if (baseContext != null) {
baseContext = baseContext.getApplicationContext();
}
if (baseContext != null) {
try {
Object obj = xzZ.y.get(125943855);
if (obj == null) {
obj = ((Class) xzZ.c(View.getDefaultSize(0, 0) + 492, Drawable.resolveOpacity(0, 0) + 5, (char) TextUtils.indexOf("", ""))).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((AudioTrack.getMaxVolume() > BitmapDescriptorFactory.HUE_RED ? 1 : (AudioTrack.getMaxVolume() == BitmapDescriptorFactory.HUE_RED ? 0 : -1)) + 486, MotionEvent.axisFromString("") + 6, (char) ExpandableListView.getPackedPositionType(0L))).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();
}
private static void ay(int[] iArr, boolean z, byte[] bArr, Object[] objArr) {
int i = 2 % 2;
TVH tvh = new TVH();
int i2 = 0;
int i3 = iArr[0];
int i4 = iArr[1];
int i5 = iArr[2];
int i6 = iArr[3];
char[] cArr = q;
if (cArr != null) {
int length = cArr.length;
char[] cArr2 = new char[length];
int i7 = 0;
while (i7 < length) {
try {
Object[] objArr2 = new Object[1];
objArr2[i2] = Integer.valueOf(cArr[i7]);
Object obj = xzZ.y.get(1645349359);
if (obj == null) {
Class cls = (Class) xzZ.c(223 - KeyEvent.normalizeMetaState(i2), (ViewConfiguration.getWindowTouchSlop() >> 8) + 5, (char) (41977 - (Process.myPid() >> 22)));
byte b = (byte) i2;
byte b2 = b;
Object[] objArr3 = new Object[1];
az(b, b2, b2, objArr3);
obj = cls.getMethod((String) objArr3[0], Integer.TYPE);
xzZ.y.put(1645349359, obj);
}
cArr2[i7] = ((Character) ((Method) obj).invoke(null, objArr2)).charValue();
i7++;
i2 = 0;
} catch (Throwable th) {
Throwable cause = th.getCause();
if (cause == null) {
throw th;
}
throw cause;
}
}
int i8 = $10 + 93;
$11 = i8 % 128;
int i9 = i8 % 2;
cArr = cArr2;
}
char[] cArr3 = new char[i4];
System.arraycopy(cArr, i3, cArr3, 0, i4);
if (bArr != null) {
char[] cArr4 = new char[i4];
tvh.c = 0;
char c = 0;
while (tvh.c < i4) {
int i10 = $10 + 99;
$11 = i10 % 128;
if (i10 % 2 != 0 ? bArr[tvh.c] != 1 : bArr[tvh.c] != 1) {
int i11 = tvh.c;
Object[] objArr4 = {Integer.valueOf(cArr3[tvh.c]), Integer.valueOf(c)};
Object obj2 = xzZ.y.get(1084521042);
if (obj2 == null) {
obj2 = ((Class) xzZ.c(15 - View.MeasureSpec.getSize(0), (ViewConfiguration.getDoubleTapTimeout() >> 16) + 5, (char) (58134 - View.resolveSize(0, 0)))).getMethod("H", Integer.TYPE, Integer.TYPE);
xzZ.y.put(1084521042, obj2);
}
cArr4[i11] = ((Character) ((Method) obj2).invoke(null, objArr4)).charValue();
} else {
int i12 = tvh.c;
Object[] objArr5 = {Integer.valueOf(cArr3[tvh.c]), Integer.valueOf(c)};
Object obj3 = xzZ.y.get(850398076);
if (obj3 == null) {
obj3 = ((Class) xzZ.c(502 - KeyEvent.normalizeMetaState(0), 6 - (ViewConfiguration.getScrollFriction() > BitmapDescriptorFactory.HUE_RED ? 1 : (ViewConfiguration.getScrollFriction() == BitmapDescriptorFactory.HUE_RED ? 0 : -1)), (char) (Drawable.resolveOpacity(0, 0) + 54))).getMethod("F", Integer.TYPE, Integer.TYPE);
xzZ.y.put(850398076, obj3);
}
cArr4[i12] = ((Character) ((Method) obj3).invoke(null, objArr5)).charValue();
}
c = cArr4[tvh.c];
Object[] objArr6 = {tvh, tvh};
Object obj4 = xzZ.y.get(1698744941);
if (obj4 == null) {
Class cls2 = (Class) xzZ.c(402 - (ViewConfiguration.getKeyRepeatDelay() >> 16), ImageFormat.getBitsPerPixel(0) + 6, (char) (21608 - KeyEvent.normalizeMetaState(0)));
byte b3 = (byte) ($$h & 11);
byte b4 = (byte) (b3 - 2);
Object[] objArr7 = new Object[1];
az(b3, b4, b4, objArr7);
obj4 = cls2.getMethod((String) objArr7[0], Object.class, Object.class);
xzZ.y.put(1698744941, obj4);
}
((Method) obj4).invoke(null, objArr6);
}
cArr3 = cArr4;
}
if (i6 > 0) {
char[] cArr5 = new char[i4];
System.arraycopy(cArr3, 0, cArr5, 0, i4);
int i13 = i4 - i6;
System.arraycopy(cArr5, 0, cArr3, i13, i6);
System.arraycopy(cArr5, i6, cArr3, 0, i13);
int i14 = $10 + 89;
$11 = i14 % 128;
int i15 = i14 % 2;
}
if (z) {
char[] cArr6 = new char[i4];
int i16 = 0;
while (true) {
tvh.c = i16;
if (tvh.c >= i4) {
break;
}
cArr6[tvh.c] = cArr3[(i4 - tvh.c) - 1];
i16 = tvh.c + 1;
}
cArr3 = cArr6;
}
if (i5 > 0) {
int i17 = 0;
while (true) {
tvh.c = i17;
if (tvh.c >= i4) {
break;
}
int i18 = $11 + 55;
$10 = i18 % 128;
int i19 = i18 % 2;
cArr3[tvh.c] = (char) (cArr3[tvh.c] - iArr[2]);
i17 = tvh.c + 1;
}
}
objArr[0] = new String(cArr3);
}
/* JADX WARN: Code restructure failed: missing block: B:30:0x0021, code lost:
r7 = new java.lang.Object[1];
ay(new int[]{0, 26, org.bouncycastle.crypto.tls.CipherSuite.TLS_DH_DSS_WITH_CAMELLIA_128_CBC_SHA256, 20}, true, new byte[]{0, 1, 1, 1, 1, 1, 1, 0, 1, 0, 0, 1, 1, 0, 1, 0, 1, 0, 0, 1, 1, 1, 0, 1, 0, 0}, r7);
r1 = java.lang.Class.forName((java.lang.String) r7[0]);
r7 = new java.lang.Object[1];
ay(new int[]{26, 18, 0, 2}, false, new byte[]{1, 1, 1, 0, 1, 0, 1, 1, 0, 1, 1, 0, 0, 1, 0, 0, 1, 1}, r7);
r1 = (android.content.Context) r1.getMethod((java.lang.String) r7[0], new java.lang.Class[0]).invoke(null, null);
*/
/* JADX WARN: Code restructure failed: missing block: B:32:0x001f, code lost:
if (r1 == null) goto L9;
*/
/* JADX WARN: Code restructure failed: missing block: B:4:0x0018, code lost:
if (r1 == null) goto L9;
*/
@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 onPause() {
/*
Method dump skipped, instructions count: 297
To view this dump add '--comments-level debug' option
*/
throw new UnsupportedOperationException("Method not decompiled: o.AbstractActivityC8298dGy.onPause():void");
}
/* JADX WARN: Removed duplicated region for block: B:14:0x01c6 */
/*
Code decompiled incorrectly, please refer to instructions dump.
To view partially-correct add '--show-bad-code' argument
*/
private static void ax(short r17, int r18, int r19, int r20, byte r21, java.lang.Object[] r22) {
/*
Method dump skipped, instructions count: 770
To view this dump add '--comments-level debug' option
*/
throw new UnsupportedOperationException("Method not decompiled: o.AbstractActivityC8298dGy.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 = y + 93;
r = i2 % 128;
int i3 = i2 % 2;
super.attachBaseContext(context);
Object[] objArr = new Object[1];
ax((short) ((ViewConfiguration.getScrollBarFadeDuration() >> 16) + 75), 2133847453 + (ViewConfiguration.getScrollBarFadeDuration() >> 16), (-62) - TextUtils.lastIndexOf("", '0', 0, 0), (-1878024032) - ((Process.getThreadPriority(0) + 20) >> 6), (byte) Gravity.getAbsoluteGravity(0, 0), objArr);
Class<?> cls = Class.forName((String) objArr[0]);
Object[] objArr2 = new Object[1];
ax((short) (72 - View.MeasureSpec.getSize(0)), TextUtils.indexOf("", "", 0, 0) + 2133847471, (ViewConfiguration.getScrollBarSize() >> 8) - 61, (Process.getElapsedCpuTime() > 0L ? 1 : (Process.getElapsedCpuTime() == 0L ? 0 : -1)) - 1878024021, (byte) (1 - (Process.getElapsedCpuTime() > 0L ? 1 : (Process.getElapsedCpuTime() == 0L ? 0 : -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 applicationContext = context != null ? context.getApplicationContext() : context;
if (applicationContext != null) {
int i4 = y + 111;
r = i4 % 128;
int i5 = i4 % 2;
try {
Object obj = xzZ.y.get(125943855);
if (obj == null) {
obj = ((Class) xzZ.c(493 - (ViewConfiguration.getGlobalActionKeyTimeout() > 0L ? 1 : (ViewConfiguration.getGlobalActionKeyTimeout() == 0L ? 0 : -1)), 5 - TextUtils.getTrimmedLength(""), (char) Color.alpha(0))).getMethod("a", null);
xzZ.y.put(125943855, obj);
}
Object invoke = ((Method) obj).invoke(null, null);
Object[] objArr3 = new Object[1];
ay(new int[]{44, 48, 0, 0}, false, new byte[]{1, 0, 1, 0, 1, 0, 1, 1, 1, 1, 1, 1, 0, 1, 1, 1, 0, 1, 1, 0, 1, 1, 1, 0, 1, 0, 1, 0, 0, 0, 1, 1, 0, 0, 1, 1, 1, 1, 1, 0, 0, 0, 1, 0, 0, 1, 1, 1}, objArr3);
String str = (String) objArr3[0];
Object[] objArr4 = new Object[1];
ax((short) ((-29) - (ViewConfiguration.getEdgeSlop() >> 16)), 2133847477 - (ViewConfiguration.getScrollFriction() > BitmapDescriptorFactory.HUE_RED ? 1 : (ViewConfiguration.getScrollFriction() == BitmapDescriptorFactory.HUE_RED ? 0 : -1)), (ExpandableListView.getPackedPositionForChild(0, 0) > 0L ? 1 : (ExpandableListView.getPackedPositionForChild(0, 0) == 0L ? 0 : -1)) - 60, View.MeasureSpec.getMode(0) - 1878024028, (byte) (ViewConfiguration.getWindowTouchSlop() >> 8), objArr4);
String str2 = (String) objArr4[0];
Object[] objArr5 = new Object[1];
ax((short) ((-61) - (ViewConfiguration.getScrollDefaultDelay() >> 16)), 2133847540 - ExpandableListView.getPackedPositionGroup(0L), ExpandableListView.getPackedPositionType(0L) - 61, (-1878024033) + (ViewConfiguration.getGlobalActionKeyTimeout() > 0L ? 1 : (ViewConfiguration.getGlobalActionKeyTimeout() == 0L ? 0 : -1)), (byte) View.getDefaultSize(0, 0), objArr5);
String str3 = (String) objArr5[0];
Object[] objArr6 = new Object[1];
ay(new int[]{92, 74, 124, 55}, true, new byte[]{1, 0, 0, 0, 0, 1, 1, 1, 1, 0, 0, 0, 1, 0, 1, 0, 0, 1, 0, 1, 0, 0, 1, 1, 0, 1, 0, 0, 0, 1, 1, 1, 1, 0, 1, 0, 0, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 1, 1, 1, 0, 0, 0, 1, 1, 0, 1, 1, 1, 0, 1, 0, 1, 1, 1, 0, 0, 1, 1, 0, 0, 1}, objArr6);
String str4 = (String) objArr6[0];
Object[] objArr7 = new Object[1];
ax((short) ((Process.getElapsedCpuTime() > 0L ? 1 : (Process.getElapsedCpuTime() == 0L ? 0 : -1)) - 87), View.resolveSize(0, 0) + 2133847604, (-16777277) - Color.rgb(0, 0, 0), ExpandableListView.getPackedPositionType(0L) - 1878024072, (byte) Color.alpha(0), objArr7);
String str5 = (String) objArr7[0];
Object[] objArr8 = new Object[1];
ay(new int[]{CipherSuite.TLS_DH_anon_WITH_AES_128_GCM_SHA256, 36, 0, 18}, true, new byte[]{1, 0, 1, 0, 1, 1, 1, 1, 0, 1, 1, 0, 1, 1, 0, 0, 1, 0, 0, 0, 0, 1, 1, 0, 0, 0, 0, 1, 1, 1, 1, 0, 0, 1, 1, 0}, 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(TextUtils.getTrimmedLength("") + 487, 5 - TextUtils.getTrimmedLength(""), (char) ((-1) - (ExpandableListView.getPackedPositionForChild(0, 0) > 0L ? 1 : (ExpandableListView.getPackedPositionForChild(0, 0) == 0L ? 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;
}
}
}
int i6 = r + 47;
y = i6 % 128;
int i7 = i6 % 2;
}
@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 = r + 101;
y = i2 % 128;
int i3 = i2 % 2;
super.onStart();
int i4 = r + 61;
y = i4 % 128;
if (i4 % 2 != 0) {
return;
}
Object obj = null;
obj.hashCode();
throw null;
}
}