what-the-bank/sources/com/scb/phone/view/activity/cardmanagement/Hilt_StatementChannelChoose...

662 lines
38 KiB
Java
Raw Permalink Normal View History

2024-07-27 18:17:47 +07:00
package com.scb.phone.view.activity.cardmanagement;
import android.content.Context;
import android.graphics.Color;
import android.graphics.ImageFormat;
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.MotionEvent;
import android.view.View;
import android.view.ViewConfiguration;
import android.widget.ExpandableListView;
import com.google.android.gms.maps.model.BitmapDescriptorFactory;
import com.google.common.base.Ascii;
import com.scb.phone.R;
import com.scb.phone.view.activity.BaseActivity;
import java.lang.reflect.Method;
import net.sf.scuba.smartcards.ISO7816;
import o.C13068fPo;
import o.C13073fPt;
import o.C4403bZM;
import o.C4593bdB;
import o.InterfaceC10046dvP;
import o.InterfaceC17278vUG;
import o.VLM;
import o.fOV;
import o.fPA;
import o.xzZ;
/* loaded from: classes4.dex */
public abstract class Hilt_StatementChannelChooseAddressActivity extends BaseActivity implements fPA {
private volatile C13073fPt k;
private static final byte[] $$g = {47, ISO7816.INS_APPEND_RECORD, -94, -105};
private static final int $$h = 15;
private static int $10 = 0;
private static int $11 = 1;
private static int p = 0;
private static int s = 1;
private static int[] l = {64699442, 703904967, 236086959, -1318686922, 241599169, -438156783, 548991657, -1934233646, -1700986816, -1191345931, 2001483313, 1454654750, -1197453590, -562973659, 1761900663, -197747288, 1139498253, -1864254758};
/* renamed from: o, reason: collision with root package name */
private static long f6638o = -5460737224689838189L;
private final Object m = new Object();
boolean b = false;
/* 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:0x002e). 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 r6, short r7, short r8, java.lang.Object[] r9) {
/*
int r7 = r7 * 2
int r7 = 3 - r7
int r8 = 104 - r8
int r6 = r6 * 4
int r6 = r6 + 1
byte[] r0 = com.scb.phone.view.activity.cardmanagement.Hilt_StatementChannelChooseAddressActivity.$$g
byte[] r1 = new byte[r6]
r2 = 0
if (r0 != 0) goto L15
r3 = r6
r8 = r7
r4 = r2
goto L2e
L15:
r3 = r2
L16:
byte r4 = (byte) r8
r1[r3] = r4
int r3 = r3 + 1
if (r3 != r6) goto L25
java.lang.String r6 = new java.lang.String
r6.<init>(r1, r2)
r9[r2] = r6
return
L25:
int r7 = r7 + 1
r4 = r0[r7]
r5 = r8
r8 = r7
r7 = r4
r4 = r3
r3 = r5
L2e:
int r7 = r7 + r3
r3 = r4
r5 = r8
r8 = r7
r7 = r5
goto L16
*/
throw new UnsupportedOperationException("Method not decompiled: com.scb.phone.view.activity.cardmanagement.Hilt_StatementChannelChooseAddressActivity.az(int, short, short, java.lang.Object[]):void");
}
/* JADX INFO: Access modifiers changed from: package-private */
public Hilt_StatementChannelChooseAddressActivity() {
addOnContextAvailableListener(new InterfaceC17278vUG(this) { // from class: com.scb.phone.view.activity.cardmanagement.Hilt_StatementChannelChooseAddressActivity.1
private Hilt_StatementChannelChooseAddressActivity c;
{
this.c = this;
}
@Override // o.InterfaceC17278vUG
public final void a(Context context) {
Hilt_StatementChannelChooseAddressActivity hilt_StatementChannelChooseAddressActivity = this.c;
if (hilt_StatementChannelChooseAddressActivity.b) {
return;
}
hilt_StatementChannelChooseAddressActivity.b = true;
((InterfaceC10046dvP) hilt_StatementChannelChooseAddressActivity.y_()).b((StatementChannelChooseAddressActivity) hilt_StatementChannelChooseAddressActivity);
}
});
}
@Override // o.fPC
public final Object y_() {
int i = 2 % 2;
int i2 = s + 7;
p = i2 % 128;
int i3 = i2 % 2;
Object y_ = h().y_();
int i4 = p + 59;
s = i4 % 128;
if (i4 % 2 == 0) {
int i5 = 49 / 0;
}
return y_;
}
private C13073fPt h() {
if (this.k == null) {
synchronized (this.m) {
if (this.k == null) {
this.k = new C13073fPt(this);
}
}
}
return this.k;
}
@Override // androidx.activity.ComponentActivity, o.GvH
public VLM.LWm getDefaultViewModelProviderFactory() {
int i = 2 % 2;
int i2 = p + 59;
s = i2 % 128;
Bundle bundle = null;
if (i2 % 2 == 0) {
super.getDefaultViewModelProviderFactory();
((C13068fPo.Sts) fOV.c(this, C13068fPo.Sts.class)).a();
getIntent();
bundle.hashCode();
throw null;
}
VLM.LWm defaultViewModelProviderFactory = super.getDefaultViewModelProviderFactory();
C13068fPo.LWm a = ((C13068fPo.Sts) fOV.c(this, C13068fPo.Sts.class)).a();
if (getIntent() != null) {
int i3 = s + 115;
p = i3 % 128;
if (i3 % 2 != 0) {
getIntent().getExtras();
bundle.hashCode();
throw null;
}
bundle = getIntent().getExtras();
}
return a.aBN_(this, bundle, defaultViewModelProviderFactory);
}
private static void ay(char[] cArr, int i, Object[] objArr) {
int i2 = 2 % 2;
C4593bdB c4593bdB = new C4593bdB();
c4593bdB.a = i;
int length = cArr.length;
long[] jArr = new long[length];
c4593bdB.e = 0;
while (c4593bdB.e < cArr.length) {
int i3 = $10 + 13;
$11 = i3 % 128;
if (i3 % 2 == 0) {
int i4 = c4593bdB.e;
try {
Object[] objArr2 = {Integer.valueOf(cArr[c4593bdB.e]), c4593bdB, c4593bdB};
Object obj = xzZ.y.get(-1229953068);
if (obj == null) {
Class cls = (Class) xzZ.c((AudioTrack.getMinVolume() > BitmapDescriptorFactory.HUE_RED ? 1 : (AudioTrack.getMinVolume() == BitmapDescriptorFactory.HUE_RED ? 0 : -1)) + 402, 5 - Color.alpha(0), (char) (21608 - View.resolveSize(0, 0)));
byte b = (byte) 0;
byte b2 = b;
Object[] objArr3 = new Object[1];
az(b, b2, (byte) (b2 | Ascii.ESC), objArr3);
obj = cls.getMethod((String) objArr3[0], Integer.TYPE, Object.class, Object.class);
xzZ.y.put(-1229953068, obj);
}
jArr[i4] = ((Long) ((Method) obj).invoke(null, objArr2)).longValue() - (f6638o ^ (-6958928035870403642L));
Object[] objArr4 = {c4593bdB, c4593bdB};
Object obj2 = xzZ.y.get(-1143917229);
if (obj2 == null) {
Class cls2 = (Class) xzZ.c(238 - View.getDefaultSize(0, 0), 6 - (AudioTrack.getMaxVolume() > BitmapDescriptorFactory.HUE_RED ? 1 : (AudioTrack.getMaxVolume() == BitmapDescriptorFactory.HUE_RED ? 0 : -1)), (char) TextUtils.getOffsetAfter("", 0));
byte b3 = (byte) 0;
byte b4 = b3;
Object[] objArr5 = new Object[1];
az(b3, b4, (byte) (b4 | Ascii.SUB), objArr5);
obj2 = cls2.getMethod((String) objArr5[0], Object.class, Object.class);
xzZ.y.put(-1143917229, obj2);
}
((Method) obj2).invoke(null, objArr4);
} catch (Throwable th) {
Throwable cause = th.getCause();
if (cause == null) {
throw th;
}
throw cause;
}
} else {
int i5 = c4593bdB.e;
Object[] objArr6 = {Integer.valueOf(cArr[c4593bdB.e]), c4593bdB, c4593bdB};
Object obj3 = xzZ.y.get(-1229953068);
if (obj3 == null) {
Class cls3 = (Class) xzZ.c(TextUtils.indexOf("", "") + 402, 5 - Color.argb(0, 0, 0, 0), (char) ((SystemClock.elapsedRealtime() > 0L ? 1 : (SystemClock.elapsedRealtime() == 0L ? 0 : -1)) + 21607));
byte b5 = (byte) 0;
byte b6 = b5;
Object[] objArr7 = new Object[1];
az(b5, b6, (byte) (b6 | Ascii.ESC), objArr7);
obj3 = cls3.getMethod((String) objArr7[0], Integer.TYPE, Object.class, Object.class);
xzZ.y.put(-1229953068, obj3);
}
jArr[i5] = ((Long) ((Method) obj3).invoke(null, objArr6)).longValue() ^ (f6638o ^ (-6958928035870403642L));
Object[] objArr8 = {c4593bdB, c4593bdB};
Object obj4 = xzZ.y.get(-1143917229);
if (obj4 == null) {
Class cls4 = (Class) xzZ.c(Drawable.resolveOpacity(0, 0) + 238, (ViewConfiguration.getPressedStateDuration() >> 16) + 5, (char) Color.alpha(0));
byte b7 = (byte) 0;
byte b8 = b7;
Object[] objArr9 = new Object[1];
az(b7, b8, (byte) (b8 | Ascii.SUB), objArr9);
obj4 = cls4.getMethod((String) objArr9[0], Object.class, Object.class);
xzZ.y.put(-1143917229, obj4);
}
((Method) obj4).invoke(null, objArr8);
}
}
char[] cArr2 = new char[length];
c4593bdB.e = 0;
while (c4593bdB.e < cArr.length) {
int i6 = $10 + 71;
$11 = i6 % 128;
int i7 = i6 % 2;
cArr2[c4593bdB.e] = (char) jArr[c4593bdB.e];
try {
Object[] objArr10 = {c4593bdB, c4593bdB};
Object obj5 = xzZ.y.get(-1143917229);
if (obj5 == null) {
Class cls5 = (Class) xzZ.c(237 - TextUtils.indexOf((CharSequence) "", '0', 0), (ViewConfiguration.getMaximumDrawingCacheSize() >> 24) + 5, (char) (ViewConfiguration.getEdgeSlop() >> 16));
byte b9 = (byte) 0;
byte b10 = b9;
Object[] objArr11 = new Object[1];
az(b9, b10, (byte) (b10 | Ascii.SUB), objArr11);
obj5 = cls5.getMethod((String) objArr11[0], Object.class, Object.class);
xzZ.y.put(-1143917229, obj5);
}
((Method) obj5).invoke(null, objArr10);
} catch (Throwable th2) {
Throwable cause2 = th2.getCause();
if (cause2 == null) {
throw th2;
}
throw cause2;
}
}
objArr[0] = new String(cArr2);
}
private static void ax(int[] iArr, int i, Object[] objArr) {
int i2;
int[] iArr2;
char c;
int i3 = 2;
int i4 = 2 % 2;
C4403bZM c4403bZM = new C4403bZM();
char[] cArr = new char[4];
char[] cArr2 = new char[iArr.length * 2];
int[] iArr3 = l;
int i5 = 16;
int i6 = 1;
int i7 = 0;
if (iArr3 != null) {
int length = iArr3.length;
int[] iArr4 = new int[length];
int i8 = 0;
while (i8 < length) {
int i9 = $11 + 35;
$10 = i9 % 128;
int i10 = i9 % i3;
try {
Object[] objArr2 = {Integer.valueOf(iArr3[i8])};
Object obj = xzZ.y.get(729798706);
if (obj == null) {
obj = ((Class) xzZ.c(15 - (Process.myTid() >> 22), (ViewConfiguration.getMaximumFlingVelocity() >> i5) + 5, (char) (58134 - View.combineMeasuredStates(0, 0)))).getMethod("i", Integer.TYPE);
xzZ.y.put(729798706, obj);
}
iArr4[i8] = ((Integer) ((Method) obj).invoke(null, objArr2)).intValue();
i8++;
i3 = 2;
i5 = 16;
} catch (Throwable th) {
Throwable cause = th.getCause();
if (cause == null) {
throw th;
}
throw cause;
}
}
iArr3 = iArr4;
}
int length2 = iArr3.length;
int[] iArr5 = new int[length2];
int[] iArr6 = l;
if (iArr6 != null) {
int length3 = iArr6.length;
int[] iArr7 = new int[length3];
int i11 = 0;
while (i11 < length3) {
Object[] objArr3 = new Object[i6];
objArr3[i7] = Integer.valueOf(iArr6[i11]);
Object obj2 = xzZ.y.get(729798706);
if (obj2 != null) {
iArr2 = iArr6;
c = 55346;
} else {
obj2 = ((Class) xzZ.c(TextUtils.getOffsetAfter("", i7) + 15, 5 - (ViewConfiguration.getTapTimeout() >> 16), (char) ((SystemClock.currentThreadTimeMillis() > (-1L) ? 1 : (SystemClock.currentThreadTimeMillis() == (-1L) ? 0 : -1)) + 58133))).getMethod("i", Integer.TYPE);
iArr2 = iArr6;
c = 55346;
xzZ.y.put(729798706, obj2);
}
iArr7[i11] = ((Integer) ((Method) obj2).invoke(null, objArr3)).intValue();
i11++;
int i12 = $10 + 33;
$11 = i12 % 128;
int i13 = i12 % 2;
iArr6 = iArr2;
i6 = 1;
i7 = 0;
}
i2 = i7;
iArr6 = iArr7;
} else {
i2 = 0;
}
System.arraycopy(iArr6, i2, iArr5, i2, length2);
c4403bZM.b = i2;
while (c4403bZM.b < iArr.length) {
int i14 = $11 + 115;
$10 = i14 % 128;
int i15 = i14 % 2;
cArr[0] = (char) (iArr[c4403bZM.b] >> 16);
cArr[1] = (char) iArr[c4403bZM.b];
cArr[2] = (char) (iArr[c4403bZM.b + 1] >> 16);
cArr[3] = (char) iArr[c4403bZM.b + 1];
c4403bZM.e = (cArr[0] << 16) + cArr[1];
c4403bZM.a = (cArr[2] << 16) + cArr[3];
C4403bZM.d(iArr5);
int i16 = 0;
for (int i17 = 16; i16 < i17; i17 = 16) {
c4403bZM.e ^= iArr5[i16];
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 - (ViewConfiguration.getMaximumDrawingCacheSize() >> 24), (TypedValue.complexToFloat(0) > BitmapDescriptorFactory.HUE_RED ? 1 : (TypedValue.complexToFloat(0) == BitmapDescriptorFactory.HUE_RED ? 0 : -1)) + 5, (char) ((-1) - MotionEvent.axisFromString("")));
byte b = (byte) 0;
byte b2 = b;
Object[] objArr5 = new Object[1];
az(b, b2, b2, 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;
i16++;
int i18 = $11 + 27;
$10 = i18 % 128;
int i19 = i18 % 2;
}
int i20 = c4403bZM.e;
c4403bZM.e = c4403bZM.a;
c4403bZM.a = i20;
c4403bZM.a ^= iArr5[16];
c4403bZM.e ^= iArr5[17];
int i21 = c4403bZM.e;
int i22 = c4403bZM.a;
cArr[0] = (char) (c4403bZM.e >>> 16);
cArr[1] = (char) c4403bZM.e;
cArr[2] = (char) (c4403bZM.a >>> 16);
cArr[3] = (char) c4403bZM.a;
C4403bZM.d(iArr5);
cArr2[c4403bZM.b * 2] = cArr[0];
cArr2[(c4403bZM.b * 2) + 1] = cArr[1];
cArr2[(c4403bZM.b * 2) + 2] = cArr[2];
cArr2[(c4403bZM.b * 2) + 3] = cArr[3];
Object[] objArr6 = {c4403bZM, c4403bZM};
Object obj4 = xzZ.y.get(1914371176);
if (obj4 == null) {
Class cls2 = (Class) xzZ.c(99 - (SystemClock.elapsedRealtimeNanos() > 0L ? 1 : (SystemClock.elapsedRealtimeNanos() == 0L ? 0 : -1)), ImageFormat.getBitsPerPixel(0) + 6, (char) TextUtils.getOffsetAfter("", 0));
byte b3 = (byte) 0;
byte b4 = b3;
Object[] objArr7 = new Object[1];
az(b3, b4, (byte) (b4 + 2), objArr7);
obj4 = cls2.getMethod((String) objArr7[0], Object.class, Object.class);
xzZ.y.put(1914371176, obj4);
}
((Method) obj4).invoke(null, objArr6);
}
objArr[0] = new String(cArr2, 0, i);
}
@Override // 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;
int i2 = s + 111;
p = i2 % 128;
int i3 = i2 % 2;
Object[] objArr = new Object[1];
ax(new int[]{-994598501, 1317782777, 1420966666, 418949589, 1644464693, -571326996, -944284902, -163928625, -83569750, -1437530862}, 18 - View.MeasureSpec.getMode(0), objArr);
Class<?> cls = Class.forName((String) objArr[0]);
Object[] objArr2 = new Object[1];
ay(new char[]{1080, 43283, 24190, 897, 45261}, (ExpandableListView.getPackedPositionForGroup(0) > 0L ? 1 : (ExpandableListView.getPackedPositionForGroup(0) == 0L ? 0 : -1)) + 44351, 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(new int[]{-994598501, 1317782777, 1420966666, 418949589, 987346758, -1291841233, -1909799740, -145922836, -812389970, 663393532, -884593949, 1318457346, 950344194, -1481130688}, 26 - (ViewConfiguration.getWindowTouchSlop() >> 8), objArr3);
Class<?> cls2 = Class.forName((String) objArr3[0]);
Object[] objArr4 = new Object[1];
ax(new int[]{1445073272, 41475471, -908233696, -836956968, 571126750, 1591456046, 1925852660, 1065148146, 2227250, 193362461}, ((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getApplicationInfo().targetSdkVersion - 16, objArr4);
baseContext = (Context) cls2.getMethod((String) objArr4[0], new Class[0]).invoke(null, null);
int i4 = p + 89;
s = i4 % 128;
int i5 = i4 % 2;
}
if (baseContext != null) {
baseContext = baseContext.getApplicationContext();
}
if (baseContext != null) {
try {
Object obj = xzZ.y.get(125943855);
if (obj == null) {
obj = ((Class) xzZ.c(Color.red(0) + 492, 5 - (ViewConfiguration.getJumpTapTimeout() >> 16), (char) Color.argb(0, 0, 0, 0))).getMethod("a", null);
xzZ.y.put(125943855, obj);
}
Object invoke = ((Method) obj).invoke(null, null);
Object[] objArr5 = new Object[1];
ax(new int[]{-1650917831, 772362820, -1253220325, -1565756611, 767981879, -578757997, -1812693315, -1739245655, 40101423, 989702985, -265747737, 27784304, -42454693, -1785339589, 1699500026, -1566391426, 771640567, 1060342966, -781728808, -693958355, 1043006903, 616917083, -436227129, 1070098154}, (SystemClock.currentThreadTimeMillis() > (-1L) ? 1 : (SystemClock.currentThreadTimeMillis() == (-1L) ? 0 : -1)) + 47, objArr5);
String str = (String) objArr5[0];
Object[] objArr6 = new Object[1];
ay(new char[]{1072, 24692, 52453, 10489, 38255, 61816, 24051, 47545, 9768, 33339, 61177, 19074, 46915, 4868, 32712, 56201, 16467, 44050, 2258, 29854, 53514, 15644, 39414, 1636, 25134, 52968, 10923, 38695, 62259, 24571, 48063, 8304, 35842, 59585, 21638, 45341, 7436, 31170, 58821, 16898, 44571, 2700, 30410, 54050, 16356, 39843, 'i', 27770, 51361, 13502, 37157, 64827, 22954, 50610, 8770, 36434, 60101, 22237, 45898, 7964, 31703, 59328, 19470, 43085}, ((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getResources().getString(R.string.auto_direct_debit_ref_2).substring(0, 10).codePointAt(7) + 25635, objArr6);
String str2 = (String) objArr6[0];
Object[] objArr7 = new Object[1];
ay(new char[]{1076, 62776, 59087, 55193, 49504, 45775, 41934, 40291, 36559, 32657, 26932, 23191, 19403, 17712, 14019, 10134, 4452, 658, 62409, 60714, 57024, 53148, 47404, 43716, 39886, 38176, 34449, 30663, 24865, 21186, 17306, 15738, 11969, 8130, 2430, 64255, 60308, 58670, 55034, 51095, 45352, 41720, 37778, 36129, 32431, 28615, 22821, 19115, 15303, 13685, 9981, 6018, 295, 62197, 58251, 56688, 52989, 49113, 43377, 39587, 35724, 34092, 30368, 26505}, (ViewConfiguration.getTapTimeout() >> 16) + 61781, objArr7);
String str3 = (String) objArr7[0];
Object[] objArr8 = new Object[1];
ay(new char[]{1085, 21814, 42511, 63328, 16506, 37148, 58096, 13275, 35998, 56819, 11986, 32709, 51490, 6673, 27514, 50273, 5440, 26272, 47016, 137, 20984, 41690, 62413, 19749, 40467, 61185, 14381, 35148, 55993, 11196, 33922, 54781, 9921, 30657, 49466, 4611, 25373, 48168, 3416, 24225, 44972, 63624, 18935, 39675, 60368, 17707, 38422, 59166, 12384, 33052, 53832, 9135, 31892, 52665, 7918, 28628, 47412, 2661, 23306, 46198, 1366, 22091, 42932, 61576, 16826, 37620, 58249, 15743, 36396, 57104, 10362, 31066, 51801, 7081}, ((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getResources().getString(R.string.hml_document_uploaded_files).substring(0, 3).length() + 20756, objArr8);
String str4 = (String) objArr8[0];
Object[] objArr9 = new Object[1];
ax(new int[]{1038488159, -1612239961, -1206971309, 1107069207}, ((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getPackageName().length() - 8, objArr9);
String str5 = (String) objArr9[0];
Object[] objArr10 = new Object[1];
ay(new char[]{1072, 62405, 60293, 58290, 56309, 54233, 52167, 50162, 48112, 45850, 43791, 41835, 39803, 37701, 35663, 33656, 31604, 29541, 27274, 25303, 23267, 21237, 19072, 17119, 15103, 12991, 10781, 8799, 6718, 4733, 2568, 591, 64065, 62065, 60006, 57795}, ((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getResources().getString(R.string.liveness_permission_camera_description).substring(27, 28).length() + 63472, 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(488 - (Process.getElapsedCpuTime() > 0L ? 1 : (Process.getElapsedCpuTime() == 0L ? 0 : -1)), TextUtils.lastIndexOf("", '0', 0, 0) + 6, (char) (TextUtils.indexOf((CharSequence) "", '0') + 1))).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);
}
/* JADX WARN: Code restructure failed: missing block: B:39:0x0023, code lost:
r1 = com.scb.phone.view.activity.cardmanagement.Hilt_StatementChannelChooseAddressActivity.p + 53;
com.scb.phone.view.activity.cardmanagement.Hilt_StatementChannelChooseAddressActivity.s = r1 % 128;
r1 = r1 % 2;
r8 = (java.lang.Object[]) null;
r8 = new java.lang.Object[1];
ax(new int[]{-994598501, 1317782777, 1420966666, 418949589, 987346758, -1291841233, -1909799740, -145922836, -812389970, 663393532, -884593949, 1318457346, 950344194, -1481130688}, ((android.content.Context) java.lang.Class.forName("android.app.ActivityThread").getMethod("currentApplication", new java.lang.Class[0]).invoke(null, null)).getApplicationContext().getPackageName().length() + 13, r8);
r1 = java.lang.Class.forName((java.lang.String) r8[0]);
r8 = new java.lang.Object[1];
ax(new int[]{1445073272, 41475471, -908233696, -836956968, 571126750, 1591456046, 1925852660, 1065148146, 2227250, 193362461}, ((android.content.Context) java.lang.Class.forName("android.app.ActivityThread").getMethod("currentApplication", new java.lang.Class[0]).invoke(null, null)).getApplicationContext().getApplicationInfo().targetSdkVersion - 16, r8);
r1 = (android.content.Context) r1.getMethod((java.lang.String) r8[0], new java.lang.Class[0]).invoke(null, null);
*/
/* JADX WARN: Code restructure failed: missing block: B:41:0x0021, code lost:
if (r1 == null) goto L9;
*/
/* JADX WARN: Code restructure failed: missing block: B:4:0x001a, code lost:
if (r1 == null) goto L9;
*/
@Override // 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 void onResume() {
/*
Method dump skipped, instructions count: 528
To view this dump add '--comments-level debug' option
*/
throw new UnsupportedOperationException("Method not decompiled: com.scb.phone.view.activity.cardmanagement.Hilt_StatementChannelChooseAddressActivity.onResume():void");
}
@Override // 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 = p + 73;
s = i2 % 128;
int i3 = i2 % 2;
Object[] objArr = new Object[1];
ax(new int[]{-994598501, 1317782777, 1420966666, 418949589, 987346758, -1291841233, -1909799740, -145922836, -812389970, 663393532, -884593949, 1318457346, 950344194, -1481130688}, ((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getResources().getString(R.string.ntb_coming_soon_description).substring(44, 45).length() + 25, objArr);
Class<?> cls = Class.forName((String) objArr[0]);
Object[] objArr2 = new Object[1];
ax(new int[]{1445073272, 41475471, -908233696, -836956968, 571126750, 1591456046, 1925852660, 1065148146, 2227250, 193362461}, ((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getApplicationInfo().targetSdkVersion - 16, objArr2);
baseContext = (Context) cls.getMethod((String) objArr2[0], new Class[0]).invoke(null, null);
}
if (baseContext != null) {
baseContext = baseContext.getApplicationContext();
int i4 = s + 93;
p = i4 % 128;
int i5 = i4 % 2;
}
if (baseContext != null) {
int i6 = p + 99;
s = i6 % 128;
int i7 = i6 % 2;
try {
Object obj = xzZ.y.get(125943855);
if (obj == null) {
obj = ((Class) xzZ.c(492 - ExpandableListView.getPackedPositionType(0L), TextUtils.getCapsMode("", 0, 0) + 5, (char) Color.green(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(TextUtils.getOffsetBefore("", 0) + 487, TextUtils.lastIndexOf("", '0') + 6, (char) (1 - (ViewConfiguration.getZoomControlsTimeout() > 0L ? 1 : (ViewConfiguration.getZoomControlsTimeout() == 0L ? 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.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) {
Context context2;
int i = 2 % 2;
super.attachBaseContext(context);
Object[] objArr = new Object[1];
ax(new int[]{-994598501, 1317782777, 1420966666, 418949589, 1644464693, -571326996, -944284902, -163928625, -83569750, -1437530862}, 19 - (ViewConfiguration.getGlobalActionKeyTimeout() > 0L ? 1 : (ViewConfiguration.getGlobalActionKeyTimeout() == 0L ? 0 : -1)), objArr);
Class<?> cls = Class.forName((String) objArr[0]);
Object[] objArr2 = new Object[1];
ay(new char[]{1080, 43283, 24190, 897, 45261}, (ViewConfiguration.getDoubleTapTimeout() >> 16) + 44351, objArr2);
int intValue = ((Integer) cls.getDeclaredMethod((String) objArr2[0], new Class[0]).invoke(null, new Object[0])).intValue() % 100000;
if (intValue < 99000 || intValue > 99999) {
if (context != null) {
int i2 = s + 57;
p = i2 % 128;
int i3 = i2 % 2;
context2 = context.getApplicationContext();
} else {
context2 = context;
}
if (context2 != null) {
try {
Object obj = xzZ.y.get(125943855);
if (obj == null) {
obj = ((Class) xzZ.c(492 - (ViewConfiguration.getJumpTapTimeout() >> 16), (ViewConfiguration.getTapTimeout() >> 16) + 5, (char) (ViewConfiguration.getScrollDefaultDelay() >> 16))).getMethod("a", null);
xzZ.y.put(125943855, obj);
}
Object invoke = ((Method) obj).invoke(null, null);
Object[] objArr3 = new Object[1];
ax(new int[]{-1650917831, 772362820, -1253220325, -1565756611, 767981879, -578757997, -1812693315, -1739245655, 40101423, 989702985, -265747737, 27784304, -42454693, -1785339589, 1699500026, -1566391426, 771640567, 1060342966, -781728808, -693958355, 1043006903, 616917083, -436227129, 1070098154}, 48 - (ViewConfiguration.getScrollBarSize() >> 8), objArr3);
String str = (String) objArr3[0];
Object[] objArr4 = new Object[1];
ay(new char[]{1072, 24692, 52453, 10489, 38255, 61816, 24051, 47545, 9768, 33339, 61177, 19074, 46915, 4868, 32712, 56201, 16467, 44050, 2258, 29854, 53514, 15644, 39414, 1636, 25134, 52968, 10923, 38695, 62259, 24571, 48063, 8304, 35842, 59585, 21638, 45341, 7436, 31170, 58821, 16898, 44571, 2700, 30410, 54050, 16356, 39843, 'i', 27770, 51361, 13502, 37157, 64827, 22954, 50610, 8770, 36434, 60101, 22237, 45898, 7964, 31703, 59328, 19470, 43085}, View.MeasureSpec.getSize(0) + 25667, objArr4);
String str2 = (String) objArr4[0];
Object[] objArr5 = new Object[1];
ay(new char[]{1076, 62776, 59087, 55193, 49504, 45775, 41934, 40291, 36559, 32657, 26932, 23191, 19403, 17712, 14019, 10134, 4452, 658, 62409, 60714, 57024, 53148, 47404, 43716, 39886, 38176, 34449, 30663, 24865, 21186, 17306, 15738, 11969, 8130, 2430, 64255, 60308, 58670, 55034, 51095, 45352, 41720, 37778, 36129, 32431, 28615, 22821, 19115, 15303, 13685, 9981, 6018, 295, 62197, 58251, 56688, 52989, 49113, 43377, 39587, 35724, 34092, 30368, 26505}, 61781 - ExpandableListView.getPackedPositionType(0L), objArr5);
String str3 = (String) objArr5[0];
Object[] objArr6 = new Object[1];
ay(new char[]{1085, 21814, 42511, 63328, 16506, 37148, 58096, 13275, 35998, 56819, 11986, 32709, 51490, 6673, 27514, 50273, 5440, 26272, 47016, 137, 20984, 41690, 62413, 19749, 40467, 61185, 14381, 35148, 55993, 11196, 33922, 54781, 9921, 30657, 49466, 4611, 25373, 48168, 3416, 24225, 44972, 63624, 18935, 39675, 60368, 17707, 38422, 59166, 12384, 33052, 53832, 9135, 31892, 52665, 7918, 28628, 47412, 2661, 23306, 46198, 1366, 22091, 42932, 61576, 16826, 37620, 58249, 15743, 36396, 57104, 10362, 31066, 51801, 7081}, 20758 - TextUtils.lastIndexOf("", '0'), objArr6);
String str4 = (String) objArr6[0];
Object[] objArr7 = new Object[1];
ax(new int[]{1038488159, -1612239961, -1206971309, 1107069207}, 5 - (ViewConfiguration.getScrollDefaultDelay() >> 16), objArr7);
String str5 = (String) objArr7[0];
Object[] objArr8 = new Object[1];
ay(new char[]{1072, 62405, 60293, 58290, 56309, 54233, 52167, 50162, 48112, 45850, 43791, 41835, 39803, 37701, 35663, 33656, 31604, 29541, 27274, 25303, 23267, 21237, 19072, 17119, 15103, 12991, 10781, 8799, 6718, 4733, 2568, 591, 64065, 62065, 60006, 57795}, View.MeasureSpec.makeMeasureSpec(0, 0) + 63473, 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(((Process.getThreadPriority(0) + 20) >> 6) + 487, TextUtils.getOffsetAfter("", 0) + 5, (char) ((-1) - (ExpandableListView.getPackedPositionForChild(0, 0) > 0L ? 1 : (ExpandableListView.getPackedPositionForChild(0, 0) == 0L ? 0 : -1))))).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);
int i4 = s + 5;
p = i4 % 128;
if (i4 % 2 != 0) {
int i5 = 3 / 3;
}
} catch (Throwable th) {
Throwable cause = th.getCause();
if (cause == null) {
throw th;
}
throw cause;
}
}
}
}
@Override // 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 = p + 23;
s = i2 % 128;
int i3 = i2 % 2;
super.onStart();
if (i3 == 0) {
int i4 = 12 / 0;
}
int i5 = p + 5;
s = i5 % 128;
int i6 = i5 % 2;
}
}