what-the-bank/sources/com/scb/phone/view/activity/insurance/RequestEPolicyReviewActivit...

745 lines
42 KiB
Java
Raw Permalink Normal View History

2024-07-27 18:17:47 +07:00
package com.scb.phone.view.activity.insurance;
import android.content.Context;
import android.content.Intent;
import android.graphics.Color;
import android.graphics.ImageFormat;
import android.graphics.PointF;
import android.media.AudioTrack;
import android.os.Bundle;
import android.os.Process;
import android.os.SystemClock;
import android.text.TextUtils;
import android.view.Gravity;
import android.view.KeyEvent;
import android.view.MotionEvent;
import android.view.View;
import android.view.ViewConfiguration;
import android.widget.ExpandableListView;
import androidx.fragment.app.Fragment;
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.fragment.insurance.RequestEPolicyReviewFragment;
import java.lang.reflect.Method;
import o.C0804Oy;
import o.C14957gcv;
import o.C4403bZM;
import o.TVH;
import o.xzZ;
import org.bouncycastle.crypto.tls.CipherSuite;
/* loaded from: classes4.dex */
public final class RequestEPolicyReviewActivity extends Hilt_RequestEPolicyReviewActivity {
private static int[] k;
private static int l;
private static char[] m;
/* renamed from: o, reason: collision with root package name */
public static final HBt f7425o;
private static final byte[] $$y = {75, -3, Ascii.EM, 97};
private static final int $$z = 101;
private static int $10 = 0;
private static int $11 = 1;
private static int s = 1;
/* JADX WARN: Removed duplicated region for block: B:10:0x0024 */
/* JADX WARN: Removed duplicated region for block: B:7:0x001c */
/* JADX WARN: Unsupported multi-entry loop pattern (BACK_EDGE: B:10:0x0024 -> B:4:0x0028). 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 aF(short r5, byte r6, short r7, java.lang.Object[] r8) {
/*
int r7 = r7 * 2
int r0 = r7 + 1
int r6 = r6 * 2
int r6 = 3 - r6
byte[] r1 = com.scb.phone.view.activity.insurance.RequestEPolicyReviewActivity.$$y
int r5 = 104 - r5
byte[] r0 = new byte[r0]
r2 = 0
if (r1 != 0) goto L14
r4 = r7
r3 = r2
goto L28
L14:
r3 = r2
L15:
byte r4 = (byte) r5
int r6 = r6 + 1
r0[r3] = r4
if (r3 != r7) goto L24
java.lang.String r5 = new java.lang.String
r5.<init>(r0, r2)
r8[r2] = r5
return
L24:
int r3 = r3 + 1
r4 = r1[r6]
L28:
int r5 = r5 + r4
goto L15
*/
throw new UnsupportedOperationException("Method not decompiled: com.scb.phone.view.activity.insurance.RequestEPolicyReviewActivity.aF(short, byte, short, java.lang.Object[]):void");
}
@Override // com.scb.phone.view.activity.BaseActivityWithFragment
public final Fragment M() {
int i = 2 % 2;
int i2 = l + 15;
s = i2 % 128;
int i3 = i2 % 2;
Intent intent = getIntent();
if (intent != null) {
RequestEPolicyReviewFragment.RVV rvv = RequestEPolicyReviewFragment.c;
C0804Oy c0804Oy = (C0804Oy) intent.getParcelableExtra("EXTRA_POLICY_INFO_DISPLAY");
String stringExtra = intent.getStringExtra("EXTRA_EMAIL");
Boolean valueOf = Boolean.valueOf(intent.getBooleanExtra("EXTRA_HAS_EMAIL_VERIFIED", false));
RequestEPolicyReviewFragment requestEPolicyReviewFragment = new RequestEPolicyReviewFragment();
Bundle bundle = new Bundle();
bundle.putParcelable("EXTRA_POLICY_INFO_DISPLAY", c0804Oy);
bundle.putString("EXTRA_EMAIL", stringExtra);
bundle.putBoolean("EXTRA_HAS_EMAIL_VERIFIED", C14957gcv.b(valueOf, Boolean.TRUE));
requestEPolicyReviewFragment.setArguments(bundle);
return requestEPolicyReviewFragment;
}
Fragment fragment = new Fragment();
int i4 = l + 121;
s = i4 % 128;
int i5 = i4 % 2;
return fragment;
}
@Override // com.scb.phone.view.activity.BaseActivityWithFragment
public final String L() {
int i = 2 % 2;
int i2 = s + 11;
l = i2 % 128;
if (i2 % 2 == 0) {
String string = getString(R.string.auto_insurance_request_e_policy_review_title);
C14957gcv.c((Object) string, "");
return string;
}
String string2 = getString(R.string.auto_insurance_request_e_policy_review_title);
C14957gcv.c((Object) string2, "");
int i3 = 16 / 0;
return string2;
}
/* loaded from: classes4.dex */
public static final class HBt {
private HBt() {
}
public /* synthetic */ HBt(byte b) {
this();
}
}
@Override // com.scb.phone.view.activity.insurance.Hilt_RequestEPolicyReviewActivity, 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 final void onCreate(Bundle bundle) {
int i = 2 % 2;
Object[] objArr = new Object[1];
aD(new int[]{0, 18, 123, 0}, true, new byte[]{0, 0, 0, 0, 0, 1, 0, 0, 1, 0, 1, 0, 1, 0, 1, 0, 0, 1}, objArr);
Class<?> cls = Class.forName((String) objArr[0]);
Object[] objArr2 = new Object[1];
aD(new int[]{18, 5, CipherSuite.TLS_DHE_PSK_WITH_AES_128_CBC_SHA256, 0}, true, new byte[]{0, 1, 0, 0, 0}, objArr2);
int intValue = ((Integer) cls.getDeclaredMethod((String) objArr2[0], new Class[0]).invoke(null, new Object[0])).intValue() % 100000;
if (intValue < 99000 || intValue > 99999) {
Context baseContext = getBaseContext();
if (baseContext == null) {
int i2 = s + 85;
l = i2 % 128;
int i3 = i2 % 2;
Object[] objArr3 = new Object[1];
aD(new int[]{23, 26, 0, 9}, true, new byte[]{1, 1, 0, 1, 0, 1, 0, 0, 1, 1, 1, 0, 1, 0, 0, 1, 1, 1, 1, 1, 1, 1, 0, 1, 0, 0}, objArr3);
Class<?> cls2 = Class.forName((String) objArr3[0]);
Object[] objArr4 = new Object[1];
aE(new int[]{-450707616, -891158029, 1119051103, 441359026, 1358860584, -812756627, 541704211, -1477110906, 75597, 943998391}, ((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getPackageName().codePointAt(5) - 81, 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 = s + 85;
l = i4 % 128;
int i5 = i4 % 2;
try {
Object obj = xzZ.y.get(125943855);
if (obj == null) {
obj = ((Class) xzZ.c(View.MeasureSpec.getSize(0) + 492, 5 - (ViewConfiguration.getJumpTapTimeout() >> 16), (char) (ViewConfiguration.getFadingEdgeLength() >> 16))).getMethod("a", null);
xzZ.y.put(125943855, obj);
}
Object invoke = ((Method) obj).invoke(null, null);
Object[] objArr5 = new Object[1];
aE(new int[]{-587531794, 132158648, 613463743, 2136037353, 1107432900, 730603231, -1824974307, 1589498616, -1526274364, 2065415482, -1408759149, -80377275, -138413292, 1939214993, -352771441, -581947818, -1493223855, 1811854995, 912698180, 1351792040, -1771250086, -1848319363, -1669121081, -1046672114}, ((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getResources().getString(R.string.terms_and_conditions_link_not_clickable_right).substring(0, 1).length() + 47, objArr5);
String str = (String) objArr5[0];
Object[] objArr6 = new Object[1];
aE(new int[]{-185613882, -484767055, 1807006245, -500941296, -2131125136, 35063735, 741648879, -1952582204, -1069089942, 1991169248, -1047530713, 2011953406, -1932170477, -598561746, 1565291422, 396471792, 1234323247, -695922743, 240723255, 1971268001, -1540030232, 1887698012, -1089417705, -487144462, 941305330, 1600094082, -1312059390, -801721233, -1951632162, -996816137, 381673407, 1382865090}, ((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getResources().getString(R.string.preregister_not_me_text).substring(60, 61).length() + 63, objArr6);
String str2 = (String) objArr6[0];
Object[] objArr7 = new Object[1];
aE(new int[]{2003369135, 1038840958, 1202885080, 242694434, -1606754285, -94796419, -1700988129, -848308650, -392770205, 1752865794, 959201608, -272714439, -1165047882, 716074788, 68434692, 612752790, -1698988245, -1382007810, -557180655, -1916906058, 888255052, 1396422131, 331849779, 1168614788, -526242269, -138180525, 362703937, -307189467, 343956249, -1580467651, 1759748425, 592969146}, ((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getResources().getString(R.string.debit_card_cvv_desc).substring(24, 25).length() + 63, objArr7);
String str3 = (String) objArr7[0];
Object[] objArr8 = new Object[1];
aE(new int[]{-1737922565, 1912592442, 1974368886, 776068330, 596821034, 972921748, 56533544, -1758709033, 189032960, 520465322, 531216868, 716292524, -1213977683, -799382526, 1561908724, -346429948, -973868840, 1465929006, -156406677, 1547703278, 1338193117, -406685315, 2088488978, -18940584, 879311427, 269941189, 1468425257, -1073165028, 1958792192, -1475698509, -1801422619, -1247759445, -695890844, 160769708, -441497267, -522484356, -1908625252, 583306067}, ((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getResources().getString(R.string.auto_single_form_check_eligibility_open_scbs_remark_2).substring(CipherSuite.TLS_DH_anon_WITH_AES_256_GCM_SHA384, CipherSuite.TLS_PSK_WITH_AES_128_GCM_SHA256).length() + 73, objArr8);
String str4 = (String) objArr8[0];
Object[] objArr9 = new Object[1];
aD(new int[]{49, 5, 0, 0}, false, new byte[]{1, 1, 0, 0, 0}, objArr9);
String str5 = (String) objArr9[0];
Object[] objArr10 = new Object[1];
aD(new int[]{54, 36, 0, 24}, false, new byte[]{0, 1, 1, 0, 1, 0, 0, 0, 1, 1, 0, 0, 1, 1, 1, 1, 0, 0, 0, 0, 1, 1, 0, 0, 0, 0, 1, 0, 0, 1, 1, 0, 1, 1, 0, 1}, 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((Process.getElapsedCpuTime() > 0L ? 1 : (Process.getElapsedCpuTime() == 0L ? 0 : -1)) + 486, (-16777211) - Color.rgb(0, 0, 0), (char) (ViewConfiguration.getMinimumFlingVelocity() >> 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);
int i6 = l + 111;
s = i6 % 128;
int i7 = i6 % 2;
} catch (Throwable th) {
Throwable cause = th.getCause();
if (cause == null) {
throw th;
}
throw cause;
}
}
}
super.onCreate(bundle);
}
private static void aE(int[] iArr, int i, Object[] objArr) {
int i2;
int i3 = 2 % 2;
C4403bZM c4403bZM = new C4403bZM();
char[] cArr = new char[4];
char[] cArr2 = new char[iArr.length * 2];
int[] iArr2 = k;
int i4 = 58134;
int i5 = 729798706;
int i6 = 1;
int i7 = 0;
if (iArr2 != null) {
int length = iArr2.length;
int[] iArr3 = new int[length];
int i8 = $11 + 27;
$10 = i8 % 128;
int i9 = i8 % 2;
int i10 = 0;
while (i10 < length) {
int i11 = $11 + 55;
$10 = i11 % 128;
int i12 = i11 % 2;
try {
Object[] objArr2 = new Object[i6];
objArr2[0] = Integer.valueOf(iArr2[i10]);
Object obj = xzZ.y.get(Integer.valueOf(i5));
if (obj == null) {
obj = ((Class) xzZ.c(15 - Gravity.getAbsoluteGravity(0, 0), TextUtils.indexOf((CharSequence) "", '0') + 6, (char) (View.MeasureSpec.getSize(0) + i4))).getMethod("i", Integer.TYPE);
xzZ.y.put(729798706, obj);
}
iArr3[i10] = ((Integer) ((Method) obj).invoke(null, objArr2)).intValue();
i10++;
i4 = 58134;
i5 = 729798706;
i6 = 1;
} catch (Throwable th) {
Throwable cause = th.getCause();
if (cause == null) {
throw th;
}
throw cause;
}
}
int i13 = $10 + 109;
$11 = i13 % 128;
int i14 = i13 % 2;
iArr2 = iArr3;
}
int length2 = iArr2.length;
int[] iArr4 = new int[length2];
int[] iArr5 = k;
if (iArr5 != null) {
int length3 = iArr5.length;
int[] iArr6 = new int[length3];
int i15 = 0;
while (i15 < length3) {
int i16 = $10 + 55;
$11 = i16 % 128;
if (i16 % 2 == 0) {
Object[] objArr3 = new Object[1];
objArr3[i7] = Integer.valueOf(iArr5[i15]);
Object obj2 = xzZ.y.get(729798706);
if (obj2 != null) {
i2 = length3;
} else {
obj2 = ((Class) xzZ.c(15 - View.combineMeasuredStates(0, 0), TextUtils.indexOf("", "", 0, 0) + 5, (char) ((ViewConfiguration.getMaximumDrawingCacheSize() >> 24) + 58134))).getMethod("i", Integer.TYPE);
i2 = length3;
xzZ.y.put(729798706, obj2);
}
iArr6[i15] = ((Integer) ((Method) obj2).invoke(null, objArr3)).intValue();
i15 %= 1;
} else {
i2 = length3;
Object[] objArr4 = {Integer.valueOf(iArr5[i15])};
Object obj3 = xzZ.y.get(729798706);
if (obj3 == null) {
obj3 = ((Class) xzZ.c(15 - TextUtils.getOffsetBefore("", 0), (ExpandableListView.getPackedPositionForGroup(0) > 0L ? 1 : (ExpandableListView.getPackedPositionForGroup(0) == 0L ? 0 : -1)) + 5, (char) (58135 - (SystemClock.elapsedRealtime() > 0L ? 1 : (SystemClock.elapsedRealtime() == 0L ? 0 : -1))))).getMethod("i", Integer.TYPE);
xzZ.y.put(729798706, obj3);
}
iArr6[i15] = ((Integer) ((Method) obj3).invoke(null, objArr4)).intValue();
i15++;
}
length3 = i2;
i7 = 0;
}
iArr5 = iArr6;
}
int i17 = i7;
System.arraycopy(iArr5, i17, iArr4, i17, length2);
c4403bZM.b = i17;
while (c4403bZM.b < iArr.length) {
cArr[i17] = (char) (iArr[c4403bZM.b] >> 16);
cArr[1] = (char) iArr[c4403bZM.b];
cArr[2] = (char) (iArr[c4403bZM.b + 1] >> 16);
cArr[3] = (char) iArr[c4403bZM.b + 1];
c4403bZM.e = (cArr[0] << 16) + cArr[1];
c4403bZM.a = (cArr[2] << 16) + cArr[3];
C4403bZM.d(iArr4);
int i18 = 0;
for (int i19 = 16; i18 < i19; i19 = 16) {
int i20 = $11 + 125;
$10 = i20 % 128;
if (i20 % 2 != 0) {
c4403bZM.e ^= iArr4[i18];
Object[] objArr5 = {c4403bZM, Integer.valueOf(C4403bZM.d(c4403bZM.e)), c4403bZM, c4403bZM};
Object obj4 = xzZ.y.get(-1196964548);
if (obj4 == null) {
Class cls = (Class) xzZ.c((SystemClock.currentThreadTimeMillis() > (-1L) ? 1 : (SystemClock.currentThreadTimeMillis() == (-1L) ? 0 : -1)) + 117, View.resolveSizeAndState(0, 0, 0) + 5, (char) (Process.getGidForName("") + 1));
byte b = (byte) 0;
byte b2 = b;
Object[] objArr6 = new Object[1];
aF(b, b2, b2, objArr6);
obj4 = cls.getMethod((String) objArr6[0], Object.class, Integer.TYPE, Object.class, Object.class);
xzZ.y.put(-1196964548, obj4);
}
int intValue = ((Integer) ((Method) obj4).invoke(null, objArr5)).intValue();
c4403bZM.e = c4403bZM.a;
c4403bZM.a = intValue;
i18 += 61;
} else {
c4403bZM.e ^= iArr4[i18];
Object[] objArr7 = {c4403bZM, Integer.valueOf(C4403bZM.d(c4403bZM.e)), c4403bZM, c4403bZM};
Object obj5 = xzZ.y.get(-1196964548);
if (obj5 == null) {
Class cls2 = (Class) xzZ.c(118 - (ViewConfiguration.getScrollBarFadeDuration() >> 16), 4 - (ExpandableListView.getPackedPositionForChild(0, 0) > 0L ? 1 : (ExpandableListView.getPackedPositionForChild(0, 0) == 0L ? 0 : -1)), (char) View.resolveSizeAndState(0, 0, 0));
byte b3 = (byte) 0;
byte b4 = b3;
Object[] objArr8 = new Object[1];
aF(b3, b4, b4, objArr8);
obj5 = cls2.getMethod((String) objArr8[0], Object.class, Integer.TYPE, Object.class, Object.class);
xzZ.y.put(-1196964548, obj5);
}
int intValue2 = ((Integer) ((Method) obj5).invoke(null, objArr7)).intValue();
c4403bZM.e = c4403bZM.a;
c4403bZM.a = intValue2;
i18++;
}
}
int i21 = c4403bZM.e;
c4403bZM.e = c4403bZM.a;
c4403bZM.a = i21;
c4403bZM.a ^= iArr4[16];
c4403bZM.e ^= iArr4[17];
int i22 = c4403bZM.e;
int i23 = c4403bZM.a;
cArr[0] = (char) (c4403bZM.e >>> 16);
cArr[1] = (char) c4403bZM.e;
cArr[2] = (char) (c4403bZM.a >>> 16);
cArr[3] = (char) c4403bZM.a;
C4403bZM.d(iArr4);
cArr2[c4403bZM.b * 2] = cArr[0];
cArr2[(c4403bZM.b * 2) + 1] = cArr[1];
cArr2[(c4403bZM.b * 2) + 2] = cArr[2];
cArr2[(c4403bZM.b * 2) + 3] = cArr[3];
Object[] objArr9 = {c4403bZM, c4403bZM};
Object obj6 = xzZ.y.get(1914371176);
if (obj6 == null) {
Class cls3 = (Class) xzZ.c(98 - (ViewConfiguration.getMinimumFlingVelocity() >> 16), 5 - ExpandableListView.getPackedPositionGroup(0L), (char) KeyEvent.getDeadChar(0, 0));
byte b5 = (byte) 2;
byte b6 = (byte) (b5 - 2);
Object[] objArr10 = new Object[1];
aF(b5, b6, b6, objArr10);
obj6 = cls3.getMethod((String) objArr10[0], Object.class, Object.class);
xzZ.y.put(1914371176, obj6);
}
((Method) obj6).invoke(null, objArr9);
i17 = 0;
}
objArr[0] = new String(cArr2, 0, i);
}
@Override // com.scb.phone.view.activity.insurance.Hilt_RequestEPolicyReviewActivity, 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 final void onResume() {
int i = 2 % 2;
Context baseContext = getBaseContext();
Object obj = null;
if (baseContext == null) {
Object[] objArr = new Object[1];
aD(new int[]{23, 26, 0, 9}, true, new byte[]{1, 1, 0, 1, 0, 1, 0, 0, 1, 1, 1, 0, 1, 0, 0, 1, 1, 1, 1, 1, 1, 1, 0, 1, 0, 0}, objArr);
Class<?> cls = Class.forName((String) objArr[0]);
Object[] objArr2 = new Object[1];
aE(new int[]{-450707616, -891158029, 1119051103, 441359026, 1358860584, -812756627, 541704211, -1477110906, 75597, 943998391}, ((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getPackageName().codePointAt(4) - 97, objArr2);
baseContext = (Context) cls.getMethod((String) objArr2[0], new Class[0]).invoke(null, null);
}
if (baseContext != null) {
baseContext = baseContext.getApplicationContext();
}
if (baseContext != null) {
int i2 = s + 23;
l = i2 % 128;
try {
if (i2 % 2 != 0) {
Object obj2 = xzZ.y.get(125943855);
if (obj2 == null) {
obj2 = ((Class) xzZ.c(TextUtils.indexOf((CharSequence) "", '0', 0, 0) + 493, 6 - (ViewConfiguration.getZoomControlsTimeout() > 0L ? 1 : (ViewConfiguration.getZoomControlsTimeout() == 0L ? 0 : -1)), (char) View.MeasureSpec.makeMeasureSpec(0, 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((ViewConfiguration.getWindowTouchSlop() >> 8) + 487, (Process.myPid() >> 22) + 5, (char) (MotionEvent.axisFromString("") + 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(View.getDefaultSize(0, 0) + 492, ImageFormat.getBitsPerPixel(0) + 6, (char) View.MeasureSpec.makeMeasureSpec(0, 0))).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((Process.getElapsedCpuTime() > 0L ? 1 : (Process.getElapsedCpuTime() == 0L ? 0 : -1)) + 486, (ViewConfiguration.getJumpTapTimeout() >> 16) + 5, (char) (ViewConfiguration.getDoubleTapTimeout() >> 16))).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();
int i3 = l + 75;
s = i3 % 128;
int i4 = i3 % 2;
}
@Override // com.scb.phone.view.activity.insurance.Hilt_RequestEPolicyReviewActivity, 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 final void onPause() {
int i = 2 % 2;
int i2 = s + 103;
l = i2 % 128;
int i3 = i2 % 2;
Context baseContext = getBaseContext();
if (baseContext == null) {
int i4 = s + 33;
l = i4 % 128;
int i5 = i4 % 2;
Object[] objArr = new Object[1];
aD(new int[]{23, 26, 0, 9}, true, new byte[]{1, 1, 0, 1, 0, 1, 0, 0, 1, 1, 1, 0, 1, 0, 0, 1, 1, 1, 1, 1, 1, 1, 0, 1, 0, 0}, objArr);
Class<?> cls = Class.forName((String) objArr[0]);
Object[] objArr2 = new Object[1];
aE(new int[]{-450707616, -891158029, 1119051103, 441359026, 1358860584, -812756627, 541704211, -1477110906, 75597, 943998391}, ((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getResources().getString(R.string.common_ndid_idp_no_enrolled_description).substring(51, 52).length() + 17, objArr2);
baseContext = (Context) cls.getMethod((String) objArr2[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((Process.myPid() >> 22) + 492, 5 - TextUtils.getOffsetBefore("", 0), (char) ((ViewConfiguration.getZoomControlsTimeout() > 0L ? 1 : (ViewConfiguration.getZoomControlsTimeout() == 0L ? 0 : -1)) - 1))).getMethod("a", null);
xzZ.y.put(125943855, obj);
}
Object invoke = ((Method) obj).invoke(null, null);
Object[] objArr3 = {baseContext};
Object obj2 = xzZ.y.get(1633456013);
if (obj2 == null) {
obj2 = ((Class) xzZ.c(487 - ExpandableListView.getPackedPositionType(0L), ImageFormat.getBitsPerPixel(0) + 6, (char) ((SystemClock.currentThreadTimeMillis() > (-1L) ? 1 : (SystemClock.currentThreadTimeMillis() == (-1L) ? 0 : -1)) - 1))).getMethod("c", Context.class);
xzZ.y.put(1633456013, obj2);
}
((Method) obj2).invoke(invoke, objArr3);
int i6 = s + 23;
l = i6 % 128;
int i7 = i6 % 2;
} catch (Throwable th) {
Throwable cause = th.getCause();
if (cause == null) {
throw th;
}
throw cause;
}
}
super.onPause();
}
private static void aD(int[] iArr, boolean z, byte[] bArr, Object[] objArr) {
int i;
char[] cArr;
char[] cArr2;
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[] cArr3 = m;
long j = 0;
if (cArr3 != null) {
int length = cArr3.length;
char[] cArr4 = new char[length];
int i8 = 0;
while (i8 < length) {
try {
Object[] objArr2 = new Object[1];
objArr2[i3] = Integer.valueOf(cArr3[i8]);
Object obj = xzZ.y.get(1645349359);
if (obj == null) {
Class cls = (Class) xzZ.c(223 - View.MeasureSpec.getMode(i3), (SystemClock.uptimeMillis() > j ? 1 : (SystemClock.uptimeMillis() == j ? 0 : -1)) + 4, (char) (Color.argb(i3, i3, i3, i3) + 41977));
byte b = (byte) i3;
Object[] objArr3 = new Object[1];
aF((byte) ($$z & CipherSuite.TLS_DH_DSS_WITH_CAMELLIA_128_CBC_SHA256), b, b, objArr3);
obj = cls.getMethod((String) objArr3[0], Integer.TYPE);
xzZ.y.put(1645349359, obj);
}
cArr4[i8] = ((Character) ((Method) obj).invoke(null, objArr2)).charValue();
i8++;
i3 = 0;
j = 0;
} catch (Throwable th) {
Throwable cause = th.getCause();
if (cause == null) {
throw th;
}
throw cause;
}
}
cArr3 = cArr4;
}
char[] cArr5 = new char[i5];
System.arraycopy(cArr3, i4, cArr5, 0, i5);
if (bArr != null) {
int i9 = $11 + 47;
$10 = i9 % 128;
if (i9 % 2 != 0) {
cArr2 = new char[i5];
tvh.c = 1;
} else {
cArr2 = new char[i5];
tvh.c = 0;
}
char c = 0;
while (tvh.c < i5) {
int i10 = $10 + 25;
$11 = i10 % 128;
if (i10 % 2 != 0 ? bArr[tvh.c] != 1 : bArr[tvh.c] != 1) {
int i11 = tvh.c;
Object[] objArr4 = {Integer.valueOf(cArr5[tvh.c]), Integer.valueOf(c)};
Object obj2 = xzZ.y.get(1084521042);
if (obj2 == null) {
obj2 = ((Class) xzZ.c((ViewConfiguration.getJumpTapTimeout() >> 16) + 15, 5 - Gravity.getAbsoluteGravity(0, 0), (char) ((SystemClock.uptimeMillis() > 0L ? 1 : (SystemClock.uptimeMillis() == 0L ? 0 : -1)) + 58133))).getMethod("H", Integer.TYPE, Integer.TYPE);
xzZ.y.put(1084521042, obj2);
}
cArr2[i11] = ((Character) ((Method) obj2).invoke(null, objArr4)).charValue();
} else {
int i12 = tvh.c;
Object[] objArr5 = {Integer.valueOf(cArr5[tvh.c]), Integer.valueOf(c)};
Object obj3 = xzZ.y.get(850398076);
if (obj3 == null) {
obj3 = ((Class) xzZ.c(502 - View.resolveSize(0, 0), ExpandableListView.getPackedPositionType(0L) + 5, (char) (54 - (AudioTrack.getMinVolume() > BitmapDescriptorFactory.HUE_RED ? 1 : (AudioTrack.getMinVolume() == BitmapDescriptorFactory.HUE_RED ? 0 : -1))))).getMethod("F", Integer.TYPE, Integer.TYPE);
xzZ.y.put(850398076, obj3);
}
cArr2[i12] = ((Character) ((Method) obj3).invoke(null, objArr5)).charValue();
}
c = cArr2[tvh.c];
Object[] objArr6 = {tvh, tvh};
Object obj4 = xzZ.y.get(1698744941);
if (obj4 == null) {
Class cls2 = (Class) xzZ.c(402 - (ViewConfiguration.getScrollBarFadeDuration() >> 16), 6 - (AudioTrack.getMaxVolume() > BitmapDescriptorFactory.HUE_RED ? 1 : (AudioTrack.getMaxVolume() == BitmapDescriptorFactory.HUE_RED ? 0 : -1)), (char) (21608 - Color.green(0)));
byte b2 = (byte) 0;
Object[] objArr7 = new Object[1];
aF((byte) 31, b2, b2, objArr7);
obj4 = cls2.getMethod((String) objArr7[0], Object.class, Object.class);
xzZ.y.put(1698744941, obj4);
}
((Method) obj4).invoke(null, objArr6);
}
cArr5 = cArr2;
}
if (i7 > 0) {
char[] cArr6 = new char[i5];
System.arraycopy(cArr5, 0, cArr6, 0, i5);
int i13 = i5 - i7;
System.arraycopy(cArr6, 0, cArr5, i13, i7);
System.arraycopy(cArr6, i7, cArr5, 0, i13);
}
if (z) {
int i14 = $11 + 65;
$10 = i14 % 128;
if (i14 % 2 != 0) {
cArr = new char[i5];
i = 0;
} else {
i = 0;
cArr = new char[i5];
}
while (true) {
tvh.c = i;
if (tvh.c >= i5) {
break;
}
cArr[tvh.c] = cArr5[(i5 - tvh.c) - 1];
i = tvh.c + 1;
}
cArr5 = cArr;
}
if (i6 > 0) {
int i15 = $10 + 83;
$11 = i15 % 128;
int i16 = i15 % 2;
int i17 = 0;
while (true) {
tvh.c = i17;
if (tvh.c >= i5) {
break;
}
int i18 = $10 + 1;
$11 = i18 % 128;
if (i18 % 2 == 0) {
cArr5[tvh.c] = (char) (cArr5[tvh.c] * iArr[2]);
i17 = tvh.c;
} else {
cArr5[tvh.c] = (char) (cArr5[tvh.c] - iArr[2]);
i17 = tvh.c + 1;
}
}
}
objArr[0] = new String(cArr5);
}
@Override // com.scb.phone.view.activity.insurance.Hilt_RequestEPolicyReviewActivity, 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 final void attachBaseContext(Context context) {
Context context2;
int i = 2 % 2;
int i2 = l + 43;
s = i2 % 128;
int i3 = i2 % 2;
super.attachBaseContext(context);
Object[] objArr = new Object[1];
aD(new int[]{0, 18, 123, 0}, true, new byte[]{0, 0, 0, 0, 0, 1, 0, 0, 1, 0, 1, 0, 1, 0, 1, 0, 0, 1}, objArr);
Class<?> cls = Class.forName((String) objArr[0]);
Object[] objArr2 = new Object[1];
aD(new int[]{18, 5, CipherSuite.TLS_DHE_PSK_WITH_AES_128_CBC_SHA256, 0}, true, new byte[]{0, 1, 0, 0, 0}, objArr2);
int intValue = ((Integer) cls.getDeclaredMethod((String) objArr2[0], new Class[0]).invoke(null, new Object[0])).intValue() % 100000;
if (intValue < 99000 || intValue > 99999) {
if (context != null) {
int i4 = l + 7;
s = i4 % 128;
int i5 = i4 % 2;
context2 = context.getApplicationContext();
} else {
context2 = context;
}
if (context2 != null) {
try {
Object obj = xzZ.y.get(125943855);
if (obj == null) {
obj = ((Class) xzZ.c(View.combineMeasuredStates(0, 0) + 492, 4 - ((byte) KeyEvent.getModifierMetaStateMask()), (char) (ViewConfiguration.getEdgeSlop() >> 16))).getMethod("a", null);
xzZ.y.put(125943855, obj);
}
Object invoke = ((Method) obj).invoke(null, null);
Object[] objArr3 = new Object[1];
aE(new int[]{-587531794, 132158648, 613463743, 2136037353, 1107432900, 730603231, -1824974307, 1589498616, -1526274364, 2065415482, -1408759149, -80377275, -138413292, 1939214993, -352771441, -581947818, -1493223855, 1811854995, 912698180, 1351792040, -1771250086, -1848319363, -1669121081, -1046672114}, 48 - (ViewConfiguration.getTouchSlop() >> 8), objArr3);
String str = (String) objArr3[0];
Object[] objArr4 = new Object[1];
aE(new int[]{-185613882, -484767055, 1807006245, -500941296, -2131125136, 35063735, 741648879, -1952582204, -1069089942, 1991169248, -1047530713, 2011953406, -1932170477, -598561746, 1565291422, 396471792, 1234323247, -695922743, 240723255, 1971268001, -1540030232, 1887698012, -1089417705, -487144462, 941305330, 1600094082, -1312059390, -801721233, -1951632162, -996816137, 381673407, 1382865090}, 63 - ExpandableListView.getPackedPositionChild(0L), objArr4);
String str2 = (String) objArr4[0];
Object[] objArr5 = new Object[1];
aE(new int[]{2003369135, 1038840958, 1202885080, 242694434, -1606754285, -94796419, -1700988129, -848308650, -392770205, 1752865794, 959201608, -272714439, -1165047882, 716074788, 68434692, 612752790, -1698988245, -1382007810, -557180655, -1916906058, 888255052, 1396422131, 331849779, 1168614788, -526242269, -138180525, 362703937, -307189467, 343956249, -1580467651, 1759748425, 592969146}, 64 - (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)), objArr5);
String str3 = (String) objArr5[0];
Object[] objArr6 = new Object[1];
aE(new int[]{-1737922565, 1912592442, 1974368886, 776068330, 596821034, 972921748, 56533544, -1758709033, 189032960, 520465322, 531216868, 716292524, -1213977683, -799382526, 1561908724, -346429948, -973868840, 1465929006, -156406677, 1547703278, 1338193117, -406685315, 2088488978, -18940584, 879311427, 269941189, 1468425257, -1073165028, 1958792192, -1475698509, -1801422619, -1247759445, -695890844, 160769708, -441497267, -522484356, -1908625252, 583306067}, 73 - TextUtils.indexOf((CharSequence) "", '0'), objArr6);
String str4 = (String) objArr6[0];
Object[] objArr7 = new Object[1];
aD(new int[]{49, 5, 0, 0}, false, new byte[]{1, 1, 0, 0, 0}, objArr7);
String str5 = (String) objArr7[0];
Object[] objArr8 = new Object[1];
aD(new int[]{54, 36, 0, 24}, false, new byte[]{0, 1, 1, 0, 1, 0, 0, 0, 1, 1, 0, 0, 1, 1, 1, 1, 0, 0, 0, 0, 1, 1, 0, 0, 0, 0, 1, 0, 0, 1, 1, 0, 1, 1, 0, 1}, 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(487 - View.getDefaultSize(0, 0), (AudioTrack.getMaxVolume() > BitmapDescriptorFactory.HUE_RED ? 1 : (AudioTrack.getMaxVolume() == BitmapDescriptorFactory.HUE_RED ? 0 : -1)) + 4, (char) ((ExpandableListView.getPackedPositionForChild(0, 0) > 0L ? 1 : (ExpandableListView.getPackedPositionForChild(0, 0) == 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;
}
}
}
}
public static /* synthetic */ Object d(Object[] objArr, int i, int i2, int i3) {
RequestEPolicyReviewActivity requestEPolicyReviewActivity = (RequestEPolicyReviewActivity) objArr[0];
int i4 = 2 % 2;
int i5 = l + 121;
s = i5 % 128;
int i6 = i5 % 2;
super.onStart();
int i7 = l + 53;
s = i7 % 128;
int i8 = i7 % 2;
return null;
}
static void j() {
m = new char[]{40060, 40165, 40172, 40148, 40175, 40160, 40151, 40113, 40128, 40167, 40130, 40143, 40170, 40172, 40160, 40173, 40175, 40169, 40064, 40211, 40218, 40210, 40238, 39995, 40012, 40002, 40045, 40039, 40059, 40032, 40034, 40044, 40041, 40041, 40040, 40032, 40038, 40021, 40045, 40061, 40037, 40036, 40036, 40037, 40032, 40025, 39996, 40004, 40059, 39959, 39992, 39992, 39992, 39972, 39994, 40012, 39995, 39992, 39994, 39994, 39972, 40012, 40042, 40040, 40047, 40003, 39972, 40001, 40001, 40002, 40007, 40005, 40047, 40007, 39999, 39999, 39992, 40000, 40046, 40040, 40002, 39992, 40007, 40005, 39997, 39993, 39973, 39994, 39992, 40001};
k = new int[]{-1662588699, 70379419, -529496268, -2034241150, 1675621577, 1002994294, -896617096, -1791373940, 1667513740, 1354082241, -508435810, -1341103844, 184008552, 1296624657, 1198564029, 459448682, 2045856000, -1960038310};
}
@Override // com.scb.phone.view.activity.insurance.Hilt_RequestEPolicyReviewActivity, 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 final void onStart() {
d(new Object[]{this}, 1373549423, -1373549423, ((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getApplicationInfo().targetSdkVersion - 2110874332);
}
static {
l = 0;
j();
f7425o = new HBt((byte) 0);
int i = s + 9;
l = i % 128;
int i2 = i % 2;
}
}