what-the-bank/sources/com/scb/phone/view/activity/hml/Hilt_HmlETBLoanSetupActivit...

745 lines
39 KiB
Java
Raw Permalink Normal View History

2024-07-27 18:17:47 +07:00
package com.scb.phone.view.activity.hml;
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.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.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.R;
import com.scb.phone.view.activity.BaseActivityWithFragment;
import java.lang.reflect.Method;
import net.sf.scuba.smartcards.ISO7816;
import o.C13068fPo;
import o.C13073fPt;
import o.C4403bZM;
import o.InterfaceC17278vUG;
import o.InterfaceC8561dPE;
import o.TVH;
import o.VLM;
import o.fOV;
import o.fPA;
import o.xzZ;
import org.bouncycastle.crypto.tls.CipherSuite;
/* loaded from: classes4.dex */
public abstract class Hilt_HmlETBLoanSetupActivity extends BaseActivityWithFragment implements fPA {
private volatile C13073fPt b;
private final Object l = new Object();
private boolean m = false;
private static final byte[] $$p = {78, ISO7816.INS_DELETE_FILE, 113, -27};
private static final int $$q = 21;
private static int $10 = 0;
private static int $11 = 1;
private static int q = 0;
private static int s = 1;
private static int[] k = {-1570548913, 2092832169, 1415038551, -392757735, -2009493347, 1917073885, -1146513801, -2105934856, 1394892598, -687321878, 364846948, -1833553532, 1858894612, 1678787236, 21629156, 632022737, 162439071, 629834141};
/* renamed from: o, reason: collision with root package name */
private static char[] f7194o = {39997, 40056, 40044, 40020, 40045, 39993, 40041, 40040, 40032, 40038, 40021, 40045, 40061, 40037, 40036, 40036, 40037, 40032, 40025, 39996, 40004, 40059, 40035, 40012, 40002, 40045, 40039, 40059, 40032, 40034, 40044, 39993, 40040, 40007, 40006, 40006, 40007, 40000, 39997, 40004, 40006, 39992, 39999, 39999, 39999, 39997, 39999, 39992, 39998, 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, 39952, 40006, 40006, 39997, 40000, 40040, 40040, 40003, 40000, 40000, 39999, 39996, 39996, 39998, 40000, 40040, 40040, 40006, 40007, 40047, 40007, 39999, 39993, 39993, 39992, 39994, 39994, 39992, 39998, 40000, 40042, 40000, 40007, 40005, 39996, 39996, 40005, 40046, 40004, 40006, 40001, 39999, 39992, 39995, 39995, 40000, 40047, 40042, 40007, 39999, 39993, 40000, 40040, 40007, 39997, 39998, 40000, 40046, 40007, 40001, 40001, 39994, 39999, 40007, 40067, 40220, 40214, 40208, 40209, 40180, 40150, 40147, 40177, 40220, 40197, 40219, 40218, 40217, 40220, 40221, 40217, 40223, 40216, 40196, 40197, 40196, 40219, 40193, 40219, 40222, 40190, 40177, 40220, 40221, 40223, 40199, 40216, 40223, 40192, 40216, 40215, 40177, 40184, 40220, 40223, 40217, 40223, 40223, 40208, 40215, 40223, 40217, 40223, 40185, 40186, 40217, 40220, 40188, 40186, 40218, 40222, 40190, 40190, 40223, 40216, 40196, 40222, 40215, 40177, 40176, 40182, 40146, 40184, 40221, 40221, 40217, 40209, 40215, 39959, 39992, 39992, 39999, 39972, 40123, 40075, 40053, 40102, 40122, 40122, 40054, 40074, 40075, 40074, 40100, 40122, 40072, 40102, 40053, 40100, 40053, 40050, 40100, 40122, 40101, 40102, 40050, 40054, 40054, 40053, 40075, 40050, 40101, 40122, 40055, 40073, 40050, 40055, 40075, 40078};
/* JADX WARN: Multi-variable type inference failed */
/* JADX WARN: Removed duplicated region for block: B:10:0x0028 */
/* JADX WARN: Removed duplicated region for block: B:7:0x0020 */
/* JADX WARN: Type inference failed for: r8v2, types: [int] */
/* JADX WARN: Type inference failed for: r9v1, types: [int] */
/* JADX WARN: Type inference failed for: r9v6, types: [int] */
/* JADX WARN: Unsupported multi-entry loop pattern (BACK_EDGE: B:10:0x0028 -> B:4:0x002d). Please report as a decompilation issue!!! */
/*
Code decompiled incorrectly, please refer to instructions dump.
To view partially-correct add '--show-bad-code' argument
*/
private static void aC(int r7, short r8, byte r9, java.lang.Object[] r10) {
/*
int r8 = r8 * 3
int r8 = r8 + 4
int r9 = 104 - r9
byte[] r0 = com.scb.phone.view.activity.hml.Hilt_HmlETBLoanSetupActivity.$$p
int r7 = r7 * 3
int r7 = 1 - r7
byte[] r1 = new byte[r7]
r2 = 0
if (r0 != 0) goto L15
r3 = r9
r5 = r2
r9 = r8
goto L2d
L15:
r3 = r2
L16:
r6 = r9
r9 = r8
r8 = r6
byte r4 = (byte) r8
int r5 = r3 + 1
r1[r3] = r4
if (r5 != r7) goto L28
java.lang.String r7 = new java.lang.String
r7.<init>(r1, r2)
r10[r2] = r7
return
L28:
r3 = r0[r9]
r6 = r9
r9 = r8
r8 = r6
L2d:
int r8 = r8 + 1
int r9 = r9 + r3
r3 = r5
goto L16
*/
throw new UnsupportedOperationException("Method not decompiled: com.scb.phone.view.activity.hml.Hilt_HmlETBLoanSetupActivity.aC(int, short, byte, java.lang.Object[]):void");
}
/* JADX INFO: Access modifiers changed from: package-private */
public Hilt_HmlETBLoanSetupActivity() {
addOnContextAvailableListener(new InterfaceC17278vUG(this) { // from class: com.scb.phone.view.activity.hml.Hilt_HmlETBLoanSetupActivity.2
private Hilt_HmlETBLoanSetupActivity b;
{
this.b = this;
}
@Override // o.InterfaceC17278vUG
public final void a(Context context) {
this.b.f();
}
});
}
@Override // o.fPC
public final Object y_() {
int i = 2 % 2;
int i2 = q + 121;
s = i2 % 128;
int i3 = i2 % 2;
Object y_ = g().y_();
int i4 = s + 67;
q = i4 % 128;
if (i4 % 2 == 0) {
return y_;
}
throw null;
}
private C13073fPt g() {
if (this.b == null) {
synchronized (this.l) {
if (this.b == null) {
this.b = new C13073fPt(this);
}
}
}
return this.b;
}
protected void f() {
int i = 2 % 2;
int i2 = s + 105;
q = i2 % 128;
if (i2 % 2 != 0) {
throw null;
}
if (!this.m) {
this.m = true;
((InterfaceC8561dPE) y_()).b((HmlETBLoanSetupActivity) this);
}
int i3 = s + 19;
q = i3 % 128;
if (i3 % 2 != 0) {
int i4 = 72 / 0;
}
}
@Override // androidx.activity.ComponentActivity, o.GvH
public VLM.LWm getDefaultViewModelProviderFactory() {
int i = 2 % 2;
VLM.LWm defaultViewModelProviderFactory = super.getDefaultViewModelProviderFactory();
C13068fPo.LWm a = ((C13068fPo.Sts) fOV.c(this, C13068fPo.Sts.class)).a();
Bundle bundle = null;
if (getIntent() != null) {
int i2 = s + 91;
q = i2 % 128;
if (i2 % 2 != 0) {
getIntent().getExtras();
throw null;
}
bundle = getIntent().getExtras();
int i3 = s + 35;
q = i3 % 128;
int i4 = i3 % 2;
}
return a.aBN_(this, bundle, defaultViewModelProviderFactory);
}
@Override // com.scb.phone.view.activity.BaseActivityWithFragment, com.scb.phone.view.activity.BaseActivity, com.scb.phone.view.activity.PreLoadCheckActivity, com.akexorcist.localizationactivity.LocalizationActivity, androidx.appcompat.app.AppCompatActivity, androidx.fragment.app.FragmentActivity, androidx.activity.ComponentActivity, androidx.core.app.ComponentActivity, android.app.Activity
public void onCreate(Bundle bundle) {
int i = 2 % 2;
int i2 = q + 65;
s = i2 % 128;
int i3 = i2 % 2;
Object[] objArr = new Object[1];
ay(new int[]{-960134875, 524957818, 1660909201, -1081477254, -1678614610, 1788021519, -666167939, 581308055, -45669795, 475885041}, ((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getResources().getString(R.string.mw_edit_qr_amount_hint).substring(0, 11).length() + 7, objArr);
Class<?> cls = Class.forName((String) objArr[0]);
Object[] objArr2 = new Object[1];
aB(new int[]{0, 5, 0, 0}, false, new byte[]{1, 0, 0, 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 baseContext = getBaseContext();
if (baseContext == null) {
Object[] objArr3 = new Object[1];
aB(new int[]{5, 26, 0, 0}, true, new byte[]{0, 1, 0, 1, 0, 0, 1, 1, 1, 1, 1, 1, 1, 0, 1, 0, 0, 1, 1, 0, 1, 0, 1, 0, 0, 1}, objArr3);
Class<?> cls2 = Class.forName((String) objArr3[0]);
Object[] objArr4 = new Object[1];
ay(new int[]{-1173915339, 745925107, 1282793448, -1833696398, -490321381, -1989389463, -14186705, 913519394, 236110012, -369630148}, ((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getApplicationInfo().targetSdkVersion - 16, objArr4);
baseContext = (Context) cls2.getMethod((String) objArr4[0], new Class[0]).invoke(null, null);
}
if (baseContext != null) {
baseContext = baseContext.getApplicationContext();
}
if (baseContext != null) {
int i4 = q + 17;
s = i4 % 128;
int i5 = i4 % 2;
try {
Object obj = xzZ.y.get(125943855);
if (obj == null) {
obj = ((Class) xzZ.c((SystemClock.uptimeMillis() > 0L ? 1 : (SystemClock.uptimeMillis() == 0L ? 0 : -1)) + 491, (ViewConfiguration.getTouchSlop() >> 8) + 5, (char) (Process.myPid() >> 22))).getMethod("a", null);
xzZ.y.put(125943855, obj);
}
Object invoke = ((Method) obj).invoke(null, null);
Object[] objArr5 = new Object[1];
ay(new int[]{1631910397, -1124680204, -643937111, 1980577753, -1622718326, 518818201, -1552225066, -1614561006, -773411669, -25812480, 1861975241, 1312470768, 2110437487, -1041612086, -1817658885, -1474454494, -307478806, 739671788, 1295345241, -1119467407, 712929674, 698930681, -1100225858, 526836053}, ((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getPackageName().length() + 35, objArr5);
String str = (String) objArr5[0];
Object[] objArr6 = new Object[1];
aB(new int[]{31, 64, 0, 0}, false, new byte[]{1, 1, 0, 1, 1, 0, 0, 1, 0, 0, 1, 0, 0, 0, 1, 0, 1, 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}, objArr6);
String str2 = (String) objArr6[0];
Object[] objArr7 = new Object[1];
aB(new int[]{95, 64, 0, 0}, true, new byte[]{1, 0, 1, 1, 0, 1, 1, 1, 0, 0, 1, 1, 0, 0, 1, 1, 1, 1, 1, 1, 1, 0, 1, 1, 0, 0, 1, 1, 0, 0, 1, 0, 0, 1, 1, 0, 1, 1, 0, 1, 1, 1, 1, 1, 1, 0, 0, 1, 1, 0, 0, 0, 1, 0, 0, 1, 1, 0, 0, 0, 0, 1, 0, 1}, objArr7);
String str3 = (String) objArr7[0];
Object[] objArr8 = new Object[1];
aB(new int[]{CipherSuite.TLS_DHE_RSA_WITH_AES_256_GCM_SHA384, 74, CipherSuite.TLS_PSK_WITH_AES_256_GCM_SHA384, 0}, false, new byte[]{1, 0, 0, 0, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 1, 1, 0, 0, 1, 0, 1, 1, 1, 1, 0, 0, 0, 1, 0, 1, 1, 0, 0, 1, 0, 1, 0, 0, 1, 0, 1, 0, 0, 0, 1, 1, 1, 1, 0, 0, 0, 0, 1, 1, 0, 0, 1, 1, 0, 0, 1, 1, 1, 0, 1, 0, 1, 1, 1, 0, 1}, objArr8);
String str4 = (String) objArr8[0];
Object[] objArr9 = new Object[1];
aB(new int[]{233, 5, 0, 3}, true, new byte[]{0, 0, 1, 1, 0}, objArr9);
String str5 = (String) objArr9[0];
Object[] objArr10 = new Object[1];
aB(new int[]{238, 36, 76, 5}, true, null, 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(TextUtils.lastIndexOf("", '0', 0) + 488, KeyEvent.getDeadChar(0, 0) + 5, (char) (1 - (SystemClock.elapsedRealtimeNanos() > 0L ? 1 : (SystemClock.elapsedRealtimeNanos() == 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, objArr11);
} catch (Throwable th) {
Throwable cause = th.getCause();
if (cause == null) {
throw th;
}
throw cause;
}
}
}
super.onCreate(bundle);
}
private static void ay(int[] iArr, int i, Object[] objArr) {
int i2;
int[] iArr2;
int i3 = 2 % 2;
C4403bZM c4403bZM = new C4403bZM();
char[] cArr = new char[4];
char[] cArr2 = new char[iArr.length * 2];
int[] iArr3 = k;
int i4 = 58134;
int i5 = 729798706;
int i6 = 1;
int i7 = 0;
if (iArr3 != null) {
int length = iArr3.length;
int[] iArr4 = new int[length];
int i8 = 0;
while (i8 < length) {
try {
Object[] objArr2 = {Integer.valueOf(iArr3[i8])};
Object obj = xzZ.y.get(Integer.valueOf(i5));
if (obj == null) {
obj = ((Class) xzZ.c((ViewConfiguration.getZoomControlsTimeout() > 0L ? 1 : (ViewConfiguration.getZoomControlsTimeout() == 0L ? 0 : -1)) + 14, 5 - ((Process.getThreadPriority(0) + 20) >> 6), (char) (Drawable.resolveOpacity(0, 0) + i4))).getMethod("i", Integer.TYPE);
xzZ.y.put(729798706, obj);
}
iArr4[i8] = ((Integer) ((Method) obj).invoke(null, objArr2)).intValue();
i8++;
i4 = 58134;
i5 = 729798706;
} catch (Throwable th) {
Throwable cause = th.getCause();
if (cause == null) {
throw th;
}
throw cause;
}
}
iArr3 = iArr4;
}
int length2 = iArr3.length;
int[] iArr5 = new int[length2];
int[] iArr6 = k;
if (iArr6 != null) {
int i9 = $11 + 111;
$10 = i9 % 128;
int i10 = i9 % 2;
int length3 = iArr6.length;
int[] iArr7 = new int[length3];
int i11 = 0;
while (i11 < length3) {
Object[] objArr3 = new Object[i6];
objArr3[i7] = Integer.valueOf(iArr6[i11]);
Object obj2 = xzZ.y.get(729798706);
if (obj2 != null) {
iArr2 = iArr6;
} else {
obj2 = ((Class) xzZ.c(14 - TextUtils.indexOf((CharSequence) "", '0'), (-16777211) - Color.rgb(i7, i7, i7), (char) ((ViewConfiguration.getMaximumFlingVelocity() >> 16) + 58134))).getMethod("i", Integer.TYPE);
iArr2 = iArr6;
xzZ.y.put(729798706, obj2);
}
iArr7[i11] = ((Integer) ((Method) obj2).invoke(null, objArr3)).intValue();
i11++;
iArr6 = iArr2;
i6 = 1;
i7 = 0;
}
i2 = i7;
iArr6 = iArr7;
} else {
i2 = 0;
}
System.arraycopy(iArr6, i2, iArr5, i2, length2);
c4403bZM.b = i2;
while (c4403bZM.b < iArr.length) {
int i12 = $11 + 31;
$10 = i12 % 128;
int i13 = i12 % 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(iArr5);
int i14 = 0;
for (int i15 = 16; i14 < i15; i15 = 16) {
c4403bZM.e ^= iArr5[i14];
Object[] objArr4 = {c4403bZM, Integer.valueOf(C4403bZM.d(c4403bZM.e)), c4403bZM, c4403bZM};
Object obj3 = xzZ.y.get(-1196964548);
if (obj3 == null) {
Class cls = (Class) xzZ.c(TextUtils.getOffsetBefore("", 0) + 118, 5 - (AudioTrack.getMinVolume() > BitmapDescriptorFactory.HUE_RED ? 1 : (AudioTrack.getMinVolume() == BitmapDescriptorFactory.HUE_RED ? 0 : -1)), (char) (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)));
byte b = (byte) 0;
byte b2 = b;
Object[] objArr5 = new Object[1];
aC(b, b2, b2, objArr5);
obj3 = cls.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;
i14++;
}
int i16 = c4403bZM.e;
c4403bZM.e = c4403bZM.a;
c4403bZM.a = i16;
c4403bZM.a ^= iArr5[16];
c4403bZM.e ^= iArr5[17];
int i17 = c4403bZM.e;
int i18 = 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(iArr5);
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 cls2 = (Class) xzZ.c(Color.red(0) + 98, 5 - (AudioTrack.getMinVolume() > BitmapDescriptorFactory.HUE_RED ? 1 : (AudioTrack.getMinVolume() == BitmapDescriptorFactory.HUE_RED ? 0 : -1)), (char) TextUtils.getTrimmedLength(""));
byte b3 = (byte) 0;
byte b4 = b3;
Object[] objArr7 = new Object[1];
aC(b3, b4, (byte) (b4 + 2), objArr7);
obj4 = cls2.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);
}
@Override // com.scb.phone.view.activity.BaseActivityWithFragment, com.scb.phone.view.activity.BaseActivity, com.scb.phone.view.activity.PreLoadCheckActivity, com.akexorcist.localizationactivity.LocalizationActivity, androidx.appcompat.app.AppCompatActivity, androidx.fragment.app.FragmentActivity, androidx.activity.ComponentActivity, androidx.core.app.ComponentActivity, android.app.Activity
public void onResume() {
int i = 2 % 2;
int i2 = s + 15;
q = i2 % 128;
Object obj = null;
if (i2 % 2 == 0) {
Context baseContext = getBaseContext();
if (baseContext == null) {
Object[] objArr = new Object[1];
aB(new int[]{5, 26, 0, 0}, true, new byte[]{0, 1, 0, 1, 0, 0, 1, 1, 1, 1, 1, 1, 1, 0, 1, 0, 0, 1, 1, 0, 1, 0, 1, 0, 0, 1}, objArr);
Class<?> cls = Class.forName((String) objArr[0]);
Object[] objArr2 = new Object[1];
ay(new int[]{-1173915339, 745925107, 1282793448, -1833696398, -490321381, -1989389463, -14186705, 913519394, 236110012, -369630148}, (ViewConfiguration.getJumpTapTimeout() >> 16) + 18, objArr2);
baseContext = (Context) cls.getMethod((String) objArr2[0], new Class[0]).invoke(null, null);
}
if (baseContext != null) {
baseContext = baseContext.getApplicationContext();
int i3 = q + 97;
s = i3 % 128;
int i4 = i3 % 2;
}
if (baseContext != null) {
try {
Object obj2 = xzZ.y.get(125943855);
if (obj2 == null) {
obj2 = ((Class) xzZ.c(492 - (ViewConfiguration.getKeyRepeatTimeout() >> 16), AndroidCharacter.getMirror('0') - '+', (char) (ExpandableListView.getPackedPositionForGroup(0) > 0L ? 1 : (ExpandableListView.getPackedPositionForGroup(0) == 0L ? 0 : -1)))).getMethod("a", null);
xzZ.y.put(125943855, obj2);
}
Object invoke = ((Method) obj2).invoke(null, null);
Object[] objArr3 = {baseContext};
Object obj3 = xzZ.y.get(1378719468);
if (obj3 == null) {
obj3 = ((Class) xzZ.c((TypedValue.complexToFloat(0) > BitmapDescriptorFactory.HUE_RED ? 1 : (TypedValue.complexToFloat(0) == BitmapDescriptorFactory.HUE_RED ? 0 : -1)) + 487, TextUtils.getOffsetBefore("", 0) + 5, (char) (ViewConfiguration.getFadingEdgeLength() >> 16))).getMethod(KtaJsonExactionHelper.OBJECT, Context.class);
xzZ.y.put(1378719468, obj3);
}
((Method) obj3).invoke(invoke, objArr3);
} catch (Throwable th) {
Throwable cause = th.getCause();
if (cause == null) {
throw th;
}
throw cause;
}
}
super.onResume();
return;
}
getBaseContext();
obj.hashCode();
throw null;
}
private static void aB(int[] iArr, boolean z, byte[] bArr, Object[] objArr) {
int i;
int i2;
int i3;
char[] cArr;
int i4 = 2 % 2;
TVH tvh = new TVH();
int i5 = 0;
int i6 = iArr[0];
int i7 = 1;
int i8 = iArr[1];
int i9 = iArr[2];
int i10 = iArr[3];
char[] cArr2 = f7194o;
long j = 0;
if (cArr2 != null) {
int length = cArr2.length;
char[] cArr3 = new char[length];
int i11 = 0;
while (i11 < length) {
try {
Object[] objArr2 = new Object[i7];
objArr2[i5] = Integer.valueOf(cArr2[i11]);
Object obj = xzZ.y.get(1645349359);
if (obj != null) {
cArr = cArr2;
} else {
Class cls = (Class) xzZ.c((SystemClock.elapsedRealtimeNanos() > j ? 1 : (SystemClock.elapsedRealtimeNanos() == j ? 0 : -1)) + 222, 5 - (ViewConfiguration.getFadingEdgeLength() >> 16), (char) (MotionEvent.axisFromString("") + 41978));
byte b = (byte) i5;
byte b2 = b;
cArr = cArr2;
Object[] objArr3 = new Object[1];
aC(b, b2, (byte) (b2 | 33), objArr3);
obj = cls.getMethod((String) objArr3[0], Integer.TYPE);
xzZ.y.put(1645349359, obj);
}
cArr3[i11] = ((Character) ((Method) obj).invoke(null, objArr2)).charValue();
i11++;
cArr2 = cArr;
i5 = 0;
i7 = 1;
j = 0;
} catch (Throwable th) {
Throwable cause = th.getCause();
if (cause == null) {
throw th;
}
throw cause;
}
}
cArr2 = cArr3;
}
char[] cArr4 = new char[i8];
System.arraycopy(cArr2, i6, cArr4, 0, i8);
if (bArr != null) {
char[] cArr5 = new char[i8];
tvh.c = 0;
char c = 0;
while (tvh.c < i8) {
if (bArr[tvh.c] == 1) {
int i12 = tvh.c;
Object[] objArr4 = {Integer.valueOf(cArr4[tvh.c]), Integer.valueOf(c)};
Object obj2 = xzZ.y.get(850398076);
if (obj2 == null) {
obj2 = ((Class) xzZ.c(501 - (ExpandableListView.getPackedPositionForChild(0, 0) > 0L ? 1 : (ExpandableListView.getPackedPositionForChild(0, 0) == 0L ? 0 : -1)), (AudioTrack.getMaxVolume() > BitmapDescriptorFactory.HUE_RED ? 1 : (AudioTrack.getMaxVolume() == BitmapDescriptorFactory.HUE_RED ? 0 : -1)) + 4, (char) (55 - (ViewConfiguration.getScrollFriction() > BitmapDescriptorFactory.HUE_RED ? 1 : (ViewConfiguration.getScrollFriction() == BitmapDescriptorFactory.HUE_RED ? 0 : -1))))).getMethod("F", Integer.TYPE, Integer.TYPE);
xzZ.y.put(850398076, obj2);
}
cArr5[i12] = ((Character) ((Method) obj2).invoke(null, objArr4)).charValue();
} else {
int i13 = tvh.c;
Object[] objArr5 = {Integer.valueOf(cArr4[tvh.c]), Integer.valueOf(c)};
Object obj3 = xzZ.y.get(1084521042);
if (obj3 == null) {
obj3 = ((Class) xzZ.c(ExpandableListView.getPackedPositionChild(0L) + 16, 4 - ((byte) KeyEvent.getModifierMetaStateMask()), (char) (58182 - AndroidCharacter.getMirror('0')))).getMethod("H", Integer.TYPE, Integer.TYPE);
xzZ.y.put(1084521042, obj3);
}
cArr5[i13] = ((Character) ((Method) obj3).invoke(null, objArr5)).charValue();
}
c = cArr5[tvh.c];
Object[] objArr6 = {tvh, tvh};
Object obj4 = xzZ.y.get(1698744941);
if (obj4 == null) {
Class cls2 = (Class) xzZ.c(TextUtils.lastIndexOf("", '0', 0, 0) + 403, (ViewConfiguration.getGlobalActionKeyTimeout() > 0L ? 1 : (ViewConfiguration.getGlobalActionKeyTimeout() == 0L ? 0 : -1)) + 4, (char) (21608 - Gravity.getAbsoluteGravity(0, 0)));
byte b3 = (byte) 0;
byte b4 = b3;
Object[] objArr7 = new Object[1];
aC(b3, b4, (byte) (b4 | Ascii.US), objArr7);
obj4 = cls2.getMethod((String) objArr7[0], Object.class, Object.class);
xzZ.y.put(1698744941, obj4);
}
((Method) obj4).invoke(null, objArr6);
}
cArr4 = cArr5;
}
if (i10 > 0) {
int i14 = $10 + 43;
$11 = i14 % 128;
if (i14 % 2 == 0) {
char[] cArr6 = new char[i8];
i = 0;
System.arraycopy(cArr4, 1, cArr6, 0, i8);
int i15 = i8 % i10;
System.arraycopy(cArr6, 1, cArr4, i15, i10);
System.arraycopy(cArr6, i10, cArr4, 1, i15);
} else {
i = 0;
char[] cArr7 = new char[i8];
System.arraycopy(cArr4, 0, cArr7, 0, i8);
int i16 = i8 - i10;
System.arraycopy(cArr7, 0, cArr4, i16, i10);
System.arraycopy(cArr7, i10, cArr4, 0, i16);
}
} else {
i = 0;
}
if (z) {
char[] cArr8 = new char[i8];
tvh.c = i;
while (tvh.c < i8) {
int i17 = $11 + 53;
$10 = i17 % 128;
int i18 = i17 % 2;
cArr8[tvh.c] = cArr4[(i8 - tvh.c) - 1];
tvh.c++;
int i19 = $10 + 31;
$11 = i19 % 128;
int i20 = i19 % 2;
}
cArr4 = cArr8;
}
if (i9 > 0) {
int i21 = 0;
while (true) {
tvh.c = i21;
if (tvh.c >= i8) {
break;
}
int i22 = $11 + 87;
$10 = i22 % 128;
if (i22 % 2 != 0) {
cArr4[tvh.c] = (char) (cArr4[tvh.c] >>> iArr[3]);
i3 = tvh.c;
i2 = 1;
} else {
i2 = 1;
cArr4[tvh.c] = (char) (cArr4[tvh.c] - iArr[2]);
i3 = tvh.c;
}
i21 = i3 + i2;
}
}
objArr[0] = new String(cArr4);
}
@Override // com.scb.phone.view.activity.BaseActivityWithFragment, com.scb.phone.view.activity.BaseActivity, com.scb.phone.view.activity.PreLoadCheckActivity, com.akexorcist.localizationactivity.LocalizationActivity, androidx.appcompat.app.AppCompatActivity, androidx.fragment.app.FragmentActivity, androidx.activity.ComponentActivity, androidx.core.app.ComponentActivity, android.app.Activity
public void onPause() {
int i = 2 % 2;
int i2 = s + 89;
q = i2 % 128;
Object obj = null;
if (i2 % 2 != 0) {
getBaseContext();
obj.hashCode();
throw null;
}
Context baseContext = getBaseContext();
if (baseContext == null) {
Object[] objArr = new Object[1];
aB(new int[]{5, 26, 0, 0}, true, new byte[]{0, 1, 0, 1, 0, 0, 1, 1, 1, 1, 1, 1, 1, 0, 1, 0, 0, 1, 1, 0, 1, 0, 1, 0, 0, 1}, objArr);
Class<?> cls = Class.forName((String) objArr[0]);
Object[] objArr2 = new Object[1];
ay(new int[]{-1173915339, 745925107, 1282793448, -1833696398, -490321381, -1989389463, -14186705, 913519394, 236110012, -369630148}, ((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) {
int i3 = s + 7;
q = i3 % 128;
int i4 = i3 % 2;
baseContext = baseContext.getApplicationContext();
}
if (baseContext != null) {
try {
Object obj2 = xzZ.y.get(125943855);
if (obj2 == null) {
obj2 = ((Class) xzZ.c(492 - (ViewConfiguration.getJumpTapTimeout() >> 16), 4 - ImageFormat.getBitsPerPixel(0), (char) (1 - (Process.getElapsedCpuTime() > 0L ? 1 : (Process.getElapsedCpuTime() == 0L ? 0 : -1))))).getMethod("a", null);
xzZ.y.put(125943855, obj2);
}
Object invoke = ((Method) obj2).invoke(null, null);
Object[] objArr3 = {baseContext};
Object obj3 = xzZ.y.get(1633456013);
if (obj3 == null) {
obj3 = ((Class) xzZ.c(488 - (ViewConfiguration.getScrollFriction() > BitmapDescriptorFactory.HUE_RED ? 1 : (ViewConfiguration.getScrollFriction() == BitmapDescriptorFactory.HUE_RED ? 0 : -1)), (Process.myTid() >> 22) + 5, (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("c", Context.class);
xzZ.y.put(1633456013, obj3);
}
((Method) obj3).invoke(invoke, objArr3);
} catch (Throwable th) {
Throwable cause = th.getCause();
if (cause == null) {
throw th;
}
throw cause;
}
}
super.onPause();
int i5 = s + 17;
q = i5 % 128;
int i6 = i5 % 2;
}
@Override // com.scb.phone.view.activity.BaseActivityWithFragment, com.scb.phone.view.activity.BaseActivity, com.scb.phone.view.activity.PreLoadCheckActivity, com.akexorcist.localizationactivity.LocalizationActivity, androidx.appcompat.app.AppCompatActivity, androidx.fragment.app.FragmentActivity, androidx.activity.ComponentActivity, androidx.core.app.ComponentActivity, android.app.Activity, android.view.ContextThemeWrapper, android.content.ContextWrapper
public void attachBaseContext(Context context) {
Context context2;
int i = 2 % 2;
super.attachBaseContext(context);
Object[] objArr = new Object[1];
ay(new int[]{-960134875, 524957818, 1660909201, -1081477254, -1678614610, 1788021519, -666167939, 581308055, -45669795, 475885041}, (ViewConfiguration.getWindowTouchSlop() >> 8) + 18, objArr);
Class<?> cls = Class.forName((String) objArr[0]);
Object[] objArr2 = new Object[1];
aB(new int[]{0, 5, 0, 0}, false, new byte[]{1, 0, 0, 0, 1}, objArr2);
int intValue = ((Integer) cls.getDeclaredMethod((String) objArr2[0], new Class[0]).invoke(null, new Object[0])).intValue() % 100000;
if (intValue >= 99000) {
int i2 = s + 11;
q = i2 % 128;
int i3 = i2 % 2;
if (intValue <= 99999) {
return;
}
}
if (context != null) {
int i4 = q + 47;
s = i4 % 128;
if (i4 % 2 == 0) {
context.getApplicationContext();
throw null;
}
context2 = context.getApplicationContext();
} else {
context2 = context;
}
if (context2 != null) {
try {
Object obj = xzZ.y.get(125943855);
if (obj == null) {
obj = ((Class) xzZ.c(492 - (ViewConfiguration.getScrollDefaultDelay() >> 16), 4 - Process.getGidForName(""), (char) TextUtils.getOffsetAfter("", 0))).getMethod("a", null);
xzZ.y.put(125943855, obj);
}
Object invoke = ((Method) obj).invoke(null, null);
Object[] objArr3 = new Object[1];
ay(new int[]{1631910397, -1124680204, -643937111, 1980577753, -1622718326, 518818201, -1552225066, -1614561006, -773411669, -25812480, 1861975241, 1312470768, 2110437487, -1041612086, -1817658885, -1474454494, -307478806, 739671788, 1295345241, -1119467407, 712929674, 698930681, -1100225858, 526836053}, 47 - ExpandableListView.getPackedPositionChild(0L), objArr3);
String str = (String) objArr3[0];
Object[] objArr4 = new Object[1];
aB(new int[]{31, 64, 0, 0}, false, new byte[]{1, 1, 0, 1, 1, 0, 0, 1, 0, 0, 1, 0, 0, 0, 1, 0, 1, 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}, objArr4);
String str2 = (String) objArr4[0];
Object[] objArr5 = new Object[1];
aB(new int[]{95, 64, 0, 0}, true, new byte[]{1, 0, 1, 1, 0, 1, 1, 1, 0, 0, 1, 1, 0, 0, 1, 1, 1, 1, 1, 1, 1, 0, 1, 1, 0, 0, 1, 1, 0, 0, 1, 0, 0, 1, 1, 0, 1, 1, 0, 1, 1, 1, 1, 1, 1, 0, 0, 1, 1, 0, 0, 0, 1, 0, 0, 1, 1, 0, 0, 0, 0, 1, 0, 1}, objArr5);
String str3 = (String) objArr5[0];
Object[] objArr6 = new Object[1];
aB(new int[]{CipherSuite.TLS_DHE_RSA_WITH_AES_256_GCM_SHA384, 74, CipherSuite.TLS_PSK_WITH_AES_256_GCM_SHA384, 0}, false, new byte[]{1, 0, 0, 0, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 1, 1, 0, 0, 1, 0, 1, 1, 1, 1, 0, 0, 0, 1, 0, 1, 1, 0, 0, 1, 0, 1, 0, 0, 1, 0, 1, 0, 0, 0, 1, 1, 1, 1, 0, 0, 0, 0, 1, 1, 0, 0, 1, 1, 0, 0, 1, 1, 1, 0, 1, 0, 1, 1, 1, 0, 1}, objArr6);
String str4 = (String) objArr6[0];
Object[] objArr7 = new Object[1];
aB(new int[]{233, 5, 0, 3}, true, new byte[]{0, 0, 1, 1, 0}, objArr7);
String str5 = (String) objArr7[0];
Object[] objArr8 = new Object[1];
aB(new int[]{238, 36, 76, 5}, true, null, objArr8);
Object[] objArr9 = {context2, str, str2, str3, str4, true, str5, (String) objArr8[0]};
Object obj2 = xzZ.y.get(1656189573);
if (obj2 == null) {
obj2 = ((Class) xzZ.c(486 - MotionEvent.axisFromString(""), TextUtils.lastIndexOf("", '0', 0) + 6, (char) ((Process.getElapsedCpuTime() > 0L ? 1 : (Process.getElapsedCpuTime() == 0L ? 0 : -1)) - 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.BaseActivityWithFragment, com.scb.phone.view.activity.BaseActivity, com.scb.phone.view.activity.PreLoadCheckActivity, com.akexorcist.localizationactivity.LocalizationActivity, androidx.appcompat.app.AppCompatActivity, androidx.fragment.app.FragmentActivity, androidx.activity.ComponentActivity, androidx.core.app.ComponentActivity, android.app.Activity
public void onStart() {
int i = 2 % 2;
int i2 = s + 69;
q = i2 % 128;
int i3 = i2 % 2;
super.onStart();
if (i3 != 0) {
int i4 = 73 / 0;
}
int i5 = q + 83;
s = i5 % 128;
int i6 = i5 % 2;
}
}