what-the-bank/sources/com/scb/phone/view/activity/directdebit/DirectDebitInputActivity.java

665 lines
39 KiB
Java
Raw Normal View History

2024-07-27 18:17:47 +07:00
package com.scb.phone.view.activity.directdebit;
import android.content.Context;
import android.content.Intent;
import android.graphics.Color;
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.util.TypedValue;
import android.view.Gravity;
import android.view.KeyEvent;
import android.view.MenuItem;
import android.view.MotionEvent;
import android.view.View;
import android.view.ViewConfiguration;
import android.widget.ExpandableListView;
import butterknife.ButterKnife;
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.fragment.directdebit.DirectDebitInputMainFragment;
import java.lang.reflect.Method;
import net.sf.scuba.smartcards.ISO7816;
import o.AbstractC13482fbE;
import o.C1193Xr;
import o.C14957gcv;
import o.C4403bZM;
import o.xzZ;
/* loaded from: classes4.dex */
public final class DirectDebitInputActivity extends Hilt_DirectDebitInputActivity {
public static final Sts b;
private static char[] k;
private static long l;
/* renamed from: o, reason: collision with root package name */
private static int[] f7034o;
private static int p;
private static final byte[] $$g = {123, ISO7816.INS_READ_RECORD2, ISO7816.INS_MSE, -23};
private static final int $$h = 135;
private static int $10 = 0;
private static int $11 = 1;
private static int q = 1;
/* JADX WARN: Removed duplicated region for block: B:10:0x0025 */
/* JADX WARN: Removed duplicated region for block: B:7:0x001d */
/* JADX WARN: Unsupported multi-entry loop pattern (BACK_EDGE: B:10:0x0025 -> B:4:0x002c). 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 az(short r6, short r7, short r8, java.lang.Object[] r9) {
/*
int r6 = r6 + 4
byte[] r0 = com.scb.phone.view.activity.directdebit.DirectDebitInputActivity.$$g
int r7 = 106 - r7
int r8 = r8 * 4
int r8 = 1 - r8
byte[] r1 = new byte[r8]
r2 = 0
if (r0 != 0) goto L13
r3 = r7
r4 = r2
r7 = r6
goto L2c
L13:
r3 = r2
L14:
byte r4 = (byte) r7
r1[r3] = r4
int r6 = r6 + 1
int r3 = r3 + 1
if (r3 != r8) goto L25
java.lang.String r6 = new java.lang.String
r6.<init>(r1, r2)
r9[r2] = r6
return
L25:
r4 = r0[r6]
r5 = r7
r7 = r6
r6 = r4
r4 = r3
r3 = r5
L2c:
int r6 = -r6
int r6 = r6 + r3
r3 = r4
r5 = r7
r7 = r6
r6 = r5
goto L14
*/
throw new UnsupportedOperationException("Method not decompiled: com.scb.phone.view.activity.directdebit.DirectDebitInputActivity.az(short, short, short, java.lang.Object[]):void");
}
public static /* synthetic */ Object c(Object[] objArr, int i, int i2, int i3) {
DirectDebitInputActivity directDebitInputActivity = (DirectDebitInputActivity) objArr[0];
int i4 = 2 % 2;
Context baseContext = directDebitInputActivity.getBaseContext();
if (baseContext == null) {
int i5 = q + 123;
p = i5 % 128;
int i6 = i5 % 2;
Object[] objArr2 = new Object[1];
ax(((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getResources().getString(R.string.hml_slip_duration_value).substring(0, 5).length() + 18, 25 - TextUtils.indexOf((CharSequence) "", '0', 0), (char) (((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getResources().getString(R.string.easycash_success_subtitle_successfull_request_speedy_loan_top_up).substring(23, 24).length() + 58085), objArr2);
Class<?> cls = Class.forName((String) objArr2[0]);
Object[] objArr3 = new Object[1];
ay(new int[]{1592153905, 794572111, 885249525, 573475065, -1699063259, 51264935, 1771496544, 1345005135, 1133172441, 948941421}, ((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getPackageName().length() + 5, objArr3);
baseContext = (Context) cls.getMethod((String) objArr3[0], new Class[0]).invoke(null, null);
int i7 = p + 37;
q = i7 % 128;
int i8 = i7 % 2;
}
if (baseContext != null) {
baseContext = baseContext.getApplicationContext();
}
if (baseContext != null) {
try {
Object obj = xzZ.y.get(125943855);
if (obj == null) {
obj = ((Class) xzZ.c(491 - TextUtils.lastIndexOf("", '0', 0, 0), 6 - (ViewConfiguration.getZoomControlsTimeout() > 0L ? 1 : (ViewConfiguration.getZoomControlsTimeout() == 0L ? 0 : -1)), (char) ExpandableListView.getPackedPositionType(0L))).getMethod("a", null);
xzZ.y.put(125943855, obj);
}
Object invoke = ((Method) obj).invoke(null, null);
Object[] objArr4 = {baseContext};
Object obj2 = xzZ.y.get(1378719468);
if (obj2 == null) {
obj2 = ((Class) xzZ.c(486 - MotionEvent.axisFromString(""), TextUtils.lastIndexOf("", '0', 0) + 6, (char) (PointF.length(BitmapDescriptorFactory.HUE_RED, BitmapDescriptorFactory.HUE_RED) > BitmapDescriptorFactory.HUE_RED ? 1 : (PointF.length(BitmapDescriptorFactory.HUE_RED, BitmapDescriptorFactory.HUE_RED) == BitmapDescriptorFactory.HUE_RED ? 0 : -1)))).getMethod(KtaJsonExactionHelper.OBJECT, Context.class);
xzZ.y.put(1378719468, obj2);
}
((Method) obj2).invoke(invoke, objArr4);
} catch (Throwable th) {
Throwable cause = th.getCause();
if (cause != null) {
throw cause;
}
throw th;
}
}
super.onResume();
return null;
}
/* loaded from: classes4.dex */
public static final class Sts {
private Sts() {
}
public /* synthetic */ Sts(byte b) {
this();
}
}
/* JADX WARN: Removed duplicated region for block: B:28:0x0205 */
/* JADX WARN: Removed duplicated region for block: B:30:0x0206 */
/*
Code decompiled incorrectly, please refer to instructions dump.
To view partially-correct add '--show-bad-code' argument
*/
private static void ax(int r21, int r22, char r23, java.lang.Object[] r24) {
/*
Method dump skipped, instructions count: 536
To view this dump add '--comments-level debug' option
*/
throw new UnsupportedOperationException("Method not decompiled: com.scb.phone.view.activity.directdebit.DirectDebitInputActivity.ax(int, int, char, java.lang.Object[]):void");
}
@Override // com.scb.phone.view.activity.directdebit.Hilt_DirectDebitInputActivity, 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;
boolean z = false;
Object[] objArr = new Object[1];
ax(TextUtils.getOffsetBefore("", 0), ((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getApplicationInfo().targetSdkVersion - 16, (char) (((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getApplicationInfo().targetSdkVersion - 34), objArr);
Class<?> cls = Class.forName((String) objArr[0]);
Object[] objArr2 = new Object[1];
ax(((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getApplicationInfo().targetSdkVersion - 16, ((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getResources().getString(R.string.edit_email_description_blank_state).substring(58, 59).length() + 4, (char) (((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getApplicationInfo().targetSdkVersion - 34), 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 = p + 45;
q = i2 % 128;
int i3 = i2 % 2;
Object[] objArr3 = new Object[1];
ax(((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getResources().getString(R.string.ntb_user_info_header).substring(17, 18).length() + 22, ((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getResources().getString(R.string.ntb_resume_popup_description).substring(17, 18).codePointAt(0) - 6, (char) (((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getResources().getString(R.string.quick_balance_require_pin).substring(12, 13).codePointAt(0) + 58054), objArr3);
Class<?> cls2 = Class.forName((String) objArr3[0]);
Object[] objArr4 = new Object[1];
ay(new int[]{1592153905, 794572111, 885249525, 573475065, -1699063259, 51264935, 1771496544, 1345005135, 1133172441, 948941421}, ((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getResources().getString(R.string.ccr_search_not_found_2).substring(0, 1).length() + 17, 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(493 - (SystemClock.elapsedRealtimeNanos() > 0L ? 1 : (SystemClock.elapsedRealtimeNanos() == 0L ? 0 : -1)), 5 - Color.green(0), (char) (ViewConfiguration.getTouchSlop() >> 8))).getMethod("a", null);
xzZ.y.put(125943855, obj);
}
Object invoke = ((Method) obj).invoke(null, null);
Object[] objArr5 = new Object[1];
ay(new int[]{-1189602252, -976954954, 1360021999, 2077663826, 992516358, -238283152, 1932136630, 658833245, -1785892297, 331215388, 1394863044, 1047510001, -1435524030, 397798811, 730464204, -1071544992, -298940, 1440304578, -1939970461, 377113256, -1374835163, 368908258, -970632418, -1748545605}, ((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getPackageName().codePointAt(3) + 2, objArr5);
String str = (String) objArr5[0];
Object[] objArr6 = new Object[1];
ay(new int[]{1567498679, 1282529732, -867593165, 2069168377, 1473049552, -445263927, -2015219974, 1876096237, 1575348488, -1121194344, -889122386, 2019144886, -1453163154, 1165628160, -786333509, 430354936, 1017279069, -367995098, -1082832290, -912394776, 1331117254, -725666738, -32603056, -1564851268, -550105452, 1608044716, -722570804, 1442266939, -1722652859, -593437400, 1011529459, -1545667384}, ((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getResources().getString(R.string.landing_net_gain).substring(0, 15).codePointAt(6) + 27, objArr6);
String str2 = (String) objArr6[0];
Object[] objArr7 = new Object[1];
ax(48 - MotionEvent.axisFromString(""), (Process.getElapsedCpuTime() > 0L ? 1 : (Process.getElapsedCpuTime() == 0L ? 0 : -1)) + 63, (char) (((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getPackageName().length() + 60825), objArr7);
String str3 = (String) objArr7[0];
Object[] objArr8 = new Object[1];
ay(new int[]{283696874, 1014391736, 1654358179, -229049714, 35558942, 434793768, -88905343, -1296555525, 380216391, 68924591, -1408549834, -5659348, -1862080892, 1846992108, -103309987, -1291568486, -831682370, 1489688672, 1213976106, -1460234602, -1021324528, 671031832, 1473118600, -885747393, 317302959, 662243983, 1638418544, -4781196, 577060156, 2056870206, 566073653, 130347247, -2142802825, -1920165688, 433957939, -804196768, -193579262, 186022757}, (ViewConfiguration.getGlobalActionKeyTimeout() > 0L ? 1 : (ViewConfiguration.getGlobalActionKeyTimeout() == 0L ? 0 : -1)) + 73, objArr8);
String str4 = (String) objArr8[0];
Object[] objArr9 = new Object[1];
ax(((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getApplicationInfo().targetSdkVersion + 79, ((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getResources().getString(R.string.registration_facial_verification_locked_no_card_button_return_label).substring(14, 15).codePointAt(0) - 27, (char) (((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getApplicationInfo().targetSdkVersion + 62553), objArr9);
String str5 = (String) objArr9[0];
Object[] objArr10 = new Object[1];
ax(((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getResources().getString(R.string.easycash_loan_requestor_name_error).substring(32, 33).codePointAt(0) + 86, 36 - (ViewConfiguration.getLongPressTimeout() >> 16), (char) (((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getApplicationInfo().targetSdkVersion + 37391), 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 - Gravity.getAbsoluteGravity(0, 0), (ViewConfiguration.getLongPressTimeout() >> 16) + 5, (char) (ViewConfiguration.getScrollBarSize() >> 8))).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 i4 = p + 93;
q = i4 % 128;
int i5 = i4 % 2;
} catch (Throwable th) {
Throwable cause = th.getCause();
if (cause == null) {
throw th;
}
throw cause;
}
}
}
super.onCreate(bundle);
setContentView(R.layout.2131558511);
ButterKnife.Dg_(this);
C1193Xr c1193Xr = (C1193Xr) getIntent().getParcelableExtra("EXTRA_BILL_PAYMENT_DISPLAY");
DirectDebitInputMainFragment.Sts sts = DirectDebitInputMainFragment.d;
String h = h("source", "");
C14957gcv.c((Object) h, "");
if (c1193Xr != null) {
int i6 = p + 61;
q = i6 % 128;
int i7 = i6 % 2;
z = true;
}
C14957gcv.e(h, "");
DirectDebitInputMainFragment directDebitInputMainFragment = new DirectDebitInputMainFragment();
Bundle bundle2 = new Bundle();
bundle2.putString("source", h);
bundle2.putParcelable("com.scb.phone.EXTRA_BILL_PAYMENT_DISPLAY", c1193Xr);
bundle2.putBoolean("EXTRA_IS_FROM_SCAN", z);
directDebitInputMainFragment.setArguments(bundle2);
AbstractC13482fbE a = getSupportFragmentManager().a();
a.b(R.id.fragment_container, directDebitInputMainFragment, null, 1);
a.b();
super.Z();
setTitle(R.string.auto_direct_debit_apply_direct_debit);
ac();
}
@Override // com.scb.phone.view.activity.BaseActivity
public final void Z() {
int i = 2 % 2;
int i2 = p + 55;
q = i2 % 128;
int i3 = i2 % 2;
super.Z();
setTitle(R.string.auto_direct_debit_apply_direct_debit);
ac();
int i4 = p + 21;
q = i4 % 128;
if (i4 % 2 != 0) {
return;
}
Object obj = null;
obj.hashCode();
throw null;
}
@Override // androidx.activity.ComponentActivity, android.app.Activity
public final void onBackPressed() {
int i = 2 % 2;
if (!(!isTaskRoot())) {
int i2 = q + 59;
p = i2 % 128;
int i3 = i2 % 2;
j(true);
return;
}
super.onBackPressed();
int i4 = p + 111;
q = i4 % 128;
int i5 = i4 % 2;
}
private static void ay(int[] iArr, int i, Object[] objArr) {
int[] iArr2;
int i2 = 2;
int i3 = 2 % 2;
C4403bZM c4403bZM = new C4403bZM();
char[] cArr = new char[4];
char[] cArr2 = new char[iArr.length * 2];
int[] iArr3 = f7034o;
int i4 = 729798706;
int i5 = 1;
int i6 = 0;
if (iArr3 != null) {
int length = iArr3.length;
int[] iArr4 = new int[length];
int i7 = 0;
while (i7 < length) {
int i8 = $11 + 107;
$10 = i8 % 128;
int i9 = i8 % i2;
try {
Object[] objArr2 = new Object[1];
objArr2[i6] = Integer.valueOf(iArr3[i7]);
Object obj = xzZ.y.get(Integer.valueOf(i4));
if (obj == null) {
Class cls = (Class) xzZ.c(TextUtils.indexOf("", "") + 15, TextUtils.lastIndexOf("", '0', i6) + 6, (char) ((AudioTrack.getMinVolume() > BitmapDescriptorFactory.HUE_RED ? 1 : (AudioTrack.getMinVolume() == BitmapDescriptorFactory.HUE_RED ? 0 : -1)) + 58134));
Class<?>[] clsArr = new Class[1];
clsArr[i6] = Integer.TYPE;
obj = cls.getMethod("i", clsArr);
xzZ.y.put(729798706, obj);
}
iArr4[i7] = ((Integer) ((Method) obj).invoke(null, objArr2)).intValue();
i7++;
i2 = 2;
i4 = 729798706;
i6 = 0;
} catch (Throwable th) {
Throwable cause = th.getCause();
if (cause == null) {
throw th;
}
throw cause;
}
}
iArr3 = iArr4;
}
int length2 = iArr3.length;
int[] iArr5 = new int[length2];
int[] iArr6 = f7034o;
if (iArr6 != null) {
int length3 = iArr6.length;
int[] iArr7 = new int[length3];
int i10 = 0;
while (i10 < length3) {
Object[] objArr3 = new Object[i5];
objArr3[0] = Integer.valueOf(iArr6[i10]);
Object obj2 = xzZ.y.get(729798706);
if (obj2 != null) {
iArr2 = iArr6;
} else {
obj2 = ((Class) xzZ.c(KeyEvent.keyCodeFromString("") + 15, 5 - TextUtils.indexOf("", "", 0), (char) ((SystemClock.uptimeMillis() > 0L ? 1 : (SystemClock.uptimeMillis() == 0L ? 0 : -1)) + 58133))).getMethod("i", Integer.TYPE);
iArr2 = iArr6;
xzZ.y.put(729798706, obj2);
}
iArr7[i10] = ((Integer) ((Method) obj2).invoke(null, objArr3)).intValue();
i10++;
iArr6 = iArr2;
i5 = 1;
}
iArr6 = iArr7;
}
char c = 0;
System.arraycopy(iArr6, 0, iArr5, 0, length2);
c4403bZM.b = 0;
while (c4403bZM.b < iArr.length) {
int i11 = 16;
cArr[c] = (char) (iArr[c4403bZM.b] >> 16);
cArr[1] = (char) iArr[c4403bZM.b];
cArr[2] = (char) (iArr[c4403bZM.b + 1] >> 16);
cArr[3] = (char) iArr[c4403bZM.b + 1];
c4403bZM.e = (cArr[0] << 16) + cArr[1];
c4403bZM.a = (cArr[2] << 16) + cArr[3];
C4403bZM.d(iArr5);
int i12 = $10 + 111;
$11 = i12 % 128;
int i13 = 2;
int i14 = i12 % 2;
int i15 = 0;
while (i15 < i11) {
int i16 = $11 + 125;
$10 = i16 % 128;
if (i16 % i13 != 0) {
c4403bZM.e ^= iArr5[i15];
Object[] objArr4 = {c4403bZM, Integer.valueOf(C4403bZM.d(c4403bZM.e)), c4403bZM, c4403bZM};
Object obj3 = xzZ.y.get(-1196964548);
if (obj3 == null) {
Class cls2 = (Class) xzZ.c((ViewConfiguration.getFadingEdgeLength() >> i11) + 118, (ViewConfiguration.getKeyRepeatTimeout() >> i11) + 5, (char) (1 - (ViewConfiguration.getZoomControlsTimeout() > 0L ? 1 : (ViewConfiguration.getZoomControlsTimeout() == 0L ? 0 : -1))));
byte b2 = (byte) (-1);
byte b3 = (byte) (b2 + 3);
Object[] objArr5 = new Object[1];
az(b2, b3, (byte) (b3 - 2), objArr5);
obj3 = cls2.getMethod((String) objArr5[0], Object.class, Integer.TYPE, Object.class, Object.class);
xzZ.y.put(-1196964548, obj3);
}
int intValue = ((Integer) ((Method) obj3).invoke(null, objArr4)).intValue();
c4403bZM.e = c4403bZM.a;
c4403bZM.a = intValue;
i15 += 94;
} else {
c4403bZM.e ^= iArr5[i15];
Object[] objArr6 = {c4403bZM, Integer.valueOf(C4403bZM.d(c4403bZM.e)), c4403bZM, c4403bZM};
Object obj4 = xzZ.y.get(-1196964548);
if (obj4 == null) {
Class cls3 = (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)) + 118, ExpandableListView.getPackedPositionChild(0L) + 6, (char) (ViewConfiguration.getLongPressTimeout() >> 16));
byte b4 = (byte) (-1);
byte b5 = (byte) (b4 + 3);
Object[] objArr7 = new Object[1];
az(b4, b5, (byte) (b5 - 2), objArr7);
obj4 = cls3.getMethod((String) objArr7[0], Object.class, Integer.TYPE, Object.class, Object.class);
xzZ.y.put(-1196964548, obj4);
}
int intValue2 = ((Integer) ((Method) obj4).invoke(null, objArr6)).intValue();
c4403bZM.e = c4403bZM.a;
c4403bZM.a = intValue2;
i15++;
}
i11 = 16;
i13 = 2;
}
int i17 = c4403bZM.e;
c4403bZM.e = c4403bZM.a;
c4403bZM.a = i17;
c4403bZM.a ^= iArr5[16];
c4403bZM.e ^= iArr5[17];
int i18 = c4403bZM.e;
int i19 = c4403bZM.a;
cArr[0] = (char) (c4403bZM.e >>> 16);
cArr[1] = (char) c4403bZM.e;
cArr[2] = (char) (c4403bZM.a >>> 16);
cArr[3] = (char) c4403bZM.a;
C4403bZM.d(iArr5);
cArr2[c4403bZM.b * 2] = cArr[0];
cArr2[(c4403bZM.b * 2) + 1] = cArr[1];
cArr2[(c4403bZM.b * 2) + 2] = cArr[2];
cArr2[(c4403bZM.b * 2) + 3] = cArr[3];
try {
Object[] objArr8 = {c4403bZM, c4403bZM};
Object obj5 = xzZ.y.get(1914371176);
if (obj5 == null) {
Class cls4 = (Class) xzZ.c(98 - TextUtils.indexOf("", "", 0), 5 - Color.green(0), (char) KeyEvent.getDeadChar(0, 0));
byte length4 = (byte) $$g.length;
Object[] objArr9 = new Object[1];
az((byte) (-1), length4, (byte) (length4 - 4), objArr9);
obj5 = cls4.getMethod((String) objArr9[0], Object.class, Object.class);
xzZ.y.put(1914371176, obj5);
}
((Method) obj5).invoke(null, objArr8);
c = 0;
} catch (Throwable th2) {
Throwable cause2 = th2.getCause();
if (cause2 == null) {
throw th2;
}
throw cause2;
}
}
objArr[0] = new String(cArr2, 0, i);
}
@Override // com.scb.phone.view.activity.BaseActivity, android.app.Activity
public final boolean onOptionsItemSelected(MenuItem menuItem) {
int i = 2 % 2;
int i2 = q + 51;
p = i2 % 128;
int i3 = i2 % 2;
C14957gcv.e(menuItem, "");
if (16908332 == menuItem.getItemId()) {
int i4 = q + 63;
p = i4 % 128;
if (i4 % 2 == 0) {
if (isTaskRoot()) {
j(true);
return true;
}
} else {
isTaskRoot();
Object obj = null;
obj.hashCode();
throw null;
}
}
return super.onOptionsItemSelected(menuItem);
}
@Override // com.scb.phone.view.activity.directdebit.Hilt_DirectDebitInputActivity, 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;
Context baseContext = getBaseContext();
if (baseContext == null) {
Object[] objArr = new Object[1];
ax(22 - MotionEvent.axisFromString(""), 26 - View.MeasureSpec.getMode(0), (char) (((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getResources().getString(R.string.auto_kofax_camera_tutorial_no_certificate).substring(0, 2).codePointAt(0) + 49860), objArr);
Class<?> cls = Class.forName((String) objArr[0]);
Object[] objArr2 = new Object[1];
ay(new int[]{1592153905, 794572111, 885249525, 573475065, -1699063259, 51264935, 1771496544, 1345005135, 1133172441, 948941421}, ((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getResources().getString(R.string.permission_storage_camera_title).substring(10, 11).codePointAt(0) - 97, objArr2);
baseContext = (Context) cls.getMethod((String) objArr2[0], new Class[0]).invoke(null, null);
int i2 = q + 35;
p = i2 % 128;
int i3 = i2 % 2;
}
if (baseContext != null) {
int i4 = p + 93;
q = i4 % 128;
if (i4 % 2 == 0) {
baseContext.getApplicationContext();
throw null;
}
baseContext = baseContext.getApplicationContext();
}
if (baseContext != null) {
try {
Object obj = xzZ.y.get(125943855);
if (obj == null) {
obj = ((Class) xzZ.c(492 - Color.argb(0, 0, 0, 0), 5 - (TypedValue.complexToFloat(0) > BitmapDescriptorFactory.HUE_RED ? 1 : (TypedValue.complexToFloat(0) == BitmapDescriptorFactory.HUE_RED ? 0 : -1)), (char) TextUtils.indexOf("", "", 0, 0))).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(View.getDefaultSize(0, 0) + 487, 5 - (ViewConfiguration.getMinimumFlingVelocity() >> 16), (char) TextUtils.getTrimmedLength(""))).getMethod("c", Context.class);
xzZ.y.put(1633456013, obj2);
}
((Method) obj2).invoke(invoke, objArr3);
int i5 = p + 27;
q = i5 % 128;
int i6 = i5 % 2;
} catch (Throwable th) {
Throwable cause = th.getCause();
if (cause == null) {
throw th;
}
throw cause;
}
}
super.onPause();
}
@Override // com.scb.phone.view.activity.directdebit.Hilt_DirectDebitInputActivity, 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;
super.attachBaseContext(context);
Object[] objArr = new Object[1];
ax(MotionEvent.axisFromString("") + 1, (ViewConfiguration.getPressedStateDuration() >> 16) + 18, (char) Color.blue(0), objArr);
Class<?> cls = Class.forName((String) objArr[0]);
Object[] objArr2 = new Object[1];
ax(Color.rgb(0, 0, 0) + 16777234, 5 - ((Process.getThreadPriority(0) + 20) >> 6), (char) Color.alpha(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 i2 = p + 7;
q = i2 % 128;
if (i2 % 2 == 0) {
context.getApplicationContext();
throw null;
}
context2 = context.getApplicationContext();
} else {
context2 = context;
}
if (context2 != null) {
int i3 = p + 9;
q = i3 % 128;
int i4 = i3 % 2;
try {
Object obj = xzZ.y.get(125943855);
if (obj == null) {
obj = ((Class) xzZ.c(TextUtils.indexOf("", "", 0) + 492, 4 - TextUtils.lastIndexOf("", '0', 0, 0), (char) (Process.myTid() >> 22))).getMethod("a", null);
xzZ.y.put(125943855, obj);
}
Object invoke = ((Method) obj).invoke(null, null);
Object[] objArr3 = new Object[1];
ay(new int[]{-1189602252, -976954954, 1360021999, 2077663826, 992516358, -238283152, 1932136630, 658833245, -1785892297, 331215388, 1394863044, 1047510001, -1435524030, 397798811, 730464204, -1071544992, -298940, 1440304578, -1939970461, 377113256, -1374835163, 368908258, -970632418, -1748545605}, ExpandableListView.getPackedPositionType(0L) + 48, objArr3);
String str = (String) objArr3[0];
Object[] objArr4 = new Object[1];
ay(new int[]{1567498679, 1282529732, -867593165, 2069168377, 1473049552, -445263927, -2015219974, 1876096237, 1575348488, -1121194344, -889122386, 2019144886, -1453163154, 1165628160, -786333509, 430354936, 1017279069, -367995098, -1082832290, -912394776, 1331117254, -725666738, -32603056, -1564851268, -550105452, 1608044716, -722570804, 1442266939, -1722652859, -593437400, 1011529459, -1545667384}, (ViewConfiguration.getMinimumFlingVelocity() >> 16) + 64, objArr4);
String str2 = (String) objArr4[0];
Object[] objArr5 = new Object[1];
ax(49 - (ViewConfiguration.getScrollBarSize() >> 8), 64 - (ViewConfiguration.getKeyRepeatDelay() >> 16), (char) (Color.red(0) + 60838), objArr5);
String str3 = (String) objArr5[0];
Object[] objArr6 = new Object[1];
ay(new int[]{283696874, 1014391736, 1654358179, -229049714, 35558942, 434793768, -88905343, -1296555525, 380216391, 68924591, -1408549834, -5659348, -1862080892, 1846992108, -103309987, -1291568486, -831682370, 1489688672, 1213976106, -1460234602, -1021324528, 671031832, 1473118600, -885747393, 317302959, 662243983, 1638418544, -4781196, 577060156, 2056870206, 566073653, 130347247, -2142802825, -1920165688, 433957939, -804196768, -193579262, 186022757}, 75 - (SystemClock.elapsedRealtimeNanos() > 0L ? 1 : (SystemClock.elapsedRealtimeNanos() == 0L ? 0 : -1)), objArr6);
String str4 = (String) objArr6[0];
Object[] objArr7 = new Object[1];
ax(View.resolveSize(0, 0) + 113, 5 - View.combineMeasuredStates(0, 0), (char) (62587 - (ViewConfiguration.getMaximumFlingVelocity() >> 16)), objArr7);
String str5 = (String) objArr7[0];
Object[] objArr8 = new Object[1];
ax(118 - TextUtils.getCapsMode("", 0, 0), (ViewConfiguration.getScrollFriction() > BitmapDescriptorFactory.HUE_RED ? 1 : (ViewConfiguration.getScrollFriction() == BitmapDescriptorFactory.HUE_RED ? 0 : -1)) + 35, (char) (Process.getGidForName("") + 37426), 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((ExpandableListView.getPackedPositionForGroup(0) > 0L ? 1 : (ExpandableListView.getPackedPositionForGroup(0) == 0L ? 0 : -1)) + 487, View.MeasureSpec.makeMeasureSpec(0, 0) + 5, (char) (ViewConfiguration.getScrollBarSize() >> 8))).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 final Intent aeb_(Context context, C1193Xr c1193Xr, String str) {
int i = 2 % 2;
C14957gcv.e(context, "");
C14957gcv.e(c1193Xr, "");
C14957gcv.e(str, "");
Intent putExtra = new Intent(context, (Class<?>) DirectDebitInputActivity.class).putExtra("source", str).putExtra("EXTRA_BILL_PAYMENT_DISPLAY", c1193Xr);
C14957gcv.c(putExtra, "");
int i2 = q + 7;
p = i2 % 128;
int i3 = i2 % 2;
return putExtra;
}
static void h() {
k = new char[]{36787, 12715, 62360, 46565, 30689, 14792, 64316, 48477, 32517, 8558, 58138, 42367, 26292, 10390, 60147, 44270, 28369, 4134, 36799, 12732, 62377, 46590, 30698, 27989, 54093, 4478, 22275, 38151, 56110, 6618, 24507, 40429, 50059, 418, 18407, 33889, 51836, 2050, 19972, 35890, 62170, 12510, 30456, 46252, 64191, 14524, 31040, 49021, 64879, 25109, 56411, 7786, 22530, 39497, 54324, 5787, 20656, 37630, 52354, 3745, 18668, 35586, 50539, 1798, 16661, 33637, 64913, 16268, 31217, 48009, 62887, 14265, 30295, 45119, 62067, 11332, 28284, 43208, 60121, 9471, 26329, 41120, 58081, 23835, 40804, 55677, 6933, 21807, 38852, 53721, 5099, 19847, 36762, 51686, 2076, 19040, 33832, 50758, 'v', 16952, 48345, 65262, 14478, 31390, 46307, 63308, 12554, 29476, 44376, 61221, 10551, 27525, 42474, 31632, 50576, 1983, 16834, 33733, 7558, 41877, 25087, 10130, 58843, 43945, 26973, 12146, 60790, 45850, 28981, 14203, 62613, 47845, 30869, 16008, 64674, 33365, 16464, 1591, 50253, 35429, 18554, 2527, 53241, 36287, 21383, 4591, 55120, 38173, 23346, 6431, 57143, 40225, 8924, 57507};
l = 2273649152301543877L;
f7034o = new int[]{362558692, -3231495, -1498386423, -1278322289, 1870544198, -1930945844, -541526767, 1735987096, 1696687890, -306171326, -1604985154, 419809066, -157790750, 311738398, -19970699, 806499070, -1830546327, 1251846318};
}
@Override // com.scb.phone.view.activity.directdebit.Hilt_DirectDebitInputActivity, 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() {
c(new Object[]{this}, 1749700420, -1749700420, ((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getApplicationInfo().targetSdkVersion - 775163927);
}
@Override // com.scb.phone.view.activity.directdebit.Hilt_DirectDebitInputActivity, 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 = q + 39;
p = i2 % 128;
int i3 = i2 % 2;
super.onStart();
if (i3 != 0) {
int i4 = 69 / 0;
}
}
static {
p = 0;
h();
b = new Sts((byte) 0);
int i = q + 37;
p = i % 128;
int i2 = i % 2;
}
}