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

883 lines
44 KiB
Java
Raw Normal View History

2024-07-27 18:17:47 +07:00
package com.scb.phone.view.activity.hml;
import android.content.Context;
import android.content.Intent;
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.TextUtils;
import android.view.Gravity;
import android.view.KeyEvent;
import android.view.View;
import android.view.ViewConfiguration;
import android.widget.ExpandableListView;
import android.widget.TextView;
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.hml.HmlConsentActivity;
import com.scb.phone.view.activity.hml.HmlEtbSubmissionOtpActivity;
import java.lang.reflect.Method;
import java.util.EnumMap;
import net.sf.scuba.smartcards.ISO7816;
import o.C0371Fd;
import o.C14957gcv;
import o.C5304bqX;
import o.EnumC17522xVE;
import o.GuL;
import o.NL;
import o.OVB;
import o.TVH;
import o.Wcm;
import o.pug;
import o.xzZ;
import org.bouncycastle.crypto.tls.CipherSuite;
/* loaded from: classes4.dex */
public final class HmlETBReviewActivity extends Hilt_HmlETBReviewActivity<C5304bqX> {
/* renamed from: o, reason: collision with root package name */
public static final LWm f7276o;
private static int p;
private static long r;
private static char[] s;
private static final byte[] $$y = {ISO7816.INS_CHANGE_CHV, -61, -106, ISO7816.INS_ENVELOPE};
private static final int $$z = 102;
private static int $10 = 0;
private static int $11 = 1;
private static int t = 0;
private static void aF(int i, byte b, int i2, Object[] objArr) {
int i3 = 3 - (b * 2);
byte[] bArr = $$y;
int i4 = i * 4;
int i5 = 121 - (i2 * 2);
byte[] bArr2 = new byte[1 - i4];
int i6 = 0 - i4;
int i7 = -1;
if (bArr == null) {
i7 = -1;
i5 = (-i3) + i5;
i3 = i3;
}
while (true) {
int i8 = i7 + 1;
bArr2[i8] = (byte) i5;
int i9 = i3 + 1;
if (i8 == i6) {
objArr[0] = new String(bArr2, 0);
return;
}
i7 = i8;
i5 = (-bArr[i9]) + i5;
i3 = i9;
}
}
public static /* synthetic */ Object d(Object[] objArr, int i, int i2, int i3) {
int i4 = ~i;
int i5 = ~i2;
int i6 = ~i3;
int i7 = (i * (-519)) + (i2 * 521) + (((~(i2 | i3)) | (~(i4 | i5 | i6))) * 520);
int i8 = ~(i5 | i6);
int i9 = ~(i3 | i);
if (i7 + ((i8 | i9) * (-1040)) + (((~(i | i5)) | (~(i4 | i6)) | i9) * 520) != 1) {
return a(objArr);
}
HmlETBReviewActivity hmlETBReviewActivity = (HmlETBReviewActivity) objArr[0];
Bundle bundle = (Bundle) objArr[1];
int i10 = 2 % 2;
int i11 = p + 21;
t = i11 % 128;
int i12 = i11 % 2;
Object[] objArr2 = new Object[1];
aD(new char[]{13550, 13455, 9175, 62255, 42731, 1955, 40914, 61026, 30425, 57768, 58435, 11238, 45105, 42522, 8785, 27120, 62356, 25822, 28660, 42877, 15869, 10922}, ((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getPackageName().length() - 13, objArr2);
Class<?> cls = Class.forName((String) objArr2[0]);
Object[] objArr3 = new Object[1];
aE(new int[]{0, 5, 0, 0}, true, new byte[]{0, 1, 0, 0, 0}, objArr3);
int intValue = ((Integer) cls.getDeclaredMethod((String) objArr3[0], new Class[0]).invoke(null, new Object[0])).intValue() % 100000;
if (intValue < 99000 || intValue > 99999) {
Context baseContext = hmlETBReviewActivity.getBaseContext();
if (baseContext == null) {
int i13 = p + 9;
t = i13 % 128;
int i14 = i13 % 2;
Object[] objArr4 = new Object[1];
aD(new char[]{37127, 37222, 26316, 46644, 43874, 2602, 26477, 5853, 54064, 42163, 59850, 54105, 5590, 58114, 12166, 37169, 22094, 8649, 25194, 24526, 38929, 28587, 41170, 7222, 56043, 43538, 59068, 55922, 8054, 59638}, ((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getResources().getString(R.string.investment_risk_later).substring(27, 28).length() - 1, objArr4);
Class<?> cls2 = Class.forName((String) objArr4[0]);
Object[] objArr5 = new Object[1];
aD(new char[]{38287, 38380, 15826, 60721, 61350, 20216, 65253, 36693, 55218, 65457, 44296, 19134, 4431, 47111, 27464, 2302, 21220, 31438, 9912, 50758, 40064, 13481}, ((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getResources().getString(R.string.manage_scb_promptpay).substring(6, 11).codePointAt(4) - 32, objArr5);
baseContext = (Context) cls2.getMethod((String) objArr5[0], new Class[0]).invoke(null, null);
int i15 = t + 61;
p = i15 % 128;
int i16 = i15 % 2;
}
if (baseContext != null) {
baseContext = baseContext.getApplicationContext();
}
if (baseContext != null) {
try {
Object obj = xzZ.y.get(125943855);
if (obj == null) {
obj = ((Class) xzZ.c(ExpandableListView.getPackedPositionGroup(0L) + 492, 6 - (ViewConfiguration.getGlobalActionKeyTimeout() > 0L ? 1 : (ViewConfiguration.getGlobalActionKeyTimeout() == 0L ? 0 : -1)), (char) TextUtils.getTrimmedLength(""))).getMethod("a", null);
xzZ.y.put(125943855, obj);
}
Object invoke = ((Method) obj).invoke(null, null);
Object[] objArr6 = new Object[1];
aD(new char[]{20976, 20929, 38645, 18004, 45958, 4766, 21532, 9660, 5019, 21721, 61820, 57447, 54562, 4907, 14192, 41487, 38603, 53672, 31385, 27886, 22770, 40849, 47136, 12038, 6779, 23086, 65051, 59743, 57222, 6340, 15809, 44027, 33275, 59027, 25454, 5639, 17153, 42295, 41290, 53423, 1166, 25503, 58552, 37540, 50866, 11878, 10811, 23835, 34907, 60466, 26639, 8098}, ((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getPackageName().length() - 13, objArr6);
String str = (String) objArr6[0];
Object[] objArr7 = new Object[1];
aD(new char[]{40657, 40628, 31490, 44022, 42205, 1479, 9964, 22347, 56511, 47482, 58999, 37583, 6660, 65157, 8233, 53416, 23019, 15454, 28100, 7703, 38791, 29236, 44922, 24060, 54538, 46990, 59714, 39842, 4338, 62822, 10955, 55645, 20107, 2865, 29795, 25854, 35878, 18583, 46622, 41487, 52220, 36448, 62433, 57428, 2455, 50066, 15674, 12264, 18220, 409, 32517, 27908, 33429, 18296, 47341, 43833, 49354, 33984, 64086, 63156, 15929, 56051, 17418, 13382, 32207, 6186, 33266, 29283}, (-1) - TextUtils.indexOf((CharSequence) "", '0'), objArr7);
String str2 = (String) objArr7[0];
Object[] objArr8 = new Object[1];
aD(new char[]{13058, 13155, 40482, 20108, 44598, 3882, 17705, 13528, 28987, 23633, 60619, 61782, 46976, 7155, 10949, 45886, 62568, 55590, 26414, 32219, 14851, 38680, 42432, 15931, 30859, 21234, 58361, 63585, 48497, 4114, 8304, 47774, 58194, 60996, 32391, 1895, 8694, 44472, 48295, 49566, 26159, 27408, 63839, 33730, 42055, 9914, 14211, 19496, 60076, 58545, 30184, 3782, 12096, 41567, 45652, 51443, 27980, 25019, 61630, 38261, 37858, 16267, 20144, 22490, 53279, 64778, 35613, 4596}, ((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getApplicationInfo().targetSdkVersion - 34, objArr8);
String str3 = (String) objArr8[0];
Object[] objArr9 = new Object[1];
aD(new char[]{17474, 17450, 37312, 16674, 51104, 26360, 33998, 62844, 1641, 21494, 34131, 12539, 49281, 5133, 17221, 29393, 33577, 54995, 3745, 48233, 19783, 39078, 52247, 65413, 3995, 23808, 35454, 14805, 51772, 8175, 18922, 31592, 37954, 57774, 5897, 50821, 22262, 41495, 54645, '?', 4398, 25762, 37083, 16993, 54099, 10582, 24064, 36239, 40443, 60169, 7277, 53046, 22535, 44474, 56279, 2371, 6743, 28163, 39229, 21636, 58619, 12395, 10093, 38450, 42765, 62201, 58079, 53328, 25069, 46914, 41062, 5027, 9215, 31034, 28569, 23866, 60934, 15255}, ((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getResources().getString(R.string.qr_expired_on).substring(7, 8).codePointAt(0) - 32, objArr9);
String str4 = (String) objArr9[0];
Object[] objArr10 = new Object[1];
aE(new int[]{5, 5, CipherSuite.TLS_PSK_WITH_NULL_SHA384, 0}, true, new byte[]{1, 0, 0, 0, 1}, objArr10);
String str5 = (String) objArr10[0];
Object[] objArr11 = new Object[1];
aD(new char[]{53869, 53768, 55210, 1885, 41466, 228, 50350, 46424, 36945, 5514, 58196, 28804, 22256, 21037, 9480, 12985, 5383, 37102, 26852, 64598, 56124, 56986, 43589, 49133, 39351, 7030, 60515, 31225, 23631, 22936, 12266, 15133, 562, 42950, 28947, 34481, 49305, 58430, 45881, 16457}, ViewConfiguration.getScrollDefaultDelay() >> 16, objArr11);
Object[] objArr12 = {baseContext, str, str2, str3, str4, true, str5, (String) objArr11[0]};
Object obj2 = xzZ.y.get(1656189573);
if (obj2 == null) {
obj2 = ((Class) xzZ.c(487 - ExpandableListView.getPackedPositionGroup(0L), 5 - View.MeasureSpec.getMode(0), (char) View.getDefaultSize(0, 0))).getMethod("e", Context.class, String.class, String.class, String.class, String.class, Boolean.TYPE, String.class, String.class);
xzZ.y.put(1656189573, obj2);
}
((Method) obj2).invoke(invoke, objArr12);
} catch (Throwable th) {
Throwable cause = th.getCause();
if (cause != null) {
throw cause;
}
throw th;
}
}
}
super.onCreate(bundle);
return null;
}
/* loaded from: classes4.dex */
public static final class LWm {
private LWm() {
}
public static Intent afR_(Context context, EnumC17522xVE enumC17522xVE, String str) {
C14957gcv.e(context, "");
C14957gcv.e(enumC17522xVE, "");
Intent putExtra = new Intent(context, (Class<?>) HmlETBReviewActivity.class).putExtra("EXTRA_TYPE", enumC17522xVE.ordinal());
C14957gcv.c(putExtra, "");
Intent putExtra2 = putExtra.putExtra("DEEP_LINK_ID", str);
C14957gcv.c(putExtra2, "");
return putExtra2;
}
public /* synthetic */ LWm(byte b) {
this();
}
}
@Override // com.scb.phone.view.activity.hml.HmlBaseReviewActivity
public final void h() {
int i = 2 % 2;
c("p10x1_review_submission", new pug("user_type", "etb"));
int i2 = p + 5;
t = i2 % 128;
if (i2 % 2 != 0) {
throw null;
}
}
@Override // o.InterfaceC9342dht
public final void b(String str, String str2) {
int i = 2 % 2;
C14957gcv.e(str, "");
C14957gcv.e(str2, "");
c("p10x1_review_submission_confirmation", new pug("product_type", str), new pug("product_application_amount", str2));
int i2 = p + 109;
t = i2 % 128;
int i3 = i2 % 2;
}
@Override // o.InterfaceC9342dht
public final void e() {
int i = 2 % 2;
int i2 = t + 73;
p = i2 % 128;
startActivity(HmlApplicationOutcomeActivity.afw_(this, i2 % 2 != 0));
}
@Override // o.InterfaceC9342dht
public final void b(EnumMap<OVB, Boolean> enumMap, String str) {
String str2;
String str3;
String str4;
int i = 2 % 2;
int i2 = t + 107;
p = i2 % 128;
int i3 = i2 % 2;
C14957gcv.e(enumMap, "");
C14957gcv.e(str, "");
HmlEtbSubmissionOtpActivity.LWm lWm = HmlEtbSubmissionOtpActivity.b;
HmlETBReviewActivity hmlETBReviewActivity = this;
Boolean bool = enumMap.get(OVB.TERMS_N_CONDITIONS);
Boolean bool2 = enumMap.get(OVB.MODEL_CONSENT);
Boolean bool3 = enumMap.get(OVB.CROSS_SELL_CONSENT);
String str5 = ((HmlBaseReviewActivity) this).k;
Object obj = null;
if (str5 != null) {
int i4 = t + 53;
p = i4 % 128;
if (i4 % 2 == 0) {
obj.hashCode();
throw null;
}
str2 = str5;
} else {
C14957gcv.a("");
str2 = null;
}
String str6 = ((HmlBaseReviewActivity) this).l;
if (str6 != null) {
str3 = str6;
} else {
C14957gcv.a("");
str3 = null;
}
String str7 = ((HmlBaseReviewActivity) this).m;
if (str7 != null) {
str4 = str7;
} else {
C14957gcv.a("");
str4 = null;
}
startActivityForResult(HmlEtbSubmissionOtpActivity.LWm.afS_(hmlETBReviewActivity, bool, bool2, bool3, str, null, str2, str3, str4), 1100);
}
private static void aD(char[] cArr, int i, Object[] objArr) {
int i2 = 2 % 2;
GuL guL = new GuL();
char[] a = GuL.a(r ^ (-7538262848231253921L), cArr, i);
guL.a = 4;
while (guL.a < a.length) {
int i3 = $11 + 97;
$10 = i3 % 128;
int i4 = i3 % 2;
guL.c = guL.a - 4;
int i5 = guL.a;
try {
Object[] objArr2 = {Long.valueOf(a[guL.a] ^ a[guL.a % 4]), Long.valueOf(guL.c), Long.valueOf(r)};
Object obj = xzZ.y.get(428080616);
if (obj == null) {
Class cls = (Class) xzZ.c(208 - ((Process.getThreadPriority(0) + 20) >> 6), Process.getGidForName("") + 6, (char) ((Process.myTid() >> 22) + 1706));
byte b = (byte) 0;
byte b2 = b;
Object[] objArr3 = new Object[1];
aF(b, b2, (byte) (b2 + 1), objArr3);
obj = cls.getMethod((String) objArr3[0], Long.TYPE, Long.TYPE, Long.TYPE);
xzZ.y.put(428080616, obj);
}
a[i5] = ((Character) ((Method) obj).invoke(null, objArr2)).charValue();
Object[] objArr4 = {guL, guL};
Object obj2 = xzZ.y.get(-1875914398);
if (obj2 == null) {
Class cls2 = (Class) xzZ.c(392 - KeyEvent.keyCodeFromString(""), 5 - (KeyEvent.getMaxKeyCode() >> 16), (char) ((AudioTrack.getMaxVolume() > BitmapDescriptorFactory.HUE_RED ? 1 : (AudioTrack.getMaxVolume() == BitmapDescriptorFactory.HUE_RED ? 0 : -1)) - 1));
byte b3 = (byte) 0;
byte b4 = b3;
Object[] objArr5 = new Object[1];
aF(b3, b4, b4, objArr5);
obj2 = cls2.getMethod((String) objArr5[0], Object.class, Object.class);
xzZ.y.put(-1875914398, obj2);
}
((Method) obj2).invoke(null, objArr4);
int i6 = $10 + 19;
$11 = i6 % 128;
if (i6 % 2 == 0) {
int i7 = 3 % 5;
}
} catch (Throwable th) {
Throwable cause = th.getCause();
if (cause == null) {
throw th;
}
throw cause;
}
}
objArr[0] = new String(a, 4, a.length - 4);
}
@Override // o.InterfaceC9342dht
public final void e(OVB ovb, C0371Fd c0371Fd) {
int i = 2 % 2;
int i2 = t + 23;
p = i2 % 128;
int i3 = i2 % 2;
C14957gcv.e(ovb, "");
C14957gcv.e(c0371Fd, "");
HmlConsentActivity.Sts sts = HmlConsentActivity.k;
startActivityForResult(HmlConsentActivity.Sts.afF_(this, ovb, c0371Fd), 1002);
int i4 = t + 49;
p = i4 % 128;
int i5 = i4 % 2;
}
/* JADX WARN: Code restructure failed: missing block: B:10:0x002a, code lost:
if (r4 != null) goto L15;
*/
/* JADX WARN: Code restructure failed: missing block: B:11:0x0033, code lost:
o.C14957gcv.a("");
*/
/* JADX WARN: Code restructure failed: missing block: B:21:0x0031, code lost:
r2 = r4;
*/
/* JADX WARN: Code restructure failed: missing block: B:23:0x002f, code lost:
if (r4 != null) goto L15;
*/
/* JADX WARN: Multi-variable type inference failed */
@Override // com.scb.phone.view.activity.hml.HmlBaseReviewActivity, com.scb.phone.view.activity.BaseActivity, com.scb.phone.view.activity.PreLoadCheckActivity, androidx.fragment.app.FragmentActivity, androidx.activity.ComponentActivity, android.app.Activity
/*
Code decompiled incorrectly, please refer to instructions dump.
To view partially-correct add '--show-bad-code' argument
*/
public final void onActivityResult(int r4, int r5, android.content.Intent r6) {
/*
r3 = this;
r0 = 2
int r1 = r0 % r0
int r1 = com.scb.phone.view.activity.hml.HmlETBReviewActivity.t
int r1 = r1 + 109
int r2 = r1 % 128
com.scb.phone.view.activity.hml.HmlETBReviewActivity.p = r2
int r1 = r1 % r0
r2 = 0
if (r1 == 0) goto L6a
super.onActivityResult(r4, r5, r6)
r6 = -1
if (r5 != r6) goto L69
r5 = 1100(0x44c, float:1.541E-42)
if (r4 != r5) goto L69
int r4 = com.scb.phone.view.activity.hml.HmlETBReviewActivity.t
int r4 = r4 + 17
int r5 = r4 % 128
com.scb.phone.view.activity.hml.HmlETBReviewActivity.p = r5
int r4 = r4 % r0
r5 = 0
if (r4 != 0) goto L2d
T extends o.bmZ r4 = r3.presenter
r6 = 36
int r6 = r6 / r5
if (r4 == 0) goto L33
goto L31
L2d:
T extends o.bmZ r4 = r3.presenter
if (r4 == 0) goto L33
L31:
r2 = r4
goto L38
L33:
java.lang.String r4 = ""
o.C14957gcv.a(r4)
L38:
o.bqX r2 = (o.C5304bqX) r2
o.brc r4 = new o.brc
r4.<init>(r2)
T extends o.cYp r6 = r2.f
r1 = 1
if (r6 == 0) goto L4e
int r5 = com.scb.phone.view.activity.hml.HmlETBReviewActivity.t
int r5 = r5 + 101
int r6 = r5 % 128
com.scb.phone.view.activity.hml.HmlETBReviewActivity.p = r6
int r5 = r5 % r0
r5 = r1
L4e:
r5 = r5 ^ r1
if (r5 == 0) goto L52
goto L69
L52:
int r5 = com.scb.phone.view.activity.hml.HmlETBReviewActivity.t
int r5 = r5 + 21
int r6 = r5 % 128
com.scb.phone.view.activity.hml.HmlETBReviewActivity.p = r6
int r5 = r5 % r0
T extends o.cYp r5 = r2.f
r4.e(r5)
int r4 = com.scb.phone.view.activity.hml.HmlETBReviewActivity.p
int r4 = r4 + 111
int r5 = r4 % 128
com.scb.phone.view.activity.hml.HmlETBReviewActivity.t = r5
int r4 = r4 % r0
L69:
return
L6a:
super.onActivityResult(r4, r5, r6)
throw r2
*/
throw new UnsupportedOperationException("Method not decompiled: com.scb.phone.view.activity.hml.HmlETBReviewActivity.onActivityResult(int, int, android.content.Intent):void");
}
@Override // o.InterfaceC9342dht
public final void b(String str, String str2, boolean z) {
String str3;
int i = 2 % 2;
C14957gcv.e(str, "");
C14957gcv.e(str2, "");
pug[] pugVarArr = new pug[4];
pugVarArr[0] = new pug("user_type", "etb");
if (z) {
int i2 = p + 49;
t = i2 % 128;
if (i2 % 2 != 0) {
Object obj = null;
obj.hashCode();
throw null;
}
str3 = "business_owner";
} else {
int i3 = p + 43;
t = i3 % 128;
int i4 = i3 % 2;
str3 = "consumer";
}
pugVarArr[1] = new pug("loan_type", str3);
pugVarArr[2] = new pug("product_type", str);
pugVarArr[3] = new pug("product_application_amount", str2);
c("p10x1_etb_otp", pugVarArr);
}
@Override // com.scb.phone.view.activity.hml.HmlBaseReviewActivity, o.InterfaceC9342dht
public final void c(NL nl) {
int i = 2 % 2;
C14957gcv.e(nl, "");
super.c(nl);
Wcm wcm = nl.e.e;
if (wcm != null) {
int i2 = t + 95;
p = i2 % 128;
TextView textView = null;
if (i2 % 2 == 0) {
TextView textView2 = this.stampDutyDescription;
textView.hashCode();
throw null;
}
TextView textView3 = this.stampDutyDescription;
if (textView3 == null) {
C14957gcv.a("");
textView3 = null;
}
textView3.setVisibility(0);
View view = this.stampDutySeparator;
if (view == null) {
C14957gcv.a("");
view = null;
}
view.setVisibility(0);
TextView textView4 = this.stampDutyLabel;
if (textView4 == null) {
C14957gcv.a("");
textView4 = null;
}
textView4.setVisibility(0);
TextView textView5 = this.stampDutyLabel;
if (textView5 != null) {
int i3 = t + 71;
p = i3 % 128;
if (i3 % 2 == 0) {
textView.hashCode();
throw null;
}
} else {
C14957gcv.a("");
textView5 = null;
}
textView5.setText(getString(R.string.hml_review_stamp_duty_label, wcm.e));
TextView textView6 = this.stampDutyDescription;
if (textView6 != null) {
int i4 = p + 73;
t = i4 % 128;
if (i4 % 2 != 0) {
textView.hashCode();
throw null;
}
textView = textView6;
} else {
C14957gcv.a("");
}
textView.setText(getString(R.string.hml_review_stamp_duty_description, wcm.e, wcm.d));
}
}
private static void aE(int[] iArr, boolean z, byte[] bArr, Object[] objArr) {
int i;
char[] cArr;
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[] cArr2 = s;
char c = '0';
if (cArr2 != null) {
int i8 = $11 + 67;
$10 = i8 % 128;
int i9 = i8 % 2;
int length = cArr2.length;
char[] cArr3 = new char[length];
int i10 = 0;
while (i10 < length) {
try {
Object[] objArr2 = new Object[1];
objArr2[i3] = Integer.valueOf(cArr2[i10]);
Object obj = xzZ.y.get(1645349359);
if (obj != null) {
cArr = cArr2;
} else {
Class cls = (Class) xzZ.c(223 - (ViewConfiguration.getMinimumFlingVelocity() >> 16), 5 - TextUtils.getOffsetBefore("", i3), (char) (TextUtils.indexOf("", c, i3) + 41978));
byte b = (byte) i3;
byte b2 = b;
cArr = cArr2;
Object[] objArr3 = new Object[1];
aF(b, b2, (byte) (b2 | Ascii.EM), objArr3);
obj = cls.getMethod((String) objArr3[0], Integer.TYPE);
xzZ.y.put(1645349359, obj);
}
cArr3[i10] = ((Character) ((Method) obj).invoke(null, objArr2)).charValue();
i10++;
cArr2 = cArr;
i3 = 0;
c = '0';
} catch (Throwable th) {
Throwable cause = th.getCause();
if (cause == null) {
throw th;
}
throw cause;
}
}
cArr2 = cArr3;
}
char[] cArr4 = new char[i5];
System.arraycopy(cArr2, i4, cArr4, 0, i5);
if (bArr != null) {
int i11 = $11 + 103;
$10 = i11 % 128;
int i12 = i11 % 2;
char[] cArr5 = new char[i5];
tvh.c = 0;
char c2 = 0;
while (tvh.c < i5) {
int i13 = $10 + 19;
$11 = i13 % 128;
if (i13 % 2 != 0 ? bArr[tvh.c] != 1 : bArr[tvh.c] != 1) {
int i14 = tvh.c;
Object[] objArr4 = {Integer.valueOf(cArr4[tvh.c]), Integer.valueOf(c2)};
Object obj2 = xzZ.y.get(1084521042);
if (obj2 == null) {
obj2 = ((Class) xzZ.c((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)) + 15, 5 - Drawable.resolveOpacity(0, 0), (char) (58134 - KeyEvent.getDeadChar(0, 0)))).getMethod("H", Integer.TYPE, Integer.TYPE);
xzZ.y.put(1084521042, obj2);
}
cArr5[i14] = ((Character) ((Method) obj2).invoke(null, objArr4)).charValue();
} else {
int i15 = tvh.c;
Object[] objArr5 = {Integer.valueOf(cArr4[tvh.c]), Integer.valueOf(c2)};
Object obj3 = xzZ.y.get(850398076);
if (obj3 == null) {
obj3 = ((Class) xzZ.c(501 - TextUtils.indexOf((CharSequence) "", '0', 0), 5 - TextUtils.indexOf("", "", 0, 0), (char) ((ViewConfiguration.getPressedStateDuration() >> 16) + 54))).getMethod("F", Integer.TYPE, Integer.TYPE);
xzZ.y.put(850398076, obj3);
}
cArr5[i15] = ((Character) ((Method) obj3).invoke(null, objArr5)).charValue();
}
c2 = cArr5[tvh.c];
Object[] objArr6 = {tvh, tvh};
Object obj4 = xzZ.y.get(1698744941);
if (obj4 == null) {
Class cls2 = (Class) xzZ.c(Gravity.getAbsoluteGravity(0, 0) + 402, (ExpandableListView.getPackedPositionForGroup(0) > 0L ? 1 : (ExpandableListView.getPackedPositionForGroup(0) == 0L ? 0 : -1)) + 5, (char) ((SystemClock.currentThreadTimeMillis() > (-1L) ? 1 : (SystemClock.currentThreadTimeMillis() == (-1L) ? 0 : -1)) + 21607));
byte b3 = (byte) 0;
byte b4 = b3;
Object[] objArr7 = new Object[1];
aF(b3, b4, (byte) (b4 | Ascii.CAN), objArr7);
obj4 = cls2.getMethod((String) objArr7[0], Object.class, Object.class);
xzZ.y.put(1698744941, obj4);
}
((Method) obj4).invoke(null, objArr6);
}
cArr4 = cArr5;
}
if (i7 > 0) {
char[] cArr6 = new char[i5];
i = 0;
System.arraycopy(cArr4, 0, cArr6, 0, i5);
int i16 = i5 - i7;
System.arraycopy(cArr6, 0, cArr4, i16, i7);
System.arraycopy(cArr6, i7, cArr4, 0, i16);
} else {
i = 0;
}
if (z) {
char[] cArr7 = new char[i5];
while (true) {
tvh.c = i;
if (tvh.c >= i5) {
break;
}
int i17 = $10 + 43;
$11 = i17 % 128;
if (i17 % 2 == 0) {
cArr7[tvh.c] = cArr4[(i5 / tvh.c) % 1];
int i18 = tvh.c;
i = 0;
} else {
cArr7[tvh.c] = cArr4[(i5 - tvh.c) - 1];
i = tvh.c + 1;
}
}
cArr4 = cArr7;
}
if (i6 > 0) {
int i19 = 0;
while (true) {
tvh.c = i19;
if (tvh.c >= i5) {
break;
}
cArr4[tvh.c] = (char) (cArr4[tvh.c] - iArr[2]);
i19 = tvh.c + 1;
}
}
objArr[0] = new String(cArr4);
}
@Override // com.scb.phone.view.activity.hml.Hilt_HmlETBReviewActivity, com.scb.phone.view.activity.hml.HmlBaseReviewActivity, 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 final void onResume() {
int i = 2 % 2;
Context baseContext = getBaseContext();
Object obj = null;
if (baseContext == null) {
int i2 = p + 45;
t = i2 % 128;
int i3 = i2 % 2;
Object[] objArr = new Object[1];
aD(new char[]{37127, 37222, 26316, 46644, 43874, 2602, 26477, 5853, 54064, 42163, 59850, 54105, 5590, 58114, 12166, 37169, 22094, 8649, 25194, 24526, 38929, 28587, 41170, 7222, 56043, 43538, 59068, 55922, 8054, 59638}, ((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getPackageName().length() - 13, objArr);
Class<?> cls = Class.forName((String) objArr[0]);
Object[] objArr2 = new Object[1];
aD(new char[]{38287, 38380, 15826, 60721, 61350, 20216, 65253, 36693, 55218, 65457, 44296, 19134, 4431, 47111, 27464, 2302, 21220, 31438, 9912, 50758, 40064, 13481}, TextUtils.indexOf("", ""), objArr2);
baseContext = (Context) cls.getMethod((String) objArr2[0], new Class[0]).invoke(null, null);
}
if (baseContext != null) {
int i4 = t + 5;
p = i4 % 128;
if (i4 % 2 == 0) {
baseContext.getApplicationContext();
obj.hashCode();
throw null;
}
baseContext = baseContext.getApplicationContext();
}
if (baseContext != null) {
try {
Object obj2 = xzZ.y.get(125943855);
if (obj2 == null) {
obj2 = ((Class) xzZ.c((ViewConfiguration.getMaximumDrawingCacheSize() >> 24) + 492, (ViewConfiguration.getTapTimeout() >> 16) + 5, (char) KeyEvent.keyCodeFromString(""))).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(486 - ((byte) KeyEvent.getModifierMetaStateMask()), (SystemClock.uptimeMillis() > 0L ? 1 : (SystemClock.uptimeMillis() == 0L ? 0 : -1)) + 4, (char) ((-1) - ((byte) KeyEvent.getModifierMetaStateMask())))).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();
}
private static /* synthetic */ Object a(Object[] objArr) {
HmlETBReviewActivity hmlETBReviewActivity = (HmlETBReviewActivity) objArr[0];
int i = 2 % 2;
int i2 = t + 19;
p = i2 % 128;
Object obj = null;
if (i2 % 2 == 0) {
hmlETBReviewActivity.getBaseContext();
throw null;
}
Context baseContext = hmlETBReviewActivity.getBaseContext();
if (baseContext == null) {
Object[] objArr2 = new Object[1];
aD(new char[]{37127, 37222, 26316, 46644, 43874, 2602, 26477, 5853, 54064, 42163, 59850, 54105, 5590, 58114, 12166, 37169, 22094, 8649, 25194, 24526, 38929, 28587, 41170, 7222, 56043, 43538, 59068, 55922, 8054, 59638}, ((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getResources().getString(R.string.redemption_slip_filename).substring(0, 10).codePointAt(1) - 88, objArr2);
Class<?> cls = Class.forName((String) objArr2[0]);
Object[] objArr3 = new Object[1];
aD(new char[]{38287, 38380, 15826, 60721, 61350, 20216, 65253, 36693, 55218, 65457, 44296, 19134, 4431, 47111, 27464, 2302, 21220, 31438, 9912, 50758, 40064, 13481}, TextUtils.indexOf((CharSequence) "", '0', 0) + 1, objArr3);
baseContext = (Context) cls.getMethod((String) objArr3[0], new Class[0]).invoke(null, null);
}
if (baseContext != null) {
int i3 = p + 111;
t = i3 % 128;
int i4 = i3 % 2;
baseContext = baseContext.getApplicationContext();
int i5 = p + 23;
t = i5 % 128;
int i6 = i5 % 2;
}
if (baseContext != null) {
int i7 = p + 51;
t = i7 % 128;
int i8 = i7 % 2;
try {
Object obj2 = xzZ.y.get(125943855);
if (obj2 == null) {
obj2 = ((Class) xzZ.c(493 - (SystemClock.elapsedRealtime() > 0L ? 1 : (SystemClock.elapsedRealtime() == 0L ? 0 : -1)), 5 - Gravity.getAbsoluteGravity(0, 0), (char) ExpandableListView.getPackedPositionGroup(0L))).getMethod("a", null);
xzZ.y.put(125943855, obj2);
}
Object invoke = ((Method) obj2).invoke(null, null);
Object[] objArr4 = {baseContext};
Object obj3 = xzZ.y.get(1633456013);
if (obj3 == null) {
obj3 = ((Class) xzZ.c((Process.myTid() >> 22) + 487, (ExpandableListView.getPackedPositionForChild(0, 0) > 0L ? 1 : (ExpandableListView.getPackedPositionForChild(0, 0) == 0L ? 0 : -1)) + 6, (char) View.combineMeasuredStates(0, 0))).getMethod("c", Context.class);
xzZ.y.put(1633456013, obj3);
}
((Method) obj3).invoke(invoke, objArr4);
} catch (Throwable th) {
Throwable cause = th.getCause();
if (cause != null) {
throw cause;
}
throw th;
}
}
super.onPause();
int i9 = t + 105;
p = i9 % 128;
if (i9 % 2 != 0) {
return null;
}
obj.hashCode();
throw null;
}
@Override // com.scb.phone.view.activity.hml.Hilt_HmlETBReviewActivity, com.scb.phone.view.activity.hml.HmlBaseReviewActivity, 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 final void attachBaseContext(Context context) {
int i = 2 % 2;
int i2 = p + 105;
t = i2 % 128;
int i3 = i2 % 2;
super.attachBaseContext(context);
Object[] objArr = new Object[1];
aD(new char[]{13550, 13455, 9175, 62255, 42731, 1955, 40914, 61026, 30425, 57768, 58435, 11238, 45105, 42522, 8785, 27120, 62356, 25822, 28660, 42877, 15869, 10922}, (-1) - TextUtils.lastIndexOf("", '0', 0, 0), objArr);
Class<?> cls = Class.forName((String) objArr[0]);
Object[] objArr2 = new Object[1];
aE(new int[]{0, 5, 0, 0}, true, new byte[]{0, 1, 0, 0, 0}, objArr2);
Object obj = null;
int intValue = ((Integer) cls.getDeclaredMethod((String) objArr2[0], new Class[0]).invoke(null, new Object[0])).intValue() % 100000;
if (intValue >= 99000) {
int i4 = t + 113;
p = i4 % 128;
if (i4 % 2 == 0) {
obj.hashCode();
throw null;
}
if (intValue <= 99999) {
return;
}
}
Context applicationContext = context != null ? context.getApplicationContext() : context;
if (applicationContext != null) {
try {
Object obj2 = xzZ.y.get(125943855);
if (obj2 == null) {
obj2 = ((Class) xzZ.c(492 - (ViewConfiguration.getLongPressTimeout() >> 16), TextUtils.getOffsetAfter("", 0) + 5, (char) ((-1) - ExpandableListView.getPackedPositionChild(0L)))).getMethod("a", null);
xzZ.y.put(125943855, obj2);
}
Object invoke = ((Method) obj2).invoke(null, null);
Object[] objArr3 = new Object[1];
aD(new char[]{20976, 20929, 38645, 18004, 45958, 4766, 21532, 9660, 5019, 21721, 61820, 57447, 54562, 4907, 14192, 41487, 38603, 53672, 31385, 27886, 22770, 40849, 47136, 12038, 6779, 23086, 65051, 59743, 57222, 6340, 15809, 44027, 33275, 59027, 25454, 5639, 17153, 42295, 41290, 53423, 1166, 25503, 58552, 37540, 50866, 11878, 10811, 23835, 34907, 60466, 26639, 8098}, ViewConfiguration.getFadingEdgeLength() >> 16, objArr3);
String str = (String) objArr3[0];
Object[] objArr4 = new Object[1];
aD(new char[]{40657, 40628, 31490, 44022, 42205, 1479, 9964, 22347, 56511, 47482, 58999, 37583, 6660, 65157, 8233, 53416, 23019, 15454, 28100, 7703, 38791, 29236, 44922, 24060, 54538, 46990, 59714, 39842, 4338, 62822, 10955, 55645, 20107, 2865, 29795, 25854, 35878, 18583, 46622, 41487, 52220, 36448, 62433, 57428, 2455, 50066, 15674, 12264, 18220, 409, 32517, 27908, 33429, 18296, 47341, 43833, 49354, 33984, 64086, 63156, 15929, 56051, 17418, 13382, 32207, 6186, 33266, 29283}, (-1) - TextUtils.lastIndexOf("", '0'), objArr4);
String str2 = (String) objArr4[0];
Object[] objArr5 = new Object[1];
aD(new char[]{13058, 13155, 40482, 20108, 44598, 3882, 17705, 13528, 28987, 23633, 60619, 61782, 46976, 7155, 10949, 45886, 62568, 55590, 26414, 32219, 14851, 38680, 42432, 15931, 30859, 21234, 58361, 63585, 48497, 4114, 8304, 47774, 58194, 60996, 32391, 1895, 8694, 44472, 48295, 49566, 26159, 27408, 63839, 33730, 42055, 9914, 14211, 19496, 60076, 58545, 30184, 3782, 12096, 41567, 45652, 51443, 27980, 25019, 61630, 38261, 37858, 16267, 20144, 22490, 53279, 64778, 35613, 4596}, View.MeasureSpec.getSize(0), objArr5);
String str3 = (String) objArr5[0];
Object[] objArr6 = new Object[1];
aD(new char[]{17474, 17450, 37312, 16674, 51104, 26360, 33998, 62844, 1641, 21494, 34131, 12539, 49281, 5133, 17221, 29393, 33577, 54995, 3745, 48233, 19783, 39078, 52247, 65413, 3995, 23808, 35454, 14805, 51772, 8175, 18922, 31592, 37954, 57774, 5897, 50821, 22262, 41495, 54645, '?', 4398, 25762, 37083, 16993, 54099, 10582, 24064, 36239, 40443, 60169, 7277, 53046, 22535, 44474, 56279, 2371, 6743, 28163, 39229, 21636, 58619, 12395, 10093, 38450, 42765, 62201, 58079, 53328, 25069, 46914, 41062, 5027, 9215, 31034, 28569, 23866, 60934, 15255}, ViewConfiguration.getMaximumDrawingCacheSize() >> 24, objArr6);
String str4 = (String) objArr6[0];
Object[] objArr7 = new Object[1];
aE(new int[]{5, 5, CipherSuite.TLS_PSK_WITH_NULL_SHA384, 0}, true, new byte[]{1, 0, 0, 0, 1}, objArr7);
String str5 = (String) objArr7[0];
Object[] objArr8 = new Object[1];
aD(new char[]{53869, 53768, 55210, 1885, 41466, 228, 50350, 46424, 36945, 5514, 58196, 28804, 22256, 21037, 9480, 12985, 5383, 37102, 26852, 64598, 56124, 56986, 43589, 49133, 39351, 7030, 60515, 31225, 23631, 22936, 12266, 15133, 562, 42950, 28947, 34481, 49305, 58430, 45881, 16457}, ViewConfiguration.getKeyRepeatTimeout() >> 16, objArr8);
Object[] objArr9 = {applicationContext, str, str2, str3, str4, true, str5, (String) objArr8[0]};
Object obj3 = xzZ.y.get(1656189573);
if (obj3 == null) {
obj3 = ((Class) xzZ.c(487 - (ViewConfiguration.getMaximumFlingVelocity() >> 16), Process.getGidForName("") + 6, (char) (ViewConfiguration.getFadingEdgeLength() >> 16))).getMethod("e", Context.class, String.class, String.class, String.class, String.class, Boolean.TYPE, String.class, String.class);
xzZ.y.put(1656189573, obj3);
}
((Method) obj3).invoke(invoke, objArr9);
} catch (Throwable th) {
Throwable cause = th.getCause();
if (cause == null) {
throw th;
}
throw cause;
}
}
}
static void f() {
r = -8595410909250320183L;
s = new char[]{39993, 40045, 40020, 40044, 40056, 40059, 40171, 40175, 40175, 40175};
}
@Override // com.scb.phone.view.activity.hml.Hilt_HmlETBReviewActivity, com.scb.phone.view.activity.hml.HmlBaseReviewActivity, 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 final void onPause() {
d(new Object[]{this}, -1517300299, 1517300299, ((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getApplicationInfo().targetSdkVersion - 95715574);
}
@Override // com.scb.phone.view.activity.hml.Hilt_HmlETBReviewActivity, com.scb.phone.view.activity.hml.HmlBaseReviewActivity, 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 final void onStart() {
int i = 2 % 2;
int i2 = p + 119;
t = i2 % 128;
int i3 = i2 % 2;
super.onStart();
if (i3 != 0) {
int i4 = 44 / 0;
}
}
@Override // com.scb.phone.view.activity.hml.Hilt_HmlETBReviewActivity, com.scb.phone.view.activity.hml.HmlBaseReviewActivity, 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 final void onCreate(Bundle bundle) {
d(new Object[]{this, bundle}, 1511087558, -1511087557, ((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getResources().getString(R.string.security_block_enable_accessibility_description).substring(121, 122).codePointAt(0) - 811299915);
}
static {
p = 1;
f();
f7276o = new LWm((byte) 0);
int i = t + 111;
p = i % 128;
int i2 = i % 2;
}
}