what-the-bank/sources/com/scb/phone/view/activity/ndid/Hilt_NdidIdpSharingStatemen...

667 lines
34 KiB
Java
Raw Normal View History

2024-07-27 18:17:47 +07:00
package com.scb.phone.view.activity.ndid;
import android.content.Context;
import android.graphics.Color;
import android.graphics.ImageFormat;
import android.media.AudioTrack;
import android.os.Bundle;
import android.os.Process;
import android.os.SystemClock;
import android.text.AndroidCharacter;
import android.text.TextUtils;
import android.util.TypedValue;
import android.view.Gravity;
import android.view.KeyEvent;
import android.view.MotionEvent;
import android.view.View;
import android.view.ViewConfiguration;
import com.google.android.gms.maps.model.BitmapDescriptorFactory;
import com.kofax.mobile.sdk._internal.impl.extraction.kta.KtaJsonExactionHelper;
import com.scb.phone.R;
import com.scb.phone.view.activity.BaseActivity;
import java.lang.reflect.Method;
import net.sf.scuba.smartcards.ISO7816;
import net.sf.scuba.smartcards.ISOFileInfo;
import o.C13068fPo;
import o.C13073fPt;
import o.C4403bZM;
import o.InterfaceC11296ecf;
import o.InterfaceC17278vUG;
import o.TVH;
import o.VLM;
import o.fOV;
import o.fPA;
import o.xzZ;
import org.bouncycastle.crypto.tls.CipherSuite;
/* loaded from: classes5.dex */
public abstract class Hilt_NdidIdpSharingStatementSelectAccountActivity extends BaseActivity implements fPA {
private volatile C13073fPt k;
private static final byte[] $$g = {53, ISOFileInfo.FMD_BYTE, ISO7816.INS_READ_BINARY_STAMPED, -81};
private static final int $$h = CipherSuite.TLS_PSK_WITH_NULL_SHA256;
private static int $10 = 0;
private static int $11 = 1;
private static int r = 0;
private static int s = 1;
/* renamed from: o, reason: collision with root package name */
private static int[] f7604o = {516692537, -955016863, -39745394, -1338968357, -959087835, -1473991470, -986946055, 1192663854, 1454559234, -1929215254, 1547894330, 173275414, -1915669281, 1696069509, -875962112, -336373188, 921407144, 643571516};
private static char[] m = {40009, 40076, 40075, 40067, 40095, 40056, 40161, 40152, 40154, 40162, 40172, 40168, 40148, 40144, 40168, 40172, 40174, 40172, 40170, 40174, 40167, 40160, 40175, 39953, 39993, 39994, 40001, 40007, 40000, 40001, 39992, 39999, 39992, 40002, 40001, 39998, 39999, 39999, 39996, 39996, 39997, 40000, 40000, 39997, 40006, 40041, 40007, 40007, 40042, 40000, 39998, 39992, 39992, 40007, 40040, 40005, 40004, 40005, 40006, 40006, 39997, 40000, 40006, 40006, 40001, 39999, 39996, 40007, 40042, 40040, 40046, 40040, 40007, 40006, 40006, 40007, 40000, 39997, 40004, 40006, 39992, 39999, 39999, 39999, 39997, 39999, 39992};
private final Object l = 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 bh(int r5, short r6, byte r7, java.lang.Object[] r8) {
/*
int r5 = 104 - r5
int r7 = r7 * 2
int r0 = r7 + 1
int r6 = r6 * 2
int r6 = r6 + 4
byte[] r1 = com.scb.phone.view.activity.ndid.Hilt_NdidIdpSharingStatementSelectAccountActivity.$$g
byte[] r0 = new byte[r0]
r2 = 0
if (r1 != 0) goto L14
r4 = r7
r3 = r2
goto L26
L14:
r3 = r2
L15:
byte r4 = (byte) r5
r0[r3] = r4
if (r3 != r7) 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 r5 = r5 + r4
goto L15
*/
throw new UnsupportedOperationException("Method not decompiled: com.scb.phone.view.activity.ndid.Hilt_NdidIdpSharingStatementSelectAccountActivity.bh(int, short, byte, java.lang.Object[]):void");
}
/* JADX INFO: Access modifiers changed from: package-private */
public Hilt_NdidIdpSharingStatementSelectAccountActivity() {
addOnContextAvailableListener(new InterfaceC17278vUG(this) { // from class: com.scb.phone.view.activity.ndid.Hilt_NdidIdpSharingStatementSelectAccountActivity.3
private Hilt_NdidIdpSharingStatementSelectAccountActivity a;
{
this.a = this;
}
@Override // o.InterfaceC17278vUG
public final void a(Context context) {
Hilt_NdidIdpSharingStatementSelectAccountActivity hilt_NdidIdpSharingStatementSelectAccountActivity = this.a;
if (hilt_NdidIdpSharingStatementSelectAccountActivity.b) {
return;
}
hilt_NdidIdpSharingStatementSelectAccountActivity.b = true;
((InterfaceC11296ecf) hilt_NdidIdpSharingStatementSelectAccountActivity.y_()).b((NdidIdpSharingStatementSelectAccountActivity) hilt_NdidIdpSharingStatementSelectAccountActivity);
}
});
}
@Override // o.fPC
public final Object y_() {
int i = 2 % 2;
int i2 = s + 49;
r = i2 % 128;
int i3 = i2 % 2;
Object y_ = f().y_();
int i4 = s + 71;
r = i4 % 128;
int i5 = i4 % 2;
return y_;
}
private C13073fPt f() {
if (this.k == null) {
synchronized (this.l) {
if (this.k == null) {
this.k = new C13073fPt(this);
}
}
}
return this.k;
}
@Override // androidx.activity.ComponentActivity, o.GvH
public VLM.LWm getDefaultViewModelProviderFactory() {
Bundle bundle;
int i = 2 % 2;
VLM.LWm defaultViewModelProviderFactory = super.getDefaultViewModelProviderFactory();
C13068fPo.LWm a = ((C13068fPo.Sts) fOV.c(this, C13068fPo.Sts.class)).a();
if (getIntent() != null) {
int i2 = r + 19;
s = i2 % 128;
int i3 = i2 % 2;
bundle = getIntent().getExtras();
int i4 = s + 63;
r = i4 % 128;
if (i4 % 2 != 0) {
int i5 = 2 / 5;
}
} else {
int i6 = r + 59;
s = i6 % 128;
int i7 = i6 % 2;
bundle = null;
}
return a.aBN_(this, bundle, defaultViewModelProviderFactory);
}
private static void aK(int[] iArr, int i, Object[] objArr) {
char c;
int i2;
int i3 = 2 % 2;
C4403bZM c4403bZM = new C4403bZM();
char[] cArr = new char[4];
char[] cArr2 = new char[iArr.length * 2];
int[] iArr2 = f7604o;
int i4 = 729798706;
int i5 = 16;
int i6 = 1;
int i7 = 0;
if (iArr2 != null) {
int length = iArr2.length;
int[] iArr3 = new int[length];
int i8 = 0;
while (i8 < length) {
try {
Object[] objArr2 = new Object[i6];
objArr2[0] = Integer.valueOf(iArr2[i8]);
Object obj = xzZ.y.get(729798706);
if (obj == null) {
obj = ((Class) xzZ.c(14 - ImageFormat.getBitsPerPixel(0), 5 - (ViewConfiguration.getFadingEdgeLength() >> i5), (char) ((KeyEvent.getMaxKeyCode() >> 16) + 58134))).getMethod("i", Integer.TYPE);
xzZ.y.put(729798706, obj);
}
iArr3[i8] = ((Integer) ((Method) obj).invoke(null, objArr2)).intValue();
i8++;
int i9 = $10 + 59;
$11 = i9 % 128;
int i10 = i9 % 2;
i5 = 16;
i6 = 1;
} catch (Throwable th) {
Throwable cause = th.getCause();
if (cause == null) {
throw th;
}
throw cause;
}
}
iArr2 = iArr3;
}
int length2 = iArr2.length;
int[] iArr4 = new int[length2];
int[] iArr5 = f7604o;
if (iArr5 != null) {
int length3 = iArr5.length;
int[] iArr6 = new int[length3];
int i11 = 0;
while (i11 < length3) {
try {
Object[] objArr3 = new Object[1];
objArr3[i7] = Integer.valueOf(iArr5[i11]);
Object obj2 = xzZ.y.get(Integer.valueOf(i4));
if (obj2 != null) {
i2 = i4;
c = 58134;
} else {
c = 58134;
Class cls = (Class) xzZ.c((ViewConfiguration.getTouchSlop() >> 8) + 15, (ViewConfiguration.getLongPressTimeout() >> 16) + 5, (char) (58134 - Color.blue(i7)));
Class<?>[] clsArr = new Class[1];
clsArr[i7] = Integer.TYPE;
obj2 = cls.getMethod("i", clsArr);
i2 = 729798706;
xzZ.y.put(729798706, obj2);
}
iArr6[i11] = ((Integer) ((Method) obj2).invoke(null, objArr3)).intValue();
i11++;
i4 = i2;
i7 = 0;
} catch (Throwable th2) {
Throwable cause2 = th2.getCause();
if (cause2 == null) {
throw th2;
}
throw cause2;
}
}
iArr5 = iArr6;
}
int i12 = i7;
System.arraycopy(iArr5, i12, iArr4, i12, length2);
c4403bZM.b = i12;
while (c4403bZM.b < iArr.length) {
int i13 = $10 + 95;
$11 = i13 % 128;
int i14 = i13 % 2;
cArr[0] = (char) (iArr[c4403bZM.b] >> 16);
cArr[1] = (char) iArr[c4403bZM.b];
cArr[2] = (char) (iArr[c4403bZM.b + 1] >> 16);
cArr[3] = (char) iArr[c4403bZM.b + 1];
c4403bZM.e = (cArr[0] << 16) + cArr[1];
c4403bZM.a = (cArr[2] << 16) + cArr[3];
C4403bZM.d(iArr4);
int i15 = 0;
for (int i16 = 16; i15 < i16; i16 = 16) {
c4403bZM.e ^= iArr4[i15];
Object[] objArr4 = {c4403bZM, Integer.valueOf(C4403bZM.d(c4403bZM.e)), c4403bZM, c4403bZM};
Object obj3 = xzZ.y.get(-1196964548);
if (obj3 == null) {
Class cls2 = (Class) xzZ.c(119 - (ViewConfiguration.getScrollFriction() > BitmapDescriptorFactory.HUE_RED ? 1 : (ViewConfiguration.getScrollFriction() == BitmapDescriptorFactory.HUE_RED ? 0 : -1)), Gravity.getAbsoluteGravity(0, 0) + 5, (char) (ViewConfiguration.getScrollDefaultDelay() >> 16));
byte b = (byte) 0;
byte b2 = b;
Object[] objArr5 = new Object[1];
bh(b, b2, b2, objArr5);
obj3 = cls2.getMethod((String) objArr5[0], Object.class, Integer.TYPE, Object.class, Object.class);
xzZ.y.put(-1196964548, obj3);
}
int intValue = ((Integer) ((Method) obj3).invoke(null, objArr4)).intValue();
c4403bZM.e = c4403bZM.a;
c4403bZM.a = intValue;
i15++;
}
int i17 = c4403bZM.e;
c4403bZM.e = c4403bZM.a;
c4403bZM.a = i17;
c4403bZM.a ^= iArr4[16];
c4403bZM.e ^= iArr4[17];
int i18 = c4403bZM.e;
int i19 = c4403bZM.a;
cArr[0] = (char) (c4403bZM.e >>> 16);
cArr[1] = (char) c4403bZM.e;
cArr[2] = (char) (c4403bZM.a >>> 16);
cArr[3] = (char) c4403bZM.a;
C4403bZM.d(iArr4);
cArr2[c4403bZM.b * 2] = cArr[0];
cArr2[(c4403bZM.b * 2) + 1] = cArr[1];
cArr2[(c4403bZM.b * 2) + 2] = cArr[2];
cArr2[(c4403bZM.b * 2) + 3] = cArr[3];
Object[] objArr6 = {c4403bZM, c4403bZM};
Object obj4 = xzZ.y.get(1914371176);
if (obj4 == null) {
Class cls3 = (Class) xzZ.c(99 - (ViewConfiguration.getZoomControlsTimeout() > 0L ? 1 : (ViewConfiguration.getZoomControlsTimeout() == 0L ? 0 : -1)), AndroidCharacter.getMirror('0') - '+', (char) Color.alpha(0));
byte b3 = (byte) 2;
byte b4 = (byte) (b3 - 2);
Object[] objArr7 = new Object[1];
bh(b3, b4, b4, objArr7);
obj4 = cls3.getMethod((String) objArr7[0], Object.class, Object.class);
xzZ.y.put(1914371176, obj4);
}
((Method) obj4).invoke(null, objArr6);
}
objArr[0] = new String(cArr2, 0, i);
}
/* JADX WARN: Code restructure failed: missing block: B:6:0x0085, code lost:
if (r1 > 99999) goto L10;
*/
@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 r17) {
/*
Method dump skipped, instructions count: 1080
To view this dump add '--comments-level debug' option
*/
throw new UnsupportedOperationException("Method not decompiled: com.scb.phone.view.activity.ndid.Hilt_NdidIdpSharingStatementSelectAccountActivity.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 = r + 53;
s = i2 % 128;
int i3 = i2 % 2;
Context baseContext = getBaseContext();
if (baseContext == null) {
int i4 = s + 9;
r = i4 % 128;
int i5 = i4 % 2;
Object[] objArr = new Object[1];
aK(new int[]{1953317781, -2140684847, 1637299153, -437850790, -1438554183, -2031508077, -262802656, -1929772935, 1939873879, -1796240844, -568945015, -345822635, -1082184478, 519811854}, ((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getResources().getString(R.string.investment_risk_purchase).substring(46, 47).length() + 25, objArr);
Class<?> cls = Class.forName((String) objArr[0]);
Object[] objArr2 = new Object[1];
bg(new int[]{5, 18, 121, 13}, false, new byte[]{1, 0, 1, 1, 0, 0, 1, 0, 0, 1, 1, 0, 1, 1, 0, 1, 0, 1}, objArr2);
baseContext = (Context) cls.getMethod((String) objArr2[0], new Class[0]).invoke(null, null);
}
if (baseContext != null) {
baseContext = baseContext.getApplicationContext();
}
if (baseContext != null) {
int i6 = r + 91;
s = i6 % 128;
try {
if (i6 % 2 == 0) {
Object obj = xzZ.y.get(125943855);
if (obj == null) {
obj = ((Class) xzZ.c(492 - Color.green(0), (ViewConfiguration.getGlobalActionKeyTimeout() > 0L ? 1 : (ViewConfiguration.getGlobalActionKeyTimeout() == 0L ? 0 : -1)) + 4, (char) (ImageFormat.getBitsPerPixel(0) + 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.getScrollBarSize() >> 8) + 487, TextUtils.getTrimmedLength("") + 5, (char) (AudioTrack.getMinVolume() > BitmapDescriptorFactory.HUE_RED ? 1 : (AudioTrack.getMinVolume() == BitmapDescriptorFactory.HUE_RED ? 0 : -1)))).getMethod(KtaJsonExactionHelper.OBJECT, Context.class);
xzZ.y.put(1378719468, obj2);
}
((Method) obj2).invoke(invoke, objArr3);
throw null;
}
Object obj3 = xzZ.y.get(125943855);
if (obj3 == null) {
obj3 = ((Class) xzZ.c(492 - (TypedValue.complexToFraction(0, BitmapDescriptorFactory.HUE_RED, BitmapDescriptorFactory.HUE_RED) > BitmapDescriptorFactory.HUE_RED ? 1 : (TypedValue.complexToFraction(0, BitmapDescriptorFactory.HUE_RED, BitmapDescriptorFactory.HUE_RED) == BitmapDescriptorFactory.HUE_RED ? 0 : -1)), 4 - TextUtils.lastIndexOf("", '0'), (char) (ViewConfiguration.getScrollBarFadeDuration() >> 16))).getMethod("a", null);
xzZ.y.put(125943855, obj3);
}
Object invoke2 = ((Method) obj3).invoke(null, null);
Object[] objArr4 = {baseContext};
Object obj4 = xzZ.y.get(1378719468);
if (obj4 == null) {
obj4 = ((Class) xzZ.c(KeyEvent.normalizeMetaState(0) + 487, 4 - TextUtils.indexOf((CharSequence) "", '0', 0), (char) (1 - (SystemClock.elapsedRealtimeNanos() > 0L ? 1 : (SystemClock.elapsedRealtimeNanos() == 0L ? 0 : -1))))).getMethod(KtaJsonExactionHelper.OBJECT, Context.class);
xzZ.y.put(1378719468, obj4);
}
((Method) obj4).invoke(invoke2, objArr4);
} catch (Throwable th) {
Throwable cause = th.getCause();
if (cause == null) {
throw th;
}
throw cause;
}
}
super.onResume();
}
private static void bg(int[] iArr, boolean z, byte[] bArr, Object[] objArr) {
int i;
int i2 = 2 % 2;
TVH tvh = new TVH();
int i3 = 0;
int i4 = iArr[0];
int i5 = iArr[1];
int i6 = iArr[2];
int i7 = iArr[3];
char[] cArr = m;
if (cArr != null) {
int length = cArr.length;
char[] cArr2 = new char[length];
int i8 = $10 + 47;
$11 = i8 % 128;
int i9 = i8 % 2;
int i10 = 0;
while (i10 < length) {
try {
Object[] objArr2 = new Object[1];
objArr2[i3] = Integer.valueOf(cArr[i10]);
Object obj = xzZ.y.get(1645349359);
if (obj == null) {
Class cls = (Class) xzZ.c((ViewConfiguration.getScrollBarFadeDuration() >> 16) + 223, 5 - (ViewConfiguration.getKeyRepeatDelay() >> 16), (char) (Color.argb(i3, i3, i3, i3) + 41977));
byte b = (byte) i3;
Object[] objArr3 = new Object[1];
bh((byte) 33, b, b, objArr3);
obj = cls.getMethod((String) objArr3[0], Integer.TYPE);
xzZ.y.put(1645349359, obj);
}
cArr2[i10] = ((Character) ((Method) obj).invoke(null, objArr2)).charValue();
i10++;
i3 = 0;
} catch (Throwable th) {
Throwable cause = th.getCause();
if (cause == null) {
throw th;
}
throw cause;
}
}
cArr = cArr2;
}
char[] cArr3 = new char[i5];
System.arraycopy(cArr, i4, cArr3, 0, i5);
if (bArr != null) {
char[] cArr4 = new char[i5];
tvh.c = 0;
char c = 0;
while (tvh.c < i5) {
if (bArr[tvh.c] == 1) {
int i11 = tvh.c;
Object[] objArr4 = {Integer.valueOf(cArr3[tvh.c]), Integer.valueOf(c)};
Object obj2 = xzZ.y.get(850398076);
if (obj2 == null) {
obj2 = ((Class) xzZ.c(TextUtils.getOffsetAfter("", 0) + 502, ImageFormat.getBitsPerPixel(0) + 6, (char) ((ViewConfiguration.getDoubleTapTimeout() >> 16) + 54))).getMethod("F", Integer.TYPE, Integer.TYPE);
xzZ.y.put(850398076, 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(1084521042);
if (obj3 == null) {
obj3 = ((Class) xzZ.c(MotionEvent.axisFromString("") + 16, 5 - (Process.myTid() >> 22), (char) (58134 - (ViewConfiguration.getScrollBarFadeDuration() >> 16)))).getMethod("H", Integer.TYPE, Integer.TYPE);
xzZ.y.put(1084521042, 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 - (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)), TextUtils.getCapsMode("", 0, 0) + 5, (char) (View.resolveSizeAndState(0, 0, 0) + 21608));
byte b2 = (byte) 0;
Object[] objArr7 = new Object[1];
bh((byte) 31, b2, b2, objArr7);
obj4 = cls2.getMethod((String) objArr7[0], Object.class, Object.class);
xzZ.y.put(1698744941, obj4);
}
((Method) obj4).invoke(null, objArr6);
}
cArr3 = cArr4;
}
if (i7 > 0) {
char[] cArr5 = new char[i5];
i = 0;
System.arraycopy(cArr3, 0, cArr5, 0, i5);
int i13 = i5 - i7;
System.arraycopy(cArr5, 0, cArr3, i13, i7);
System.arraycopy(cArr5, i7, cArr3, 0, i13);
} else {
i = 0;
}
if (z) {
char[] cArr6 = new char[i5];
while (true) {
tvh.c = i;
if (tvh.c >= i5) {
break;
}
int i14 = $11 + 65;
$10 = i14 % 128;
int i15 = i14 % 2;
cArr6[tvh.c] = cArr3[(i5 - tvh.c) - 1];
i = tvh.c + 1;
}
cArr3 = cArr6;
}
if (i6 > 0) {
int i16 = $11 + 99;
$10 = i16 % 128;
int i17 = i16 % 2;
int i18 = 0;
while (true) {
tvh.c = i18;
if (tvh.c >= i5) {
break;
}
int i19 = $10 + 35;
$11 = i19 % 128;
int i20 = i19 % 2;
cArr3[tvh.c] = (char) (cArr3[tvh.c] - iArr[2]);
i18 = tvh.c + 1;
}
}
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 onPause() {
int i = 2 % 2;
Context baseContext = getBaseContext();
if (baseContext == null) {
Object[] objArr = new Object[1];
aK(new int[]{1953317781, -2140684847, 1637299153, -437850790, -1438554183, -2031508077, -262802656, -1929772935, 1939873879, -1796240844, -568945015, -345822635, -1082184478, 519811854}, ((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getApplicationInfo().targetSdkVersion - 8, objArr);
Class<?> cls = Class.forName((String) objArr[0]);
Object[] objArr2 = new Object[1];
bg(new int[]{5, 18, 121, 13}, false, new byte[]{1, 0, 1, 1, 0, 0, 1, 0, 0, 1, 1, 0, 1, 1, 0, 1, 0, 1}, objArr2);
baseContext = (Context) cls.getMethod((String) objArr2[0], new Class[0]).invoke(null, null);
int i2 = s + 3;
r = i2 % 128;
int i3 = i2 % 2;
}
if (baseContext != null) {
baseContext = baseContext.getApplicationContext();
}
if (baseContext != null) {
int i4 = r + 95;
s = i4 % 128;
try {
if (i4 % 2 == 0) {
Object obj = xzZ.y.get(125943855);
if (obj == null) {
obj = ((Class) xzZ.c(View.MeasureSpec.getMode(0) + 492, 5 - (ViewConfiguration.getMaximumFlingVelocity() >> 16), (char) KeyEvent.keyCodeFromString(""))).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((ViewConfiguration.getScrollDefaultDelay() >> 16) + 487, 4 - ((byte) KeyEvent.getModifierMetaStateMask()), (char) (AudioTrack.getMinVolume() > BitmapDescriptorFactory.HUE_RED ? 1 : (AudioTrack.getMinVolume() == BitmapDescriptorFactory.HUE_RED ? 0 : -1)))).getMethod("c", Context.class);
xzZ.y.put(1633456013, obj2);
}
((Method) obj2).invoke(invoke, objArr3);
int i5 = 43 / 0;
} else {
Object obj3 = xzZ.y.get(125943855);
if (obj3 == null) {
obj3 = ((Class) xzZ.c(ImageFormat.getBitsPerPixel(0) + 493, 5 - (AudioTrack.getMinVolume() > BitmapDescriptorFactory.HUE_RED ? 1 : (AudioTrack.getMinVolume() == BitmapDescriptorFactory.HUE_RED ? 0 : -1)), (char) (Process.myPid() >> 22))).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(View.resolveSize(0, 0) + 487, (ViewConfiguration.getScrollFriction() > BitmapDescriptorFactory.HUE_RED ? 1 : (ViewConfiguration.getScrollFriction() == BitmapDescriptorFactory.HUE_RED ? 0 : -1)) + 4, (char) (1 - (AudioTrack.getMaxVolume() > BitmapDescriptorFactory.HUE_RED ? 1 : (AudioTrack.getMaxVolume() == BitmapDescriptorFactory.HUE_RED ? 0 : -1))))).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();
}
@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;
super.attachBaseContext(context);
Object[] objArr = new Object[1];
aK(new int[]{1953317781, -2140684847, 1637299153, -437850790, -888757809, 955158992, -46267171, 1628685437, 1409451341, -40585693}, 18 - (Process.myPid() >> 22), objArr);
Class<?> cls = Class.forName((String) objArr[0]);
Object[] objArr2 = new Object[1];
bg(new int[]{0, 5, 33, 0}, true, new byte[]{1, 1, 0, 0, 0}, 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) {
try {
Object obj = xzZ.y.get(125943855);
if (obj == null) {
obj = ((Class) xzZ.c(491 - TextUtils.lastIndexOf("", '0'), View.resolveSize(0, 0) + 5, (char) (Process.getGidForName("") + 1))).getMethod("a", null);
xzZ.y.put(125943855, obj);
}
Object invoke = ((Method) obj).invoke(null, null);
Object[] objArr3 = new Object[1];
aK(new int[]{741368007, -1546284826, -24710267, -1916535288, 1921125741, 1115953116, -509505972, -1137070672, 1984648734, -1256170010, -300646379, 618974046, -403091096, -2092565923, 1372635097, 1994422598, -1640843472, -839586244, -1016589766, -895884649, -1334159649, -1288716869, 750725807, -1159485704}, 48 - TextUtils.getTrimmedLength(""), objArr3);
String str = (String) objArr3[0];
Object[] objArr4 = new Object[1];
bg(new int[]{23, 64, 0, 47}, false, new byte[]{0, 1, 1, 1, 1, 1, 1, 1, 1, 0, 1, 1, 1, 1, 0, 1, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1, 1, 1, 0, 1, 0, 0, 0, 0, 1, 0, 1, 1, 1, 0, 1, 0, 1, 0, 0, 1, 0, 0, 1, 0, 1, 1, 0, 0, 1, 0, 0, 1, 0, 0, 0, 1, 0, 1}, objArr4);
String str2 = (String) objArr4[0];
Object[] objArr5 = new Object[1];
aK(new int[]{503312237, 719344723, 307712561, 1186701553, -493204822, -2030185899, 1266608355, -184077640, 395123316, -429365206, -980842238, 128932722, -2098388625, 1643381259, 1050043899, 114217666, -246410217, 1367323448, 2027121228, 1837453590, -1584122473, -1844816792, 1585556877, 1066099770, -1748313182, 1761895837, -917467734, -1676786618, 402619132, 724510210, -873702077, -290648922}, 65 - (AudioTrack.getMaxVolume() > BitmapDescriptorFactory.HUE_RED ? 1 : (AudioTrack.getMaxVolume() == BitmapDescriptorFactory.HUE_RED ? 0 : -1)), objArr5);
String str3 = (String) objArr5[0];
Object[] objArr6 = new Object[1];
aK(new int[]{1276375061, -1485753287, -138063217, -2115316075, -1066319619, -2011720713, 1786668589, 148343327, 1586678631, 307862754, -1538101424, -1420498068, 839441423, -23140215, -1358037748, -1288171373, 362020089, -1920887296, -498863061, -1522379314, -761219630, 1404626684, -1386535167, 1013317286, 1162303765, 2012140797, 546214617, -550080703, 829754858, 1162604494, -844230373, -363630221, -394340719, 2139513864, 49221759, 261364210, -372835195, 388320196}, 74 - Color.red(0), objArr6);
String str4 = (String) objArr6[0];
Object[] objArr7 = new Object[1];
aK(new int[]{1685225141, -577017474, 642901062, 415183267}, ((byte) KeyEvent.getModifierMetaStateMask()) + 6, objArr7);
String str5 = (String) objArr7[0];
Object[] objArr8 = new Object[1];
aK(new int[]{-659270422, -1488702415, 801488135, -1684377214, 1196091816, 1082747499, 2106202056, 538937248, 805142859, -110311807, 1989413189, 248366777, -64873431, -1869524095, -814854719, -2078128354, -384579875, 1377314556}, 36 - (ViewConfiguration.getWindowTouchSlop() >> 8), 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(487 - (ViewConfiguration.getMaximumDrawingCacheSize() >> 24), 5 - Color.alpha(0), (char) TextUtils.indexOf("", ""))).getMethod("e", Context.class, String.class, String.class, String.class, String.class, Boolean.TYPE, String.class, String.class);
xzZ.y.put(1656189573, obj2);
}
((Method) obj2).invoke(invoke, objArr9);
int i2 = s + 31;
r = i2 % 128;
int i3 = i2 % 2;
} catch (Throwable th) {
Throwable cause = th.getCause();
if (cause == null) {
throw th;
}
throw cause;
}
}
}
int i4 = s + 107;
r = i4 % 128;
if (i4 % 2 == 0) {
return;
}
Object obj3 = null;
obj3.hashCode();
throw null;
}
@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 + 9;
s = i2 % 128;
int i3 = i2 % 2;
super.onStart();
if (i3 == 0) {
int i4 = 90 / 0;
}
int i5 = r + 105;
s = i5 % 128;
if (i5 % 2 == 0) {
int i6 = 3 / 0;
}
}
}