what-the-bank/sources/com/scb/phone/view/activity/bulktransfer/BulkTransferOtpActivity.java

949 lines
46 KiB
Java
Raw Permalink Normal View History

2024-07-27 18:17:47 +07:00
package com.scb.phone.view.activity.bulktransfer;
import android.content.Context;
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.os.Bundle;
import android.os.Process;
import android.os.SystemClock;
import android.text.TextUtils;
import android.util.TypedValue;
import android.view.KeyEvent;
import android.view.MenuItem;
import android.view.View;
import android.view.ViewConfiguration;
import android.widget.ExpandableListView;
import androidx.fragment.app.Fragment;
import butterknife.ButterKnife;
import com.google.android.gms.maps.model.BitmapDescriptorFactory;
import com.kofax.mobile.sdk._internal.impl.extraction.kta.KtaJsonExactionHelper;
import com.scb.phone.R;
import com.scb.phone.view.activity.bulktransfer.BulkTransferOtpActivity;
import com.scb.phone.view.fragment.otppin.MobileListFragment;
import com.scb.phone.view.fragment.otppin.OtpPinFragment;
import java.lang.reflect.Method;
import net.sf.scuba.smartcards.ISO7816;
import o.AbstractActivityC10023dut;
import o.AbstractC13482fbE;
import o.C14957gcv;
import o.C2735akH;
import o.C2737akJ;
import o.C4403bZM;
import o.EnumC8951daY;
import o.FR;
import o.FS;
import o.InterfaceC13391fZD;
import o.InterfaceC6636cYn;
import o.InterfaceC8956dad;
import o.MC;
import o.iNh;
import o.jTb;
import o.oFR;
import o.xzZ;
import o.yRS;
/* loaded from: classes4.dex */
public class BulkTransferOtpActivity extends AbstractActivityC10023dut implements InterfaceC8956dad, OtpPinFragment.HBt, InterfaceC6636cYn.saX {
@InterfaceC13391fZD
public C2737akJ bulkTransferReviewPresenter;
private String[] k = {"OTP_MOBILE_LIST_FRAGMENT_TAG", "OTP_PIN_FRAGMENT_TAG"};
private static final byte[] $$g = {80, 41, ISO7816.INS_UPDATE_RECORD, 94};
private static final int $$h = 204;
private static int $10 = 0;
private static int $11 = 1;
private static int r = 0;
private static int q = 1;
/* renamed from: o, reason: collision with root package name */
private static char f6607o = 18613;
private static char l = 48368;
private static char m = 50021;
private static char t = 26027;
private static int[] p = {-1559979274, 36994250, 1986921971, 1652154227, -1145111512, -260031717, 1856504555, -1295223976, 1321422584, -1206545872, 1029127222, -504281792, -1527133320, 1859352618, -1490040485, 1028542265, 168616205, 371569956};
/* JADX WARN: Removed duplicated region for block: B:10:0x0028 */
/* JADX WARN: Removed duplicated region for block: B:7:0x0020 */
/* JADX WARN: Unsupported multi-entry loop pattern (BACK_EDGE: B:10:0x0028 -> B:4:0x002c). Please report as a decompilation issue!!! */
/*
Code decompiled incorrectly, please refer to instructions dump.
To view partially-correct add '--show-bad-code' argument
*/
private static void az(short r6, short r7, int r8, java.lang.Object[] r9) {
/*
byte[] r0 = com.scb.phone.view.activity.bulktransfer.BulkTransferOtpActivity.$$g
int r6 = r6 * 2
int r6 = 4 - r6
int r7 = r7 * 2
int r1 = 1 - r7
int r8 = r8 + 66
byte[] r1 = new byte[r1]
r2 = 0
int r7 = 0 - r7
if (r0 != 0) goto L17
r8 = r6
r4 = r7
r3 = r2
goto L2c
L17:
r3 = r2
r5 = r8
r8 = r6
r6 = r5
L1b:
byte r4 = (byte) r6
r1[r3] = r4
if (r3 != r7) goto L28
java.lang.String r6 = new java.lang.String
r6.<init>(r1, r2)
r9[r2] = r6
return
L28:
int r3 = r3 + 1
r4 = r0[r8]
L2c:
int r4 = -r4
int r6 = r6 + r4
int r8 = r8 + 1
goto L1b
*/
throw new UnsupportedOperationException("Method not decompiled: com.scb.phone.view.activity.bulktransfer.BulkTransferOtpActivity.az(short, short, int, java.lang.Object[]):void");
}
public static /* synthetic */ Object e(Object[] objArr, int i, int i2, int i3) {
int i4 = (i * (-500)) + (i2 * (-500));
int i5 = ~i2;
int i6 = ~(i5 | i);
int i7 = ~i;
int i8 = i4 + ((i6 | (~(i7 | i2 | i3))) * 501) + ((~(i5 | i7)) * 1002) + ((~(i7 | (~i3) | i2)) * 501);
return i8 != 1 ? i8 != 2 ? e(objArr) : b(objArr) : c(objArr);
}
public static void d(Context context, FR fr) {
int i = 2 % 2;
Intent intent = new Intent(context, (Class<?>) BulkTransferOtpActivity.class);
intent.putExtra("com.scb.phone.EXTRA_REVIEW_DISPLAY", fr);
context.startActivity(intent);
int i2 = r + 81;
q = i2 % 128;
if (i2 % 2 != 0) {
return;
}
Object obj = null;
obj.hashCode();
throw null;
}
private static void ax(char[] cArr, int i, Object[] objArr) {
int i2 = 2 % 2;
jTb jtb = new jTb();
char[] cArr2 = new char[cArr.length];
int i3 = 0;
jtb.b = 0;
char[] cArr3 = new char[2];
while (jtb.b < cArr.length) {
int i4 = $10 + 79;
$11 = i4 % 128;
int i5 = 58224;
if (i4 % 2 == 0) {
cArr3[i3] = cArr[jtb.b];
cArr3[i3] = cArr[jtb.b << 1];
} else {
cArr3[i3] = cArr[jtb.b];
cArr3[1] = cArr[jtb.b + 1];
}
int i6 = i3;
while (i6 < 16) {
int i7 = $10 + 71;
$11 = i7 % 128;
int i8 = i7 % 2;
char c = cArr3[1];
char c2 = cArr3[i3];
char[] cArr4 = cArr3;
try {
Object[] objArr2 = {Integer.valueOf(c), Integer.valueOf((c2 + i5) ^ ((c2 << 4) + ((char) (m ^ 41718355337583039L)))), Integer.valueOf(c2 >>> 5), Integer.valueOf(t)};
Object obj = xzZ.y.get(597144044);
if (obj == null) {
Class cls = (Class) xzZ.c(412 - TextUtils.getOffsetBefore("", 0), (ViewConfiguration.getKeyRepeatTimeout() >> 16) + 5, (char) KeyEvent.normalizeMetaState(0));
byte b = (byte) 0;
byte b2 = b;
Object[] objArr3 = new Object[1];
az(b, b2, b2, objArr3);
obj = cls.getMethod((String) objArr3[0], Integer.TYPE, Integer.TYPE, Integer.TYPE, Integer.TYPE);
xzZ.y.put(597144044, obj);
}
char charValue = ((Character) ((Method) obj).invoke(null, objArr2)).charValue();
cArr4[1] = charValue;
Object[] objArr4 = {Integer.valueOf(cArr4[0]), Integer.valueOf((charValue + i5) ^ ((charValue << 4) + ((char) (f6607o ^ 41718355337583039L)))), Integer.valueOf(charValue >>> 5), Integer.valueOf(l)};
Object obj2 = xzZ.y.get(597144044);
if (obj2 == null) {
Class cls2 = (Class) xzZ.c(KeyEvent.keyCodeFromString("") + 412, (ViewConfiguration.getWindowTouchSlop() >> 8) + 5, (char) (1 - (ViewConfiguration.getGlobalActionKeyTimeout() > 0L ? 1 : (ViewConfiguration.getGlobalActionKeyTimeout() == 0L ? 0 : -1))));
byte b3 = (byte) 0;
byte b4 = b3;
Object[] objArr5 = new Object[1];
az(b3, b4, b4, objArr5);
obj2 = cls2.getMethod((String) objArr5[0], Integer.TYPE, Integer.TYPE, Integer.TYPE, Integer.TYPE);
xzZ.y.put(597144044, obj2);
}
cArr4[0] = ((Character) ((Method) obj2).invoke(null, objArr4)).charValue();
i5 -= 40503;
i6++;
cArr3 = cArr4;
i3 = 0;
} catch (Throwable th) {
Throwable cause = th.getCause();
if (cause == null) {
throw th;
}
throw cause;
}
}
char[] cArr5 = cArr3;
cArr2[jtb.b] = cArr5[0];
cArr2[jtb.b + 1] = cArr5[1];
Object[] objArr6 = {jtb, jtb};
Object obj3 = xzZ.y.get(943004485);
if (obj3 == null) {
Class cls3 = (Class) xzZ.c(98 - (ViewConfiguration.getTouchSlop() >> 8), 5 - (TypedValue.complexToFraction(0, BitmapDescriptorFactory.HUE_RED, BitmapDescriptorFactory.HUE_RED) > BitmapDescriptorFactory.HUE_RED ? 1 : (TypedValue.complexToFraction(0, BitmapDescriptorFactory.HUE_RED, BitmapDescriptorFactory.HUE_RED) == BitmapDescriptorFactory.HUE_RED ? 0 : -1)), (char) (TypedValue.complexToFloat(0) > BitmapDescriptorFactory.HUE_RED ? 1 : (TypedValue.complexToFloat(0) == BitmapDescriptorFactory.HUE_RED ? 0 : -1)));
byte b5 = (byte) 0;
byte b6 = b5;
Object[] objArr7 = new Object[1];
az(b5, b6, (byte) (b6 + 1), objArr7);
obj3 = cls3.getMethod((String) objArr7[0], Object.class, Object.class);
xzZ.y.put(943004485, obj3);
}
((Method) obj3).invoke(null, objArr6);
cArr3 = cArr5;
i3 = 0;
}
String str = new String(cArr2, 0, i);
int i9 = $11 + 33;
$10 = i9 % 128;
if (i9 % 2 == 0) {
objArr[0] = str;
} else {
Object obj4 = null;
obj4.hashCode();
throw null;
}
}
@Override // o.AbstractActivityC10023dut, 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 void onCreate(Bundle bundle) {
int i = 2 % 2;
Object[] objArr = new Object[1];
ax(new char[]{34658, 18177, 24029, 38244, 6088, 38235, 51941, 25710, 14327, 36556, 20454, 52678, 63241, 16073, 19122, 5887, 9488, 38374}, View.MeasureSpec.getSize(0) + 18, objArr);
Class<?> cls = Class.forName((String) objArr[0]);
Object[] objArr2 = new Object[1];
ay(new int[]{-1221367175, -575876391, 1226883573, -1276087873}, 5 - (ViewConfiguration.getScrollDefaultDelay() >> 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) {
int i2 = r + 15;
q = i2 % 128;
int i3 = i2 % 2;
Object[] objArr3 = new Object[1];
ay(new int[]{-1591235762, 1574188543, 1947443324, -245247791, -1521830042, -51029972, 1276277278, 421749946, 273170906, -1670763295, 800691306, 1346134544, 1606686996, 2006641486}, ((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getResources().getString(R.string.lifestyle_tutorial_message_step_10).substring(49, 50).length() + 25, objArr3);
Class<?> cls2 = Class.forName((String) objArr3[0]);
Object[] objArr4 = new Object[1];
ax(new char[]{10352, 18550, 44136, 10252, 35024, 4980, 33362, 6820, 40855, 3159, 4772, 16654, 63324, 11735, 22526, 1580, 25294, 23140}, ExpandableListView.getPackedPositionType(0L) + 18, objArr4);
baseContext = (Context) cls2.getMethod((String) objArr4[0], new Class[0]).invoke(null, null);
}
if (baseContext != null) {
baseContext = baseContext.getApplicationContext();
}
if (baseContext != null) {
int i4 = r + 117;
q = i4 % 128;
int i5 = i4 % 2;
try {
Object obj = xzZ.y.get(125943855);
if (obj == null) {
obj = ((Class) xzZ.c(Color.red(0) + 492, 5 - TextUtils.getOffsetBefore("", 0), (char) ((Process.getThreadPriority(0) + 20) >> 6))).getMethod("a", null);
xzZ.y.put(125943855, obj);
}
Object invoke = ((Method) obj).invoke(null, null);
Object[] objArr5 = new Object[1];
ay(new int[]{-1424820713, 597102253, -2064184932, -1906137462, -519264207, 1766809604, 2041917420, 1666037195, -812142011, -67258439, 1861200979, 239660592, 956833625, 632877743, 432104227, 309113646, -728855585, 590982014, 432559722, 622630598, 1656625969, 544608851, 1933459332, 1360954452}, 49 - (ViewConfiguration.getGlobalActionKeyTimeout() > 0L ? 1 : (ViewConfiguration.getGlobalActionKeyTimeout() == 0L ? 0 : -1)), objArr5);
String str = (String) objArr5[0];
Object[] objArr6 = new Object[1];
ay(new int[]{1893778347, 1425908625, 1837861759, 1601306888, -152065195, -1827187761, 1040262885, -482720205, -158630329, 842594659, 110632215, 715216667, -1266754183, 1902689133, -598840935, -135539043, 1868958093, 1366405315, 719306231, -1907066500, -2059799154, -1181734111, 2127094952, 1352620542, 1460719421, -1953096292, 1423750496, 489047838, -297854191, 1770719222, 1275472084, -2099554763}, ((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getApplicationInfo().targetSdkVersion + 30, objArr6);
String str2 = (String) objArr6[0];
Object[] objArr7 = new Object[1];
ay(new int[]{-487819416, -1876437222, 740111597, 51705273, -1630915810, -954353914, -1562640531, -964688200, -1514700072, -334214464, -453565744, -41662955, 705450985, -2059111414, 1407788731, 2137397791, 1073872192, -1006106738, 1110203934, -163487368, 1872589075, 302341698, 722548796, 502103776, 2136831221, -1767319008, 1090104928, -1701257046, -897227553, -1119631481, -604043286, -407288263}, 65 - (SystemClock.currentThreadTimeMillis() > (-1L) ? 1 : (SystemClock.currentThreadTimeMillis() == (-1L) ? 0 : -1)), objArr7);
String str3 = (String) objArr7[0];
Object[] objArr8 = new Object[1];
ay(new int[]{1848727688, 680831313, -1960171148, 817656497, -1994745280, -266416419, -1231128153, -806519796, 1830878840, -1107224494, -202299743, -708604171, -1735571303, -212591029, 661139249, 1407253911, -2051749121, -1038892559, 586288290, 52940470, 328919544, 1106575309, 918632376, 1993444665, -585661734, 742744784, 1188275371, 1952425668, 733729454, 1774357360, -1224209823, -1421444424, 478421679, -1191472228, -2144343790, 190040308, 2026315830, -1662412379}, TextUtils.indexOf("", "", 0) + 74, objArr8);
String str4 = (String) objArr8[0];
Object[] objArr9 = new Object[1];
ax(new char[]{1936, 20696, 33507, 8689, 15226, 29109}, ((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getApplicationInfo().targetSdkVersion - 29, objArr9);
String str5 = (String) objArr9[0];
Object[] objArr10 = new Object[1];
ax(new char[]{46527, 55287, 57095, 28429, 18719, 58384, 19502, 33930, 44906, 41380, 9269, 28698, 23, 40525, 35181, 64783, 29749, 13302, 17604, 65037, 42128, 50592, 60473, 55970, 22739, 7999, 40555, 25355, 64806, 2183, 21737, 30390, 31332, 32588, 61642, 65224}, ((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getApplicationInfo().targetSdkVersion + 2, 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((KeyEvent.getMaxKeyCode() >> 16) + 487, (ViewConfiguration.getMaximumFlingVelocity() >> 16) + 5, (char) TextUtils.getTrimmedLength(""))).getMethod("e", Context.class, String.class, String.class, String.class, String.class, Boolean.TYPE, String.class, String.class);
xzZ.y.put(1656189573, obj2);
}
((Method) obj2).invoke(invoke, objArr11);
int i6 = q + 27;
r = i6 % 128;
int i7 = i6 % 2;
} catch (Throwable th) {
Throwable cause = th.getCause();
if (cause == null) {
throw th;
}
throw cause;
}
}
}
super.onCreate(bundle);
setContentView(R.layout.2131558457);
ButterKnife.Dg_(this);
this.bulkTransferReviewPresenter.e((C2737akJ) this);
C2737akJ c2737akJ = this.bulkTransferReviewPresenter;
FR fr = (FR) getIntent().getExtras().getParcelable("com.scb.phone.EXTRA_REVIEW_DISPLAY");
c2737akJ.e = fr;
C2735akH c2735akH = new C2735akH(fr);
if (c2737akJ.f != 0) {
int i8 = q + 53;
r = i8 % 128;
int i9 = i8 % 2;
c2735akH.e(c2737akJ.f);
} else {
int i10 = r + 111;
q = i10 % 128;
int i11 = i10 % 2;
}
super.Z();
ac();
p(getString(R.string.otp_title));
d("OTP_MOBILE_LIST_FRAGMENT_TAG", null, null);
getSupportFragmentManager().d(new yRS.saX(this) { // from class: o.dul
private BulkTransferOtpActivity e;
@Override // o.yRS.saX
public final void a() {
BulkTransferOtpActivity.c(this.e);
}
{
this.e = this;
}
});
}
private static void ay(int[] iArr, int i, Object[] objArr) {
int length;
int[] iArr2;
int[] iArr3;
char c;
int i2 = 2;
int i3 = 2 % 2;
C4403bZM c4403bZM = new C4403bZM();
char[] cArr = new char[4];
char[] cArr2 = new char[iArr.length * 2];
int[] iArr4 = p;
int i4 = 16;
int i5 = 1;
int i6 = 0;
if (iArr4 != null) {
int length2 = iArr4.length;
int[] iArr5 = new int[length2];
int i7 = 0;
while (i7 < length2) {
int i8 = $11 + 83;
$10 = i8 % 128;
int i9 = i8 % i2;
try {
Object[] objArr2 = {Integer.valueOf(iArr4[i7])};
Object obj = xzZ.y.get(729798706);
if (obj == null) {
obj = ((Class) xzZ.c((ViewConfiguration.getJumpTapTimeout() >> i4) + 15, View.resolveSize(0, 0) + 5, (char) ((AudioTrack.getMinVolume() > BitmapDescriptorFactory.HUE_RED ? 1 : (AudioTrack.getMinVolume() == BitmapDescriptorFactory.HUE_RED ? 0 : -1)) + 58134))).getMethod("i", Integer.TYPE);
xzZ.y.put(729798706, obj);
}
iArr5[i7] = ((Integer) ((Method) obj).invoke(null, objArr2)).intValue();
i7++;
i2 = 2;
i4 = 16;
} catch (Throwable th) {
Throwable cause = th.getCause();
if (cause == null) {
throw th;
}
throw cause;
}
}
iArr4 = iArr5;
}
int length3 = iArr4.length;
int[] iArr6 = new int[length3];
int[] iArr7 = p;
if (iArr7 != null) {
int i10 = $10 + 111;
$11 = i10 % 128;
if (i10 % 2 == 0) {
length = iArr7.length;
iArr2 = new int[length];
} else {
length = iArr7.length;
iArr2 = new int[length];
}
int i11 = 0;
while (i11 < length) {
try {
Object[] objArr3 = new Object[i5];
objArr3[i6] = Integer.valueOf(iArr7[i11]);
Object obj2 = xzZ.y.get(729798706);
if (obj2 != null) {
iArr3 = iArr7;
c = 55346;
} else {
obj2 = ((Class) xzZ.c((ViewConfiguration.getLongPressTimeout() >> 16) + 15, TextUtils.indexOf("", "", i6) + 5, (char) (58133 - (ExpandableListView.getPackedPositionForChild(i6, i6) > 0L ? 1 : (ExpandableListView.getPackedPositionForChild(i6, i6) == 0L ? 0 : -1))))).getMethod("i", Integer.TYPE);
iArr3 = iArr7;
c = 55346;
xzZ.y.put(729798706, obj2);
}
iArr2[i11] = ((Integer) ((Method) obj2).invoke(null, objArr3)).intValue();
i11++;
iArr7 = iArr3;
i5 = 1;
i6 = 0;
} catch (Throwable th2) {
Throwable cause2 = th2.getCause();
if (cause2 == null) {
throw th2;
}
throw cause2;
}
}
iArr7 = iArr2;
}
int i12 = i6;
System.arraycopy(iArr7, i12, iArr6, i12, length3);
c4403bZM.b = i12;
while (c4403bZM.b < iArr.length) {
cArr[i12] = (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(iArr6);
int i13 = 0;
for (int i14 = 16; i13 < i14; i14 = 16) {
c4403bZM.e ^= iArr6[i13];
Object[] objArr4 = {c4403bZM, Integer.valueOf(C4403bZM.d(c4403bZM.e)), c4403bZM, c4403bZM};
Object obj3 = xzZ.y.get(-1196964548);
if (obj3 == null) {
Class cls = (Class) xzZ.c(118 - (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)), ExpandableListView.getPackedPositionType(0L) + 5, (char) (TextUtils.indexOf((CharSequence) "", '0', 0) + 1));
byte b = (byte) 0;
byte b2 = b;
Object[] objArr5 = new Object[1];
az(b, b2, (byte) (b2 | 38), objArr5);
obj3 = cls.getMethod((String) objArr5[0], Object.class, Integer.TYPE, Object.class, Object.class);
xzZ.y.put(-1196964548, obj3);
}
int intValue = ((Integer) ((Method) obj3).invoke(null, objArr4)).intValue();
c4403bZM.e = c4403bZM.a;
c4403bZM.a = intValue;
i13++;
int i15 = $10 + 49;
$11 = i15 % 128;
int i16 = i15 % 2;
}
int i17 = c4403bZM.e;
c4403bZM.e = c4403bZM.a;
c4403bZM.a = i17;
c4403bZM.a ^= iArr6[16];
c4403bZM.e ^= iArr6[17];
int i18 = c4403bZM.e;
int i19 = c4403bZM.a;
cArr[0] = (char) (c4403bZM.e >>> 16);
cArr[1] = (char) c4403bZM.e;
cArr[2] = (char) (c4403bZM.a >>> 16);
cArr[3] = (char) c4403bZM.a;
C4403bZM.d(iArr6);
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[] objArr6 = {c4403bZM, c4403bZM};
Object obj4 = xzZ.y.get(1914371176);
if (obj4 == null) {
Class cls2 = (Class) xzZ.c((ExpandableListView.getPackedPositionForGroup(0) > 0L ? 1 : (ExpandableListView.getPackedPositionForGroup(0) == 0L ? 0 : -1)) + 98, 6 - (ViewConfiguration.getZoomControlsTimeout() > 0L ? 1 : (ViewConfiguration.getZoomControlsTimeout() == 0L ? 0 : -1)), (char) (1 - (Process.getElapsedCpuTime() > 0L ? 1 : (Process.getElapsedCpuTime() == 0L ? 0 : -1))));
byte b3 = (byte) 0;
Object[] objArr7 = new Object[1];
az(b3, b3, (byte) (-$$g[2]), objArr7);
obj4 = cls2.getMethod((String) objArr7[0], Object.class, Object.class);
xzZ.y.put(1914371176, obj4);
}
((Method) obj4).invoke(null, objArr6);
i12 = 0;
}
objArr[0] = new String(cArr2, 0, i);
}
@Override // com.scb.phone.view.activity.BaseActivity, android.app.Activity
public boolean onOptionsItemSelected(MenuItem menuItem) {
int i = 2 % 2;
if (menuItem.getItemId() != 16908332) {
return super.onOptionsItemSelected(menuItem);
}
int i2 = r + 55;
q = i2 % 128;
int i3 = i2 % 2;
super.onBackPressed();
int i4 = q + 101;
r = i4 % 128;
if (i4 % 2 != 0) {
int i5 = 0 / 0;
}
return true;
}
@Override // com.scb.phone.view.activity.BaseActivity
public final void Z() {
int i = 2 % 2;
int i2 = q + 69;
r = i2 % 128;
if (i2 % 2 == 0) {
super.Z();
ac();
p(getString(R.string.otp_title));
} else {
super.Z();
ac();
p(getString(R.string.otp_title));
Object obj = null;
obj.hashCode();
throw null;
}
}
private void d(String str, String str2, String str3) {
int i;
int i2 = 2 % 2;
int i3 = q + 27;
r = i3 % 128;
int i4 = i3 % 2;
yRS supportFragmentManager = getSupportFragmentManager();
AbstractC13482fbE a = supportFragmentManager.a();
for (String str4 : this.k) {
Fragment findFragmentByTag = supportFragmentManager.findFragmentByTag(str4);
if (findFragmentByTag != null) {
a.c(findFragmentByTag);
}
}
Fragment findFragmentByTag2 = supportFragmentManager.findFragmentByTag(str);
String str5 = B_().equalsIgnoreCase("en") ? "FastEasyDefault_EN" : "FastEasyDefault_TH";
if (findFragmentByTag2 != null) {
a.a(findFragmentByTag2);
if ("OTP_PIN_FRAGMENT_TAG".equals(str)) {
((OtpPinFragment) findFragmentByTag2).e(str2, str3, str5);
}
} else {
if ("OTP_MOBILE_LIST_FRAGMENT_TAG".equals(str)) {
a.b(R.id.fragment_bulk_transfer_review_container, new MobileListFragment(), "OTP_MOBILE_LIST_FRAGMENT_TAG", 1);
i = q + 79;
r = i % 128;
} else if ("OTP_PIN_FRAGMENT_TAG".equals(str)) {
OtpPinFragment otpPinFragment = new OtpPinFragment();
otpPinFragment.e(str2, str3, str5);
a.b(R.id.fragment_bulk_transfer_review_container, otpPinFragment, "OTP_PIN_FRAGMENT_TAG", 1);
if (!a.d) {
throw new IllegalStateException("This FragmentTransaction is not allowed to be added to the back stack.");
}
a.a = true;
a.m = "OTP_PIN_FRAGMENT_TAG";
i = r + 27;
q = i % 128;
}
int i5 = i % 2;
}
a.b();
}
private static /* synthetic */ Object e(Object[] objArr) {
BulkTransferOtpActivity bulkTransferOtpActivity = (BulkTransferOtpActivity) objArr[0];
String str = (String) objArr[1];
String str2 = (String) objArr[2];
String str3 = (String) objArr[3];
int i = 2 % 2;
int i2 = q + 81;
r = i2 % 128;
int i3 = i2 % 2;
bulkTransferOtpActivity.d(str, str2, str3);
int i4 = q + 47;
r = i4 % 128;
Object obj = null;
if (i4 % 2 == 0) {
return null;
}
obj.hashCode();
throw null;
}
@Override // com.scb.phone.view.fragment.otppin.OtpPinFragment.HBt
public final void a_(String str, String str2) {
String str3;
int i = 2 % 2;
C2737akJ c2737akJ = this.bulkTransferReviewPresenter;
String str4 = "";
C14957gcv.e(str, "");
C14957gcv.e(str2, "");
if (!(!(c2737akJ.f != 0))) {
c2737akJ.f.y();
}
FR fr = c2737akJ.e;
if (fr != null) {
str3 = fr.f8161o;
int i2 = r + 55;
q = i2 % 128;
int i3 = i2 % 2;
} else {
str3 = null;
}
if (str3 == null) {
int i4 = q + 11;
r = i4 % 128;
int i5 = i4 % 2;
} else {
str4 = str3;
}
c2737akJ.d.d(new oFR(str4, Boolean.FALSE), str, str2);
iNh inh = c2737akJ.d;
inh.d(inh.i, new C2737akJ.IeS(c2737akJ));
}
@Override // com.scb.phone.view.fragment.otppin.OtpPinFragment.HBt
public final void m(String str) {
int i = 2 % 2;
int i2 = r + 37;
q = i2 % 128;
if (i2 % 2 == 0) {
Xb_(this, R.id.view_group_root, str, EnumC8951daY.SUCCESS);
Object obj = null;
obj.hashCode();
throw null;
}
Xb_(this, R.id.view_group_root, str, EnumC8951daY.SUCCESS);
int i3 = q + 119;
r = i3 % 128;
if (i3 % 2 != 0) {
int i4 = 66 / 0;
}
}
@Override // o.InterfaceC6636cYn.saX
public final void e(FS fs) {
int i = 2 % 2;
int i2 = q + 23;
r = i2 % 128;
int i3 = i2 % 2;
BulkTransferSuccessActivity.d(this, fs);
if (i3 != 0) {
int i4 = 72 / 0;
}
}
@Override // o.InterfaceC6636cYn.saX
public final void e(String str) {
int i = 2 % 2;
int i2 = r + 65;
q = i2 % 128;
int i3 = i2 % 2;
ar_();
Xb_(this, R.id.view_group_root, str, EnumC8951daY.ERROR);
int i4 = r + 53;
q = i4 % 128;
int i5 = i4 % 2;
}
@Override // o.AbstractActivityC10023dut, 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 void onResume() {
int i = 2 % 2;
Context baseContext = getBaseContext();
if (baseContext == null) {
int i2 = q + 123;
r = i2 % 128;
int i3 = i2 % 2;
Object[] objArr = new Object[1];
ay(new int[]{-1591235762, 1574188543, 1947443324, -245247791, -1521830042, -51029972, 1276277278, 421749946, 273170906, -1670763295, 800691306, 1346134544, 1606686996, 2006641486}, View.MeasureSpec.getSize(0) + 26, objArr);
Class<?> cls = Class.forName((String) objArr[0]);
Object[] objArr2 = new Object[1];
ax(new char[]{10352, 18550, 44136, 10252, 35024, 4980, 33362, 6820, 40855, 3159, 4772, 16654, 63324, 11735, 22526, 1580, 25294, 23140}, ((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getPackageName().codePointAt(5) - 81, objArr2);
baseContext = (Context) cls.getMethod((String) objArr2[0], new Class[0]).invoke(null, null);
int i4 = q + 3;
r = i4 % 128;
int i5 = i4 % 2;
}
if (baseContext != null) {
int i6 = q + 27;
r = 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(492 - Drawable.resolveOpacity(0, 0), 6 - (SystemClock.elapsedRealtime() > 0L ? 1 : (SystemClock.elapsedRealtime() == 0L ? 0 : -1)), (char) (ViewConfiguration.getPressedStateDuration() >> 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((SystemClock.elapsedRealtimeNanos() > 0L ? 1 : (SystemClock.elapsedRealtimeNanos() == 0L ? 0 : -1)) + 486, (ViewConfiguration.getScrollDefaultDelay() >> 16) + 5, (char) (TextUtils.indexOf((CharSequence) "", '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 // o.AbstractActivityC10023dut, 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 void onPause() {
int i = 2 % 2;
Context baseContext = getBaseContext();
if (baseContext == null) {
int i2 = q + 85;
r = i2 % 128;
int i3 = i2 % 2;
Object[] objArr = new Object[1];
ay(new int[]{-1591235762, 1574188543, 1947443324, -245247791, -1521830042, -51029972, 1276277278, 421749946, 273170906, -1670763295, 800691306, 1346134544, 1606686996, 2006641486}, ((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getResources().getString(R.string.auto_top_up_occupation_search_no_results_description).substring(29, 30).length() + 25, objArr);
Class<?> cls = Class.forName((String) objArr[0]);
Object[] objArr2 = new Object[1];
ax(new char[]{10352, 18550, 44136, 10252, 35024, 4980, 33362, 6820, 40855, 3159, 4772, 16654, 63324, 11735, 22526, 1580, 25294, 23140}, 18 - (KeyEvent.getMaxKeyCode() >> 16), 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(492 - (KeyEvent.getMaxKeyCode() >> 16), 5 - View.combineMeasuredStates(0, 0), (char) Color.red(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(486 - ((byte) KeyEvent.getModifierMetaStateMask()), 5 - ((Process.getThreadPriority(0) + 20) >> 6), (char) View.resolveSize(0, 0))).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();
int i4 = q + 89;
r = i4 % 128;
if (i4 % 2 != 0) {
int i5 = 69 / 0;
}
}
@Override // o.AbstractActivityC10023dut, 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 void attachBaseContext(Context context) {
int i = 2 % 2;
super.attachBaseContext(context);
Object[] objArr = new Object[1];
ax(new char[]{34658, 18177, 24029, 38244, 6088, 38235, 51941, 25710, 14327, 36556, 20454, 52678, 63241, 16073, 19122, 5887, 9488, 38374}, 18 - TextUtils.getOffsetAfter("", 0), objArr);
Class<?> cls = Class.forName((String) objArr[0]);
Object[] objArr2 = new Object[1];
ay(new int[]{-1221367175, -575876391, 1226883573, -1276087873}, TextUtils.lastIndexOf("", '0', 0, 0) + 6, objArr2);
int intValue = ((Integer) cls.getDeclaredMethod((String) objArr2[0], new Class[0]).invoke(null, new Object[0])).intValue() % 100000;
if (intValue >= 99000) {
int i2 = q + 27;
r = i2 % 128;
int i3 = i2 % 2;
if (intValue <= 99999) {
return;
}
}
Context applicationContext = context != null ? context.getApplicationContext() : context;
if (applicationContext != null) {
int i4 = q + 47;
r = i4 % 128;
int i5 = i4 % 2;
try {
Object obj = xzZ.y.get(125943855);
if (obj == null) {
obj = ((Class) xzZ.c(491 - Process.getGidForName(""), 5 - (ViewConfiguration.getMaximumFlingVelocity() >> 16), (char) View.getDefaultSize(0, 0))).getMethod("a", null);
xzZ.y.put(125943855, obj);
}
Object invoke = ((Method) obj).invoke(null, null);
Object[] objArr3 = new Object[1];
ay(new int[]{-1424820713, 597102253, -2064184932, -1906137462, -519264207, 1766809604, 2041917420, 1666037195, -812142011, -67258439, 1861200979, 239660592, 956833625, 632877743, 432104227, 309113646, -728855585, 590982014, 432559722, 622630598, 1656625969, 544608851, 1933459332, 1360954452}, 48 - View.MeasureSpec.getSize(0), objArr3);
String str = (String) objArr3[0];
Object[] objArr4 = new Object[1];
ay(new int[]{1893778347, 1425908625, 1837861759, 1601306888, -152065195, -1827187761, 1040262885, -482720205, -158630329, 842594659, 110632215, 715216667, -1266754183, 1902689133, -598840935, -135539043, 1868958093, 1366405315, 719306231, -1907066500, -2059799154, -1181734111, 2127094952, 1352620542, 1460719421, -1953096292, 1423750496, 489047838, -297854191, 1770719222, 1275472084, -2099554763}, 63 - ImageFormat.getBitsPerPixel(0), objArr4);
String str2 = (String) objArr4[0];
Object[] objArr5 = new Object[1];
ay(new int[]{-487819416, -1876437222, 740111597, 51705273, -1630915810, -954353914, -1562640531, -964688200, -1514700072, -334214464, -453565744, -41662955, 705450985, -2059111414, 1407788731, 2137397791, 1073872192, -1006106738, 1110203934, -163487368, 1872589075, 302341698, 722548796, 502103776, 2136831221, -1767319008, 1090104928, -1701257046, -897227553, -1119631481, -604043286, -407288263}, 64 - TextUtils.indexOf("", "", 0), objArr5);
String str3 = (String) objArr5[0];
Object[] objArr6 = new Object[1];
ay(new int[]{1848727688, 680831313, -1960171148, 817656497, -1994745280, -266416419, -1231128153, -806519796, 1830878840, -1107224494, -202299743, -708604171, -1735571303, -212591029, 661139249, 1407253911, -2051749121, -1038892559, 586288290, 52940470, 328919544, 1106575309, 918632376, 1993444665, -585661734, 742744784, 1188275371, 1952425668, 733729454, 1774357360, -1224209823, -1421444424, 478421679, -1191472228, -2144343790, 190040308, 2026315830, -1662412379}, 74 - TextUtils.indexOf("", "", 0, 0), objArr6);
String str4 = (String) objArr6[0];
Object[] objArr7 = new Object[1];
ax(new char[]{1936, 20696, 33507, 8689, 15226, 29109}, ((byte) KeyEvent.getModifierMetaStateMask()) + 6, objArr7);
String str5 = (String) objArr7[0];
Object[] objArr8 = new Object[1];
ax(new char[]{46527, 55287, 57095, 28429, 18719, 58384, 19502, 33930, 44906, 41380, 9269, 28698, 23, 40525, 35181, 64783, 29749, 13302, 17604, 65037, 42128, 50592, 60473, 55970, 22739, 7999, 40555, 25355, 64806, 2183, 21737, 30390, 31332, 32588, 61642, 65224}, 37 - (SystemClock.elapsedRealtime() > 0L ? 1 : (SystemClock.elapsedRealtime() == 0L ? 0 : -1)), objArr8);
Object[] objArr9 = {applicationContext, str, str2, str3, str4, true, str5, (String) objArr8[0]};
Object obj2 = xzZ.y.get(1656189573);
if (obj2 == null) {
obj2 = ((Class) xzZ.c(486 - ImageFormat.getBitsPerPixel(0), 6 - (ViewConfiguration.getGlobalActionKeyTimeout() > 0L ? 1 : (ViewConfiguration.getGlobalActionKeyTimeout() == 0L ? 0 : -1)), (char) (ViewConfiguration.getLongPressTimeout() >> 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, objArr9);
} catch (Throwable th) {
Throwable cause = th.getCause();
if (cause == null) {
throw th;
}
throw cause;
}
}
}
public static /* synthetic */ void c(BulkTransferOtpActivity bulkTransferOtpActivity) {
int i = 2 % 2;
int i2 = r + 43;
q = i2 % 128;
if (i2 % 2 != 0) {
if (bulkTransferOtpActivity.getSupportFragmentManager().t() > 0) {
int i3 = r + 89;
q = i3 % 128;
int i4 = i3 % 2;
bulkTransferOtpActivity.getSupportActionBar();
bulkTransferOtpActivity.getSupportActionBar().d(true);
return;
}
super.Z();
bulkTransferOtpActivity.ac();
bulkTransferOtpActivity.p(bulkTransferOtpActivity.getString(R.string.otp_title));
return;
}
bulkTransferOtpActivity.getSupportFragmentManager().t();
throw null;
}
private static /* synthetic */ Object b(Object[] objArr) {
int i = 2 % 2;
int i2 = r + 61;
q = i2 % 128;
if (i2 % 2 != 0) {
return null;
}
throw null;
}
private static /* synthetic */ Object c(Object[] objArr) {
int i = 2 % 2;
int i2 = q + 113;
r = i2 % 128;
int i3 = i2 % 2;
return null;
}
@Override // o.AbstractActivityC10023dut, 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 void onStart() {
int i = 2 % 2;
int i2 = q + 75;
r = i2 % 128;
int i3 = i2 % 2;
super.onStart();
if (i3 != 0) {
int i4 = 79 / 0;
}
int i5 = r + 71;
q = i5 % 128;
int i6 = i5 % 2;
}
@Override // o.InterfaceC6636cYn.saX
public final void e(String str, String str2) {
int i = 2 % 2;
int i2 = r + 65;
q = i2 % 128;
if (i2 % 2 != 0) {
return;
}
Object obj = null;
obj.hashCode();
throw null;
}
@Override // o.InterfaceC6636cYn.saX
public final void b(FR fr) {
int i = 2 % 2;
int i2 = q + 123;
r = i2 % 128;
if (i2 % 2 != 0) {
throw null;
}
}
@Override // o.InterfaceC6636cYn.saX
public final void d(String str) {
e(new Object[]{this, str}, 1235121751, -1235121749, ((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getPackageName().codePointAt(8) - 1799605798);
}
@Override // o.InterfaceC6636cYn.saX
public final void b(MC mc) {
int i = 2 % 2;
int i2 = r + 1;
q = i2 % 128;
if (i2 % 2 != 0) {
return;
}
Object obj = null;
obj.hashCode();
throw null;
}
@Override // o.InterfaceC6636cYn.saX
public final void c(String str, String str2) {
int i = 2 % 2;
int i2 = r + 1;
q = i2 % 128;
if (i2 % 2 == 0) {
int i3 = 66 / 0;
}
}
@Override // o.InterfaceC6636cYn.saX
public final void a(FR fr) {
e(new Object[]{this, fr}, 255264644, -255264643, ((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getResources().getString(R.string.security_block_enable_accessibility_description).substring(121, 122).codePointAt(0) + 1790920963);
}
@Override // o.InterfaceC8956dad
public final void c(String str, String str2, String str3) {
e(new Object[]{this, str, str2, str3}, 325116961, -325116961, ((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getApplicationInfo().targetSdkVersion - 1556868940);
}
}