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

696 lines
42 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.drawable.Drawable;
import android.media.AudioTrack;
import android.os.Bundle;
import android.os.Process;
import android.os.SystemClock;
import android.telephony.cdma.CdmaCellLocation;
import android.text.AndroidCharacter;
import android.text.TextUtils;
import android.util.TypedValue;
import android.view.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.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 o.C14957gcv;
import o.C4403bZM;
import o.C4780bgd;
import o.C5154bng;
import o.InterfaceC13391fZD;
import o.InterfaceC9247dgC;
import o.ZI;
import o.pug;
import o.xzZ;
import o.zUI;
import org.bouncycastle.crypto.tls.CipherSuite;
import org.jnbis.internal.NistHelper;
/* loaded from: classes4.dex */
public abstract class HmlBaseSuccessActivity extends BaseActivity implements InterfaceC9247dgC {
@InterfaceC13391fZD
public C5154bng presenter;
private static final byte[] $$p = {82, ISO7816.INS_UNBLOCK_CHV, -108, -93};
private static final int $$q = 26;
private static int $10 = 0;
private static int $11 = 1;
private static int l = 0;
/* renamed from: o, reason: collision with root package name */
private static int f7253o = 1;
private static int[] b = {-1184684518, 340429431, -1280779388, -1577216346, 2093757543, -647432995, 1279826771, 1758570791, -1391629, -1326910750, 1863004586, 645860423, -126400037, 2059329623, 1864456569, 1254963287, -1144387595, 655769999};
private static int m = 2015661745;
/* JADX WARN: Removed duplicated region for block: B:10:0x002a */
/* JADX WARN: Removed duplicated region for block: B:7:0x0022 */
/* JADX WARN: Unsupported multi-entry loop pattern (BACK_EDGE: B:10:0x002a -> B:4:0x002e). 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(byte r6, short r7, short r8, java.lang.Object[] r9) {
/*
int r7 = r7 * 2
int r7 = 3 - r7
int r8 = r8 * 3
int r0 = 1 - r8
byte[] r1 = com.scb.phone.view.activity.hml.HmlBaseSuccessActivity.$$p
int r6 = 104 - r6
byte[] r0 = new byte[r0]
r2 = 0
int r8 = 0 - r8
if (r1 != 0) goto L17
r6 = r7
r4 = r8
r3 = r2
goto L2e
L17:
r3 = r2
r5 = r7
r7 = r6
r6 = r5
L1b:
byte r4 = (byte) r7
int r6 = r6 + 1
r0[r3] = r4
if (r3 != r8) goto L2a
java.lang.String r6 = new java.lang.String
r6.<init>(r0, r2)
r9[r2] = r6
return
L2a:
int r3 = r3 + 1
r4 = r1[r6]
L2e:
int r4 = -r4
int r7 = r7 + r4
goto L1b
*/
throw new UnsupportedOperationException("Method not decompiled: com.scb.phone.view.activity.hml.HmlBaseSuccessActivity.aC(byte, short, short, java.lang.Object[]):void");
}
public abstract String f();
@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];
aA(new int[]{1289803137, -1086650334, 1658184162, 879845730, 252614965, 1632478748, 1578124688, -1643805945, -1600489007, -1523123723}, ((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getResources().getString(R.string.receive_statement_inapp_remark).substring(41, 42).length() + 17, objArr);
Class<?> cls = Class.forName((String) objArr[0]);
Object[] objArr2 = new Object[1];
aA(new int[]{-1199752555, 1852056417, 1698965822, -1580693804}, ((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getApplicationInfo().targetSdkVersion - 29, 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 = l + 97;
f7253o = i2 % 128;
int i3 = i2 % 2;
Object[] objArr3 = new Object[1];
aB(((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getResources().getString(R.string.manage_account_inbound_error_description).substring(57, 58).codePointAt(0) - 71, new char[]{19, 6, 17, 22, 65521, 5, 15, 2, 65534, 1, 65534, 11, 1, 15, '\f', 6, 1, 65483, 65534, '\r', '\r', 65483, 65502, 0, 17, 6}, ((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getResources().getString(R.string.auto_single_form_select_account_scbs_description).substring(74, 75).length() + 248, false, 10 - (ViewConfiguration.getScrollDefaultDelay() >> 16), objArr3);
Class<?> cls2 = Class.forName((String) objArr3[0]);
Object[] objArr4 = new Object[1];
aB(18 - (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)), new char[]{'\n', 65527, 65529, 65535, 2, 6, 6, 65495, '\n', 4, 65531, '\b', '\b', 11, 65529, 4, 5, 65535}, ((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getApplicationInfo().targetSdkVersion + 222, true, 14 - TextUtils.lastIndexOf("", '0', 0, 0), objArr4);
baseContext = (Context) cls2.getMethod((String) objArr4[0], new Class[0]).invoke(null, null);
}
if (baseContext != null) {
baseContext = baseContext.getApplicationContext();
}
if (baseContext != null) {
try {
Object obj = xzZ.y.get(125943855);
if (obj == null) {
obj = ((Class) xzZ.c(Gravity.getAbsoluteGravity(0, 0) + 492, KeyEvent.keyCodeFromString("") + 5, (char) (AudioTrack.getMinVolume() > BitmapDescriptorFactory.HUE_RED ? 1 : (AudioTrack.getMinVolume() == BitmapDescriptorFactory.HUE_RED ? 0 : -1)))).getMethod("a", null);
xzZ.y.put(125943855, obj);
}
Object invoke = ((Method) obj).invoke(null, null);
Object[] objArr5 = new Object[1];
aB(((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getResources().getString(R.string.ssf_or_tesg).substring(0, 8).codePointAt(1) - 35, new char[]{NistHelper.SEP_FS, 65518, NistHelper.SEP_FS, 65522, 29, 65514, 65514, 65518, 65521, 65514, 31, 30, 27, 27, 65515, 65517, 65522, 65518, NistHelper.SEP_FS, 65521, 30, 65517, 65514, 65520, 65517, 27, 65516, NistHelper.SEP_FS, 31, 26, 27, 65522, 65515, 26, 65516, 27, 65516, 65521, 27, 65516, 65515, 65521, 65516, 65517, 26, 65522, 31, 65519}, (ViewConfiguration.getScrollBarFadeDuration() >> 16) + 221, false, ((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getApplicationInfo().targetSdkVersion - 12, objArr5);
String str = (String) objArr5[0];
Object[] objArr6 = new Object[1];
aB(((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getApplicationInfo().targetSdkVersion + 30, new char[]{65520, 29, 65522, 31, 65518, 65517, 65520, 65522, 65517, 65523, 65522, 65518, 65522, 65518, 65521, '!', 65525, 65520, 30, 65522, '!', 65522, 30, '!', '!', 29, 30, 65522, 65524, 65517, 31, 65524, 30, 65521, 65524, 31, 65523, '\"', 65524, ' ', 30, 65522, 65517, 65521, 65522, 29, 30, 65522, 30, 30, 65524, 65521, 29, 65521, 65523, 65523, 65524, 65516, 65525, 65518, 31, 65516, 65522, 65519}, ((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getResources().getString(R.string.new_deejung_installment_email_notification_message).substring(33, 34).length() + 217, true, ((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getResources().getString(R.string.banking_amount_error_divisible_by).substring(28, 29).codePointAt(0) - 8, objArr6);
String str2 = (String) objArr6[0];
Object[] objArr7 = new Object[1];
aA(new int[]{-14241722, -482606, -747269631, 1719361922, -2121518310, -1764303352, 1846855657, 1018405598, 639435544, 1227958939, -1451003882, 619590957, 2122380064, 325179286, 1826822702, -1276778647, -1588910708, -1238995053, 269574076, -1686680062, -917834553, -310169239, -1378103374, -1184213782, 141555898, -226456471, 1577817150, 656594085, 1676727455, 1507337726, 568877808, 952436983}, ((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getResources().getString(R.string.cardless_amount_hint).substring(0, 11).length() + 53, objArr7);
String str3 = (String) objArr7[0];
Object[] objArr8 = new Object[1];
aA(new int[]{724435026, -758360509, -155509936, -1701261198, -2142902693, -575235262, -1342839093, -1289871226, 1780804512, 30802492, -892690215, 119682195, 1917672646, 2145987167, -1472355672, 725300439, -1693878683, -390574392, -657325470, 1138368602, 1788795049, 263012716, -564645313, -1216286191, -1745894138, 749206189, 2103442472, 969083137, -608630681, -1835238023, -746932618, -1604054170, 493439350, -1759804889, 1286231188, 1675739280, 245615356, 967536890}, KeyEvent.normalizeMetaState(0) + 74, objArr8);
String str4 = (String) objArr8[0];
Object[] objArr9 = new Object[1];
aA(new int[]{-725562549, 232201082, -1722665630, -353207148}, ((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getResources().getString(R.string.easycash_success_subtitle_successfull_request_credit_card).substring(27, 31).codePointAt(1) - 32, objArr9);
String str5 = (String) objArr9[0];
Object[] objArr10 = new Object[1];
aA(new int[]{-487257090, -1301764718, -1015630416, 716427028, -362920821, -1027875898, -1490556365, 2075393445, -53571983, 1031250490, -1364672931, -165508631, -1726762835, -892401019, 35416745, 1572132178, -1852083641, -1255454794}, ((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getApplicationInfo().targetSdkVersion + 2, 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 - (ViewConfiguration.getPressedStateDuration() >> 16), (ViewConfiguration.getZoomControlsTimeout() > 0L ? 1 : (ViewConfiguration.getZoomControlsTimeout() == 0L ? 0 : -1)) + 4, (char) (ViewConfiguration.getDoubleTapTimeout() >> 16))).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);
setContentView(R.layout.2131558575);
C5154bng c5154bng = this.presenter;
if (c5154bng != null) {
int i4 = f7253o + 45;
l = i4 % 128;
if (i4 % 2 != 0) {
throw null;
}
} else {
C14957gcv.a("");
c5154bng = null;
}
c5154bng.e((C5154bng) this);
final C5154bng c5154bng2 = this.presenter;
if (c5154bng2 == null) {
C14957gcv.a("");
c5154bng2 = null;
}
if (c5154bng2.f != 0) {
int i5 = f7253o + 95;
l = i5 % 128;
int i6 = i5 % 2;
c5154bng2.f.y();
}
ZI.IeS ieS = new ZI.IeS(c5154bng2) { // from class: o.bnq
private C5154bng d;
@Override // o.ZI.IeS
public final void e(Object obj3) {
C5154bng.b(this.d, (InterfaceC9247dgC) obj3);
}
{
this.d = c5154bng2;
}
};
if (c5154bng2.f != 0) {
int i7 = f7253o + 121;
l = i7 % 128;
if (i7 % 2 != 0) {
ieS.e(c5154bng2.f);
throw null;
}
ieS.e(c5154bng2.f);
} else {
int i8 = f7253o + 119;
l = i8 % 128;
if (i8 % 2 != 0) {
int i9 = 2 % 5;
}
}
C4780bgd c4780bgd = c5154bng2.e;
c4780bgd.d(c4780bgd.e(), new C5154bng.Sts(c5154bng2));
}
@Override // o.InterfaceC9247dgC
public final void a(boolean z) {
String str;
int i = 2 % 2;
pug[] pugVarArr = new pug[2];
pugVarArr[0] = new pug("user_type", f());
if (!(!z)) {
int i2 = f7253o + 13;
l = i2 % 128;
if (i2 % 2 != 0) {
int i3 = 26 / 0;
}
str = "business_owner";
} else {
str = "consumer";
}
pugVarArr[1] = new pug("loan_type", str);
c("p10x1_successful", pugVarArr);
int i4 = f7253o + 91;
l = i4 % 128;
int i5 = i4 % 2;
}
private static void aB(int i, char[] cArr, int i2, boolean z, int i3, Object[] objArr) {
int i4 = 2 % 2;
zUI zui = new zUI();
char[] cArr2 = new char[i];
zui.d = 0;
while (zui.d < i) {
int i5 = $10 + 51;
$11 = i5 % 128;
int i6 = i5 % 2;
zui.c = cArr[zui.d];
cArr2[zui.d] = (char) (i2 + zui.c);
int i7 = zui.d;
try {
Object[] objArr2 = {Integer.valueOf(cArr2[i7]), Integer.valueOf(m)};
Object obj = xzZ.y.get(880493502);
if (obj == null) {
Class cls = (Class) xzZ.c(Process.getGidForName("") + CipherSuite.TLS_DHE_PSK_WITH_AES_128_CBC_SHA, 7 - TextUtils.getTrimmedLength(""), (char) View.resolveSizeAndState(0, 0, 0));
byte b2 = (byte) 0;
Object[] objArr3 = new Object[1];
aC((byte) 35, b2, b2, objArr3);
obj = cls.getMethod((String) objArr3[0], Integer.TYPE, Integer.TYPE);
xzZ.y.put(880493502, obj);
}
cArr2[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(ExpandableListView.getPackedPositionChild(0L) + 343, View.getDefaultSize(0, 0) + 5, (char) ((SystemClock.currentThreadTimeMillis() > (-1L) ? 1 : (SystemClock.currentThreadTimeMillis() == (-1L) ? 0 : -1)) - 1));
byte b3 = (byte) 0;
Object[] objArr5 = new Object[1];
aC((byte) ($$q + 2), b3, b3, 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[] cArr3 = new char[i];
System.arraycopy(cArr2, 0, cArr3, 0, i);
System.arraycopy(cArr3, 0, cArr2, i - zui.a, zui.a);
System.arraycopy(cArr3, zui.a, cArr2, 0, i - zui.a);
}
if (z) {
char[] cArr4 = new char[i];
zui.d = 0;
while (zui.d < i) {
cArr4[zui.d] = cArr2[(i - zui.d) - 1];
Object[] objArr6 = {zui, zui};
Object obj3 = xzZ.y.get(1294990079);
if (obj3 == null) {
Class cls3 = (Class) xzZ.c((ExpandableListView.getPackedPositionForGroup(0) > 0L ? 1 : (ExpandableListView.getPackedPositionForGroup(0) == 0L ? 0 : -1)) + 342, 5 - TextUtils.getTrimmedLength(""), (char) Drawable.resolveOpacity(0, 0));
byte b4 = (byte) 0;
Object[] objArr7 = new Object[1];
aC((byte) ($$q + 2), b4, b4, objArr7);
obj3 = cls3.getMethod((String) objArr7[0], Object.class, Object.class);
xzZ.y.put(1294990079, obj3);
}
((Method) obj3).invoke(null, objArr6);
}
int i8 = $11 + 55;
$10 = i8 % 128;
if (i8 % 2 != 0) {
int i9 = 4 / 3;
}
cArr2 = cArr4;
}
objArr[0] = new String(cArr2);
}
@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 = f7253o + 21;
l = i2 % 128;
int i3 = i2 % 2;
Context baseContext = getBaseContext();
Object obj = null;
if (baseContext == null) {
Object[] objArr = new Object[1];
aB(((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getResources().getString(R.string.prepaid_tab_travel_service_block_domestic_description).substring(23, 24).codePointAt(0) - 6, new char[]{19, 6, 17, 22, 65521, 5, 15, 2, 65534, 1, 65534, 11, 1, 15, '\f', 6, 1, 65483, 65534, '\r', '\r', 65483, 65502, 0, 17, 6}, ((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getPackageName().length() + 236, false, ((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getApplicationInfo().targetSdkVersion - 24, objArr);
Class<?> cls = Class.forName((String) objArr[0]);
Object[] objArr2 = new Object[1];
aB(ImageFormat.getBitsPerPixel(0) + 19, new char[]{'\n', 65527, 65529, 65535, 2, 6, 6, 65495, '\n', 4, 65531, '\b', '\b', 11, 65529, 4, 5, 65535}, ((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getPackageName().length() + 243, true, ((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getApplicationInfo().targetSdkVersion - 19, objArr2);
baseContext = (Context) cls.getMethod((String) objArr2[0], new Class[0]).invoke(null, null);
}
if (baseContext != null) {
baseContext = baseContext.getApplicationContext();
int i4 = f7253o + 111;
l = i4 % 128;
int i5 = i4 % 2;
}
if (baseContext != null) {
int i6 = l + 43;
f7253o = i6 % 128;
try {
if (i6 % 2 == 0) {
Object obj2 = xzZ.y.get(125943855);
if (obj2 == null) {
obj2 = ((Class) xzZ.c(491 - ((byte) KeyEvent.getModifierMetaStateMask()), 6 - (SystemClock.uptimeMillis() > 0L ? 1 : (SystemClock.uptimeMillis() == 0L ? 0 : -1)), (char) ('0' - AndroidCharacter.getMirror('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 - ((Process.getThreadPriority(0) + 20) >> 6), (ViewConfiguration.getEdgeSlop() >> 16) + 5, (char) (CdmaCellLocation.convertQuartSecToDecDegrees(0) > 0.0d ? 1 : (CdmaCellLocation.convertQuartSecToDecDegrees(0) == 0.0d ? 0 : -1)))).getMethod(KtaJsonExactionHelper.OBJECT, Context.class);
xzZ.y.put(1378719468, obj3);
}
((Method) obj3).invoke(invoke, objArr3);
obj.hashCode();
throw null;
}
Object obj4 = xzZ.y.get(125943855);
if (obj4 == null) {
obj4 = ((Class) xzZ.c((ViewConfiguration.getWindowTouchSlop() >> 8) + 492, (SystemClock.currentThreadTimeMillis() > (-1L) ? 1 : (SystemClock.currentThreadTimeMillis() == (-1L) ? 0 : -1)) + 4, (char) ((-1) - MotionEvent.axisFromString("")))).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(487 - (ExpandableListView.getPackedPositionForGroup(0) > 0L ? 1 : (ExpandableListView.getPackedPositionForGroup(0) == 0L ? 0 : -1)), TextUtils.getTrimmedLength("") + 5, (char) ((ViewConfiguration.getScrollFriction() > BitmapDescriptorFactory.HUE_RED ? 1 : (ViewConfiguration.getScrollFriction() == BitmapDescriptorFactory.HUE_RED ? 0 : -1)) - 1))).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();
}
private static void aA(int[] iArr, int i, Object[] objArr) {
int length;
int[] iArr2;
int[] iArr3;
char c;
int i2 = 2 % 2;
C4403bZM c4403bZM = new C4403bZM();
char[] cArr = new char[4];
char[] cArr2 = new char[iArr.length * 2];
int[] iArr4 = b;
int i3 = 1;
int i4 = 0;
if (iArr4 != null) {
int i5 = $11;
int i6 = i5 + 71;
$10 = i6 % 128;
int i7 = i6 % 2;
int length2 = iArr4.length;
int[] iArr5 = new int[length2];
int i8 = i5 + 33;
$10 = i8 % 128;
int i9 = i8 % 2;
int i10 = 0;
while (i10 < length2) {
try {
Object[] objArr2 = new Object[i3];
objArr2[0] = Integer.valueOf(iArr4[i10]);
Object obj = xzZ.y.get(729798706);
if (obj == null) {
obj = ((Class) xzZ.c(16 - (SystemClock.currentThreadTimeMillis() > (-1L) ? 1 : (SystemClock.currentThreadTimeMillis() == (-1L) ? 0 : -1)), TextUtils.lastIndexOf("", '0', 0) + 6, (char) (58134 - (ViewConfiguration.getMaximumDrawingCacheSize() >> 24)))).getMethod("i", Integer.TYPE);
xzZ.y.put(729798706, obj);
}
iArr5[i10] = ((Integer) ((Method) obj).invoke(null, objArr2)).intValue();
i10++;
i3 = 1;
} catch (Throwable th) {
Throwable cause = th.getCause();
if (cause == null) {
throw th;
}
throw cause;
}
}
iArr4 = iArr5;
}
int length3 = iArr4.length;
int[] iArr6 = new int[length3];
int[] iArr7 = b;
if (iArr7 != null) {
int i11 = $11 + 67;
$10 = i11 % 128;
if (i11 % 2 != 0) {
length = iArr7.length;
iArr2 = new int[length];
} else {
length = iArr7.length;
iArr2 = new int[length];
}
int i12 = 0;
while (i12 < length) {
Object[] objArr3 = new Object[1];
objArr3[i4] = Integer.valueOf(iArr7[i12]);
Object obj2 = xzZ.y.get(729798706);
if (obj2 != null) {
iArr3 = iArr7;
c = 55346;
} else {
obj2 = ((Class) xzZ.c((ViewConfiguration.getZoomControlsTimeout() > 0L ? 1 : (ViewConfiguration.getZoomControlsTimeout() == 0L ? 0 : -1)) + 14, TextUtils.indexOf((CharSequence) "", '0', 0, 0) + 6, (char) (KeyEvent.keyCodeFromString("") + 58134))).getMethod("i", Integer.TYPE);
iArr3 = iArr7;
c = 55346;
xzZ.y.put(729798706, obj2);
}
iArr2[i12] = ((Integer) ((Method) obj2).invoke(null, objArr3)).intValue();
i12++;
int i13 = $11 + 53;
$10 = i13 % 128;
int i14 = i13 % 2;
iArr7 = iArr3;
i4 = 0;
}
iArr7 = iArr2;
}
int i15 = i4;
System.arraycopy(iArr7, i15, iArr6, i15, length3);
c4403bZM.b = i15;
while (c4403bZM.b < iArr.length) {
int i16 = $11 + 81;
$10 = i16 % 128;
int i17 = i16 % 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(iArr6);
int i18 = 0;
for (int i19 = 16; i18 < i19; i19 = 16) {
c4403bZM.e ^= iArr6[i18];
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(Color.argb(0, 0, 0, 0) + 118, 5 - (ViewConfiguration.getMinimumFlingVelocity() >> 16), (char) (Process.myPid() >> 22));
byte b2 = (byte) 0;
byte b3 = b2;
Object[] objArr5 = new Object[1];
aC(b2, b3, b3, 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;
i18++;
}
int i20 = c4403bZM.e;
c4403bZM.e = c4403bZM.a;
c4403bZM.a = i20;
c4403bZM.a ^= iArr6[16];
c4403bZM.e ^= iArr6[17];
int i21 = c4403bZM.e;
int i22 = 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(iArr6);
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((-16777118) - Color.rgb(0, 0, 0), 5 - (ViewConfiguration.getEdgeSlop() >> 16), (char) (ViewConfiguration.getScrollBarSize() >> 8));
byte b4 = (byte) ($$q & 7);
byte b5 = (byte) (b4 - 2);
Object[] objArr7 = new Object[1];
aC(b4, b5, b5, objArr7);
obj4 = cls2.getMethod((String) objArr7[0], Object.class, Object.class);
xzZ.y.put(1914371176, obj4);
}
((Method) obj4).invoke(null, objArr6);
}
String str = new String(cArr2, 0, i);
int i23 = $11 + 103;
$10 = i23 % 128;
if (i23 % 2 != 0) {
throw null;
}
objArr[0] = str;
}
@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();
Object obj = null;
if (baseContext == null) {
Object[] objArr = new Object[1];
aB(TextUtils.getOffsetBefore("", 0) + 26, new char[]{19, 6, 17, 22, 65521, 5, 15, 2, 65534, 1, 65534, 11, 1, 15, '\f', 6, 1, 65483, 65534, '\r', '\r', 65483, 65502, 0, 17, 6}, ((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getResources().getString(R.string.manage_email_success_description).substring(47, 48).codePointAt(0) + 217, false, ((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getApplicationInfo().targetSdkVersion - 24, objArr);
Class<?> cls = Class.forName((String) objArr[0]);
Object[] objArr2 = new Object[1];
aB(((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getApplicationInfo().targetSdkVersion - 16, new char[]{'\n', 65527, 65529, 65535, 2, 6, 6, 65495, '\n', 4, 65531, '\b', '\b', 11, 65529, 4, 5, 65535}, ((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getPackageName().length() + 243, true, ((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getResources().getString(R.string.common_google_play_services_install_text).substring(0, 5).codePointAt(2) - 21, objArr2);
baseContext = (Context) cls.getMethod((String) objArr2[0], new Class[0]).invoke(null, null);
}
if (baseContext != null) {
int i2 = f7253o + 45;
l = i2 % 128;
if (i2 % 2 != 0) {
baseContext.getApplicationContext();
obj.hashCode();
throw null;
}
baseContext = baseContext.getApplicationContext();
}
if (baseContext != null) {
int i3 = f7253o + 21;
l = i3 % 128;
try {
if (i3 % 2 != 0) {
Object obj2 = xzZ.y.get(125943855);
if (obj2 == null) {
obj2 = ((Class) xzZ.c(492 - (ViewConfiguration.getMaximumDrawingCacheSize() >> 24), 5 - View.MeasureSpec.getMode(0), (char) (ViewConfiguration.getScrollBarSize() >> 8))).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(487 - View.resolveSizeAndState(0, 0, 0), TextUtils.lastIndexOf("", '0') + 6, (char) ((-16777216) - Color.rgb(0, 0, 0)))).getMethod("c", Context.class);
xzZ.y.put(1633456013, obj3);
}
((Method) obj3).invoke(invoke, objArr3);
throw null;
}
Object obj4 = xzZ.y.get(125943855);
if (obj4 == null) {
obj4 = ((Class) xzZ.c(Gravity.getAbsoluteGravity(0, 0) + 492, (ViewConfiguration.getScrollBarSize() >> 8) + 5, (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)))).getMethod("a", null);
xzZ.y.put(125943855, obj4);
}
Object invoke2 = ((Method) obj4).invoke(null, null);
Object[] objArr4 = {baseContext};
Object obj5 = xzZ.y.get(1633456013);
if (obj5 == null) {
obj5 = ((Class) xzZ.c((Process.getElapsedCpuTime() > 0L ? 1 : (Process.getElapsedCpuTime() == 0L ? 0 : -1)) + 486, (-16777211) - Color.rgb(0, 0, 0), (char) Color.argb(0, 0, 0, 0))).getMethod("c", Context.class);
xzZ.y.put(1633456013, obj5);
}
((Method) obj5).invoke(invoke2, objArr4);
} catch (Throwable th) {
Throwable cause = th.getCause();
if (cause == null) {
throw th;
}
throw cause;
}
}
super.onPause();
int i4 = l + 5;
f7253o = i4 % 128;
int i5 = i4 % 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, android.view.ContextThemeWrapper, android.content.ContextWrapper
public void attachBaseContext(Context context) {
int i = 2 % 2;
int i2 = f7253o + 71;
l = i2 % 128;
int i3 = i2 % 2;
super.attachBaseContext(context);
Object[] objArr = new Object[1];
aA(new int[]{1289803137, -1086650334, 1658184162, 879845730, 252614965, 1632478748, 1578124688, -1643805945, -1600489007, -1523123723}, (ViewConfiguration.getLongPressTimeout() >> 16) + 18, objArr);
Class<?> cls = Class.forName((String) objArr[0]);
Object[] objArr2 = new Object[1];
aA(new int[]{-1199752555, 1852056417, 1698965822, -1580693804}, View.MeasureSpec.getSize(0) + 5, 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((ExpandableListView.getPackedPositionForChild(0, 0) > 0L ? 1 : (ExpandableListView.getPackedPositionForChild(0, 0) == 0L ? 0 : -1)) + 493, TextUtils.indexOf((CharSequence) "", '0') + 6, (char) TextUtils.indexOf("", "", 0))).getMethod("a", null);
xzZ.y.put(125943855, obj);
}
Object invoke = ((Method) obj).invoke(null, null);
Object[] objArr3 = new Object[1];
aB((ViewConfiguration.getEdgeSlop() >> 16) + 48, new char[]{NistHelper.SEP_FS, 65518, NistHelper.SEP_FS, 65522, 29, 65514, 65514, 65518, 65521, 65514, 31, 30, 27, 27, 65515, 65517, 65522, 65518, NistHelper.SEP_FS, 65521, 30, 65517, 65514, 65520, 65517, 27, 65516, NistHelper.SEP_FS, 31, 26, 27, 65522, 65515, 26, 65516, 27, 65516, 65521, 27, 65516, 65515, 65521, 65516, 65517, 26, 65522, 31, 65519}, (ViewConfiguration.getScrollBarSize() >> 8) + 221, false, Color.red(0) + 22, objArr3);
String str = (String) objArr3[0];
Object[] objArr4 = new Object[1];
aB(64 - (Process.myPid() >> 22), new char[]{65520, 29, 65522, 31, 65518, 65517, 65520, 65522, 65517, 65523, 65522, 65518, 65522, 65518, 65521, '!', 65525, 65520, 30, 65522, '!', 65522, 30, '!', '!', 29, 30, 65522, 65524, 65517, 31, 65524, 30, 65521, 65524, 31, 65523, '\"', 65524, ' ', 30, 65522, 65517, 65521, 65522, 29, 30, 65522, 30, 30, 65524, 65521, 29, 65521, 65523, 65523, 65524, 65516, 65525, 65518, 31, 65516, 65522, 65519}, TextUtils.indexOf((CharSequence) "", '0') + 219, true, (ViewConfiguration.getScrollBarFadeDuration() >> 16) + 24, objArr4);
String str2 = (String) objArr4[0];
Object[] objArr5 = new Object[1];
aA(new int[]{-14241722, -482606, -747269631, 1719361922, -2121518310, -1764303352, 1846855657, 1018405598, 639435544, 1227958939, -1451003882, 619590957, 2122380064, 325179286, 1826822702, -1276778647, -1588910708, -1238995053, 269574076, -1686680062, -917834553, -310169239, -1378103374, -1184213782, 141555898, -226456471, 1577817150, 656594085, 1676727455, 1507337726, 568877808, 952436983}, (ViewConfiguration.getWindowTouchSlop() >> 8) + 64, objArr5);
String str3 = (String) objArr5[0];
Object[] objArr6 = new Object[1];
aA(new int[]{724435026, -758360509, -155509936, -1701261198, -2142902693, -575235262, -1342839093, -1289871226, 1780804512, 30802492, -892690215, 119682195, 1917672646, 2145987167, -1472355672, 725300439, -1693878683, -390574392, -657325470, 1138368602, 1788795049, 263012716, -564645313, -1216286191, -1745894138, 749206189, 2103442472, 969083137, -608630681, -1835238023, -746932618, -1604054170, 493439350, -1759804889, 1286231188, 1675739280, 245615356, 967536890}, Color.rgb(0, 0, 0) + 16777290, objArr6);
String str4 = (String) objArr6[0];
Object[] objArr7 = new Object[1];
aA(new int[]{-725562549, 232201082, -1722665630, -353207148}, (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)) + 5, objArr7);
String str5 = (String) objArr7[0];
Object[] objArr8 = new Object[1];
aA(new int[]{-487257090, -1301764718, -1015630416, 716427028, -362920821, -1027875898, -1490556365, 2075393445, -53571983, 1031250490, -1364672931, -165508631, -1726762835, -892401019, 35416745, 1572132178, -1852083641, -1255454794}, 36 - (ViewConfiguration.getScrollBarSize() >> 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 - View.MeasureSpec.getMode(0), 6 - (ViewConfiguration.getZoomControlsTimeout() > 0L ? 1 : (ViewConfiguration.getZoomControlsTimeout() == 0L ? 0 : -1)), (char) (ViewConfiguration.getScrollDefaultDelay() >> 16))).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 i4 = l + 107;
f7253o = i4 % 128;
if (i4 % 2 == 0) {
int i5 = 43 / 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 onStart() {
int i = 2 % 2;
int i2 = f7253o + 69;
l = i2 % 128;
int i3 = i2 % 2;
super.onStart();
if (i3 != 0) {
int i4 = 92 / 0;
}
int i5 = f7253o + 1;
l = i5 % 128;
int i6 = i5 % 2;
}
}