what-the-bank/sources/com/scb/phone/view/activity/easycash/EasycashNcbSlipActivity.java

1173 lines
58 KiB
Java

package com.scb.phone.view.activity.easycash;
import android.content.Context;
import android.content.DialogInterface;
import android.content.Intent;
import android.graphics.Color;
import android.graphics.ImageFormat;
import android.graphics.PointF;
import android.graphics.drawable.Drawable;
import android.media.AudioTrack;
import android.net.Uri;
import android.os.Bundle;
import android.os.Process;
import android.os.SystemClock;
import android.text.TextUtils;
import android.view.KeyEvent;
import android.view.Menu;
import android.view.MenuItem;
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.kofax.kmc.kut.utilities.IpLibUtil;
import com.kofax.mobile.sdk._internal.impl.extraction.kta.KtaJsonExactionHelper;
import com.scb.phone.R;
import com.scb.phone.view.activity.easycash.EasycashNcbSlipActivity;
import com.scb.phone.view.custom.common.CustomDialog;
import com.scb.phone.view.fragment.easycash.EasycashNcbSlipFragment;
import java.lang.reflect.Method;
import java.util.concurrent.Callable;
import net.sf.scuba.smartcards.ISOFileInfo;
import o.AbstractC14961gcz;
import o.C0690Mh;
import o.C0693Mj;
import o.C14866gag;
import o.C14957gcv;
import o.C1904aRk;
import o.C3614bBe;
import o.C8394dJt;
import o.EnumC8951daY;
import o.GuL;
import o.InterfaceC14894gbR;
import o.InterfaceC15577gud;
import o.JX;
import o.ZI;
import o.fRY;
import o.fSJ;
import o.fSP;
import o.fSQ;
import o.guQ;
import o.xzZ;
import org.bouncycastle.crypto.tls.CipherSuite;
/* loaded from: classes4.dex */
public final class EasycashNcbSlipActivity extends Hilt_EasycashNcbSlipActivity {
public static final HBt b;
private static int p;
private static boolean q;
private static boolean r;
private static char[] t;
private static long w;
private static int y;
private fSJ k;
public boolean l;
/* renamed from: o, reason: collision with root package name */
public boolean f7065o;
private fSJ s;
private static final byte[] $$p = {124, -55, -59, 62};
private static final int $$q = 91;
private static int $10 = 0;
private static int $11 = 1;
private static int u = 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:0x002a). Please report as a decompilation issue!!! */
/*
Code decompiled incorrectly, please refer to instructions dump.
To view partially-correct add '--show-bad-code' argument
*/
private static void aC(int r6, int r7, int r8, java.lang.Object[] r9) {
/*
int r8 = 122 - r8
byte[] r0 = com.scb.phone.view.activity.easycash.EasycashNcbSlipActivity.$$p
int r7 = r7 + 4
int r6 = r6 * 4
int r1 = r6 + 1
byte[] r1 = new byte[r1]
r2 = 0
if (r0 != 0) goto L13
r3 = r8
r4 = r2
r8 = r7
goto L2a
L13:
r3 = r2
L14:
int r7 = r7 + 1
byte r4 = (byte) r8
r1[r3] = r4
int r4 = r3 + 1
if (r3 != r6) goto L25
java.lang.String r6 = new java.lang.String
r6.<init>(r1, r2)
r9[r2] = r6
return
L25:
r3 = r0[r7]
r5 = r8
r8 = r7
r7 = r5
L2a:
int r3 = -r3
int r7 = r7 + r3
r3 = r4
r5 = r8
r8 = r7
r7 = r5
goto L14
*/
throw new UnsupportedOperationException("Method not decompiled: com.scb.phone.view.activity.easycash.EasycashNcbSlipActivity.aC(int, int, int, java.lang.Object[]):void");
}
public static /* synthetic */ Object b(Object[] objArr, int i, int i2, int i3) {
int i4 = (i * (-183)) + (i2 * CipherSuite.TLS_RSA_PSK_WITH_NULL_SHA384);
int i5 = ~i;
int i6 = ~i2;
int i7 = ~i3;
int i8 = i4 + ((i2 | i5) * (-368)) + ((i | i6 | i7) * CipherSuite.TLS_RSA_PSK_WITH_NULL_SHA256) + (((~(i | i2)) | (~(i7 | i)) | (~(i5 | i6))) * CipherSuite.TLS_RSA_PSK_WITH_NULL_SHA256);
if (i8 == 1) {
return c(objArr);
}
if (i8 == 2) {
InterfaceC15577gud interfaceC15577gud = (InterfaceC15577gud) objArr[0];
int i9 = 2 % 2;
int i10 = y + 25;
u = i10 % 128;
int i11 = i10 % 2;
C14957gcv.e(interfaceC15577gud, "");
interfaceC15577gud.c();
int i12 = u + 5;
y = i12 % 128;
int i13 = i12 % 2;
return null;
}
if (i8 != 3) {
return d(objArr);
}
EasycashNcbSlipActivity easycashNcbSlipActivity = (EasycashNcbSlipActivity) objArr[0];
int i14 = 2 % 2;
int i15 = u + 15;
y = i15 % 128;
int i16 = i15 % 2;
C14957gcv.e(easycashNcbSlipActivity, "");
easycashNcbSlipActivity.l = false;
easycashNcbSlipActivity.Xb_(easycashNcbSlipActivity, R.id.root_activity, easycashNcbSlipActivity.getString(R.string.easycash_ncb_slip_commercial_save_error), EnumC8951daY.ERROR);
int i17 = u + 13;
y = i17 % 128;
int i18 = i17 % 2;
return null;
}
@Override // com.scb.phone.view.activity.BaseActivityWithFragment
public final Fragment M() {
int i = 2 % 2;
EasycashNcbSlipFragment.Sts sts = EasycashNcbSlipFragment.c;
String stringExtra = getIntent().getStringExtra("APPLICATION_ID_EXTRA");
String stringExtra2 = getIntent().getStringExtra("PRODUCT_TYPE_EXTRA");
JX jx = (JX) getIntent().getParcelableExtra("COMMERCIAL_CONFIRM_DISPLAY_EXTRA");
EasycashNcbSlipFragment easycashNcbSlipFragment = new EasycashNcbSlipFragment();
Bundle bundle = new Bundle();
bundle.putString("APPLICATION_ID_EXTRA", stringExtra);
bundle.putString("PRODUCT_TYPE_EXTRA", stringExtra2);
bundle.putParcelable("COMMERCIAL_CONFIRM_DISPLAY_EXTRA", jx);
easycashNcbSlipFragment.setArguments(bundle);
EasycashNcbSlipFragment easycashNcbSlipFragment2 = easycashNcbSlipFragment;
int i2 = u + 55;
y = i2 % 128;
int i3 = i2 % 2;
return easycashNcbSlipFragment2;
}
@Override // com.scb.phone.view.activity.BaseActivityWithFragment
public final String L() {
int i = 2 % 2;
int i2 = u + 105;
y = i2 % 128;
int i3 = i2 % 2;
if (!C14957gcv.b((Object) "COMMERCIAL_LOAN", (Object) getIntent().getStringExtra("PRODUCT_TYPE_EXTRA"))) {
String string = getString(R.string.easycash_ncb_slip_title);
C14957gcv.c((Object) string, "");
int i4 = u + 83;
y = i4 % 128;
if (i4 % 2 != 0) {
int i5 = 3 % 4;
}
return string;
}
int i6 = u + 35;
y = i6 % 128;
if (i6 % 2 != 0) {
C14957gcv.c((Object) getString(R.string.easycash_ncb_slip_commercial_title), "");
throw null;
}
String string2 = getString(R.string.easycash_ncb_slip_commercial_title);
C14957gcv.c((Object) string2, "");
return string2;
}
private static void aB(char[] cArr, int i, Object[] objArr) {
int i2 = 2 % 2;
GuL guL = new GuL();
char[] a = GuL.a(w ^ (-7538262848231253921L), cArr, i);
guL.a = 4;
int i3 = $11 + 83;
$10 = i3 % 128;
int i4 = i3 % 2;
while (guL.a < a.length) {
int i5 = $11 + 13;
$10 = i5 % 128;
int i6 = i5 % 2;
guL.c = guL.a - 4;
int i7 = guL.a;
try {
Object[] objArr2 = {Long.valueOf(a[guL.a] ^ a[guL.a % 4]), Long.valueOf(guL.c), Long.valueOf(w)};
Object obj = xzZ.y.get(428080616);
if (obj == null) {
Class cls = (Class) xzZ.c(208 - View.MeasureSpec.makeMeasureSpec(0, 0), 4 - MotionEvent.axisFromString(""), (char) (Drawable.resolveOpacity(0, 0) + 1706));
byte b2 = (byte) 0;
byte b3 = (byte) (b2 - 1);
Object[] objArr3 = new Object[1];
aC(b2, b3, (byte) (b3 + 4), objArr3);
obj = cls.getMethod((String) objArr3[0], Long.TYPE, Long.TYPE, Long.TYPE);
xzZ.y.put(428080616, obj);
}
a[i7] = ((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 - (ViewConfiguration.getDoubleTapTimeout() >> 16), 5 - (ViewConfiguration.getLongPressTimeout() >> 16), (char) TextUtils.indexOf("", ""));
byte b4 = (byte) 0;
byte b5 = (byte) (b4 - 1);
Object[] objArr5 = new Object[1];
aC(b4, b5, (byte) (-b5), objArr5);
obj2 = cls2.getMethod((String) objArr5[0], Object.class, Object.class);
xzZ.y.put(-1875914398, obj2);
}
((Method) obj2).invoke(null, objArr4);
} catch (Throwable th) {
Throwable cause = th.getCause();
if (cause == null) {
throw th;
}
throw cause;
}
}
objArr[0] = new String(a, 4, a.length - 4);
}
@Override // com.scb.phone.view.activity.BaseActivity, android.app.Activity
public final boolean onCreateOptionsMenu(Menu menu) {
int i = 2 % 2;
int i2 = y + 11;
u = i2 % 128;
if (i2 % 2 == 0) {
C14957gcv.e(menu, "");
super.onCreateOptionsMenu(menu);
getMenuInflater().inflate(R.menu.2131689482, menu);
return false;
}
C14957gcv.e(menu, "");
super.onCreateOptionsMenu(menu);
getMenuInflater().inflate(R.menu.2131689482, menu);
return true;
}
@Override // com.scb.phone.view.activity.BaseActivity, android.app.Activity
public final boolean onOptionsItemSelected(MenuItem menuItem) {
int i = 2 % 2;
int i2 = u + 29;
y = i2 % 128;
int i3 = i2 % 2;
C14957gcv.e(menuItem, "");
if (menuItem.getItemId() != R.id.menu_save) {
return super.onOptionsItemSelected(menuItem);
}
int i4 = y + 5;
u = i4 % 128;
final C1904aRk c1904aRk = null;
if (i4 % 2 == 0) {
boolean z = getSupportFragmentManager().findFragmentById(R.id.container) instanceof EasycashNcbSlipFragment;
c1904aRk.hashCode();
throw null;
}
Fragment findFragmentById = getSupportFragmentManager().findFragmentById(R.id.container);
EasycashNcbSlipFragment easycashNcbSlipFragment = findFragmentById instanceof EasycashNcbSlipFragment ? (EasycashNcbSlipFragment) findFragmentById : null;
if (easycashNcbSlipFragment == null) {
return true;
}
int i5 = y + 49;
u = i5 % 128;
int i6 = i5 % 2;
C1904aRk c1904aRk2 = easycashNcbSlipFragment.presenter;
if (c1904aRk2 != null) {
c1904aRk = c1904aRk2;
} else {
C14957gcv.a("");
}
ZI.IeS ieS = new ZI.IeS(c1904aRk) { // from class: o.aRn
private C1904aRk c;
@Override // o.ZI.IeS
public final void e(Object obj) {
C1904aRk.d(this.c, (InterfaceC9200dfI) obj);
}
{
this.c = c1904aRk;
}
};
if (c1904aRk.f == 0) {
return true;
}
int i7 = y + 47;
u = i7 % 128;
int i8 = i7 % 2;
ieS.e(c1904aRk.f);
return true;
}
@Override // androidx.activity.ComponentActivity, android.app.Activity
public final void onBackPressed() {
int i = 2 % 2;
if (!this.f7065o) {
int i2 = u + 123;
y = i2 % 128;
if (i2 % 2 != 0) {
getOnBackPressedDispatcher().a();
throw null;
}
getOnBackPressedDispatcher().a();
}
int i3 = u + 23;
y = i3 % 128;
if (i3 % 2 != 0) {
int i4 = 58 / 0;
}
}
/* loaded from: classes4.dex */
static final class Sts extends AbstractC14961gcz implements InterfaceC14894gbR<Throwable, C14866gag> {
public static final Sts b = new Sts();
@Override // o.InterfaceC14894gbR
public final /* bridge */ /* synthetic */ C14866gag invoke(Throwable th) {
return C14866gag.c;
}
Sts() {
super(1);
}
}
public final void c(final String str) {
int i = 2 % 2;
C14957gcv.e(str, "");
try {
fRY c = fRY.c((Callable<?>) new Callable(this, str) { // from class: o.dJn
private String a;
private EasycashNcbSlipActivity d;
@Override // java.util.concurrent.Callable
public final Object call() {
return EasycashNcbSlipActivity.b(this.d, this.a);
}
{
this.d = this;
this.a = str;
}
});
fSP fsp = new fSP(this) { // from class: o.dJo
private EasycashNcbSlipActivity c;
@Override // o.fSP
public final void c() {
EasycashNcbSlipActivity.b(new Object[]{this.c}, 1377818508, -1377818507, (int) System.currentTimeMillis());
}
{
this.c = this;
}
};
final Sts sts = Sts.b;
this.s = c.a(fsp, new fSQ(sts) { // from class: o.dJm
private InterfaceC14894gbR a;
@Override // o.fSQ
public final void c(Object obj) {
EasycashNcbSlipActivity.d(this.a, obj);
}
{
this.a = sts;
}
});
int i2 = y + 9;
u = i2 % 128;
int i3 = i2 % 2;
} catch (Throwable th) {
guQ.e(th);
}
}
public final void j() {
int i = 2 % 2;
int i2 = y + 33;
u = i2 % 128;
int i3 = i2 % 2;
guQ.b("onPermissionDenied", new Object[0]);
this.l = false;
Xb_(this, R.id.root_activity, getString(R.string.easycash_ncb_slip_commercial_save_error), EnumC8951daY.ERROR);
int i4 = y + 19;
u = i4 % 128;
if (i4 % 2 == 0) {
int i5 = 74 / 0;
}
}
private static /* synthetic */ Object d(Object[] objArr) {
final EasycashNcbSlipActivity easycashNcbSlipActivity = (EasycashNcbSlipActivity) objArr[0];
int i = 2 % 2;
int i2 = y + 13;
u = i2 % 128;
int i3 = i2 % 2;
guQ.b("onNeverAskAgain", new Object[0]);
if (!(!easycashNcbSlipActivity.l)) {
easycashNcbSlipActivity.l = false;
easycashNcbSlipActivity.Xb_(easycashNcbSlipActivity, R.id.root_activity, easycashNcbSlipActivity.getString(R.string.easycash_ncb_slip_commercial_save_error), EnumC8951daY.ERROR);
return null;
}
C0693Mj c0693Mj = new C0693Mj();
c0693Mj.d = easycashNcbSlipActivity.getString(R.string.easycash_ncb_slip_commercial_popup_setting_title);
c0693Mj.c = easycashNcbSlipActivity.getString(R.string.easycash_ncb_slip_commercial_popup_setting_description);
C0690Mh c0690Mh = new C0690Mh();
Runnable runnable = new Runnable(easycashNcbSlipActivity) { // from class: o.dJp
private EasycashNcbSlipActivity b;
@Override // java.lang.Runnable
public final void run() {
EasycashNcbSlipActivity.e(this.b);
}
{
this.b = easycashNcbSlipActivity;
}
};
c0690Mh.e = C0690Mh.IeS.CUSTOM;
c0690Mh.d = runnable;
c0690Mh.b = easycashNcbSlipActivity.getString(R.string.easycash_ncb_slip_commercial_popup_setting_positive);
c0693Mj.e = c0690Mh;
C0690Mh c0690Mh2 = new C0690Mh();
Runnable runnable2 = new Runnable(easycashNcbSlipActivity) { // from class: o.dJs
private EasycashNcbSlipActivity a;
@Override // java.lang.Runnable
public final void run() {
EasycashNcbSlipActivity.b(new Object[]{this.a}, -797557797, 797557800, (int) System.currentTimeMillis());
}
{
this.a = easycashNcbSlipActivity;
}
};
c0690Mh2.e = C0690Mh.IeS.CUSTOM;
c0690Mh2.d = runnable2;
c0690Mh2.b = easycashNcbSlipActivity.getString(R.string.easycash_ncb_slip_commercial_popup_setting_negative);
c0693Mj.b = c0690Mh2;
easycashNcbSlipActivity.e(c0693Mj);
int i4 = y + 1;
u = i4 % 128;
if (i4 % 2 == 0) {
int i5 = 75 / 0;
}
return null;
}
private static void ay(int[] iArr, char[] cArr, int i, byte[] bArr, Object[] objArr) {
int i2 = 2 % 2;
C3614bBe c3614bBe = new C3614bBe();
char[] cArr2 = t;
int i3 = 0;
if (cArr2 != null) {
int i4 = $11 + 61;
$10 = i4 % 128;
int i5 = i4 % 2;
int length = cArr2.length;
char[] cArr3 = new char[length];
int i6 = 0;
while (i6 < length) {
try {
Object[] objArr2 = new Object[1];
objArr2[i3] = Integer.valueOf(cArr2[i6]);
Object obj = xzZ.y.get(-950481649);
if (obj == null) {
Class cls = (Class) xzZ.c((Process.myTid() >> 22) + 337, (KeyEvent.getMaxKeyCode() >> 16) + 5, (char) TextUtils.indexOf("", "", i3, i3));
byte b2 = (byte) i3;
byte b3 = (byte) (b2 - 1);
Object[] objArr3 = new Object[1];
aC(b2, b3, (byte) (b3 & 57), objArr3);
obj = cls.getMethod((String) objArr3[0], Integer.TYPE);
xzZ.y.put(-950481649, obj);
}
cArr3[i6] = ((Character) ((Method) obj).invoke(null, objArr2)).charValue();
i6++;
i3 = 0;
} catch (Throwable th) {
Throwable cause = th.getCause();
if (cause == null) {
throw th;
}
throw cause;
}
}
cArr2 = cArr3;
}
Object[] objArr4 = {Integer.valueOf(p)};
Object obj2 = xzZ.y.get(-1521625011);
if (obj2 == null) {
Class cls2 = (Class) xzZ.c(Color.rgb(0, 0, 0) + 16777499, TextUtils.indexOf((CharSequence) "", '0', 0) + 6, (char) (Color.green(0) + 39813));
byte b4 = (byte) 0;
byte b5 = (byte) (b4 - 1);
Object[] objArr5 = new Object[1];
aC(b4, b5, (byte) (b5 + 1), objArr5);
obj2 = cls2.getMethod((String) objArr5[0], Integer.TYPE);
xzZ.y.put(-1521625011, obj2);
}
int intValue = ((Integer) ((Method) obj2).invoke(null, objArr4)).intValue();
if (q) {
int i7 = $11 + 7;
$10 = i7 % 128;
int i8 = i7 % 2;
c3614bBe.c = bArr.length;
char[] cArr4 = new char[c3614bBe.c];
c3614bBe.a = 0;
while (c3614bBe.a < c3614bBe.c) {
cArr4[c3614bBe.a] = (char) (cArr2[bArr[(c3614bBe.c - 1) - c3614bBe.a] + i] - intValue);
Object[] objArr6 = {c3614bBe, c3614bBe};
Object obj3 = xzZ.y.get(1779759091);
if (obj3 == null) {
obj3 = ((Class) xzZ.c(40 - (ViewConfiguration.getKeyRepeatTimeout() >> 16), 4 - TextUtils.indexOf((CharSequence) "", '0', 0, 0), (char) (ViewConfiguration.getEdgeSlop() >> 16))).getMethod("D", Object.class, Object.class);
xzZ.y.put(1779759091, obj3);
}
((Method) obj3).invoke(null, objArr6);
}
objArr[0] = new String(cArr4);
return;
}
if (!(!r)) {
c3614bBe.c = cArr.length;
char[] cArr5 = new char[c3614bBe.c];
c3614bBe.a = 0;
while (c3614bBe.a < c3614bBe.c) {
int i9 = $11 + 97;
$10 = i9 % 128;
int i10 = i9 % 2;
cArr5[c3614bBe.a] = (char) (cArr2[cArr[(c3614bBe.c - 1) - c3614bBe.a] - i] - intValue);
try {
Object[] objArr7 = {c3614bBe, c3614bBe};
Object obj4 = xzZ.y.get(1779759091);
if (obj4 == null) {
obj4 = ((Class) xzZ.c(39 - TextUtils.lastIndexOf("", '0', 0), TextUtils.getTrimmedLength("") + 5, (char) ((SystemClock.currentThreadTimeMillis() > (-1L) ? 1 : (SystemClock.currentThreadTimeMillis() == (-1L) ? 0 : -1)) - 1))).getMethod("D", Object.class, Object.class);
xzZ.y.put(1779759091, obj4);
}
((Method) obj4).invoke(null, objArr7);
} catch (Throwable th2) {
Throwable cause2 = th2.getCause();
if (cause2 == null) {
throw th2;
}
throw cause2;
}
}
objArr[0] = new String(cArr5);
return;
}
int i11 = 0;
c3614bBe.c = iArr.length;
char[] cArr6 = new char[c3614bBe.c];
while (true) {
c3614bBe.a = i11;
if (c3614bBe.a >= c3614bBe.c) {
objArr[0] = new String(cArr6);
return;
} else {
cArr6[c3614bBe.a] = (char) (cArr2[iArr[(c3614bBe.c - 1) - c3614bBe.a] - i] - intValue);
i11 = c3614bBe.a + 1;
}
}
}
public final void b(final InterfaceC15577gud interfaceC15577gud) {
int i = 2 % 2;
int i2 = y + 103;
u = i2 % 128;
if (i2 % 2 == 0) {
C14957gcv.e(interfaceC15577gud, "");
Object obj = null;
obj.hashCode();
throw null;
}
C14957gcv.e(interfaceC15577gud, "");
if (!this.l) {
((CustomDialog) CustomDialog.e(new Object[]{CustomDialog.b(this).c(R.string.permission_storage_title).d(R.string.permission_storage).aoT_(R.string.permission_allow, new DialogInterface.OnClickListener(interfaceC15577gud) { // from class: o.dJr
private InterfaceC15577gud d;
@Override // android.content.DialogInterface.OnClickListener
public final void onClick(DialogInterface dialogInterface, int i3) {
EasycashNcbSlipActivity.b(new Object[]{this.d}, 1620233081, -1620233079, (int) System.currentTimeMillis());
}
{
this.d = interfaceC15577gud;
}
}), Integer.valueOf(R.string.permission_deny), new DialogInterface.OnClickListener(interfaceC15577gud) { // from class: o.dJu
private InterfaceC15577gud a;
@Override // android.content.DialogInterface.OnClickListener
public final void onClick(DialogInterface dialogInterface, int i3) {
EasycashNcbSlipActivity.e(this.a);
}
{
this.a = interfaceC15577gud;
}
}})).show();
int i3 = y + 109;
u = i3 % 128;
int i4 = i3 % 2;
return;
}
this.l = false;
Xb_(this, R.id.root_activity, getString(R.string.easycash_ncb_slip_commercial_save_error), EnumC8951daY.ERROR);
int i5 = u + 87;
y = i5 % 128;
int i6 = i5 % 2;
}
@Override // androidx.fragment.app.FragmentActivity, androidx.activity.ComponentActivity, android.app.Activity
public final void onRequestPermissionsResult(int i, String[] strArr, int[] iArr) {
int i2 = 2 % 2;
int i3 = y + 7;
u = i3 % 128;
if (i3 % 2 != 0) {
C14957gcv.e(strArr, "");
C14957gcv.e(iArr, "");
super.onRequestPermissionsResult(i, strArr, iArr);
C8394dJt.e(this, i, iArr);
int i4 = y + 95;
u = i4 % 128;
int i5 = i4 % 2;
return;
}
C14957gcv.e(strArr, "");
C14957gcv.e(iArr, "");
super.onRequestPermissionsResult(i, strArr, iArr);
C8394dJt.e(this, i, iArr);
Object obj = null;
obj.hashCode();
throw null;
}
@Override // com.scb.phone.view.activity.BaseActivity, com.scb.phone.view.activity.PreLoadCheckActivity, androidx.appcompat.app.AppCompatActivity, androidx.fragment.app.FragmentActivity, android.app.Activity
public final void onDestroy() {
int i = 2 % 2;
fSJ fsj = this.s;
if (fsj != null) {
int i2 = y + 45;
u = i2 % 128;
if (i2 % 2 == 0) {
fsj.dispose();
int i3 = 67 / 0;
} else {
fsj.dispose();
}
}
super.onDestroy();
int i4 = y + 77;
u = i4 % 128;
if (i4 % 2 == 0) {
int i5 = 5 / 0;
}
}
/* loaded from: classes4.dex */
public static final class HBt {
private HBt() {
}
public static Intent aey_(Context context, String str, String str2, JX jx) {
C14957gcv.e(context, "");
Intent intent = new Intent(context, (Class<?>) EasycashNcbSlipActivity.class);
intent.putExtra("APPLICATION_ID_EXTRA", str);
intent.putExtra("PRODUCT_TYPE_EXTRA", str2);
intent.putExtra("COMMERCIAL_CONFIRM_DISPLAY_EXTRA", jx);
return intent;
}
public /* synthetic */ HBt(byte b) {
this();
}
}
@Override // com.scb.phone.view.activity.easycash.Hilt_EasycashNcbSlipActivity, 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];
ay(null, null, Process.getGidForName("") + 128, new byte[]{-120, -120, ISOFileInfo.SECURITY_ATTR_EXP, ISOFileInfo.LCS_BYTE, ISOFileInfo.PROP_INFO, -124, -119, ISOFileInfo.FCI_EXT, -120, ISOFileInfo.PROP_INFO, ISOFileInfo.FCI_EXT, ISOFileInfo.FILE_IDENTIFIER, -122, ISOFileInfo.PROP_INFO, -124, ISOFileInfo.FILE_IDENTIFIER, -126, ISOFileInfo.DATA_BYTES2}, objArr);
Class<?> cls = Class.forName((String) objArr[0]);
Object[] objArr2 = new Object[1];
aB(new char[]{21032, 37660, 21061, 9350, 64569, 37802, 65016, 55864, 36288}, -TextUtils.indexOf((CharSequence) "", '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 = u + 1;
y = i2 % 128;
int i3 = i2 % 2;
Object[] objArr3 = new Object[1];
aB(new char[]{57144, 28770, 57177, 51183, 12844, 23950, 23752, 31507, 219, 59236, 4792, 23507, 24641, 1769, 29472, 47655, 16861, 9862, 21392, 39660, 41342, 17944, 45068, 63848, 33488, 26005, 36990, 55752, 57873, 34093}, 1 - Color.blue(0), objArr3);
Class<?> cls2 = Class.forName((String) objArr3[0]);
Object[] objArr4 = new Object[1];
aB(new char[]{42893, 31380, 42990, 52482, 3152, 25572, 28910, 22325, 30820, 60821, 11458, 30618, 6373, 3103, 19798, 38470, 14666, 11378, 28154, 46794, 55762, 19689}, ((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getApplicationInfo().targetSdkVersion - 33, objArr4);
baseContext = (Context) cls2.getMethod((String) objArr4[0], new Class[0]).invoke(null, null);
}
if (baseContext != null) {
int i4 = y + 31;
u = i4 % 128;
int i5 = i4 % 2;
baseContext = baseContext.getApplicationContext();
int i6 = u + 125;
y = i6 % 128;
if (i6 % 2 != 0) {
int i7 = 3 % 2;
}
}
if (baseContext != null) {
int i8 = u + 71;
y = i8 % 128;
int i9 = i8 % 2;
try {
Object obj = xzZ.y.get(125943855);
if (obj == null) {
obj = ((Class) xzZ.c(492 - ((Process.getThreadPriority(0) + 20) >> 6), (ViewConfiguration.getWindowTouchSlop() >> 8) + 5, (char) ((-1) - MotionEvent.axisFromString("")))).getMethod("a", null);
xzZ.y.put(125943855, obj);
}
Object invoke = ((Method) obj).invoke(null, null);
Object[] objArr5 = new Object[1];
ay(null, null, ((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getResources().getString(R.string.hml_summary_repayment_about_intro).substring(151, CipherSuite.TLS_DH_RSA_WITH_SEED_CBC_SHA).codePointAt(0) + 95, new byte[]{ISOFileInfo.CHANNEL_SECURITY, ISOFileInfo.SECURITY_ATTR_EXP, -108, ISOFileInfo.LCS_BYTE, -106, -110, ISOFileInfo.CHANNEL_SECURITY, -109, -113, -113, ISOFileInfo.SECURITY_ATTR_EXP, -111, ISOFileInfo.SECURITY_ATTR_COMPACT, -108, -106, ISOFileInfo.SECURITY_ATTR_COMPACT, ISOFileInfo.SECURITY_ATTR_COMPACT, ISOFileInfo.FILE_IDENTIFIER, -110, ISOFileInfo.LCS_BYTE, -106, ISOFileInfo.LCS_BYTE, -107, -111, -110, ISOFileInfo.DATA_BYTES2, ISOFileInfo.CHANNEL_SECURITY, -112, -108, -109, -112, -113, -108, -112, -113, -112, ISOFileInfo.DATA_BYTES2, -109, -110, -113, ISOFileInfo.DATA_BYTES2, -111, ISOFileInfo.LCS_BYTE, -112, -113, ISOFileInfo.CHANNEL_SECURITY, ISOFileInfo.ENV_TEMP_EF, ISOFileInfo.SECURITY_ATTR_COMPACT}, objArr5);
String str = (String) objArr5[0];
Object[] objArr6 = new Object[1];
ay(null, null, ((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getResources().getString(R.string.etb_answer_fatca).substring(11, 12).codePointAt(0) + 62, new byte[]{ISOFileInfo.SECURITY_ATTR_EXP, ISOFileInfo.DATA_BYTES2, -113, -107, -108, ISOFileInfo.SECURITY_ATTR_COMPACT, ISOFileInfo.LCS_BYTE, -108, -113, -106, -108, ISOFileInfo.LCS_BYTE, ISOFileInfo.ENV_TEMP_EF, -111, -108, ISOFileInfo.FILE_IDENTIFIER, -113, -107, ISOFileInfo.SECURITY_ATTR_COMPACT, -106, -107, ISOFileInfo.DATA_BYTES2, -113, -107, -113, -113, -108, -106, ISOFileInfo.DATA_BYTES2, -106, ISOFileInfo.ENV_TEMP_EF, ISOFileInfo.ENV_TEMP_EF, -108, -105, -110, -109, ISOFileInfo.LCS_BYTE, -105, -107, -112, ISOFileInfo.CHANNEL_SECURITY, ISOFileInfo.DATA_BYTES2, -107, ISOFileInfo.LCS_BYTE, -109, ISOFileInfo.SECURITY_ATTR_COMPACT, ISOFileInfo.CHANNEL_SECURITY, -107, ISOFileInfo.SECURITY_ATTR_COMPACT, ISOFileInfo.ENV_TEMP_EF, -107, -109, -107, -109, -106, ISOFileInfo.SECURITY_ATTR_EXP, -110, ISOFileInfo.CHANNEL_SECURITY, -113, -107, ISOFileInfo.SECURITY_ATTR_EXP, -107, -113, ISOFileInfo.SECURITY_ATTR_EXP}, objArr6);
String str2 = (String) objArr6[0];
Object[] objArr7 = new Object[1];
aB(new char[]{26264, 47818, 26361, 3345, 36196, 58002, 6135, 12397, 47477, 11670, 44453, 4263, 55730, 52232, 52351, 61779, 63582, 60537, 60616, 53634, 6345, 36027, 3842, 45598, 15125, 44901, 12071, 37536, 23475, 20441, 20474, 29539, 31348, 28235, 28209, 21486, 39628, 3819, 36565, 13259, 48449, 10551, 43281, 5203, 56789, 51617, 51609, 62693, 65018, 59470, 59502, 54591, 7274, 35036, 2294, 46582, 15538, 43788, 11072, 38484, 24320, 19232, 19354, 30407, 32665, 27621, 27147, 22301}, -TextUtils.lastIndexOf("", '0', 0), objArr7);
String str3 = (String) objArr7[0];
Object[] objArr8 = new Object[1];
aB(new char[]{4916, 39993, 4956, 11182, 59114, 35160, 20157, 26980, 52427, 2924, 50725, 18855, 44127, 60075, 42983, 43025, 36339, 51921, 34655, 34973, 28001, 43608, 25805, 60173, 20201, 35274, 17592, 52153, 11794, 27001, 9336, 10808, 3976, 18684, 1447, 2721, 61216, 10265, 58655, 27335, 51372, 4056, 49805, 19805, 43053, 61200, 41474, 44527, 34881, 52907, 33779, 35938, 27073, 44644, 25453, 60651, 18757, 36329, 16603, 53000, 10997, 28061, 8287, 12162, 2663, 19787, 465, 3604, 60379, 11500, 57836, 28411, 51997, 3168, 49455, 45350, 42136, 62449}, ((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getResources().getString(R.string.hml_business_owner_review_contact_information_email).substring(17, 18).length(), objArr8);
String str4 = (String) objArr8[0];
Object[] objArr9 = new Object[1];
aB(new char[]{12200, 46343, 12177, 714, 29726, 7136, 45639, 38336, 61460}, Color.rgb(0, 0, 0) + 16777217, objArr9);
String str5 = (String) objArr9[0];
Object[] objArr10 = new Object[1];
ay(null, null, 127 - Drawable.resolveOpacity(0, 0), new byte[]{ISOFileInfo.SECURITY_ATTR_EXP, ISOFileInfo.SECURITY_ATTR_COMPACT, -106, ISOFileInfo.CHANNEL_SECURITY, -106, ISOFileInfo.LCS_BYTE, ISOFileInfo.SECURITY_ATTR_EXP, ISOFileInfo.ENV_TEMP_EF, ISOFileInfo.DATA_BYTES2, -109, ISOFileInfo.LCS_BYTE, -109, -104, ISOFileInfo.LCS_BYTE, ISOFileInfo.SECURITY_ATTR_EXP, -113, ISOFileInfo.DATA_BYTES2, -104, ISOFileInfo.SECURITY_ATTR_COMPACT, ISOFileInfo.SECURITY_ATTR_COMPACT, -109, ISOFileInfo.CHANNEL_SECURITY, -104, -113, ISOFileInfo.SECURITY_ATTR_EXP, -105, -107, -104, -105, ISOFileInfo.CHANNEL_SECURITY, -110, ISOFileInfo.FILE_IDENTIFIER, ISOFileInfo.CHANNEL_SECURITY, -109, ISOFileInfo.DATA_BYTES2, ISOFileInfo.SECURITY_ATTR_EXP}, 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 - View.MeasureSpec.makeMeasureSpec(0, 0), 5 - ((Process.getThreadPriority(0) + 20) >> 6), (char) ExpandableListView.getPackedPositionGroup(0L))).getMethod("e", Context.class, String.class, String.class, String.class, String.class, Boolean.TYPE, String.class, String.class);
xzZ.y.put(1656189573, obj2);
}
((Method) obj2).invoke(invoke, objArr11);
} catch (Throwable th) {
Throwable cause = th.getCause();
if (cause == null) {
throw th;
}
throw cause;
}
}
}
super.onCreate(bundle);
}
@Override // com.scb.phone.view.activity.easycash.Hilt_EasycashNcbSlipActivity, 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;
int i2 = u + 81;
y = i2 % 128;
int i3 = i2 % 2;
Context baseContext = getBaseContext();
if (baseContext == null) {
Object[] objArr = new Object[1];
aB(new char[]{57144, 28770, 57177, 51183, 12844, 23950, 23752, 31507, 219, 59236, 4792, 23507, 24641, 1769, 29472, 47655, 16861, 9862, 21392, 39660, 41342, 17944, 45068, 63848, 33488, 26005, 36990, 55752, 57873, 34093}, ((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getPackageName().length() - 12, objArr);
Class<?> cls = Class.forName((String) objArr[0]);
Object[] objArr2 = new Object[1];
aB(new char[]{42893, 31380, 42990, 52482, 3152, 25572, 28910, 22325, 30820, 60821, 11458, 30618, 6373, 3103, 19798, 38470, 14666, 11378, 28154, 46794, 55762, 19689}, ((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getResources().getString(R.string.old_points_label).substring(0, 4).length() - 3, objArr2);
baseContext = (Context) cls.getMethod((String) objArr2[0], new Class[0]).invoke(null, null);
int i4 = u + 53;
y = i4 % 128;
int i5 = i4 % 2;
}
if (baseContext != null) {
int i6 = u + 39;
y = i6 % 128;
int i7 = i6 % 2;
baseContext = baseContext.getApplicationContext();
}
if (baseContext != null) {
try {
Object obj = xzZ.y.get(125943855);
if (obj == null) {
obj = ((Class) xzZ.c(TextUtils.getOffsetBefore("", 0) + 492, 5 - ExpandableListView.getPackedPositionGroup(0L), (char) ExpandableListView.getPackedPositionGroup(0L))).getMethod("a", null);
xzZ.y.put(125943855, obj);
}
Object invoke = ((Method) obj).invoke(null, null);
Object[] objArr3 = {baseContext};
Object obj2 = xzZ.y.get(1378719468);
if (obj2 == null) {
obj2 = ((Class) xzZ.c(487 - (ViewConfiguration.getDoubleTapTimeout() >> 16), 4 - TextUtils.indexOf((CharSequence) "", '0', 0), (char) (TextUtils.indexOf((CharSequence) "", '0', 0) + 1))).getMethod(KtaJsonExactionHelper.OBJECT, Context.class);
xzZ.y.put(1378719468, obj2);
}
((Method) obj2).invoke(invoke, objArr3);
} catch (Throwable th) {
Throwable cause = th.getCause();
if (cause == null) {
throw th;
}
throw cause;
}
}
super.onResume();
}
@Override // com.scb.phone.view.activity.easycash.Hilt_EasycashNcbSlipActivity, 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;
Context baseContext = getBaseContext();
Object obj = null;
if (baseContext == null) {
int i2 = u + 39;
y = i2 % 128;
int i3 = i2 % 2;
Object[] objArr = new Object[1];
aB(new char[]{57144, 28770, 57177, 51183, 12844, 23950, 23752, 31507, 219, 59236, 4792, 23507, 24641, 1769, 29472, 47655, 16861, 9862, 21392, 39660, 41342, 17944, 45068, 63848, 33488, 26005, 36990, 55752, 57873, 34093}, ((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getResources().getString(R.string.return_to_subscription_list).substring(24, 25).codePointAt(0) + IpLibUtil.KIPP_BARCODE_DRIVER_FAIL, objArr);
Class<?> cls = Class.forName((String) objArr[0]);
Object[] objArr2 = new Object[1];
aB(new char[]{42893, 31380, 42990, 52482, 3152, 25572, 28910, 22325, 30820, 60821, 11458, 30618, 6373, 3103, 19798, 38470, 14666, 11378, 28154, 46794, 55762, 19689}, ((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getApplicationInfo().targetSdkVersion - 33, objArr2);
baseContext = (Context) cls.getMethod((String) objArr2[0], new Class[0]).invoke(null, null);
}
if (baseContext != null) {
int i4 = y + 27;
u = i4 % 128;
int i5 = i4 % 2;
baseContext = baseContext.getApplicationContext();
int i6 = y + 49;
u = i6 % 128;
int i7 = i6 % 2;
}
if (baseContext != null) {
int i8 = u + 73;
y = i8 % 128;
try {
if (i8 % 2 != 0) {
Object obj2 = xzZ.y.get(125943855);
if (obj2 == null) {
obj2 = ((Class) xzZ.c((AudioTrack.getMinVolume() > BitmapDescriptorFactory.HUE_RED ? 1 : (AudioTrack.getMinVolume() == BitmapDescriptorFactory.HUE_RED ? 0 : -1)) + 492, ((Process.getThreadPriority(0) + 20) >> 6) + 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(1633456013);
if (obj3 == null) {
obj3 = ((Class) xzZ.c((KeyEvent.getMaxKeyCode() >> 16) + 487, Process.getGidForName("") + 6, (char) ((ViewConfiguration.getZoomControlsTimeout() > 0L ? 1 : (ViewConfiguration.getZoomControlsTimeout() == 0L ? 0 : -1)) - 1))).getMethod("c", Context.class);
xzZ.y.put(1633456013, obj3);
}
((Method) obj3).invoke(invoke, objArr3);
obj.hashCode();
throw null;
}
Object obj4 = xzZ.y.get(125943855);
if (obj4 == null) {
obj4 = ((Class) xzZ.c(493 - (Process.getElapsedCpuTime() > 0L ? 1 : (Process.getElapsedCpuTime() == 0L ? 0 : -1)), 5 - ExpandableListView.getPackedPositionType(0L), (char) (ViewConfiguration.getScrollBarFadeDuration() >> 16))).getMethod("a", null);
xzZ.y.put(125943855, obj4);
}
Object invoke2 = ((Method) obj4).invoke(null, null);
Object[] objArr4 = {baseContext};
Object obj5 = xzZ.y.get(1633456013);
if (obj5 == null) {
obj5 = ((Class) xzZ.c(487 - (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)), 5 - Color.alpha(0), (char) ((-16777216) - Color.rgb(0, 0, 0)))).getMethod("c", Context.class);
xzZ.y.put(1633456013, obj5);
}
((Method) obj5).invoke(invoke2, objArr4);
} catch (Throwable th) {
Throwable cause = th.getCause();
if (cause == null) {
throw th;
}
throw cause;
}
}
super.onPause();
}
@Override // com.scb.phone.view.activity.easycash.Hilt_EasycashNcbSlipActivity, 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) {
int i = 2 % 2;
int i2 = y + 45;
u = i2 % 128;
int i3 = i2 % 2;
super.attachBaseContext(context);
Object[] objArr = new Object[1];
ay(null, null, View.MeasureSpec.makeMeasureSpec(0, 0) + 127, new byte[]{-120, -120, ISOFileInfo.SECURITY_ATTR_EXP, ISOFileInfo.LCS_BYTE, ISOFileInfo.PROP_INFO, -124, -119, ISOFileInfo.FCI_EXT, -120, ISOFileInfo.PROP_INFO, ISOFileInfo.FCI_EXT, ISOFileInfo.FILE_IDENTIFIER, -122, ISOFileInfo.PROP_INFO, -124, ISOFileInfo.FILE_IDENTIFIER, -126, ISOFileInfo.DATA_BYTES2}, objArr);
Class<?> cls = Class.forName((String) objArr[0]);
Object[] objArr2 = new Object[1];
aB(new char[]{21032, 37660, 21061, 9350, 64569, 37802, 65016, 55864, 36288}, 1 - (KeyEvent.getMaxKeyCode() >> 16), objArr2);
int intValue = ((Integer) cls.getDeclaredMethod((String) objArr2[0], new Class[0]).invoke(null, new Object[0])).intValue() % 100000;
if (intValue >= 99000) {
int i4 = u + 115;
y = i4 % 128;
int i5 = i4 % 2;
if (intValue <= 99999) {
return;
}
}
if (context != null) {
context = context.getApplicationContext();
int i6 = u + 107;
y = i6 % 128;
int i7 = i6 % 2;
}
if (context != null) {
try {
Object obj = xzZ.y.get(125943855);
if (obj == null) {
obj = ((Class) xzZ.c(492 - (KeyEvent.getMaxKeyCode() >> 16), Color.alpha(0) + 5, (char) (AudioTrack.getMinVolume() > BitmapDescriptorFactory.HUE_RED ? 1 : (AudioTrack.getMinVolume() == BitmapDescriptorFactory.HUE_RED ? 0 : -1)))).getMethod("a", null);
xzZ.y.put(125943855, obj);
}
Object invoke = ((Method) obj).invoke(null, null);
Object[] objArr3 = new Object[1];
ay(null, null, 127 - (ViewConfiguration.getKeyRepeatDelay() >> 16), new byte[]{ISOFileInfo.CHANNEL_SECURITY, ISOFileInfo.SECURITY_ATTR_EXP, -108, ISOFileInfo.LCS_BYTE, -106, -110, ISOFileInfo.CHANNEL_SECURITY, -109, -113, -113, ISOFileInfo.SECURITY_ATTR_EXP, -111, ISOFileInfo.SECURITY_ATTR_COMPACT, -108, -106, ISOFileInfo.SECURITY_ATTR_COMPACT, ISOFileInfo.SECURITY_ATTR_COMPACT, ISOFileInfo.FILE_IDENTIFIER, -110, ISOFileInfo.LCS_BYTE, -106, ISOFileInfo.LCS_BYTE, -107, -111, -110, ISOFileInfo.DATA_BYTES2, ISOFileInfo.CHANNEL_SECURITY, -112, -108, -109, -112, -113, -108, -112, -113, -112, ISOFileInfo.DATA_BYTES2, -109, -110, -113, ISOFileInfo.DATA_BYTES2, -111, ISOFileInfo.LCS_BYTE, -112, -113, ISOFileInfo.CHANNEL_SECURITY, ISOFileInfo.ENV_TEMP_EF, ISOFileInfo.SECURITY_ATTR_COMPACT}, objArr3);
String str = (String) objArr3[0];
Object[] objArr4 = new Object[1];
ay(null, null, 127 - Color.blue(0), new byte[]{ISOFileInfo.SECURITY_ATTR_EXP, ISOFileInfo.DATA_BYTES2, -113, -107, -108, ISOFileInfo.SECURITY_ATTR_COMPACT, ISOFileInfo.LCS_BYTE, -108, -113, -106, -108, ISOFileInfo.LCS_BYTE, ISOFileInfo.ENV_TEMP_EF, -111, -108, ISOFileInfo.FILE_IDENTIFIER, -113, -107, ISOFileInfo.SECURITY_ATTR_COMPACT, -106, -107, ISOFileInfo.DATA_BYTES2, -113, -107, -113, -113, -108, -106, ISOFileInfo.DATA_BYTES2, -106, ISOFileInfo.ENV_TEMP_EF, ISOFileInfo.ENV_TEMP_EF, -108, -105, -110, -109, ISOFileInfo.LCS_BYTE, -105, -107, -112, ISOFileInfo.CHANNEL_SECURITY, ISOFileInfo.DATA_BYTES2, -107, ISOFileInfo.LCS_BYTE, -109, ISOFileInfo.SECURITY_ATTR_COMPACT, ISOFileInfo.CHANNEL_SECURITY, -107, ISOFileInfo.SECURITY_ATTR_COMPACT, ISOFileInfo.ENV_TEMP_EF, -107, -109, -107, -109, -106, ISOFileInfo.SECURITY_ATTR_EXP, -110, ISOFileInfo.CHANNEL_SECURITY, -113, -107, ISOFileInfo.SECURITY_ATTR_EXP, -107, -113, ISOFileInfo.SECURITY_ATTR_EXP}, objArr4);
String str2 = (String) objArr4[0];
Object[] objArr5 = new Object[1];
aB(new char[]{26264, 47818, 26361, 3345, 36196, 58002, 6135, 12397, 47477, 11670, 44453, 4263, 55730, 52232, 52351, 61779, 63582, 60537, 60616, 53634, 6345, 36027, 3842, 45598, 15125, 44901, 12071, 37536, 23475, 20441, 20474, 29539, 31348, 28235, 28209, 21486, 39628, 3819, 36565, 13259, 48449, 10551, 43281, 5203, 56789, 51617, 51609, 62693, 65018, 59470, 59502, 54591, 7274, 35036, 2294, 46582, 15538, 43788, 11072, 38484, 24320, 19232, 19354, 30407, 32665, 27621, 27147, 22301}, -ImageFormat.getBitsPerPixel(0), objArr5);
String str3 = (String) objArr5[0];
Object[] objArr6 = new Object[1];
aB(new char[]{4916, 39993, 4956, 11182, 59114, 35160, 20157, 26980, 52427, 2924, 50725, 18855, 44127, 60075, 42983, 43025, 36339, 51921, 34655, 34973, 28001, 43608, 25805, 60173, 20201, 35274, 17592, 52153, 11794, 27001, 9336, 10808, 3976, 18684, 1447, 2721, 61216, 10265, 58655, 27335, 51372, 4056, 49805, 19805, 43053, 61200, 41474, 44527, 34881, 52907, 33779, 35938, 27073, 44644, 25453, 60651, 18757, 36329, 16603, 53000, 10997, 28061, 8287, 12162, 2663, 19787, 465, 3604, 60379, 11500, 57836, 28411, 51997, 3168, 49455, 45350, 42136, 62449}, 1 - TextUtils.indexOf("", ""), objArr6);
String str4 = (String) objArr6[0];
Object[] objArr7 = new Object[1];
aB(new char[]{12200, 46343, 12177, 714, 29726, 7136, 45639, 38336, 61460}, 1 - Color.green(0), objArr7);
String str5 = (String) objArr7[0];
Object[] objArr8 = new Object[1];
ay(null, null, (ViewConfiguration.getMaximumFlingVelocity() >> 16) + 127, new byte[]{ISOFileInfo.SECURITY_ATTR_EXP, ISOFileInfo.SECURITY_ATTR_COMPACT, -106, ISOFileInfo.CHANNEL_SECURITY, -106, ISOFileInfo.LCS_BYTE, ISOFileInfo.SECURITY_ATTR_EXP, ISOFileInfo.ENV_TEMP_EF, ISOFileInfo.DATA_BYTES2, -109, ISOFileInfo.LCS_BYTE, -109, -104, ISOFileInfo.LCS_BYTE, ISOFileInfo.SECURITY_ATTR_EXP, -113, ISOFileInfo.DATA_BYTES2, -104, ISOFileInfo.SECURITY_ATTR_COMPACT, ISOFileInfo.SECURITY_ATTR_COMPACT, -109, ISOFileInfo.CHANNEL_SECURITY, -104, -113, ISOFileInfo.SECURITY_ATTR_EXP, -105, -107, -104, -105, ISOFileInfo.CHANNEL_SECURITY, -110, ISOFileInfo.FILE_IDENTIFIER, ISOFileInfo.CHANNEL_SECURITY, -109, ISOFileInfo.DATA_BYTES2, ISOFileInfo.SECURITY_ATTR_EXP}, objArr8);
Object[] objArr9 = {context, str, str2, str3, str4, true, str5, (String) objArr8[0]};
Object obj2 = xzZ.y.get(1656189573);
if (obj2 == null) {
obj2 = ((Class) xzZ.c((ViewConfiguration.getJumpTapTimeout() >> 16) + 487, View.resolveSizeAndState(0, 0, 0) + 5, (char) View.MeasureSpec.getSize(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, objArr9);
} catch (Throwable th) {
Throwable cause = th.getCause();
if (cause == null) {
throw th;
}
throw cause;
}
}
}
public static /* synthetic */ void d(InterfaceC14894gbR interfaceC14894gbR, Object obj) {
int i = 2 % 2;
int i2 = u + 21;
y = i2 % 128;
int i3 = i2 % 2;
C14957gcv.e(interfaceC14894gbR, "");
interfaceC14894gbR.invoke(obj);
int i4 = u + 23;
y = i4 % 128;
if (i4 % 2 != 0) {
throw null;
}
}
public static /* synthetic */ void e(InterfaceC15577gud interfaceC15577gud) {
int i = 2 % 2;
int i2 = y + 31;
u = i2 % 128;
int i3 = i2 % 2;
C14957gcv.e(interfaceC15577gud, "");
if (i3 != 0) {
interfaceC15577gud.e();
int i4 = u + 123;
y = i4 % 128;
int i5 = i4 % 2;
return;
}
interfaceC15577gud.e();
throw null;
}
/* JADX WARN: Removed duplicated region for block: B:10:0x0082 */
/* JADX WARN: Removed duplicated region for block: B:17:0x009a */
/*
Code decompiled incorrectly, please refer to instructions dump.
To view partially-correct add '--show-bad-code' argument
*/
public static /* synthetic */ java.lang.Object b(com.scb.phone.view.activity.easycash.EasycashNcbSlipActivity r7, java.lang.String r8) {
/*
java.lang.String r0 = ""
r1 = 2
int r2 = r1 % r1
int r2 = com.scb.phone.view.activity.easycash.EasycashNcbSlipActivity.y
int r2 = r2 + 123
int r3 = r2 % 128
com.scb.phone.view.activity.easycash.EasycashNcbSlipActivity.u = r3
int r2 = r2 % r1
o.C14957gcv.e(r7, r0)
o.C14957gcv.e(r8, r0)
java.lang.String r0 = "mounted"
java.lang.String r2 = android.os.Environment.getExternalStorageState()
boolean r0 = o.C14957gcv.b(r0, r2)
r2 = 0
r3 = 0
r4 = 1
if (r0 != 0) goto L47
int r0 = com.scb.phone.view.activity.easycash.EasycashNcbSlipActivity.u
int r0 = r0 + 11
int r5 = r0 % 128
com.scb.phone.view.activity.easycash.EasycashNcbSlipActivity.y = r5
int r0 = r0 % r1
java.lang.String r5 = "mounted_ro"
if (r0 != 0) goto L3c
java.lang.String r0 = android.os.Environment.getExternalStorageState()
boolean r0 = o.C14957gcv.b(r5, r0)
if (r0 != 0) goto L47
r0 = r2
goto L48
L3c:
java.lang.String r7 = android.os.Environment.getExternalStorageState()
o.C14957gcv.b(r5, r7)
r3.hashCode()
throw r3
L47:
r0 = r4
L48:
android.content.res.Resources r5 = r7.getResources()
byte[] r8 = android.util.Base64.decode(r8, r2)
android.graphics.Bitmap r8 = o.C12891fKc.ayQ_(r5, r8)
java.text.SimpleDateFormat r2 = new java.text.SimpleDateFormat
o.UUJ r5 = r7.a
android.app.Activity r5 = r5.d
java.util.Locale r5 = o.xUo.d(r5)
java.lang.String r6 = "yyyyMMdd_HHmmss"
r2.<init>(r6, r5)
java.util.Date r5 = new java.util.Date
r5.<init>()
java.lang.String r2 = r2.format(r5)
java.lang.StringBuilder r5 = new java.lang.StringBuilder
java.lang.String r6 = "NCB_Slip_"
r5.<init>(r6)
r5.append(r2)
java.lang.String r2 = ".jpg"
r5.append(r2)
java.lang.String r2 = r5.toString()
r0 = r0 ^ r4
if (r0 == r4) goto L9a
int r0 = com.scb.phone.view.activity.easycash.EasycashNcbSlipActivity.y
int r0 = r0 + 53
int r4 = r0 % 128
com.scb.phone.view.activity.easycash.EasycashNcbSlipActivity.u = r4
int r0 = r0 % r1
if (r0 == 0) goto L94
android.content.Context r7 = (android.content.Context) r7
android.net.Uri r7 = o.C6582cXO.VN_(r8, r2, r7)
goto La0
L94:
android.content.Context r7 = (android.content.Context) r7
o.C6582cXO.VN_(r8, r2, r7)
throw r3
L9a:
android.content.Context r7 = (android.content.Context) r7
android.net.Uri r7 = o.C6582cXO.VO_(r8, r7, r2)
La0:
return r7
*/
throw new UnsupportedOperationException("Method not decompiled: com.scb.phone.view.activity.easycash.EasycashNcbSlipActivity.b(com.scb.phone.view.activity.easycash.EasycashNcbSlipActivity, java.lang.String):java.lang.Object");
}
private static /* synthetic */ Object c(Object[] objArr) {
EasycashNcbSlipActivity easycashNcbSlipActivity = (EasycashNcbSlipActivity) objArr[0];
int i = 2 % 2;
int i2 = u + 65;
y = i2 % 128;
if (i2 % 2 != 0) {
easycashNcbSlipActivity.Xb_(easycashNcbSlipActivity, R.id.root_activity, easycashNcbSlipActivity.getString(R.string.easycash_ncb_slip_commercial_save_success), EnumC8951daY.SUCCESS);
int i3 = 47 / 0;
} else {
easycashNcbSlipActivity.Xb_(easycashNcbSlipActivity, R.id.root_activity, easycashNcbSlipActivity.getString(R.string.easycash_ncb_slip_commercial_save_success), EnumC8951daY.SUCCESS);
}
int i4 = y + 17;
u = i4 % 128;
if (i4 % 2 == 0) {
int i5 = 31 / 0;
}
return null;
}
public static /* synthetic */ void e(EasycashNcbSlipActivity easycashNcbSlipActivity) {
int i = 2 % 2;
C14957gcv.e(easycashNcbSlipActivity, "");
Intent intent = new Intent("android.settings.APPLICATION_DETAILS_SETTINGS");
intent.setData(Uri.fromParts("package", easycashNcbSlipActivity.getPackageName(), null));
easycashNcbSlipActivity.startActivity(intent);
int i2 = y + 117;
u = i2 % 128;
if (i2 % 2 == 0) {
int i3 = 83 / 0;
}
}
static void g() {
t = new char[]{16320, 16381, 16323, 16369, 16382, 16376, 16317, 16370, 16351, 16322, 16324, 16304, 16310, 16307, 16321, 16306, 16325, 16296, 16305, 16311, 16309, 16308, 16319, 16316};
p = 1934311023;
r = true;
q = true;
w = -413696878671663172L;
}
@Override // com.scb.phone.view.activity.easycash.Hilt_EasycashNcbSlipActivity, 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() {
int i = 2 % 2;
int i2 = y + 37;
u = i2 % 128;
int i3 = i2 % 2;
super.onStart();
if (i3 != 0) {
return;
}
Object obj = null;
obj.hashCode();
throw null;
}
public final void h() {
b(new Object[]{this}, 1801756512, -1801756512, ((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getApplicationInfo().targetSdkVersion - 1673105959);
}
static {
y = 0;
g();
b = new HBt((byte) 0);
int i = u + 3;
y = i % 128;
int i2 = i % 2;
}
}