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

680 lines
37 KiB
Java
Raw Permalink Normal View History

2024-07-27 18:17:47 +07:00
package com.scb.phone.view.activity.transferandpay;
import android.content.Context;
import android.graphics.Color;
import android.graphics.ImageFormat;
import android.os.Process;
import android.os.SystemClock;
import android.telephony.cdma.CdmaCellLocation;
import android.text.TextUtils;
import android.util.TypedValue;
import android.view.Gravity;
import android.view.KeyEvent;
import android.view.View;
import android.view.ViewConfiguration;
import android.widget.ExpandableListView;
import androidx.fragment.app.Fragment;
import com.google.android.gms.maps.model.BitmapDescriptorFactory;
import com.google.common.base.Ascii;
import com.kofax.mobile.sdk._internal.impl.extraction.kta.KtaJsonExactionHelper;
import com.scb.phone.R;
import com.scb.phone.view.activity.transferandpay.billpayment.BillPaymentActivity;
import com.scb.phone.view.fragment.TermsConditionsFragment;
import java.lang.reflect.Method;
import o.AbstractActivityC11916eoP;
import o.AbstractC13482fbE;
import o.C1193Xr;
import o.C6381cRB;
import o.InterfaceC13391fZD;
import o.InterfaceC9010dbe;
import o.JP;
import o.MBB;
import o.XD;
import o.dQY;
import o.fJH;
import o.xzZ;
import o.zUI;
import org.bouncycastle.crypto.tls.CipherSuite;
/* loaded from: classes5.dex */
public class EDonationConsentActivity extends AbstractActivityC11916eoP implements fJH, InterfaceC9010dbe.huo {
@InterfaceC13391fZD
public C6381cRB presenter;
private static final byte[] $$p = {Ascii.ESC, -53, 19, -66};
private static final int $$q = 233;
private static int $10 = 0;
private static int $11 = 1;
/* renamed from: o, reason: collision with root package name */
private static int f7965o = 0;
private static int p = 1;
private static char[] l = {36787, 8840, 54750, 34876, 15213, 60863, 32910, 13200, 58909, 39285, 19444, 65214, 37328, 17433, 63337, 43451, 23777, 4053, 39149, 13791, 49792, 40738, 11327, 64187, 38786, 9425, 61726, 36401, 23782, 59777, 34463, 21274, 57399, 48872, 19454, 6299, 46406, 16952, 4351, 44460, 31429, 5961, 42074, 29438, 4087, 56469, 26895, 1537, 54432, 24993, 15981, 52061, 38924, 14065, 50154, 36925, 11526, 64082, 35022, 9660, 62061, 36693, 23631, 60096, 34785, 21604, 36791, 8836, 54668, 34859, 15156, 60852, 32990, 13191, 58903, 39219, 19432, 65240, 37264, 17472, 63293, 43503, 23716, 3986, 41547, 21820, 1953, 47776, 28107, 'J', 45825, 26096, 6314, 52173, 32336, 4367, 50170, 30374, 10597, 56401, 36623, 8623, 54455, 34670, 14856, 60764, 40900, 13028, 58683, 39000, 19223, 64967, 37052, 17212, 63094, 43294, 23452, 3769, 41249, 21550, 1823, 47516, 27786, 7973, 45611, 25878, 6100, 51924, 32043, 4219, 8061, 45584, 17732, 6323, 43949, 32043, 4161, 41749, 30350, 2545, 56103, 28229, 270, 54412, 26612, 14632, 52285, 40714, 13010, 50672, 38717, 10856, 64851, 36994, 9119, 62768, 34866, 23301, 61076, 33230, 21309, 58932, 47528, 19658, 8085, 45365, 17529, 6058, 43669, 32193, 3849, 41592, 30113, 2195, 56202, 27995, 'r', 54261, 26302, 14733, 51974, 40568, 12730, 50401, 38868, 10582, 64588, 36841, 8882, 62849, 34585, 23104, 60903, 32999, 36794, 8850, 54734, 34878, 15217, 60908, 32965, 13201, 58881, 39279, 19387, 65155, 37313, 17433, 63335, 43443, 23799, 4052, 41497, 21863, 1955, 47866, 28104, 31, 45916, 26029, 6324, 52186, 32266, 4420, 50095, 30463, 10534, 56325, 36699, 8637, 54518, 34680, 14861, 60747, 40851, 13044, 58686, 38941, 19283, 64899, 37099, 17196, 63095, 43272, 23449, 3809, 41263, 21561, 1867, 47502, 27867, 8041, 45683, 25920, 6021, 51923, 32057, 4202, 49917, 30096, 10376, 56161, 36455, 8352, 54159, 34512, 14598, 60533, 41701, 4038, 63628, 42350, 5692, 36791, 8839, 54664, 34938, 15206, 60911, 32990, 13198, 58975, 39216, 19434, 65163, 37312, 17499, 63294, 43500, 23715, 3991, 41559, 21871, 1952, 47859, 28105, 'S', 45824, 26021, 6312, 52175, 32341, 4435, 50089, 30379, 10598, 56403, 36619, 8619};
private static long m = 4605481873491043046L;
private static int k = 2015661708;
/* JADX WARN: Removed duplicated region for block: B:10:0x0027 */
/* JADX WARN: Removed duplicated region for block: B:7:0x001f */
/* JADX WARN: Unsupported multi-entry loop pattern (BACK_EDGE: B:10:0x0027 -> B:4:0x0029). Please report as a decompilation issue!!! */
/*
Code decompiled incorrectly, please refer to instructions dump.
To view partially-correct add '--show-bad-code' argument
*/
private static void aC(int r6, int r7, byte r8, java.lang.Object[] r9) {
/*
byte[] r0 = com.scb.phone.view.activity.transferandpay.EDonationConsentActivity.$$p
int r8 = r8 * 4
int r8 = 3 - r8
int r6 = r6 + 69
int r7 = r7 * 4
int r7 = r7 + 1
byte[] r1 = new byte[r7]
r2 = 0
if (r0 != 0) goto L15
r3 = r6
r6 = r7
r5 = r2
goto L29
L15:
r3 = r2
L16:
int r8 = r8 + 1
byte r4 = (byte) r6
int r5 = r3 + 1
r1[r3] = r4
if (r5 != r7) goto L27
java.lang.String r6 = new java.lang.String
r6.<init>(r1, r2)
r9[r2] = r6
return
L27:
r3 = r0[r8]
L29:
int r6 = r6 + r3
r3 = r5
goto L16
*/
throw new UnsupportedOperationException("Method not decompiled: com.scb.phone.view.activity.transferandpay.EDonationConsentActivity.aC(int, int, byte, java.lang.Object[]):void");
}
public static /* synthetic */ Object b(Object[] objArr, int i, int i2, int i3) {
EDonationConsentActivity eDonationConsentActivity = (EDonationConsentActivity) objArr[0];
int i4 = 2 % 2;
int i5 = p + 105;
f7965o = i5 % 128;
(i5 % 2 != 0 ? eDonationConsentActivity.presenter : eDonationConsentActivity.presenter).b((C1193Xr) eDonationConsentActivity.getIntent().getParcelableExtra("com.scb.phone.EXTRA_BILL_PAYMENT_DISPLAY"), false);
int i6 = p + 15;
f7965o = i6 % 128;
int i7 = i6 % 2;
return null;
}
private static void ay(int i, int i2, char c, Object[] objArr) {
int i3 = 2;
int i4 = 2 % 2;
dQY dqy = new dQY();
long[] jArr = new long[i2];
int i5 = 0;
dqy.a = 0;
while (dqy.a < i2) {
int i6 = $10 + 85;
$11 = i6 % 128;
if (i6 % i3 == 0) {
int i7 = dqy.a;
try {
Object[] objArr2 = new Object[1];
objArr2[i5] = Integer.valueOf(l[i - dqy.a]);
Object obj = xzZ.y.get(1095064095);
if (obj == null) {
Class cls = (Class) xzZ.c(308 - ExpandableListView.getPackedPositionGroup(0L), 5 - View.getDefaultSize(i5, i5), (char) (32797 - (ExpandableListView.getPackedPositionForGroup(i5) > 0L ? 1 : (ExpandableListView.getPackedPositionForGroup(i5) == 0L ? 0 : -1))));
byte b = (byte) i5;
Object[] objArr3 = new Object[1];
aC((byte) 29, b, b, objArr3);
String str = (String) objArr3[i5];
Class<?>[] clsArr = new Class[1];
clsArr[i5] = Integer.TYPE;
obj = cls.getMethod(str, clsArr);
xzZ.y.put(1095064095, obj);
}
Object[] objArr4 = {Long.valueOf(((Long) ((Method) obj).invoke(null, objArr2)).longValue()), Long.valueOf(dqy.a), Long.valueOf(m), Integer.valueOf(c)};
Object obj2 = xzZ.y.get(-548438098);
if (obj2 == null) {
Class cls2 = (Class) xzZ.c((ExpandableListView.getPackedPositionForGroup(0) > 0L ? 1 : (ExpandableListView.getPackedPositionForGroup(0) == 0L ? 0 : -1)) + 412, TextUtils.getCapsMode("", 0, 0) + 5, (char) View.MeasureSpec.makeMeasureSpec(0, 0));
byte b2 = (byte) 0;
Object[] objArr5 = new Object[1];
aC((byte) 30, b2, b2, objArr5);
obj2 = cls2.getMethod((String) objArr5[0], Long.TYPE, Long.TYPE, Long.TYPE, Integer.TYPE);
xzZ.y.put(-548438098, obj2);
}
jArr[i7] = ((Long) ((Method) obj2).invoke(null, objArr4)).longValue();
Object[] objArr6 = {dqy, dqy};
Object obj3 = xzZ.y.get(1071125919);
if (obj3 == null) {
Class cls3 = (Class) xzZ.c(406 - ImageFormat.getBitsPerPixel(0), 5 - Gravity.getAbsoluteGravity(0, 0), (char) (TextUtils.indexOf((CharSequence) "", '0', 0, 0) + 29235));
byte b3 = (byte) 0;
Object[] objArr7 = new Object[1];
aC((byte) 37, b3, b3, objArr7);
obj3 = cls3.getMethod((String) objArr7[0], Object.class, Object.class);
xzZ.y.put(1071125919, obj3);
}
((Method) obj3).invoke(null, objArr6);
} catch (Throwable th) {
Throwable cause = th.getCause();
if (cause == null) {
throw th;
}
throw cause;
}
} else {
int i8 = dqy.a;
Object[] objArr8 = {Integer.valueOf(l[i + dqy.a])};
Object obj4 = xzZ.y.get(1095064095);
if (obj4 == null) {
Class cls4 = (Class) xzZ.c(307 - TextUtils.indexOf((CharSequence) "", '0', 0), 6 - (SystemClock.elapsedRealtime() > 0L ? 1 : (SystemClock.elapsedRealtime() == 0L ? 0 : -1)), (char) (32797 - TextUtils.indexOf("", "", 0)));
byte b4 = (byte) 0;
Object[] objArr9 = new Object[1];
aC((byte) 29, b4, b4, objArr9);
obj4 = cls4.getMethod((String) objArr9[0], Integer.TYPE);
xzZ.y.put(1095064095, obj4);
}
Object[] objArr10 = {Long.valueOf(((Long) ((Method) obj4).invoke(null, objArr8)).longValue()), Long.valueOf(dqy.a), Long.valueOf(m), Integer.valueOf(c)};
Object obj5 = xzZ.y.get(-548438098);
if (obj5 == null) {
Class cls5 = (Class) xzZ.c((ExpandableListView.getPackedPositionForGroup(0) > 0L ? 1 : (ExpandableListView.getPackedPositionForGroup(0) == 0L ? 0 : -1)) + 412, (ViewConfiguration.getScrollBarSize() >> 8) + 5, (char) (ExpandableListView.getPackedPositionForGroup(0) > 0L ? 1 : (ExpandableListView.getPackedPositionForGroup(0) == 0L ? 0 : -1)));
byte b5 = (byte) 0;
Object[] objArr11 = new Object[1];
aC((byte) 30, b5, b5, objArr11);
obj5 = cls5.getMethod((String) objArr11[0], Long.TYPE, Long.TYPE, Long.TYPE, Integer.TYPE);
xzZ.y.put(-548438098, obj5);
}
jArr[i8] = ((Long) ((Method) obj5).invoke(null, objArr10)).longValue();
Object[] objArr12 = {dqy, dqy};
Object obj6 = xzZ.y.get(1071125919);
if (obj6 == null) {
Class cls6 = (Class) xzZ.c((ViewConfiguration.getEdgeSlop() >> 16) + 407, Color.rgb(0, 0, 0) + 16777221, (char) (29234 - (ViewConfiguration.getJumpTapTimeout() >> 16)));
byte b6 = (byte) 0;
Object[] objArr13 = new Object[1];
aC((byte) 37, b6, b6, objArr13);
obj6 = cls6.getMethod((String) objArr13[0], Object.class, Object.class);
xzZ.y.put(1071125919, obj6);
}
((Method) obj6).invoke(null, objArr12);
}
i3 = 2;
i5 = 0;
}
char[] cArr = new char[i2];
dqy.a = 0;
while (dqy.a < i2) {
int i9 = $11 + 117;
$10 = i9 % 128;
if (i9 % 2 != 0) {
cArr[dqy.a] = (char) jArr[dqy.a];
Object[] objArr14 = {dqy, dqy};
Object obj7 = xzZ.y.get(1071125919);
if (obj7 == null) {
Class cls7 = (Class) xzZ.c(407 - Color.red(0), 5 - (ViewConfiguration.getWindowTouchSlop() >> 8), (char) ((ViewConfiguration.getEdgeSlop() >> 16) + 29234));
byte b7 = (byte) 0;
Object[] objArr15 = new Object[1];
aC((byte) 37, b7, b7, objArr15);
obj7 = cls7.getMethod((String) objArr15[0], Object.class, Object.class);
xzZ.y.put(1071125919, obj7);
}
((Method) obj7).invoke(null, objArr14);
throw null;
}
cArr[dqy.a] = (char) jArr[dqy.a];
Object[] objArr16 = {dqy, dqy};
Object obj8 = xzZ.y.get(1071125919);
if (obj8 == null) {
Class cls8 = (Class) xzZ.c(TextUtils.getOffsetAfter("", 0) + 407, 5 - (ViewConfiguration.getMaximumDrawingCacheSize() >> 24), (char) (TextUtils.lastIndexOf("", '0', 0) + 29235));
byte b8 = (byte) 0;
Object[] objArr17 = new Object[1];
aC((byte) 37, b8, b8, objArr17);
obj8 = cls8.getMethod((String) objArr17[0], Object.class, Object.class);
xzZ.y.put(1071125919, obj8);
}
((Method) obj8).invoke(null, objArr16);
}
String str2 = new String(cArr);
int i10 = $11 + 99;
$10 = i10 % 128;
int i11 = i10 % 2;
objArr[0] = str2;
}
/* JADX WARN: Code restructure failed: missing block: B:4:0x013a, code lost:
if (r3 > 99999) goto L6;
*/
@Override // o.AbstractActivityC11916eoP, com.scb.phone.view.activity.BaseActivityWithFragment, com.scb.phone.view.activity.BaseActivity, com.scb.phone.view.activity.PreLoadCheckActivity, com.akexorcist.localizationactivity.LocalizationActivity, androidx.appcompat.app.AppCompatActivity, androidx.fragment.app.FragmentActivity, androidx.activity.ComponentActivity, androidx.core.app.ComponentActivity, android.app.Activity
/*
Code decompiled incorrectly, please refer to instructions dump.
To view partially-correct add '--show-bad-code' argument
*/
public void onCreate(android.os.Bundle r22) {
/*
Method dump skipped, instructions count: 1506
To view this dump add '--comments-level debug' option
*/
throw new UnsupportedOperationException("Method not decompiled: com.scb.phone.view.activity.transferandpay.EDonationConsentActivity.onCreate(android.os.Bundle):void");
}
@Override // com.scb.phone.view.activity.BaseActivityWithFragment
public final Fragment M() {
int i = 2 % 2;
int i2 = p + 113;
f7965o = i2 % 128;
Object obj = null;
if (i2 % 2 == 0) {
return TermsConditionsFragment.d((JP) null);
}
TermsConditionsFragment.d((JP) null);
obj.hashCode();
throw null;
}
@Override // com.scb.phone.view.activity.BaseActivityWithFragment
public final String L() {
int i = 2 % 2;
int i2 = p + 47;
f7965o = i2 % 128;
if (i2 % 2 == 0) {
return getString(R.string.edonation_consent_title);
}
getString(R.string.edonation_consent_title);
Object obj = null;
obj.hashCode();
throw null;
}
@Override // o.fJH
public final void g() {
C6381cRB c6381cRB;
C1193Xr c1193Xr;
boolean z;
int i = 2 % 2;
int i2 = f7965o + 9;
p = i2 % 128;
if (i2 % 2 == 0) {
c6381cRB = this.presenter;
c1193Xr = (C1193Xr) getIntent().getParcelableExtra("com.scb.phone.EXTRA_BILL_PAYMENT_DISPLAY");
z = false;
} else {
c6381cRB = this.presenter;
c1193Xr = (C1193Xr) getIntent().getParcelableExtra("com.scb.phone.EXTRA_BILL_PAYMENT_DISPLAY");
z = true;
}
c6381cRB.b(c1193Xr, z);
int i3 = f7965o + 115;
p = i3 % 128;
int i4 = i3 % 2;
}
private static void aB(int i, char[] cArr, int i2, boolean z, int i3, Object[] objArr) {
int i4 = 2 % 2;
zUI zui = new zUI();
char[] cArr2 = new char[i];
zui.d = 0;
while (zui.d < i) {
int i5 = $10 + 101;
$11 = i5 % 128;
int i6 = i5 % 2;
zui.c = cArr[zui.d];
cArr2[zui.d] = (char) (i2 + zui.c);
int i7 = zui.d;
try {
Object[] objArr2 = {Integer.valueOf(cArr2[i7]), Integer.valueOf(k)};
Object obj = xzZ.y.get(880493502);
if (obj == null) {
Class cls = (Class) xzZ.c(Process.getGidForName("") + CipherSuite.TLS_DHE_PSK_WITH_AES_128_CBC_SHA, 7 - (ViewConfiguration.getTapTimeout() >> 16), (char) (ViewConfiguration.getWindowTouchSlop() >> 8));
byte b = (byte) 0;
byte b2 = b;
Object[] objArr3 = new Object[1];
aC(b, b2, b2, objArr3);
obj = cls.getMethod((String) objArr3[0], Integer.TYPE, Integer.TYPE);
xzZ.y.put(880493502, obj);
}
cArr2[i7] = ((Character) ((Method) obj).invoke(null, objArr2)).charValue();
try {
Object[] objArr4 = {zui, zui};
Object obj2 = xzZ.y.get(1294990079);
if (obj2 == null) {
Class cls2 = (Class) xzZ.c((ViewConfiguration.getFadingEdgeLength() >> 16) + 342, 4 - TextUtils.indexOf((CharSequence) "", '0', 0), (char) (ViewConfiguration.getMinimumFlingVelocity() >> 16));
byte b3 = (byte) 0;
Object[] objArr5 = new Object[1];
aC((byte) 7, b3, b3, objArr5);
obj2 = cls2.getMethod((String) objArr5[0], Object.class, Object.class);
xzZ.y.put(1294990079, obj2);
}
((Method) obj2).invoke(null, objArr4);
} catch (Throwable th) {
Throwable cause = th.getCause();
if (cause == null) {
throw th;
}
throw cause;
}
} catch (Throwable th2) {
Throwable cause2 = th2.getCause();
if (cause2 == null) {
throw th2;
}
throw cause2;
}
}
if (i3 > 0) {
zui.a = i3;
char[] cArr3 = new char[i];
System.arraycopy(cArr2, 0, cArr3, 0, i);
System.arraycopy(cArr3, 0, cArr2, i - zui.a, zui.a);
System.arraycopy(cArr3, zui.a, cArr2, 0, i - zui.a);
}
if (z) {
char[] cArr4 = new char[i];
zui.d = 0;
while (zui.d < i) {
int i8 = $11 + 117;
$10 = i8 % 128;
if (i8 % 2 != 0) {
cArr4[zui.d] = cArr2[(i << zui.d) + 1];
try {
Object[] objArr6 = {zui, zui};
Object obj3 = xzZ.y.get(1294990079);
if (obj3 == null) {
Class cls3 = (Class) xzZ.c((ExpandableListView.getPackedPositionForChild(0, 0) > 0L ? 1 : (ExpandableListView.getPackedPositionForChild(0, 0) == 0L ? 0 : -1)) + 343, (CdmaCellLocation.convertQuartSecToDecDegrees(0) > 0.0d ? 1 : (CdmaCellLocation.convertQuartSecToDecDegrees(0) == 0.0d ? 0 : -1)) + 5, (char) ((-1) - ImageFormat.getBitsPerPixel(0)));
byte b4 = (byte) 0;
Object[] objArr7 = new Object[1];
aC((byte) 7, b4, b4, objArr7);
obj3 = cls3.getMethod((String) objArr7[0], Object.class, Object.class);
xzZ.y.put(1294990079, obj3);
}
((Method) obj3).invoke(null, objArr6);
} catch (Throwable th3) {
Throwable cause3 = th3.getCause();
if (cause3 == null) {
throw th3;
}
throw cause3;
}
} else {
cArr4[zui.d] = cArr2[(i - zui.d) - 1];
Object[] objArr8 = {zui, zui};
Object obj4 = xzZ.y.get(1294990079);
if (obj4 == null) {
Class cls4 = (Class) xzZ.c(342 - Color.green(0), (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)) + 5, (char) (TextUtils.indexOf((CharSequence) "", '0') + 1));
byte b5 = (byte) 0;
Object[] objArr9 = new Object[1];
aC((byte) 7, b5, b5, objArr9);
obj4 = cls4.getMethod((String) objArr9[0], Object.class, Object.class);
xzZ.y.put(1294990079, obj4);
}
((Method) obj4).invoke(null, objArr8);
}
}
cArr2 = cArr4;
}
objArr[0] = new String(cArr2);
}
@Override // o.InterfaceC9010dbe.huo
public final void c(JP jp) {
int i = 2 % 2;
int i2 = f7965o + 15;
p = i2 % 128;
int i3 = i2 % 2;
Fragment d = TermsConditionsFragment.d(jp);
if (i3 == 0) {
AbstractC13482fbE a = getSupportFragmentManager().a();
a.b(R.id.container, d, null, 4);
a.b();
} else {
AbstractC13482fbE a2 = getSupportFragmentManager().a();
a2.b(R.id.container, d, null, 2);
a2.b();
}
}
@Override // o.InterfaceC9010dbe.huo
public final void d() {
int i = 2 % 2;
int i2 = p + 55;
f7965o = i2 % 128;
int i3 = i2 % 2;
j(false);
int i4 = f7965o + 101;
p = i4 % 128;
if (i4 % 2 == 0) {
int i5 = 79 / 0;
}
}
@Override // o.InterfaceC9010dbe.huo
public final void c(C1193Xr c1193Xr) {
boolean z;
int i = 2 % 2;
int i2 = p;
int i3 = i2 + 75;
f7965o = i3 % 128;
int i4 = i3 % 2;
if (c1193Xr != null) {
int i5 = i2 + 17;
f7965o = i5 % 128;
if (i5 % 2 == 0) {
if (c1193Xr.s != null) {
z = c1193Xr.s.a;
BillPaymentActivity.d(this, MBB.SCAN, c1193Xr, h("source", ""), z);
finish();
int i6 = f7965o + 21;
p = i6 % 128;
int i7 = i6 % 2;
}
} else {
XD xd = c1193Xr.s;
throw null;
}
}
z = true;
BillPaymentActivity.d(this, MBB.SCAN, c1193Xr, h("source", ""), z);
finish();
int i62 = f7965o + 21;
p = i62 % 128;
int i72 = i62 % 2;
}
@Override // o.AbstractActivityC11916eoP, com.scb.phone.view.activity.BaseActivityWithFragment, com.scb.phone.view.activity.BaseActivity, com.scb.phone.view.activity.PreLoadCheckActivity, com.akexorcist.localizationactivity.LocalizationActivity, androidx.appcompat.app.AppCompatActivity, androidx.fragment.app.FragmentActivity, androidx.activity.ComponentActivity, androidx.core.app.ComponentActivity, android.app.Activity
public void onResume() {
int i = 2 % 2;
Context baseContext = getBaseContext();
if (baseContext == null) {
int i2 = f7965o + 39;
p = i2 % 128;
int i3 = i2 % 2;
Object[] objArr = new Object[1];
aB((ViewConfiguration.getEdgeSlop() >> 16) + 26, new char[]{'\f', 15, 1, 11, 65534, 1, 65534, 2, 15, 5, 65521, 22, 17, 6, 19, 6, 17, 0, 65502, 65483, '\r', '\r', 65534, 65483, 1, 6}, ((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getResources().getString(R.string.taking_photo_details_hml_pdf_accepted_formats).substring(18, 19).length() + 269, true, ((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getResources().getString(R.string.submit_ekyc_title_breadcrumb_th).substring(0, 21).length() - 16, objArr);
Class<?> cls = Class.forName((String) objArr[0]);
Object[] objArr2 = new Object[1];
aB(((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getPackageName().length() + 5, new char[]{4, 65531, '\b', '\b', 11, 65529, 4, 5, 65535, '\n', 65527, 65529, 65535, 2, 6, 6, 65495, '\n'}, ((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getResources().getString(R.string.account_management_mutual_fund_errror_message).substring(6, 7).length() + 276, true, ((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getPackageName().length() - 7, objArr2);
baseContext = (Context) cls.getMethod((String) objArr2[0], new Class[0]).invoke(null, null);
}
if (baseContext != null) {
int i4 = f7965o + 101;
p = i4 % 128;
if (i4 % 2 == 0) {
baseContext.getApplicationContext();
throw null;
}
baseContext = baseContext.getApplicationContext();
}
if (baseContext != null) {
int i5 = f7965o + 71;
p = i5 % 128;
int i6 = i5 % 2;
try {
Object obj = xzZ.y.get(125943855);
if (obj == null) {
obj = ((Class) xzZ.c(492 - (ViewConfiguration.getMaximumFlingVelocity() >> 16), 5 - Color.blue(0), (char) TextUtils.getTrimmedLength(""))).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(View.MeasureSpec.getSize(0) + 487, TextUtils.indexOf("", "", 0, 0) + 5, (char) (KeyEvent.getMaxKeyCode() >> 16))).getMethod(KtaJsonExactionHelper.OBJECT, Context.class);
xzZ.y.put(1378719468, obj2);
}
((Method) obj2).invoke(invoke, objArr3);
} catch (Throwable th) {
Throwable cause = th.getCause();
if (cause == null) {
throw th;
}
throw cause;
}
}
super.onResume();
}
@Override // o.AbstractActivityC11916eoP, com.scb.phone.view.activity.BaseActivityWithFragment, com.scb.phone.view.activity.BaseActivity, com.scb.phone.view.activity.PreLoadCheckActivity, com.akexorcist.localizationactivity.LocalizationActivity, androidx.appcompat.app.AppCompatActivity, androidx.fragment.app.FragmentActivity, androidx.activity.ComponentActivity, androidx.core.app.ComponentActivity, android.app.Activity
public void onPause() {
int i = 2 % 2;
Context baseContext = getBaseContext();
if (baseContext == null) {
Object[] objArr = new Object[1];
aB((ViewConfiguration.getDoubleTapTimeout() >> 16) + 26, new char[]{'\f', 15, 1, 11, 65534, 1, 65534, 2, 15, 5, 65521, 22, 17, 6, 19, 6, 17, 0, 65502, 65483, '\r', '\r', 65534, 65483, 1, 6}, ((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getResources().getString(R.string.total_vat_label).substring(0, 3).codePointAt(1) + 205, true, ((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getApplicationInfo().targetSdkVersion - 29, objArr);
Class<?> cls = Class.forName((String) objArr[0]);
Object[] objArr2 = new Object[1];
aB(((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getResources().getString(R.string.successful_qr_code_bill_payment_header).substring(19, 20).codePointAt(0) - 14, new char[]{4, 65531, '\b', '\b', 11, 65529, 4, 5, 65535, '\n', 65527, 65529, 65535, 2, 6, 6, 65495, '\n'}, ((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getResources().getString(R.string.ndid_service_description).substring(61, 62).codePointAt(0) + 245, true, ((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getPackageName().codePointAt(0) - 93, objArr2);
baseContext = (Context) cls.getMethod((String) objArr2[0], new Class[0]).invoke(null, null);
}
if (baseContext != null) {
int i2 = f7965o + 29;
p = i2 % 128;
int i3 = i2 % 2;
baseContext = baseContext.getApplicationContext();
int i4 = f7965o + 89;
p = i4 % 128;
int i5 = i4 % 2;
}
if (baseContext != null) {
int i6 = f7965o + 37;
p = i6 % 128;
int i7 = i6 % 2;
try {
Object obj = xzZ.y.get(125943855);
if (obj == null) {
obj = ((Class) xzZ.c(491 - TextUtils.indexOf((CharSequence) "", '0', 0), 4 - TextUtils.indexOf((CharSequence) "", '0'), (char) Color.argb(0, 0, 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.getEdgeSlop() >> 16), 5 - KeyEvent.getDeadChar(0, 0), (char) ((ViewConfiguration.getGlobalActionKeyTimeout() > 0L ? 1 : (ViewConfiguration.getGlobalActionKeyTimeout() == 0L ? 0 : -1)) - 1))).getMethod("c", Context.class);
xzZ.y.put(1633456013, obj2);
}
((Method) obj2).invoke(invoke, objArr3);
int i8 = f7965o + 43;
p = i8 % 128;
if (i8 % 2 == 0) {
int i9 = 3 % 3;
}
} catch (Throwable th) {
Throwable cause = th.getCause();
if (cause == null) {
throw th;
}
throw cause;
}
}
super.onPause();
}
@Override // o.AbstractActivityC11916eoP, com.scb.phone.view.activity.BaseActivityWithFragment, com.scb.phone.view.activity.BaseActivity, com.scb.phone.view.activity.PreLoadCheckActivity, com.akexorcist.localizationactivity.LocalizationActivity, androidx.appcompat.app.AppCompatActivity, androidx.fragment.app.FragmentActivity, androidx.activity.ComponentActivity, androidx.core.app.ComponentActivity, android.app.Activity, android.view.ContextThemeWrapper, android.content.ContextWrapper
public void attachBaseContext(Context context) {
int i = 2 % 2;
int i2 = f7965o + 79;
p = i2 % 128;
int i3 = i2 % 2;
super.attachBaseContext(context);
Object[] objArr = new Object[1];
ay(View.MeasureSpec.makeMeasureSpec(0, 0), 17 - TextUtils.indexOf((CharSequence) "", '0', 0), (char) (ViewConfiguration.getFadingEdgeLength() >> 16), objArr);
Class<?> cls = Class.forName((String) objArr[0]);
Object[] objArr2 = new Object[1];
aB(6 - (SystemClock.elapsedRealtimeNanos() > 0L ? 1 : (SystemClock.elapsedRealtimeNanos() == 0L ? 0 : -1)), new char[]{5, 17, 65517, 1, 65532}, 275 - View.resolveSize(0, 0), false, 4 - TextUtils.lastIndexOf("", '0'), objArr2);
int intValue = ((Integer) cls.getDeclaredMethod((String) objArr2[0], new Class[0]).invoke(null, new Object[0])).intValue() % 100000;
if (intValue >= 99000) {
int i4 = f7965o + 51;
p = i4 % 128;
if (i4 % 2 == 0) {
int i5 = 27 / 0;
if (intValue <= 99999) {
return;
}
} else if (intValue <= 99999) {
return;
}
}
Context applicationContext = context != null ? context.getApplicationContext() : context;
if (applicationContext != null) {
try {
Object obj = xzZ.y.get(125943855);
if (obj == null) {
obj = ((Class) xzZ.c((ViewConfiguration.getScrollDefaultDelay() >> 16) + 492, 5 - TextUtils.indexOf("", "", 0, 0), (char) Color.green(0))).getMethod("a", null);
xzZ.y.put(125943855, obj);
}
Object invoke = ((Method) obj).invoke(null, null);
Object[] objArr3 = new Object[1];
ay(18 - TextUtils.getOffsetAfter("", 0), 49 - (Process.getElapsedCpuTime() > 0L ? 1 : (Process.getElapsedCpuTime() == 0L ? 0 : -1)), (char) (Color.rgb(0, 0, 0) + 16783118), objArr3);
String str = (String) objArr3[0];
Object[] objArr4 = new Object[1];
ay(65 - ImageFormat.getBitsPerPixel(0), 65 - (ViewConfiguration.getZoomControlsTimeout() > 0L ? 1 : (ViewConfiguration.getZoomControlsTimeout() == 0L ? 0 : -1)), (char) ((-1) - TextUtils.lastIndexOf("", '0', 0, 0)), objArr4);
String str2 = (String) objArr4[0];
Object[] objArr5 = new Object[1];
ay(130 - Color.red(0), (ViewConfiguration.getGlobalActionKeyTimeout() > 0L ? 1 : (ViewConfiguration.getGlobalActionKeyTimeout() == 0L ? 0 : -1)) + 63, (char) (37070 - ExpandableListView.getPackedPositionGroup(0L)), objArr5);
String str3 = (String) objArr5[0];
Object[] objArr6 = new Object[1];
ay(194 - (ViewConfiguration.getMinimumFlingVelocity() >> 16), 73 - TextUtils.lastIndexOf("", '0'), (char) ((-1) - TextUtils.lastIndexOf("", '0', 0)), objArr6);
String str4 = (String) objArr6[0];
Object[] objArr7 = new Object[1];
ay(268 - Color.argb(0, 0, 0, 0), 5 - (ExpandableListView.getPackedPositionForGroup(0) > 0L ? 1 : (ExpandableListView.getPackedPositionForGroup(0) == 0L ? 0 : -1)), (char) ((ViewConfiguration.getTapTimeout() >> 16) + 11534), objArr7);
String str5 = (String) objArr7[0];
Object[] objArr8 = new Object[1];
ay(View.resolveSize(0, 0) + 273, 36 - Color.red(0), (char) (KeyEvent.getMaxKeyCode() >> 16), 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((ViewConfiguration.getMinimumFlingVelocity() >> 16) + 487, 4 - TextUtils.lastIndexOf("", '0', 0), (char) (ViewConfiguration.getWindowTouchSlop() >> 8))).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;
}
}
}
@Override // o.AbstractActivityC11916eoP, com.scb.phone.view.activity.BaseActivityWithFragment, com.scb.phone.view.activity.BaseActivity, com.scb.phone.view.activity.PreLoadCheckActivity, com.akexorcist.localizationactivity.LocalizationActivity, androidx.appcompat.app.AppCompatActivity, androidx.fragment.app.FragmentActivity, androidx.activity.ComponentActivity, androidx.core.app.ComponentActivity, android.app.Activity
public void onStart() {
int i = 2 % 2;
int i2 = f7965o + 109;
p = i2 % 128;
int i3 = i2 % 2;
super.onStart();
int i4 = p + 53;
f7965o = i4 % 128;
if (i4 % 2 != 0) {
int i5 = 18 / 0;
}
}
@Override // o.fJH
public final void h() {
b(new Object[]{this}, 1809244376, -1809244376, ((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getApplicationInfo().targetSdkVersion - 673344463);
}
}