what-the-bank/sources/com/scb/phone/view/activity/transferandpay/cardlessatm/CardlessATMReviewActivity.java

717 lines
39 KiB
Java

package com.scb.phone.view.activity.transferandpay.cardlessatm;
import android.content.Context;
import android.content.Intent;
import android.graphics.Color;
import android.graphics.PointF;
import android.graphics.drawable.Drawable;
import android.media.AudioTrack;
import android.os.Build;
import android.os.Bundle;
import android.os.Parcelable;
import android.os.Process;
import android.os.SystemClock;
import android.text.TextUtils;
import android.view.Gravity;
import android.view.KeyEvent;
import android.view.View;
import android.view.ViewConfiguration;
import android.view.ViewGroup;
import android.widget.ExpandableListView;
import android.widget.FrameLayout;
import android.widget.LinearLayout;
import android.widget.TextView;
import androidx.appcompat.widget.Toolbar;
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.transferandpay.cardlessatm.CardlessReviewFragment;
import java.lang.reflect.Method;
import net.sf.scuba.smartcards.ISO7816;
import net.sf.scuba.smartcards.ISOFileInfo;
import o.AbstractC13482fbE;
import o.C1208Ya;
import o.C14957gcv;
import o.C16420oGW;
import o.C3614bBe;
import o.C4403bZM;
import o.C7338cmR;
import o.qeC;
import o.xzZ;
import org.bouncycastle.crypto.tls.CipherSuite;
/* loaded from: classes5.dex */
public final class CardlessATMReviewActivity extends Hilt_CardlessATMReviewActivity {
public static final IeS b;
private static char[] l;
private static int p;
private static int[] q;
private static boolean s;
private static boolean t;
private static int v;
private C16420oGW k;
/* renamed from: o, reason: collision with root package name */
private C7338cmR f7990o;
private static final byte[] $$g = {45, 3, ISO7816.INS_READ_RECORD2, ISO7816.INS_PSO};
private static final int $$h = CipherSuite.TLS_DH_DSS_WITH_CAMELLIA_256_CBC_SHA256;
private static int $10 = 0;
private static int $11 = 1;
private static int r = 0;
/* 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:0x0029). 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(int r5, byte r6, int r7, java.lang.Object[] r8) {
/*
int r5 = r5 + 65
int r6 = r6 * 2
int r6 = 4 - r6
int r7 = r7 * 3
int r0 = 1 - r7
byte[] r1 = com.scb.phone.view.activity.transferandpay.cardlessatm.CardlessATMReviewActivity.$$g
byte[] r0 = new byte[r0]
r2 = 0
int r7 = 0 - r7
if (r1 != 0) goto L17
r5 = r6
r4 = r7
r3 = r2
goto L29
L17:
r3 = r2
L18:
byte r4 = (byte) r5
r0[r3] = r4
if (r3 != r7) goto L25
java.lang.String r5 = new java.lang.String
r5.<init>(r0, r2)
r8[r2] = r5
return
L25:
int r3 = r3 + 1
r4 = r1[r6]
L29:
int r6 = r6 + 1
int r5 = r5 + r4
goto L18
*/
throw new UnsupportedOperationException("Method not decompiled: com.scb.phone.view.activity.transferandpay.cardlessatm.CardlessATMReviewActivity.az(int, byte, int, java.lang.Object[]):void");
}
/* loaded from: classes5.dex */
public static final class IeS {
private IeS() {
}
public /* synthetic */ IeS(byte b) {
this();
}
}
@Override // com.scb.phone.view.activity.transferandpay.cardlessatm.Hilt_CardlessATMReviewActivity, 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];
ax(null, null, ((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getResources().getString(R.string.opt_delay).substring(20, 21).length() + 126, 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];
ay(new int[]{-180197473, -394145005, 1137132496, -1036212599}, ((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getApplicationInfo().targetSdkVersion - 29, objArr2);
int intValue = ((Integer) cls.getDeclaredMethod((String) objArr2[0], new Class[0]).invoke(null, new Object[0])).intValue() % 100000;
if (intValue < 99000 || intValue > 99999) {
Context baseContext = getBaseContext();
if (baseContext == null) {
Object[] objArr3 = new Object[1];
ay(new int[]{-1868022772, -1747764225, 567947089, -632001386, 942898540, 1836276621, -904989732, 921812740, -606415545, 431111177, -872905954, 1812734810, -1167588851, -1391811390}, ((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getResources().getString(R.string.mtrl_picker_range_header_only_start_selected).substring(0, 7).length() + 19, objArr3);
Class<?> cls2 = Class.forName((String) objArr3[0]);
Object[] objArr4 = new Object[1];
ay(new int[]{-436433641, 1686289741, -1362475470, 937696929, 49383375, 381179180, 1685550327, -1241788038, 1115072311, 618387094}, ((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getResources().getString(R.string.auto_single_form_check_eligibility_property_scbs_header).substring(31, 32).length() + 17, objArr4);
baseContext = (Context) cls2.getMethod((String) objArr4[0], new Class[0]).invoke(null, null);
}
if (baseContext != null) {
int i2 = v + 119;
r = i2 % 128;
int i3 = i2 % 2;
baseContext = baseContext.getApplicationContext();
}
if (baseContext != null) {
int i4 = v + 69;
r = i4 % 128;
int i5 = i4 % 2;
try {
Object obj = xzZ.y.get(125943855);
if (obj == null) {
obj = ((Class) xzZ.c((AudioTrack.getMaxVolume() > BitmapDescriptorFactory.HUE_RED ? 1 : (AudioTrack.getMaxVolume() == BitmapDescriptorFactory.HUE_RED ? 0 : -1)) + 491, (ViewConfiguration.getFadingEdgeLength() >> 16) + 5, (char) View.MeasureSpec.getSize(0))).getMethod("a", null);
xzZ.y.put(125943855, obj);
}
Object invoke = ((Method) obj).invoke(null, null);
Object[] objArr5 = new Object[1];
ax(null, null, ((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getResources().getString(R.string.open_now_gift_msg).substring(4, 5).length() + 126, 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(new int[]{-1378069218, 7233897, 118397209, 1391164436, 1057939866, 457033157, -1574069756, 1865313706, 890222207, -588288480, 1949659086, 2144475908, -440032, 705032796, -157173637, -2046348371, -393951362, -1341687088, -1632574796, -194837207, 746389095, -1796449215, 1557548596, 854396219, -2051006628, 159377992, -1058622921, 1170934383, -1612661632, -132666870, -2041851146, -501192250}, (Process.myPid() >> 22) + 64, objArr6);
String str2 = (String) objArr6[0];
Object[] objArr7 = new Object[1];
ay(new int[]{-1710109378, -1372067797, 1526786098, -181065013, 899979765, 343710637, 796218068, -1274284665, 655459949, -609910464, -1065030224, -953580634, 1477728624, -1483055005, 20568212, 17829088, 415623546, 1549695971, 773349700, -247269301, 529131087, 1516719887, -1467434248, -1856884139, 1928374083, 1302828458, -1247224875, -1789661149, -23473034, -1532042339, -1714068377, 1697142089}, TextUtils.lastIndexOf("", '0', 0, 0) + 65, objArr7);
String str3 = (String) objArr7[0];
Object[] objArr8 = new Object[1];
ay(new int[]{1756608312, -2001691247, -397736577, -1610794585, -1277882509, 1460081856, 2009179224, -1422440346, -62867368, 483771619, 1136650767, -1395605479, 2032403139, 575405277, -346831101, -574561518, 1869550895, 1282217423, 1059561919, -936270281, -1358311437, -665041774, 97378351, 1534533805, -1164962875, -124280620, -1230130780, 605560820, 570837367, 353163709, 31832536, 1331446482, 1409535122, 281057277, 1551121160, -1753715875, -616912449, 29134455}, ((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getApplicationInfo().targetSdkVersion + 40, objArr8);
String str4 = (String) objArr8[0];
Object[] objArr9 = new Object[1];
ay(new int[]{674817496, 1779912828, -761702181, 336008159}, ((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getResources().getString(R.string.are_you_sure_want_delete_recipient).substring(16, 17).codePointAt(0) - 27, objArr9);
String str5 = (String) objArr9[0];
Object[] objArr10 = new Object[1];
ax(null, null, ((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getResources().getString(R.string.verify_identity_3).substring(0, 3).length() + 124, 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 - (ViewConfiguration.getWindowTouchSlop() >> 8), Color.argb(0, 0, 0, 0) + 5, (char) View.MeasureSpec.makeMeasureSpec(0, 0))).getMethod("e", Context.class, String.class, String.class, String.class, String.class, Boolean.TYPE, String.class, String.class);
xzZ.y.put(1656189573, obj2);
}
((Method) obj2).invoke(invoke, objArr11);
} catch (Throwable th) {
Throwable cause = th.getCause();
if (cause == null) {
throw th;
}
throw cause;
}
}
}
super.onCreate(bundle);
View inflate = getLayoutInflater().inflate(R.layout.2131558465, (ViewGroup) null, false);
FrameLayout frameLayout = (FrameLayout) qeC.e(inflate, R.id.fragment_container);
if (frameLayout != null) {
C7338cmR c7338cmR = new C7338cmR((LinearLayout) inflate, frameLayout);
C14957gcv.c(c7338cmR, "");
this.f7990o = c7338cmR;
C16420oGW c = C16420oGW.c(c7338cmR.c);
C14957gcv.c(c, "");
this.k = c;
C7338cmR c7338cmR2 = this.f7990o;
if (c7338cmR2 == null) {
int i6 = v + 113;
r = i6 % 128;
if (i6 % 2 != 0) {
C14957gcv.a("");
r5.hashCode();
throw null;
}
C14957gcv.a("");
c7338cmR2 = null;
}
setContentView(c7338cmR2.c);
C16420oGW c16420oGW = this.k;
if (c16420oGW == null) {
int i7 = r + 117;
v = i7 % 128;
if (i7 % 2 == 0) {
C14957gcv.a("");
throw null;
}
C14957gcv.a("");
c16420oGW = null;
}
Toolbar toolbar = c16420oGW.a;
C16420oGW c16420oGW2 = this.k;
if (c16420oGW2 == null) {
C14957gcv.a("");
c16420oGW2 = null;
}
super.amL_(toolbar, c16420oGW2.b);
ac();
p(getString(R.string.cardless_atm_review_title));
AbstractC13482fbE a = getSupportFragmentManager().a();
CardlessReviewFragment.RVV rvv = CardlessReviewFragment.c;
Intent intent = getIntent();
C14957gcv.c(intent, "");
if (Build.VERSION.SDK_INT >= 33) {
Bundle extras = intent.getExtras();
if (extras != null) {
r5 = (Parcelable) extras.getParcelable("com.scb.phone.EXTRA_CARDLESS_REVIEW", C1208Ya.class);
int i8 = v + 107;
r = i8 % 128;
int i9 = i8 % 2;
}
} else {
Bundle extras2 = intent.getExtras();
Parcelable parcelable = extras2 != null ? extras2.getParcelable("com.scb.phone.EXTRA_CARDLESS_REVIEW") : null;
r5 = (C1208Ya) (parcelable instanceof C1208Ya ? parcelable : null);
}
String h = h("source", "");
C14957gcv.c((Object) h, "");
String stringExtra = getIntent().getStringExtra("CONDITION");
C14957gcv.e(h, "");
Bundle bundle2 = new Bundle();
bundle2.putParcelable("com.scb.phone.EXTRA_CARDLESS_REVIEW", (C1208Ya) r5);
bundle2.putString("source", h);
bundle2.putString("CONDITION", stringExtra);
CardlessReviewFragment cardlessReviewFragment = new CardlessReviewFragment();
cardlessReviewFragment.setArguments(bundle2);
a.b(R.id.fragment_container, cardlessReviewFragment, getString(R.string.cardless_review_tag), 1);
a.b();
return;
}
throw new NullPointerException("Missing required view with ID: ".concat(inflate.getResources().getResourceName(R.id.fragment_container)));
}
/* JADX INFO: Access modifiers changed from: private */
public static /* synthetic */ Object b(Object[] objArr) {
CardlessATMReviewActivity cardlessATMReviewActivity = (CardlessATMReviewActivity) objArr[0];
Toolbar toolbar = (Toolbar) objArr[1];
TextView textView = (TextView) objArr[2];
int i = 2 % 2;
int i2 = r + 43;
v = i2 % 128;
int i3 = i2 % 2;
super.amL_(toolbar, textView);
cardlessATMReviewActivity.ac();
cardlessATMReviewActivity.p(cardlessATMReviewActivity.getString(R.string.cardless_atm_review_title));
int i4 = v + 55;
r = i4 % 128;
if (i4 % 2 == 0) {
return null;
}
throw null;
}
private static void ay(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 = q;
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 + 5;
$10 = i8 % 128;
int i9 = i8 % 2;
int i10 = 0;
while (i10 < length) {
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(14 - TextUtils.indexOf((CharSequence) "", '0', 0, 0), TextUtils.getOffsetAfter("", 0) + 5, (char) (i4 - (ViewConfiguration.getMaximumDrawingCacheSize() >> 24)))).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;
}
}
iArr2 = iArr3;
}
int length2 = iArr2.length;
int[] iArr4 = new int[length2];
int[] iArr5 = q;
if (iArr5 != null) {
int length3 = iArr5.length;
int[] iArr6 = new int[length3];
int i11 = 0;
while (i11 < length3) {
int i12 = $10 + 23;
$11 = i12 % 128;
if (i12 % 2 == 0) {
Object[] objArr3 = new Object[1];
objArr3[i7] = Integer.valueOf(iArr5[i11]);
Object obj2 = xzZ.y.get(729798706);
if (obj2 != null) {
i2 = length3;
} else {
i2 = length3;
obj2 = ((Class) xzZ.c(15 - TextUtils.getCapsMode("", 0, 0), 5 - (ViewConfiguration.getKeyRepeatDelay() >> 16), (char) (Color.blue(0) + 58134))).getMethod("i", Integer.TYPE);
xzZ.y.put(729798706, obj2);
}
iArr6[i11] = ((Integer) ((Method) obj2).invoke(null, objArr3)).intValue();
} else {
i2 = length3;
Object[] objArr4 = {Integer.valueOf(iArr5[i11])};
Object obj3 = xzZ.y.get(729798706);
if (obj3 == null) {
obj3 = ((Class) xzZ.c(15 - Drawable.resolveOpacity(0, 0), 5 - (ViewConfiguration.getTapTimeout() >> 16), (char) ((ViewConfiguration.getLongPressTimeout() >> 16) + 58134))).getMethod("i", Integer.TYPE);
xzZ.y.put(729798706, obj3);
}
iArr6[i11] = ((Integer) ((Method) obj3).invoke(null, objArr4)).intValue();
i11++;
}
length3 = i2;
i7 = 0;
}
iArr5 = iArr6;
}
int i13 = i7;
System.arraycopy(iArr5, i13, iArr4, i13, length2);
c4403bZM.b = i13;
while (c4403bZM.b < iArr.length) {
cArr[i13] = (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 i14 = 0;
for (int i15 = 16; i14 < i15; i15 = 16) {
c4403bZM.e ^= iArr4[i14];
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(118 - TextUtils.getTrimmedLength(""), 5 - View.MeasureSpec.getMode(0), (char) Color.alpha(0));
byte b2 = (byte) 0;
Object[] objArr6 = new Object[1];
az((byte) 39, 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;
i14++;
}
int i16 = c4403bZM.e;
c4403bZM.e = c4403bZM.a;
c4403bZM.a = i16;
c4403bZM.a ^= iArr4[16];
c4403bZM.e ^= iArr4[17];
int i17 = c4403bZM.e;
int i18 = 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[] objArr7 = {c4403bZM, c4403bZM};
Object obj5 = xzZ.y.get(1914371176);
if (obj5 == null) {
Class cls2 = (Class) xzZ.c(ExpandableListView.getPackedPositionType(0L) + 98, 5 - (ViewConfiguration.getLongPressTimeout() >> 16), (char) (1 - (ViewConfiguration.getGlobalActionKeyTimeout() > 0L ? 1 : (ViewConfiguration.getGlobalActionKeyTimeout() == 0L ? 0 : -1))));
byte b3 = (byte) 0;
Object[] objArr8 = new Object[1];
az((byte) 37, b3, b3, objArr8);
obj5 = cls2.getMethod((String) objArr8[0], Object.class, Object.class);
xzZ.y.put(1914371176, obj5);
}
((Method) obj5).invoke(null, objArr7);
i13 = 0;
}
objArr[0] = new String(cArr2, 0, i);
}
private static void ax(int[] iArr, char[] cArr, int i, byte[] bArr, Object[] objArr) {
int i2;
int i3 = 2 % 2;
C3614bBe c3614bBe = new C3614bBe();
char[] cArr2 = l;
long j = 0;
if (cArr2 != null) {
int length = cArr2.length;
char[] cArr3 = new char[length];
int i4 = 0;
while (i4 < length) {
try {
Object[] objArr2 = {Integer.valueOf(cArr2[i4])};
Object obj = xzZ.y.get(-950481649);
if (obj == null) {
Class cls = (Class) xzZ.c(337 - View.combineMeasuredStates(0, 0), (ViewConfiguration.getKeyRepeatTimeout() >> 16) + 5, (char) ((ExpandableListView.getPackedPositionForChild(0, 0) > j ? 1 : (ExpandableListView.getPackedPositionForChild(0, 0) == j ? 0 : -1)) + 1));
byte b2 = (byte) 0;
byte b3 = b2;
Object[] objArr3 = new Object[1];
az(b2, b3, b3, objArr3);
obj = cls.getMethod((String) objArr3[0], Integer.TYPE);
xzZ.y.put(-950481649, obj);
}
cArr3[i4] = ((Character) ((Method) obj).invoke(null, objArr2)).charValue();
i4++;
j = 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);
char c = '0';
if (obj2 == null) {
Class cls2 = (Class) xzZ.c(283 - Gravity.getAbsoluteGravity(0, 0), TextUtils.lastIndexOf("", '0', 0) + 6, (char) (Color.green(0) + 39813));
byte b4 = (byte) 0;
Object[] objArr5 = new Object[1];
az((byte) 57, b4, b4, objArr5);
obj2 = cls2.getMethod((String) objArr5[0], Integer.TYPE);
xzZ.y.put(-1521625011, obj2);
}
int intValue = ((Integer) ((Method) obj2).invoke(null, objArr4)).intValue();
if (s) {
c3614bBe.c = bArr.length;
char[] cArr4 = new char[c3614bBe.c];
c3614bBe.a = 0;
while (c3614bBe.a < c3614bBe.c) {
int i5 = $11 + 111;
$10 = i5 % 128;
int i6 = i5 % 2;
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(41 - (SystemClock.elapsedRealtimeNanos() > 0L ? 1 : (SystemClock.elapsedRealtimeNanos() == 0L ? 0 : -1)), 5 - TextUtils.getOffsetBefore("", 0), (char) ((ViewConfiguration.getZoomControlsTimeout() > 0L ? 1 : (ViewConfiguration.getZoomControlsTimeout() == 0L ? 0 : -1)) - 1))).getMethod("D", Object.class, Object.class);
xzZ.y.put(1779759091, obj3);
}
((Method) obj3).invoke(null, objArr6);
}
objArr[0] = new String(cArr4);
return;
}
if (!t) {
c3614bBe.c = iArr.length;
char[] cArr5 = new char[c3614bBe.c];
c3614bBe.a = 0;
int i7 = $11 + 63;
$10 = i7 % 128;
int i8 = i7 % 2;
while (c3614bBe.a < c3614bBe.c) {
int i9 = $10 + 119;
$11 = i9 % 128;
if (i9 % 2 == 0) {
cArr5[c3614bBe.a] = (char) (cArr2[iArr[(c3614bBe.c - 1) >>> c3614bBe.a] + i] << intValue);
i2 = c3614bBe.a % 0;
} else {
cArr5[c3614bBe.a] = (char) (cArr2[iArr[(c3614bBe.c - 1) - c3614bBe.a] - i] - intValue);
i2 = c3614bBe.a + 1;
}
c3614bBe.a = i2;
}
objArr[0] = new String(cArr5);
return;
}
int i10 = $10 + 117;
$11 = i10 % 128;
int i11 = i10 % 2;
c3614bBe.c = cArr.length;
char[] cArr6 = new char[c3614bBe.c];
c3614bBe.a = 0;
while (c3614bBe.a < c3614bBe.c) {
cArr6[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(TextUtils.lastIndexOf("", c, 0, 0) + 41, 5 - (ExpandableListView.getPackedPositionForGroup(0) > 0L ? 1 : (ExpandableListView.getPackedPositionForGroup(0) == 0L ? 0 : -1)), (char) (KeyEvent.getMaxKeyCode() >> 16))).getMethod("D", Object.class, Object.class);
xzZ.y.put(1779759091, obj4);
}
((Method) obj4).invoke(null, objArr7);
c = '0';
} catch (Throwable th2) {
Throwable cause2 = th2.getCause();
if (cause2 == null) {
throw th2;
}
throw cause2;
}
}
objArr[0] = new String(cArr6);
}
@Override // com.scb.phone.view.activity.transferandpay.cardlessatm.Hilt_CardlessATMReviewActivity, 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();
if (baseContext == null) {
Object[] objArr = new Object[1];
ay(new int[]{-1868022772, -1747764225, 567947089, -632001386, 942898540, 1836276621, -904989732, 921812740, -606415545, 431111177, -872905954, 1812734810, -1167588851, -1391811390}, ((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getPackageName().codePointAt(2) - 83, objArr);
Class<?> cls = Class.forName((String) objArr[0]);
Object[] objArr2 = new Object[1];
ay(new int[]{-436433641, 1686289741, -1362475470, 937696929, 49383375, 381179180, 1685550327, -1241788038, 1115072311, 618387094}, TextUtils.getOffsetBefore("", 0) + 18, objArr2);
baseContext = (Context) cls.getMethod((String) objArr2[0], new Class[0]).invoke(null, null);
}
if (baseContext != null) {
int i2 = r + 21;
v = i2 % 128;
if (i2 % 2 == 0) {
baseContext = baseContext.getApplicationContext();
int i3 = 91 / 0;
} else {
baseContext = baseContext.getApplicationContext();
}
}
if (baseContext != null) {
int i4 = r + 27;
v = i4 % 128;
int i5 = i4 % 2;
try {
Object obj = xzZ.y.get(125943855);
if (obj == null) {
obj = ((Class) xzZ.c(TextUtils.indexOf("", "", 0, 0) + 492, TextUtils.lastIndexOf("", '0') + 6, (char) (ViewConfiguration.getTapTimeout() >> 16))).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((ViewConfiguration.getKeyRepeatDelay() >> 16) + 487, Color.red(0) + 5, (char) (ViewConfiguration.getFadingEdgeLength() >> 16))).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();
int i6 = v + 33;
r = i6 % 128;
if (i6 % 2 != 0) {
throw null;
}
}
@Override // com.scb.phone.view.activity.transferandpay.cardlessatm.Hilt_CardlessATMReviewActivity, 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) {
int i2 = r + 103;
v = i2 % 128;
int i3 = i2 % 2;
Object[] objArr = new Object[1];
ay(new int[]{-1868022772, -1747764225, 567947089, -632001386, 942898540, 1836276621, -904989732, 921812740, -606415545, 431111177, -872905954, 1812734810, -1167588851, -1391811390}, View.MeasureSpec.makeMeasureSpec(0, 0) + 26, objArr);
Class<?> cls = Class.forName((String) objArr[0]);
Object[] objArr2 = new Object[1];
ay(new int[]{-436433641, 1686289741, -1362475470, 937696929, 49383375, 381179180, 1685550327, -1241788038, 1115072311, 618387094}, ((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getPackageName().length() + 5, objArr2);
baseContext = (Context) cls.getMethod((String) objArr2[0], new Class[0]).invoke(null, null);
}
if (baseContext != null) {
baseContext = baseContext.getApplicationContext();
}
if (baseContext != null) {
int i4 = v + 1;
r = i4 % 128;
try {
if (i4 % 2 != 0) {
Object obj = xzZ.y.get(125943855);
if (obj == null) {
obj = ((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)) + 492, 5 - TextUtils.getOffsetBefore("", 0), (char) View.combineMeasuredStates(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(487 - ExpandableListView.getPackedPositionType(0L), 5 - (ViewConfiguration.getKeyRepeatDelay() >> 16), (char) Color.red(0))).getMethod("c", Context.class);
xzZ.y.put(1633456013, obj2);
}
((Method) obj2).invoke(invoke, objArr3);
throw null;
}
Object obj3 = xzZ.y.get(125943855);
if (obj3 == null) {
obj3 = ((Class) xzZ.c(492 - Color.blue(0), (ViewConfiguration.getPressedStateDuration() >> 16) + 5, (char) ((Process.getElapsedCpuTime() > 0L ? 1 : (Process.getElapsedCpuTime() == 0L ? 0 : -1)) - 1))).getMethod("a", null);
xzZ.y.put(125943855, obj3);
}
Object invoke2 = ((Method) obj3).invoke(null, null);
Object[] objArr4 = {baseContext};
Object obj4 = xzZ.y.get(1633456013);
if (obj4 == null) {
obj4 = ((Class) xzZ.c(Color.green(0) + 487, 5 - (ViewConfiguration.getKeyRepeatTimeout() >> 16), (char) ExpandableListView.getPackedPositionGroup(0L))).getMethod("c", Context.class);
xzZ.y.put(1633456013, obj4);
}
((Method) obj4).invoke(invoke2, objArr4);
} catch (Throwable th) {
Throwable cause = th.getCause();
if (cause == null) {
throw th;
}
throw cause;
}
}
super.onPause();
}
/* JADX WARN: Code restructure failed: missing block: B:6:0x0070, code lost:
if (r2 > 99999) goto L11;
*/
@Override // com.scb.phone.view.activity.transferandpay.cardlessatm.Hilt_CardlessATMReviewActivity, 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
/*
Code decompiled incorrectly, please refer to instructions dump.
To view partially-correct add '--show-bad-code' argument
*/
public final void attachBaseContext(android.content.Context r17) {
/*
Method dump skipped, instructions count: 798
To view this dump add '--comments-level debug' option
*/
throw new UnsupportedOperationException("Method not decompiled: com.scb.phone.view.activity.transferandpay.cardlessatm.CardlessATMReviewActivity.attachBaseContext(android.content.Context):void");
}
static void j() {
l = new char[]{16112, 16109, 16115, 16097, 16110, 16104, 16045, 16098, 16079, 16114, 16116, 16032, 16038, 16035, 16113, 16034, 16117, 16088, 16033, 16039, 16037, 16036, 16047, 16044};
p = 1934311071;
t = true;
s = true;
q = new int[]{-1708173082, 1615481665, -1087663510, -792966515, 385873066, -1449281643, 216910194, 340787996, 1185880402, 1521605758, -532930595, -1063133701, 1693924128, -758836810, -1614604293, 1810170329, 2086486048, 572041397};
}
@Override // com.scb.phone.view.activity.transferandpay.cardlessatm.Hilt_CardlessATMReviewActivity, 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 = r + 73;
v = i2 % 128;
int i3 = i2 % 2;
super.onStart();
if (i3 == 0) {
throw null;
}
}
@Override // com.scb.phone.view.activity.BaseActivity
public final void amL_(Toolbar toolbar, TextView textView) {
Object[] objArr = {this, toolbar, textView};
int i = ((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getApplicationInfo().targetSdkVersion + 1443761225;
b(objArr);
}
static {
v = 1;
j();
b = new IeS((byte) 0);
int i = r + 29;
v = i % 128;
if (i % 2 != 0) {
return;
}
Object obj = null;
obj.hashCode();
throw null;
}
}