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

858 lines
46 KiB
Java
Raw Permalink Normal View History

2024-07-27 18:17:47 +07:00
package com.scb.phone.view.activity.transferandpay.cardlessatm;
import android.content.Context;
import android.content.Intent;
import android.content.IntentFilter;
import android.graphics.Color;
import android.graphics.PointF;
import android.graphics.drawable.Drawable;
import android.media.AudioTrack;
import android.os.Bundle;
import android.os.Process;
import android.os.SystemClock;
import android.telephony.cdma.CdmaCellLocation;
import android.text.AndroidCharacter;
import android.text.TextUtils;
import android.util.TypedValue;
import android.view.Gravity;
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.view.ViewGroup;
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.pingan.ai.p;
import com.scb.phone.R;
import com.scb.phone.view.activity.transferandpay.cardlessatm.CardlessATMActivity;
import com.scb.phone.view.activity.transferandpay.cardlessatm.CardlessAtmInfoActivity;
import com.scb.phone.view.fragment.transferandpay.cardlessatm.CardlessWithdrawAmountFragment;
import java.lang.reflect.Method;
import net.sf.scuba.smartcards.ISO7816;
import o.AbstractC13163fSk;
import o.AbstractC13482fbE;
import o.AbstractC14961gcz;
import o.C14866gag;
import o.C14957gcv;
import o.C16420oGW;
import o.EnumC8951daY;
import o.GuL;
import o.InterfaceC14894gbR;
import o.Nhs;
import o.Tlu;
import o.fSJ;
import o.fSQ;
import o.glR;
import o.guQ;
import o.iap;
import o.nMh;
import o.qeC;
import o.xzZ;
/* loaded from: classes5.dex */
public final class CardlessATMActivity extends Hilt_CardlessATMActivity {
public static final IeS b;
private static long q;
private static int r;
private static char s;
private static long t;
private static int u;
private iap k;
private fSJ l;
private C16420oGW m;
private MenuItem p;
private static final byte[] $$g = {33, -82, ISO7816.INS_UNBLOCK_CHV, 67};
private static final int $$h = 245;
private static int $10 = 0;
private static int $11 = 1;
private static int y = 0;
/* loaded from: classes5.dex */
public enum RVV {
DEPOSITS,
CARDS
}
/* JADX WARN: Removed duplicated region for block: B:10:0x0026 */
/* JADX WARN: Removed duplicated region for block: B:7:0x001e */
/* JADX WARN: Unsupported multi-entry loop pattern (BACK_EDGE: B:10:0x0026 -> B:4:0x0028). Please report as a decompilation issue!!! */
/*
Code decompiled incorrectly, please refer to instructions dump.
To view partially-correct add '--show-bad-code' argument
*/
private static void az(int r5, int r6, int r7, java.lang.Object[] r8) {
/*
byte[] r0 = com.scb.phone.view.activity.transferandpay.cardlessatm.CardlessATMActivity.$$g
int r6 = r6 * 3
int r1 = 1 - r6
int r5 = 121 - r5
int r7 = r7 * 3
int r7 = r7 + 4
byte[] r1 = new byte[r1]
r2 = 0
int r6 = 0 - r6
if (r0 != 0) goto L16
r3 = r7
r4 = r2
goto L28
L16:
r3 = r2
L17:
byte r4 = (byte) r5
r1[r3] = r4
int r4 = r3 + 1
if (r3 != r6) goto L26
java.lang.String r5 = new java.lang.String
r5.<init>(r1, r2)
r8[r2] = r5
return
L26:
r3 = r0[r7]
L28:
int r7 = r7 + 1
int r3 = -r3
int r5 = r5 + r3
r3 = r4
goto L17
*/
throw new UnsupportedOperationException("Method not decompiled: com.scb.phone.view.activity.transferandpay.cardlessatm.CardlessATMActivity.az(int, int, int, java.lang.Object[]):void");
}
public static /* synthetic */ Object e(Object[] objArr, int i, int i2, int i3) {
int i4 = (i * (-751)) + (i2 * (-751));
int i5 = ~i;
int i6 = ~i2;
int i7 = i2 | i5;
if (i4 + (((~(i5 | i6)) | (~(i5 | i3))) * 1504) + ((~(i3 | i7)) * (-1504)) + (((~(i | i6)) | (~i7)) * 752) != 1) {
return b(objArr);
}
CardlessATMActivity cardlessATMActivity = (CardlessATMActivity) objArr[0];
int i8 = 2 % 2;
int i9 = u + 59;
y = i9 % 128;
int i10 = i9 % 2;
cardlessATMActivity.Xb_(cardlessATMActivity, R.id.root_view, cardlessATMActivity.getString(R.string.cancel_confirm_succes), EnumC8951daY.SUCCESS);
int i11 = u + 55;
y = i11 % 128;
int i12 = i11 % 2;
return null;
}
/* loaded from: classes5.dex */
static final class HBt extends AbstractC14961gcz implements InterfaceC14894gbR<Intent, C14866gag> {
private CardlessATMActivity c;
@Override // o.InterfaceC14894gbR
public final /* synthetic */ C14866gag invoke(Intent intent) {
CardlessATMActivity.e(new Object[]{this.c}, -1717189295, 1717189296, (int) System.currentTimeMillis());
return C14866gag.c;
}
/* JADX WARN: 'super' call moved to the top of the method (can break code semantics) */
HBt(CardlessATMActivity cardlessATMActivity) {
super(1);
this.c = cardlessATMActivity;
}
}
/* loaded from: classes5.dex */
static final class LWm extends AbstractC14961gcz implements InterfaceC14894gbR<Throwable, C14866gag> {
public static final LWm c = new LWm();
@Override // o.InterfaceC14894gbR
public final /* synthetic */ C14866gag invoke(Throwable th) {
guQ.a(th);
return C14866gag.c;
}
LWm() {
super(1);
}
}
private static void ay(char[] cArr, int i, Object[] objArr) {
int i2 = 2 % 2;
GuL guL = new GuL();
char[] a = GuL.a(q ^ (-7538262848231253921L), cArr, i);
guL.a = 4;
int i3 = $11 + 123;
$10 = i3 % 128;
if (i3 % 2 != 0) {
int i4 = 5 / 2;
}
while (guL.a < a.length) {
guL.c = guL.a - 4;
int i5 = guL.a;
try {
Object[] objArr2 = {Long.valueOf(a[guL.a] ^ a[guL.a % 4]), Long.valueOf(guL.c), Long.valueOf(q)};
Object obj = xzZ.y.get(428080616);
if (obj == null) {
Class cls = (Class) xzZ.c(Color.argb(0, 0, 0, 0) + 208, (CdmaCellLocation.convertQuartSecToDecDegrees(0) > 0.0d ? 1 : (CdmaCellLocation.convertQuartSecToDecDegrees(0) == 0.0d ? 0 : -1)) + 5, (char) ((ViewConfiguration.getMaximumDrawingCacheSize() >> 24) + 1706));
byte b2 = (byte) 2;
byte b3 = (byte) (b2 - 2);
Object[] objArr3 = new Object[1];
az(b2, b3, b3, objArr3);
obj = cls.getMethod((String) objArr3[0], Long.TYPE, Long.TYPE, Long.TYPE);
xzZ.y.put(428080616, obj);
}
a[i5] = ((Character) ((Method) obj).invoke(null, objArr2)).charValue();
Object[] objArr4 = {guL, guL};
Object obj2 = xzZ.y.get(-1875914398);
if (obj2 == null) {
Class cls2 = (Class) xzZ.c(TextUtils.getOffsetBefore("", 0) + 392, (ViewConfiguration.getWindowTouchSlop() >> 8) + 5, (char) KeyEvent.getDeadChar(0, 0));
byte b4 = (byte) 0;
byte b5 = b4;
Object[] objArr5 = new Object[1];
az(b4, b5, 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;
}
}
String str = new String(a, 4, a.length - 4);
int i6 = $10 + 57;
$11 = i6 % 128;
if (i6 % 2 == 0) {
throw null;
}
objArr[0] = str;
}
/* loaded from: classes5.dex */
public static final class IeS {
private IeS() {
}
public static void b(Context context, String str, String str2) {
C14957gcv.e(context, "");
C14957gcv.e(str, "");
Intent intent = new Intent(context, (Class<?>) CardlessATMActivity.class);
intent.addFlags(603979776);
intent.putExtra("source", str);
intent.putExtra("CARDLESS_DEFAULT_TAB", str2);
context.startActivity(intent);
}
public /* synthetic */ IeS(byte b) {
this();
}
}
@Override // com.scb.phone.view.activity.transferandpay.cardlessatm.Hilt_CardlessATMActivity, 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) {
C16420oGW c16420oGW;
int i = 2 % 2;
int i2 = u + 19;
y = i2 % 128;
int i3 = i2 % 2;
Object[] objArr = new Object[1];
ax((char) (((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getApplicationInfo().targetSdkVersion + 42723), new char[]{18438, 39044, 43368, 16084, 59651, 2182, 37023, 65085, 12734, 20247, 55156, 62880, 53828, 9021, 32744, 5704, 8855, 7283}, new char[]{51848, 45637, 1357, 62631}, new char[]{0, 0, 0, 0}, (TypedValue.complexToFloat(0) > BitmapDescriptorFactory.HUE_RED ? 1 : (TypedValue.complexToFloat(0) == BitmapDescriptorFactory.HUE_RED ? 0 : -1)), objArr);
Class<?> cls = Class.forName((String) objArr[0]);
Object[] objArr2 = new Object[1];
ay(new char[]{34046, 49898, 33939, 20751, 32505, 22932, 10253, 37552, 51946}, ViewConfiguration.getKeyRepeatTimeout() >> 16, 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];
ax((char) (Color.blue(0) + 29569), new char[]{35488, 8861, 52270, 11581, 11358, 293, 38393, 36249, 27271, 17639, 42769, 61645, 48184, 61206, 39059, 62828, 16387, 55728, 21074, 39376, 41262, 33129, 59954, 40812, 22157, 18030}, new char[]{50972, 29543, 33125, 6259}, new char[]{0, 0, 0, 0}, ((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getResources().getString(R.string.fund_pay_credit_card_fragment).substring(0, 19).length() - 19, objArr3);
Class<?> cls2 = Class.forName((String) objArr3[0]);
Object[] objArr4 = new Object[1];
ax((char) (Color.red(0) + 64954), new char[]{36071, 31873, 62497, 40332, 43989, 59972, 40667, 50641, 10279, 35252, 56847, 23752, 26040, 3638, 23587, 53875, 12995, 31515}, new char[]{56953, 62689, 47852, 32509}, new char[]{0, 0, 0, 0}, ((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getResources().getString(R.string.remittance_input_amount_from_currency).substring(0, 3).length() - 3, 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((ViewConfiguration.getMaximumFlingVelocity() >> 16) + 492, 6 - (SystemClock.uptimeMillis() > 0L ? 1 : (SystemClock.uptimeMillis() == 0L ? 0 : -1)), (char) (ViewConfiguration.getJumpTapTimeout() >> 16))).getMethod("a", null);
xzZ.y.put(125943855, obj);
}
Object invoke = ((Method) obj).invoke(null, null);
Object[] objArr5 = new Object[1];
ay(new char[]{43737, 42858, 43752, 13505, 28316, 18832, 43954, 4356, 58522, 17669, 15454, 41623, 13915, 38703, 36282, 64615, 16826, 55780, 23339, 3502, 37755, 27141, 10586, 24350, 8922, 48274, 59033, 59535, 31775, 52576, 46123, 15091, 36778, 8191, 1468, 29799, 55656, 41027, 54032, 34263, 27471, 62083, 41178, 55060, 47755, 1186, 32305, 24755, 62570, 21822, 53245, 45602}, ((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getApplicationInfo().targetSdkVersion - 34, objArr5);
String str = (String) objArr5[0];
Object[] objArr6 = new Object[1];
ay(new char[]{54177, 46406, 54212, 9912, 37038, 47008, 15885, 33980, 40423, 22312, 49724, 14192, 20260, 34063, 29578, 27023, 14531, 52124, 42271, 38936, 59991, 30766, 55145, 51883, 23538, 44732, 6313, 32061, 1330, 57164, 19016, 44826, 63107, 3539, 64472, 57809, 40982, 45677, 11565, 4152, 4708, 57586, 24298, 17067, 50167, 5848, 32857, 62735, 36164, 18203, 12702, 10187, 32389, 62882, 25534, 22062, 10354, 14898, 38269, 35051, 39353, 26777, 50889, 15041, 19207, 39176, 2057, 27916}, ((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getApplicationInfo().targetSdkVersion - 34, objArr6);
String str2 = (String) objArr6[0];
Object[] objArr7 = new Object[1];
ax((char) ((-1) - TextUtils.indexOf((CharSequence) "", '0')), new char[]{55958, 26185, 26217, 46101, 16907, 22331, 41216, 34790, 10980, 2881, 60722, 31553, 53321, 18036, 7135, 7906, 52141, 18069, 44547, 21100, 6311, 26146, 45223, 6652, 40488, 12905, 15677, 41257, 13581, 53597, 26227, 57465, 15903, 40072, 46435, 14657, 48496, 56763, 4566, 1945, 39525, 15590, 28969, 46547, 54211, 2739, 43207, 24975, 38128, 36938, 44479, 62727, 12379, 51327, 4241, 64801, 4657, 45739, 51701, 20219, 24562, 15825, 16840, 23662}, new char[]{16861, 2787, 59090, 13381}, new char[]{0, 0, 0, 0}, TextUtils.lastIndexOf("", '0', 0, 0) + 1, objArr7);
String str3 = (String) objArr7[0];
Object[] objArr8 = new Object[1];
ay(new char[]{59215, 28996, 59175, 58028, 7531, 14887, 39508, 8432, 43340, 37746, 20384, 37695, 31708, 16721, 65118, 52621, 3196, 4039, 10434, 15389, 57066, 48234, 23228, 28329, 28446, 27364, 38189, 55601, 12673, 6931, 51153, 2900, 49719, 51610, 30218, 17873, 38075, 30267, 41214, 46195, 9931, 9446, 54120, 59109, 63310, 53962, 3547, 20755, 47598, 33629, 48206, 33666, 19050, 12726, 60988, 61999, 7314, 65063, 6318, 11424, 44294, 44247, 19222, 40654, 32696, 23821, 34204, 51524, '`', 2990, 13357, 15279, 53850, 47166, 26346, 27262, 25819, 26187}, ((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getResources().getString(R.string.auto_partnership_landing_being_redirected_external_description).substring(8, 9).length() - 1, objArr8);
String str4 = (String) objArr8[0];
Object[] objArr9 = new Object[1];
ax((char) (((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getResources().getString(R.string.deejung_transfer_email_notification_message).substring(33, 34).codePointAt(0) + 40484), new char[]{23340, 26092, 31725, 41738, 5719}, new char[]{63983, 7117, 17631, 47518}, new char[]{0, 0, 0, 0}, (-551825927) - Gravity.getAbsoluteGravity(0, 0), objArr9);
String str5 = (String) objArr9[0];
Object[] objArr10 = new Object[1];
ay(new char[]{45132, 50338, 45097, 22367, 17732, 25166, 40464, 9456, 65112, 9879, 6098, 38756, 11393, 62696, 42598, 51649, 23422, 47715, 28914, 14342, 35261, 2511, 667, 27365, 14366, 57099, 52549, 56633, 26334, 44797, 40868, 3845, 38251, 31851, 11877, 16833, 50168, 50059, 63687, 45089}, ((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getResources().getString(R.string.investment_information_footer).substring(212, 213).codePointAt(0) - 32, 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 - TextUtils.indexOf("", "", 0), 5 - View.combineMeasuredStates(0, 0), (char) (ViewConfiguration.getMinimumFlingVelocity() >> 16))).getMethod("e", Context.class, String.class, String.class, String.class, String.class, Boolean.TYPE, String.class, String.class);
xzZ.y.put(1656189573, obj2);
}
((Method) obj2).invoke(invoke, objArr11);
} catch (Throwable th) {
Throwable cause = th.getCause();
if (cause == null) {
throw th;
}
throw cause;
}
}
}
super.onCreate(bundle);
View inflate = getLayoutInflater().inflate(R.layout.2131558464, (ViewGroup) null, false);
FrameLayout frameLayout = (FrameLayout) qeC.e(inflate, R.id.fragment_container);
if (frameLayout != null) {
iap iapVar = new iap((LinearLayout) inflate, frameLayout);
C14957gcv.c(iapVar, "");
this.k = iapVar;
C16420oGW c = C16420oGW.c(iapVar.a);
C14957gcv.c(c, "");
this.m = c;
iap iapVar2 = this.k;
if (iapVar2 == null) {
C14957gcv.a("");
iapVar2 = null;
}
setContentView(iapVar2.a);
C16420oGW c16420oGW2 = this.m;
if (c16420oGW2 == null) {
C14957gcv.a("");
c16420oGW2 = null;
}
Toolbar toolbar = c16420oGW2.a;
C16420oGW c16420oGW3 = this.m;
if (c16420oGW3 == null) {
C14957gcv.a("");
c16420oGW = null;
} else {
c16420oGW = c16420oGW3;
}
amL_(toolbar, c16420oGW.b);
AbstractC13163fSk<Intent> Ge_ = glR.Ge_(this, new IntentFilter("com.scb.phone/BROADCAST_SHOW_CANCEL_CARDLESS_CONFIRMATION_SNACK_BAR"));
final HBt hBt = new HBt(this);
fSQ<? super Intent> fsq = new fSQ(hBt) { // from class: o.epO
private InterfaceC14894gbR e;
@Override // o.fSQ
public final void c(Object obj3) {
CardlessATMActivity.e(new Object[]{this.e, obj3}, 181094095, -181094095, (int) System.currentTimeMillis());
}
{
this.e = hBt;
}
};
final LWm lWm = LWm.c;
this.l = Ge_.subscribe(fsq, new fSQ(lWm) { // from class: o.epL
private InterfaceC14894gbR a;
@Override // o.fSQ
public final void c(Object obj3) {
CardlessATMActivity.d(this.a, obj3);
}
{
this.a = lWm;
}
});
AbstractC13482fbE a = getSupportFragmentManager().a();
CardlessWithdrawAmountFragment.LWm lWm2 = CardlessWithdrawAmountFragment.c;
String h = h("source", "");
C14957gcv.c((Object) h, "");
C14957gcv.e(h, "");
Bundle bundle2 = new Bundle();
bundle2.putBoolean("com.scb.phone.EXTRA_CARDLESS_ATM_HAS_SPEEDY_CASH", true);
bundle2.putString("source", h);
CardlessWithdrawAmountFragment cardlessWithdrawAmountFragment = new CardlessWithdrawAmountFragment();
cardlessWithdrawAmountFragment.setArguments(bundle2);
a.b(R.id.fragment_container, cardlessWithdrawAmountFragment, getString(R.string.cardless_withdraw_amount_tag), 2);
a.b();
int i4 = y + 51;
u = i4 % 128;
int i5 = i4 % 2;
return;
}
throw new NullPointerException("Missing required view with ID: ".concat(inflate.getResources().getResourceName(R.id.fragment_container)));
}
@Override // com.scb.phone.view.activity.BaseActivity
public final void amL_(Toolbar toolbar, TextView textView) {
int i = 2 % 2;
int i2 = u + 119;
y = i2 % 128;
int i3 = i2 % 2;
super.amL_(toolbar, textView);
ac();
setTitle(R.string.cardless_atm_title);
this.i.d(this.i.c() | 16);
this.i.f();
int i4 = y + 57;
u = i4 % 128;
int i5 = i4 % 2;
}
private static void ax(char c, char[] cArr, char[] cArr2, char[] cArr3, int i, Object[] objArr) {
int i2 = 2;
int i3 = 2 % 2;
Nhs nhs = new Nhs();
int length = cArr2.length;
char[] cArr4 = new char[length];
int length2 = cArr3.length;
char[] cArr5 = new char[length2];
System.arraycopy(cArr2, 0, cArr4, 0, length);
System.arraycopy(cArr3, 0, cArr5, 0, length2);
cArr4[0] = (char) (cArr4[0] ^ c);
cArr5[2] = (char) (cArr5[2] + ((char) i));
int length3 = cArr.length;
char[] cArr6 = new char[length3];
nhs.a = 0;
while (nhs.a < length3) {
int i4 = $11 + 67;
$10 = i4 % 128;
int i5 = i4 % i2;
try {
Object[] objArr2 = {nhs};
Object obj = xzZ.y.get(263693715);
if (obj == null) {
obj = ((Class) xzZ.c(45 - (ViewConfiguration.getTapTimeout() >> 16), (Process.myTid() >> 22) + 5, (char) (ViewConfiguration.getEdgeSlop() >> 16))).getMethod("t", Object.class);
xzZ.y.put(263693715, obj);
}
int intValue = ((Integer) ((Method) obj).invoke(null, objArr2)).intValue();
Object[] objArr3 = {nhs};
Object obj2 = xzZ.y.get(-484664112);
if (obj2 == null) {
Class cls = (Class) xzZ.c(352 - (Process.myTid() >> 22), 5 - TextUtils.getTrimmedLength(""), (char) (52128 - TextUtils.indexOf("", "", 0, 0)));
byte b2 = (byte) 0;
Object[] objArr4 = new Object[1];
az((byte) 6, b2, b2, objArr4);
obj2 = cls.getMethod((String) objArr4[0], Object.class);
xzZ.y.put(-484664112, obj2);
}
int intValue2 = ((Integer) ((Method) obj2).invoke(null, objArr3)).intValue();
Object[] objArr5 = {nhs, Integer.valueOf(cArr4[nhs.a % 4] * 32718), Integer.valueOf(cArr5[intValue])};
Object obj3 = xzZ.y.get(430099516);
if (obj3 == null) {
obj3 = ((Class) xzZ.c((ViewConfiguration.getMaximumDrawingCacheSize() >> 24) + 748, ((Process.getThreadPriority(0) + 20) >> 6) + 5, (char) (1 - (AudioTrack.getMaxVolume() > BitmapDescriptorFactory.HUE_RED ? 1 : (AudioTrack.getMaxVolume() == BitmapDescriptorFactory.HUE_RED ? 0 : -1))))).getMethod(p.a, Object.class, Integer.TYPE, Integer.TYPE);
xzZ.y.put(430099516, obj3);
}
((Method) obj3).invoke(null, objArr5);
Object[] objArr6 = {Integer.valueOf(cArr4[intValue2] * 32718), Integer.valueOf(cArr5[intValue])};
Object obj4 = xzZ.y.get(1019894806);
if (obj4 == null) {
Class cls2 = (Class) xzZ.c(402 - Color.argb(0, 0, 0, 0), (Process.myTid() >> 22) + 5, (char) (21607 - TextUtils.indexOf((CharSequence) "", '0', 0)));
byte b3 = (byte) 0;
Object[] objArr7 = new Object[1];
az((byte) 7, b3, b3, objArr7);
obj4 = cls2.getMethod((String) objArr7[0], Integer.TYPE, Integer.TYPE);
xzZ.y.put(1019894806, obj4);
}
cArr5[intValue2] = ((Character) ((Method) obj4).invoke(null, objArr6)).charValue();
cArr4[intValue2] = nhs.c;
cArr6[nhs.a] = (char) ((((cArr4[intValue2] ^ cArr[nhs.a]) ^ (t ^ 9051040786702654117L)) ^ ((int) (r ^ 9051040786702654117L))) ^ ((char) (s ^ 9051040786702654117L)));
nhs.a++;
int i6 = $10 + 45;
$11 = i6 % 128;
int i7 = i6 % 2;
i2 = 2;
} catch (Throwable th) {
Throwable cause = th.getCause();
if (cause == null) {
throw th;
}
throw cause;
}
}
String str = new String(cArr6);
int i8 = $10 + 15;
$11 = i8 % 128;
if (i8 % 2 != 0) {
objArr[0] = str;
} else {
Object obj5 = null;
obj5.hashCode();
throw null;
}
}
@Override // com.scb.phone.view.activity.BaseActivity, android.app.Activity
public final boolean onCreateOptionsMenu(Menu menu) {
int i = 2 % 2;
C14957gcv.e(menu, "");
getMenuInflater().inflate(R.menu.2131689486, menu);
MenuItem findItem = menu.findItem(R.id.menu_action_help);
this.p = findItem;
if (findItem != null) {
int i2 = u + 65;
y = i2 % 128;
int i3 = i2 % 2;
Drawable icon = findItem.getIcon();
if (icon != null) {
Tlu.pI_(icon);
Tlu.pE_(icon, nMh.getColor(this, R.color.f14042131100912));
menu.findItem(R.id.menu_action_help).setIcon(icon);
}
}
int i4 = u + 23;
y = i4 % 128;
if (i4 % 2 == 0) {
return true;
}
throw null;
}
@Override // com.scb.phone.view.activity.BaseActivity, android.app.Activity
public final boolean onOptionsItemSelected(MenuItem menuItem) {
int i = 2 % 2;
int i2 = u + 37;
y = i2 % 128;
int i3 = i2 % 2;
C14957gcv.e(menuItem, "");
if (menuItem.getItemId() != R.id.menu_action_help) {
return super.onOptionsItemSelected(menuItem);
}
CardlessAtmInfoActivity.RVV rvv = CardlessAtmInfoActivity.b;
CardlessATMActivity cardlessATMActivity = this;
C14957gcv.e(cardlessATMActivity, "");
startActivity(new Intent(cardlessATMActivity, (Class<?>) CardlessAtmInfoActivity.class));
int i4 = y + 103;
u = i4 % 128;
if (i4 % 2 != 0) {
return true;
}
Object obj = null;
obj.hashCode();
throw null;
}
/* JADX WARN: Code restructure failed: missing block: B:12:0x001f, code lost:
if (r1.isDisposed() != false) goto L15;
*/
/* JADX WARN: Code restructure failed: missing block: B:13:0x0021, code lost:
r2 = com.scb.phone.view.activity.transferandpay.cardlessatm.CardlessATMActivity.u + 23;
com.scb.phone.view.activity.transferandpay.cardlessatm.CardlessATMActivity.y = r2 % 128;
*/
/* JADX WARN: Code restructure failed: missing block: B:14:0x002a, code lost:
if ((r2 % 2) == 0) goto L14;
*/
/* JADX WARN: Code restructure failed: missing block: B:15:0x002c, code lost:
r1.dispose();
r1 = 79 / 0;
*/
/* JADX WARN: Code restructure failed: missing block: B:16:0x0034, code lost:
r1.dispose();
*/
/* JADX WARN: Code restructure failed: missing block: B:18:0x0019, code lost:
if (r1 != null) goto L9;
*/
/* JADX WARN: Code restructure failed: missing block: B:4:0x0014, code lost:
if (r1 != null) goto L9;
*/
@Override // com.scb.phone.view.activity.BaseActivity, com.scb.phone.view.activity.PreLoadCheckActivity, androidx.appcompat.app.AppCompatActivity, androidx.fragment.app.FragmentActivity, android.app.Activity
/*
Code decompiled incorrectly, please refer to instructions dump.
To view partially-correct add '--show-bad-code' argument
*/
public final void onDestroy() {
/*
r4 = this;
r0 = 2
int r1 = r0 % r0
int r1 = com.scb.phone.view.activity.transferandpay.cardlessatm.CardlessATMActivity.y
int r1 = r1 + 45
int r2 = r1 % 128
com.scb.phone.view.activity.transferandpay.cardlessatm.CardlessATMActivity.u = r2
int r1 = r1 % r0
if (r1 != 0) goto L17
o.fSJ r1 = r4.l
r2 = 39
int r2 = r2 / 0
if (r1 == 0) goto L37
goto L1b
L17:
o.fSJ r1 = r4.l
if (r1 == 0) goto L37
L1b:
boolean r2 = r1.isDisposed()
if (r2 != 0) goto L37
int r2 = com.scb.phone.view.activity.transferandpay.cardlessatm.CardlessATMActivity.u
int r2 = r2 + 23
int r3 = r2 % 128
com.scb.phone.view.activity.transferandpay.cardlessatm.CardlessATMActivity.y = r3
int r2 = r2 % r0
if (r2 == 0) goto L34
r1.dispose()
r1 = 79
int r1 = r1 / 0
goto L37
L34:
r1.dispose()
L37:
super.onDestroy()
int r1 = com.scb.phone.view.activity.transferandpay.cardlessatm.CardlessATMActivity.u
int r1 = r1 + 3
int r2 = r1 % 128
com.scb.phone.view.activity.transferandpay.cardlessatm.CardlessATMActivity.y = r2
int r1 = r1 % r0
if (r1 != 0) goto L46
return
L46:
r0 = 0
throw r0
*/
throw new UnsupportedOperationException("Method not decompiled: com.scb.phone.view.activity.transferandpay.cardlessatm.CardlessATMActivity.onDestroy():void");
}
/* JADX WARN: Code restructure failed: missing block: B:29:0x0022, code lost:
r7 = (java.lang.Object[]) null;
r6 = new java.lang.Object[1];
ax((char) (((android.content.Context) java.lang.Class.forName("android.app.ActivityThread").getMethod("currentApplication", new java.lang.Class[0]).invoke(null, null)).getApplicationContext().getResources().getString(com.scb.phone.R.string.ndid_service_status_enrolled_description).substring(26, 27).codePointAt(0) + 29537), new char[]{35488, 8861, 52270, 11581, 11358, 293, 38393, 36249, 27271, 17639, 42769, 61645, 48184, 61206, 39059, 62828, 16387, 55728, 21074, 39376, 41262, 33129, 59954, 40812, 22157, 18030}, new char[]{50972, 29543, 33125, 6259}, new char[]{0, 0, 0, 0}, ((android.content.Context) java.lang.Class.forName("android.app.ActivityThread").getMethod("currentApplication", new java.lang.Class[0]).invoke(null, null)).getApplicationContext().getPackageName().length() - 13, r6);
r6 = java.lang.Class.forName((java.lang.String) r6[0]);
r1 = new java.lang.Object[1];
ax((char) (((android.content.Context) java.lang.Class.forName("android.app.ActivityThread").getMethod("currentApplication", new java.lang.Class[0]).invoke(null, null)).getApplicationContext().getPackageName().length() + 64941), new char[]{36071, 31873, 62497, 40332, 43989, 59972, 40667, 50641, 10279, 35252, 56847, 23752, 26040, 3638, 23587, 53875, 12995, 31515}, new char[]{56953, 62689, 47852, 32509}, new char[]{0, 0, 0, 0}, (android.util.TypedValue.complexToFloat(0) > com.google.android.gms.maps.model.BitmapDescriptorFactory.HUE_RED ? 1 : (android.util.TypedValue.complexToFloat(0) == com.google.android.gms.maps.model.BitmapDescriptorFactory.HUE_RED ? 0 : -1)), r1);
r1 = (android.content.Context) r6.getMethod((java.lang.String) r1[0], new java.lang.Class[0]).invoke(null, null);
*/
/* JADX WARN: Code restructure failed: missing block: B:31:0x0020, code lost:
if (r1 == null) goto L9;
*/
/* JADX WARN: Code restructure failed: missing block: B:4:0x0019, code lost:
if (r1 == null) goto L9;
*/
@Override // com.scb.phone.view.activity.transferandpay.cardlessatm.Hilt_CardlessATMActivity, 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
/*
Code decompiled incorrectly, please refer to instructions dump.
To view partially-correct add '--show-bad-code' argument
*/
public final void onResume() {
/*
Method dump skipped, instructions count: 482
To view this dump add '--comments-level debug' option
*/
throw new UnsupportedOperationException("Method not decompiled: com.scb.phone.view.activity.transferandpay.cardlessatm.CardlessATMActivity.onResume():void");
}
@Override // com.scb.phone.view.activity.transferandpay.cardlessatm.Hilt_CardlessATMActivity, com.scb.phone.view.activity.BaseActivity, com.scb.phone.view.activity.PreLoadCheckActivity, com.akexorcist.localizationactivity.LocalizationActivity, androidx.appcompat.app.AppCompatActivity, androidx.fragment.app.FragmentActivity, androidx.activity.ComponentActivity, androidx.core.app.ComponentActivity, android.app.Activity
public final void onPause() {
int i = 2 % 2;
int i2 = u + 95;
y = i2 % 128;
if (i2 % 2 != 0) {
getBaseContext();
throw null;
}
Context baseContext = getBaseContext();
if (baseContext == null) {
int i3 = u + 65;
y = i3 % 128;
int i4 = i3 % 2;
Object[] objArr = new Object[1];
ax((char) (((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getApplicationInfo().targetSdkVersion + 29535), new char[]{35488, 8861, 52270, 11581, 11358, 293, 38393, 36249, 27271, 17639, 42769, 61645, 48184, 61206, 39059, 62828, 16387, 55728, 21074, 39376, 41262, 33129, 59954, 40812, 22157, 18030}, new char[]{50972, 29543, 33125, 6259}, new char[]{0, 0, 0, 0}, ((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getPackageName().length() - 13, objArr);
Class<?> cls = Class.forName((String) objArr[0]);
Object[] objArr2 = new Object[1];
ax((char) (((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getApplicationInfo().targetSdkVersion + 64920), new char[]{36071, 31873, 62497, 40332, 43989, 59972, 40667, 50641, 10279, 35252, 56847, 23752, 26040, 3638, 23587, 53875, 12995, 31515}, new char[]{56953, 62689, 47852, 32509}, new char[]{0, 0, 0, 0}, (-1) - Process.getGidForName(""), objArr2);
baseContext = (Context) cls.getMethod((String) objArr2[0], new Class[0]).invoke(null, null);
}
if (baseContext != null) {
baseContext = baseContext.getApplicationContext();
}
if (baseContext != null) {
try {
Object obj = xzZ.y.get(125943855);
if (obj == null) {
obj = ((Class) xzZ.c((ViewConfiguration.getMaximumFlingVelocity() >> 16) + 492, 6 - (ViewConfiguration.getScrollFriction() > BitmapDescriptorFactory.HUE_RED ? 1 : (ViewConfiguration.getScrollFriction() == BitmapDescriptorFactory.HUE_RED ? 0 : -1)), (char) View.resolveSize(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 - (ViewConfiguration.getScrollBarSize() >> 8), TextUtils.lastIndexOf("", '0', 0) + 6, (char) (TextUtils.indexOf((CharSequence) "", '0', 0) + 1))).getMethod("c", Context.class);
xzZ.y.put(1633456013, obj2);
}
((Method) obj2).invoke(invoke, objArr3);
} catch (Throwable th) {
Throwable cause = th.getCause();
if (cause == null) {
throw th;
}
throw cause;
}
}
super.onPause();
}
@Override // com.scb.phone.view.activity.transferandpay.cardlessatm.Hilt_CardlessATMActivity, 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((char) (42756 - ((byte) KeyEvent.getModifierMetaStateMask())), new char[]{18438, 39044, 43368, 16084, 59651, 2182, 37023, 65085, 12734, 20247, 55156, 62880, 53828, 9021, 32744, 5704, 8855, 7283}, new char[]{51848, 45637, 1357, 62631}, new char[]{0, 0, 0, 0}, (AudioTrack.getMaxVolume() > BitmapDescriptorFactory.HUE_RED ? 1 : (AudioTrack.getMaxVolume() == BitmapDescriptorFactory.HUE_RED ? 0 : -1)) - 1, objArr);
Class<?> cls = Class.forName((String) objArr[0]);
Object[] objArr2 = new Object[1];
ay(new char[]{34046, 49898, 33939, 20751, 32505, 22932, 10253, 37552, 51946}, TextUtils.getCapsMode("", 0, 0), objArr2);
int intValue = ((Integer) cls.getDeclaredMethod((String) objArr2[0], new Class[0]).invoke(null, new Object[0])).intValue() % 100000;
if (intValue >= 99000) {
int i2 = u + 33;
y = i2 % 128;
if (i2 % 2 != 0) {
throw null;
}
if (intValue <= 99999) {
return;
}
}
if (context != null) {
int i3 = y + 95;
u = i3 % 128;
int i4 = i3 % 2;
context2 = context.getApplicationContext();
int i5 = y + 97;
u = i5 % 128;
int i6 = i5 % 2;
} else {
context2 = context;
}
if (context2 != null) {
try {
Object obj = xzZ.y.get(125943855);
if (obj == null) {
obj = ((Class) xzZ.c(Color.red(0) + 492, 5 - View.getDefaultSize(0, 0), (char) TextUtils.getTrimmedLength(""))).getMethod("a", null);
xzZ.y.put(125943855, obj);
}
Object invoke = ((Method) obj).invoke(null, null);
Object[] objArr3 = new Object[1];
ay(new char[]{43737, 42858, 43752, 13505, 28316, 18832, 43954, 4356, 58522, 17669, 15454, 41623, 13915, 38703, 36282, 64615, 16826, 55780, 23339, 3502, 37755, 27141, 10586, 24350, 8922, 48274, 59033, 59535, 31775, 52576, 46123, 15091, 36778, 8191, 1468, 29799, 55656, 41027, 54032, 34263, 27471, 62083, 41178, 55060, 47755, 1186, 32305, 24755, 62570, 21822, 53245, 45602}, (-1) - TextUtils.indexOf((CharSequence) "", '0', 0, 0), objArr3);
String str = (String) objArr3[0];
Object[] objArr4 = new Object[1];
ay(new char[]{54177, 46406, 54212, 9912, 37038, 47008, 15885, 33980, 40423, 22312, 49724, 14192, 20260, 34063, 29578, 27023, 14531, 52124, 42271, 38936, 59991, 30766, 55145, 51883, 23538, 44732, 6313, 32061, 1330, 57164, 19016, 44826, 63107, 3539, 64472, 57809, 40982, 45677, 11565, 4152, 4708, 57586, 24298, 17067, 50167, 5848, 32857, 62735, 36164, 18203, 12702, 10187, 32389, 62882, 25534, 22062, 10354, 14898, 38269, 35051, 39353, 26777, 50889, 15041, 19207, 39176, 2057, 27916}, TextUtils.indexOf("", "", 0, 0), objArr4);
String str2 = (String) objArr4[0];
Object[] objArr5 = new Object[1];
ax((char) (ViewConfiguration.getTapTimeout() >> 16), new char[]{55958, 26185, 26217, 46101, 16907, 22331, 41216, 34790, 10980, 2881, 60722, 31553, 53321, 18036, 7135, 7906, 52141, 18069, 44547, 21100, 6311, 26146, 45223, 6652, 40488, 12905, 15677, 41257, 13581, 53597, 26227, 57465, 15903, 40072, 46435, 14657, 48496, 56763, 4566, 1945, 39525, 15590, 28969, 46547, 54211, 2739, 43207, 24975, 38128, 36938, 44479, 62727, 12379, 51327, 4241, 64801, 4657, 45739, 51701, 20219, 24562, 15825, 16840, 23662}, new char[]{16861, 2787, 59090, 13381}, new char[]{0, 0, 0, 0}, (-1) - MotionEvent.axisFromString(""), objArr5);
String str3 = (String) objArr5[0];
Object[] objArr6 = new Object[1];
ay(new char[]{59215, 28996, 59175, 58028, 7531, 14887, 39508, 8432, 43340, 37746, 20384, 37695, 31708, 16721, 65118, 52621, 3196, 4039, 10434, 15389, 57066, 48234, 23228, 28329, 28446, 27364, 38189, 55601, 12673, 6931, 51153, 2900, 49719, 51610, 30218, 17873, 38075, 30267, 41214, 46195, 9931, 9446, 54120, 59109, 63310, 53962, 3547, 20755, 47598, 33629, 48206, 33666, 19050, 12726, 60988, 61999, 7314, 65063, 6318, 11424, 44294, 44247, 19222, 40654, 32696, 23821, 34204, 51524, '`', 2990, 13357, 15279, 53850, 47166, 26346, 27262, 25819, 26187}, Process.getGidForName("") + 1, objArr6);
String str4 = (String) objArr6[0];
Object[] objArr7 = new Object[1];
ax((char) (TextUtils.lastIndexOf("", '0', 0, 0) + 40517), new char[]{23340, 26092, 31725, 41738, 5719}, new char[]{63983, 7117, 17631, 47518}, new char[]{0, 0, 0, 0}, (ViewConfiguration.getFadingEdgeLength() >> 16) - 551825927, objArr7);
String str5 = (String) objArr7[0];
Object[] objArr8 = new Object[1];
ay(new char[]{45132, 50338, 45097, 22367, 17732, 25166, 40464, 9456, 65112, 9879, 6098, 38756, 11393, 62696, 42598, 51649, 23422, 47715, 28914, 14342, 35261, 2511, 667, 27365, 14366, 57099, 52549, 56633, 26334, 44797, 40868, 3845, 38251, 31851, 11877, 16833, 50168, 50059, 63687, 45089}, ViewConfiguration.getPressedStateDuration() >> 16, objArr8);
Object[] objArr9 = {context2, str, str2, str3, str4, true, str5, (String) objArr8[0]};
Object obj2 = xzZ.y.get(1656189573);
if (obj2 == null) {
obj2 = ((Class) xzZ.c(487 - (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 - TextUtils.getTrimmedLength(""), (char) ('0' - AndroidCharacter.getMirror('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 + 59;
y = i2 % 128;
int i3 = i2 % 2;
C14957gcv.e(interfaceC14894gbR, "");
interfaceC14894gbR.invoke(obj);
int i4 = y + 81;
u = i4 % 128;
if (i4 % 2 != 0) {
return;
}
Object obj2 = null;
obj2.hashCode();
throw null;
}
private static /* synthetic */ Object b(Object[] objArr) {
InterfaceC14894gbR interfaceC14894gbR = (InterfaceC14894gbR) objArr[0];
Object obj = objArr[1];
int i = 2 % 2;
int i2 = y + 13;
u = i2 % 128;
int i3 = i2 % 2;
C14957gcv.e(interfaceC14894gbR, "");
interfaceC14894gbR.invoke(obj);
int i4 = y + 47;
u = i4 % 128;
if (i4 % 2 == 0) {
int i5 = 97 / 0;
}
return null;
}
static void f() {
t = 9051040786702654117L;
r = 452713125;
s = (char) 50149;
q = -45278550490985533L;
}
@Override // com.scb.phone.view.activity.transferandpay.cardlessatm.Hilt_CardlessATMActivity, 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 + 103;
u = i2 % 128;
int i3 = i2 % 2;
super.onStart();
if (i3 == 0) {
Object obj = null;
obj.hashCode();
throw null;
}
int i4 = y + 121;
u = i4 % 128;
int i5 = i4 % 2;
}
static {
u = 1;
f();
b = new IeS((byte) 0);
int i = y + 121;
u = i % 128;
if (i % 2 != 0) {
return;
}
Object obj = null;
obj.hashCode();
throw null;
}
}