what-the-bank/sources/com/scb/phone/view/activity/partner/PartnerRepaymentTermsAndCon...

653 lines
36 KiB
Java
Raw Permalink Normal View History

2024-07-27 18:17:47 +07:00
package com.scb.phone.view.activity.partner;
import android.content.Context;
import android.graphics.Color;
import android.graphics.PointF;
import android.os.Bundle;
import android.os.Process;
import android.os.SystemClock;
import android.telephony.cdma.CdmaCellLocation;
import android.text.AndroidCharacter;
import android.text.TextUtils;
import android.view.KeyEvent;
import android.view.MotionEvent;
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.scb.phone.R;
import com.scb.phone.view.fragment.TermsAndConditionsFragment;
import java.lang.reflect.Method;
import net.sf.scuba.smartcards.ISO7816;
import o.AbstractC13482fbE;
import o.C0371Fd;
import o.C14957gcv;
import o.C4403bZM;
import o.C7188cja;
import o.CQ;
import o.GuL;
import o.InterfaceC13391fZD;
import o.InterfaceC9467dkL;
import o.ZI;
import o.xzZ;
import org.bouncycastle.crypto.tls.CipherSuite;
/* loaded from: classes5.dex */
public final class PartnerRepaymentTermsAndConditionsActivity extends Hilt_PartnerRepaymentTermsAndConditionsActivity implements InterfaceC9467dkL.LWm {
public static final HBt k;
private static long l;
/* renamed from: o, reason: collision with root package name */
private static int[] f7694o;
private static int s;
@InterfaceC13391fZD
public C7188cja presenter;
private static final byte[] $$y = {123, ISO7816.INS_READ_RECORD2, ISO7816.INS_MSE, -23};
private static final int $$z = CipherSuite.TLS_DHE_PSK_WITH_NULL_SHA384;
private static int $10 = 0;
private static int $11 = 1;
private static int m = 0;
/* JADX WARN: Removed duplicated region for block: B:10:0x0026 */
/* JADX WARN: Removed duplicated region for block: B:7:0x001e */
/* JADX WARN: Unsupported multi-entry loop pattern (BACK_EDGE: B:10:0x0026 -> B:4:0x002a). 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 aF(short r5, short r6, byte r7, java.lang.Object[] r8) {
/*
byte[] r0 = com.scb.phone.view.activity.partner.PartnerRepaymentTermsAndConditionsActivity.$$y
int r5 = 121 - r5
int r7 = r7 * 3
int r1 = 1 - r7
int r6 = r6 * 3
int r6 = 3 - r6
byte[] r1 = new byte[r1]
r2 = 0
int r7 = 0 - r7
if (r0 != 0) goto L16
r4 = r7
r3 = r2
goto L2a
L16:
r3 = r2
L17:
int r6 = r6 + 1
byte r4 = (byte) r5
r1[r3] = r4
if (r3 != r7) goto L26
java.lang.String r5 = new java.lang.String
r5.<init>(r1, r2)
r8[r2] = r5
return
L26:
int r3 = r3 + 1
r4 = r0[r6]
L2a:
int r5 = r5 + r4
goto L17
*/
throw new UnsupportedOperationException("Method not decompiled: com.scb.phone.view.activity.partner.PartnerRepaymentTermsAndConditionsActivity.aF(short, short, byte, java.lang.Object[]):void");
}
/* loaded from: classes5.dex */
public static final class HBt {
private HBt() {
}
public /* synthetic */ HBt(byte b) {
this();
}
}
private static void aD(char[] cArr, int i, Object[] objArr) {
int i2 = 2 % 2;
GuL guL = new GuL();
char[] a = GuL.a(l ^ (-7538262848231253921L), cArr, i);
guL.a = 4;
while (guL.a < a.length) {
guL.c = guL.a - 4;
int i3 = guL.a;
try {
Object[] objArr2 = {Long.valueOf(a[guL.a] ^ a[guL.a % 4]), Long.valueOf(guL.c), Long.valueOf(l)};
Object obj = xzZ.y.get(428080616);
if (obj == null) {
Class cls = (Class) xzZ.c((ViewConfiguration.getScrollFriction() > BitmapDescriptorFactory.HUE_RED ? 1 : (ViewConfiguration.getScrollFriction() == BitmapDescriptorFactory.HUE_RED ? 0 : -1)) + 207, (ViewConfiguration.getKeyRepeatTimeout() >> 16) + 5, (char) (1706 - Color.alpha(0)));
byte b = (byte) 2;
byte b2 = (byte) (b - 2);
Object[] objArr3 = new Object[1];
aF(b, b2, b2, objArr3);
obj = cls.getMethod((String) objArr3[0], Long.TYPE, Long.TYPE, Long.TYPE);
xzZ.y.put(428080616, obj);
}
a[i3] = ((Character) ((Method) obj).invoke(null, objArr2)).charValue();
Object[] objArr4 = {guL, guL};
Object obj2 = xzZ.y.get(-1875914398);
if (obj2 == null) {
Class cls2 = (Class) xzZ.c(392 - (Process.myPid() >> 22), (Process.myPid() >> 22) + 5, (char) (Process.myPid() >> 22));
byte b3 = (byte) 0;
byte b4 = b3;
Object[] objArr5 = new Object[1];
aF(b3, b4, b4, objArr5);
obj2 = cls2.getMethod((String) objArr5[0], Object.class, Object.class);
xzZ.y.put(-1875914398, obj2);
}
((Method) obj2).invoke(null, objArr4);
int i4 = $10 + 19;
$11 = i4 % 128;
int i5 = i4 % 2;
} catch (Throwable th) {
Throwable cause = th.getCause();
if (cause == null) {
throw th;
}
throw cause;
}
}
String str = new String(a, 4, a.length - 4);
int i6 = $10 + 71;
$11 = i6 % 128;
int i7 = i6 % 2;
objArr[0] = str;
}
@Override // com.scb.phone.view.activity.partner.Hilt_PartnerRepaymentTermsAndConditionsActivity, 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 final void onCreate(Bundle bundle) {
int i = 2 % 2;
int i2 = s + 21;
m = i2 % 128;
int i3 = i2 % 2;
C7188cja c7188cja = null;
Object[] objArr = new Object[1];
aD(new char[]{41131, 41162, 53189, 56465, 2443, 59992, 12187, 54148, 60460, 44942, 23715, 21820, 14612, 25276, 61425, 170, 18017, 13912, 8916, 62343, 37752, 35180}, ((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getApplicationInfo().targetSdkVersion - 34, objArr);
Class<?> cls = Class.forName((String) objArr[0]);
Object[] objArr2 = new Object[1];
aE(new int[]{-55983698, -1088904678, -2102309173, -1537632703}, ((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getApplicationInfo().targetSdkVersion - 29, objArr2);
int intValue = ((Integer) cls.getDeclaredMethod((String) objArr2[0], new Class[0]).invoke(null, new Object[0])).intValue() % 100000;
if (intValue < 99000 || intValue > 99999) {
Context baseContext = getBaseContext();
if (baseContext == null) {
Object[] objArr3 = new Object[1];
aE(new int[]{-647441038, -696351087, -333912200, -1657009347, -1651304072, -448758629, -213996630, 103830859, -1424441960, -926707423, 1609560257, 1735051250, -140310976, 1658481276}, View.resolveSizeAndState(0, 0, 0) + 26, objArr3);
Class<?> cls2 = Class.forName((String) objArr3[0]);
Object[] objArr4 = new Object[1];
aE(new int[]{1491460417, -957330520, -627650470, -1677385327, -219059119, 1087132004, -933728082, -1557903171, 755131064, -141491733}, ((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getResources().getString(R.string.activate_card_detail_header_register_flow).substring(25, 26).length() + 17, 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 = s + 39;
m = i4 % 128;
int i5 = i4 % 2;
try {
Object obj = xzZ.y.get(125943855);
if (obj == null) {
obj = ((Class) xzZ.c(540 - AndroidCharacter.getMirror('0'), 5 - View.resolveSize(0, 0), (char) View.getDefaultSize(0, 0))).getMethod("a", null);
xzZ.y.put(125943855, obj);
}
Object invoke = ((Method) obj).invoke(null, null);
Object[] objArr5 = new Object[1];
aD(new char[]{49904, 49857, 60911, 65250, 65497, 626, 55705, 15294, 36395, 36270, 43683, 48457, 23362, 16604, 6639, 59553, 9339, 5247, 54406, 7136, 61746, 43782, 33727, 22216, 16971, 32281, 32516, 33201, 4070, 3443, 10782, 15509, 55499, 49220, 39217, 28553, 42369, 38816, 21525, 39777, 30398, 10984, 871, 54794, 50130, 63889, 65060, 309, 36715, 36069, 44432, 48172}, (SystemClock.uptimeMillis() > 0L ? 1 : (SystemClock.uptimeMillis() == 0L ? 0 : -1)) - 1, objArr5);
String str = (String) objArr5[0];
Object[] objArr6 = new Object[1];
aD(new char[]{55894, 55859, 11985, 15753, 11884, 37681, 2094, 43770, 38536, 20113, 31558, 11349, 17379, 33774, 51288, 31154, 15580, 55061, 1333, 35501, 59840, 26687, 21003, 51078, 23229, 48421, 44723, 4344, 5909, 52813, 64506, 44423, 49212, 890, 18642, 65220, 48417, 21660, 34223, 2677, 28235, 59787, 53968, 18254, 56176, 15097, 12235, 36978, 38811, 20434, 31860, 11582, 16594, 33011, 51484, 32323, 15869, 54763, 1575, 35822, 61150, 26968, 21307, 50332, 23544, 47713, 41027, 4569}, ViewConfiguration.getMaximumFlingVelocity() >> 16, objArr6);
String str2 = (String) objArr6[0];
Object[] objArr7 = new Object[1];
aE(new int[]{1329060223, -895167454, 1938095952, 1832765851, 282390769, -903361589, -438154033, -910004773, 1887356062, 949207695, -1179154141, 785980249, 250723197, 1524747262, 189863173, -919346041, -1249307420, -942995344, 149055147, -1459598005, -1040385403, -139155778, 1046972598, -474781757, -177328141, -208320240, 223579313, -1041180669, -1036336927, 1244450626, -1980211868, -833290472}, ((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getResources().getString(R.string.prepaid_card_request_account_error_title).substring(42, 43).codePointAt(0) + 32, objArr7);
String str3 = (String) objArr7[0];
Object[] objArr8 = new Object[1];
aE(new int[]{1781506263, 1674309370, 636006368, 1320821459, -654976185, 1559344625, 1616656272, -1110271959, -676476082, 64157340, -515671847, 670107474, 1338736893, -1438706501, 468095176, 344761044, 1604207975, 1899290209, -1214188511, 1055048822, 965114950, 540203331, -1935165084, 1190083496, 820257850, -1335179962, 1701881719, -186536829, -110245026, -859849980, 1753208320, -721870196, -1534022215, 303932122, 1531637618, -1939021122, -1967233920, 2019107699}, 74 - TextUtils.getTrimmedLength(""), objArr8);
String str4 = (String) objArr8[0];
Object[] objArr9 = new Object[1];
aE(new int[]{155578262, 737347453, -666842098, -120746292}, ((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];
aE(new int[]{-1585018268, -1835252665, 1841698908, -1482302256, -530876228, -1744251664, 1353568700, 1034809902, -1260386455, -42263515, 2025822449, 1138047459, -573787459, -1904441934, -1699333979, -1028559994, 1787251288, 415797603}, ((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getPackageName().length() + 23, 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(486 - (ExpandableListView.getPackedPositionForChild(0, 0) > 0L ? 1 : (ExpandableListView.getPackedPositionForChild(0, 0) == 0L ? 0 : -1)), 5 - (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)), (char) ExpandableListView.getPackedPositionGroup(0L))).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);
C7188cja c7188cja2 = this.presenter;
if (c7188cja2 != null) {
c7188cja = c7188cja2;
} else {
C14957gcv.a("");
}
c7188cja.e((C7188cja) this);
String stringExtra = getIntent().getStringExtra("EXTRA_DEEJUNG_TERMS_AND_CONDITIONS_URL");
if (stringExtra == null) {
int i6 = m + 59;
s = i6 % 128;
int i7 = i6 % 2;
stringExtra = "";
}
C14957gcv.e(stringExtra, "");
final C0371Fd d = CQ.d(c7188cja.a, stringExtra, null, null, null, false, false, false, null, null, null, 0, 1992);
ZI.IeS ieS = new ZI.IeS(d) { // from class: o.ciX
private C0371Fd d;
@Override // o.ZI.IeS
public final void e(Object obj3) {
C7188cja.a(this.d, (InterfaceC9467dkL.LWm) obj3);
}
{
this.d = d;
}
};
if (c7188cja.f != 0) {
ieS.e(c7188cja.f);
return;
}
int i8 = s + 77;
m = i8 % 128;
int i9 = i8 % 2;
}
/* JADX INFO: Access modifiers changed from: private */
public static /* synthetic */ Object c(Object[] objArr) {
PartnerRepaymentTermsAndConditionsActivity partnerRepaymentTermsAndConditionsActivity = (PartnerRepaymentTermsAndConditionsActivity) objArr[0];
int i = 2 % 2;
int i2 = m + 99;
s = i2 % 128;
int i3 = i2 % 2;
String string = partnerRepaymentTermsAndConditionsActivity.getString(R.string.terms_and_conditions_title);
C14957gcv.c((Object) string, "");
if (i3 != 0) {
return string;
}
throw null;
}
@Override // com.scb.phone.view.activity.BaseActivityWithFragment
public final Fragment M() {
int i = 2 % 2;
Fragment fragment = new Fragment();
int i2 = m + 17;
s = i2 % 128;
if (i2 % 2 == 0) {
int i3 = 48 / 0;
}
return fragment;
}
@Override // o.InterfaceC9652dno
public final void a(C0371Fd c0371Fd) {
int i = 2 % 2;
int i2 = s + 99;
m = i2 % 128;
int i3 = i2 % 2;
C14957gcv.e(c0371Fd, "");
TermsAndConditionsFragment.HBt hBt = TermsAndConditionsFragment.c;
TermsAndConditionsFragment c = TermsAndConditionsFragment.HBt.c(c0371Fd);
AbstractC13482fbE a = getSupportFragmentManager().a();
a.b(R.id.container, c, null, 2);
a.b();
int i4 = s + 125;
m = i4 % 128;
int i5 = i4 % 2;
}
private static void aE(int[] iArr, int i, Object[] objArr) {
int i2;
int[] iArr2;
char c;
int i3 = 2 % 2;
C4403bZM c4403bZM = new C4403bZM();
char[] cArr = new char[4];
char[] cArr2 = new char[iArr.length * 2];
int[] iArr3 = f7694o;
int i4 = 1;
char c2 = 0;
if (iArr3 != null) {
int length = iArr3.length;
int[] iArr4 = new int[length];
int i5 = 0;
while (i5 < length) {
try {
Object[] objArr2 = new Object[i4];
objArr2[0] = Integer.valueOf(iArr3[i5]);
Object obj = xzZ.y.get(729798706);
if (obj == null) {
obj = ((Class) xzZ.c(15 - View.combineMeasuredStates(0, 0), TextUtils.getTrimmedLength("") + 5, (char) ((ViewConfiguration.getKeyRepeatDelay() >> 16) + 58134))).getMethod("i", Integer.TYPE);
xzZ.y.put(729798706, obj);
}
iArr4[i5] = ((Integer) ((Method) obj).invoke(null, objArr2)).intValue();
i5++;
i4 = 1;
} 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 = f7694o;
if (iArr6 != null) {
int length3 = iArr6.length;
int[] iArr7 = new int[length3];
int i6 = 0;
while (i6 < length3) {
int i7 = $11 + 107;
$10 = i7 % 128;
int i8 = i7 % 2;
Object[] objArr3 = new Object[1];
objArr3[c2] = Integer.valueOf(iArr6[i6]);
Object obj2 = xzZ.y.get(729798706);
if (obj2 != null) {
iArr2 = iArr6;
c = 55346;
} else {
iArr2 = iArr6;
Method method = ((Class) xzZ.c(View.resolveSize(0, 0) + 15, 5 - Color.red(0), (char) (KeyEvent.normalizeMetaState(0) + 58134))).getMethod("i", Integer.TYPE);
c = 55346;
xzZ.y.put(729798706, method);
obj2 = method;
}
iArr7[i6] = ((Integer) ((Method) obj2).invoke(null, objArr3)).intValue();
i6++;
iArr6 = iArr2;
c2 = 0;
}
int i9 = $11 + 119;
$10 = i9 % 128;
int i10 = i9 % 2;
iArr6 = iArr7;
i2 = 0;
} else {
i2 = 0;
}
System.arraycopy(iArr6, i2, iArr5, i2, length2);
c4403bZM.b = i2;
while (c4403bZM.b < iArr.length) {
cArr[i2] = (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 i11 = $10 + 95;
$11 = i11 % 128;
int i12 = 2;
int i13 = i11 % 2;
int i14 = 0;
while (i14 < 16) {
int i15 = $10 + 99;
$11 = i15 % 128;
int i16 = i15 % i12;
c4403bZM.e ^= iArr5[i14];
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 - Color.red(0), (ViewConfiguration.getKeyRepeatTimeout() >> 16) + 5, (char) (ViewConfiguration.getScrollDefaultDelay() >> 16));
byte b = (byte) 0;
Object[] objArr5 = new Object[1];
aF((byte) ($$z & 91), b, b, 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;
i14++;
int i17 = $10 + 45;
$11 = i17 % 128;
int i18 = i17 % 2;
i12 = 2;
}
int i19 = c4403bZM.e;
c4403bZM.e = c4403bZM.a;
c4403bZM.a = i19;
c4403bZM.a ^= iArr5[16];
c4403bZM.e ^= iArr5[17];
int i20 = c4403bZM.e;
int i21 = 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(98 - TextUtils.getCapsMode("", 0, 0), 5 - View.MeasureSpec.getMode(0), (char) (ExpandableListView.getPackedPositionChild(0L) + 1));
byte b2 = (byte) 0;
Object[] objArr7 = new Object[1];
aF((byte) 19, b2, b2, objArr7);
obj4 = cls2.getMethod((String) objArr7[0], Object.class, Object.class);
xzZ.y.put(1914371176, obj4);
}
((Method) obj4).invoke(null, objArr6);
i2 = 0;
}
objArr[0] = new String(cArr2, 0, i);
}
/* JADX WARN: Code restructure failed: missing block: B:27:0x0021, code lost:
r1 = com.scb.phone.view.activity.partner.PartnerRepaymentTermsAndConditionsActivity.m + 49;
com.scb.phone.view.activity.partner.PartnerRepaymentTermsAndConditionsActivity.s = r1 % 128;
r1 = r1 % 2;
r7 = (java.lang.Object[]) null;
r7 = new java.lang.Object[1];
aE(new int[]{-647441038, -696351087, -333912200, -1657009347, -1651304072, -448758629, -213996630, 103830859, -1424441960, -926707423, 1609560257, 1735051250, -140310976, 1658481276}, ((android.content.Context) java.lang.Class.forName("android.app.ActivityThread").getMethod("currentApplication", new java.lang.Class[0]).invoke(null, null)).getApplicationContext().getPackageName().length() + 13, r7);
r1 = java.lang.Class.forName((java.lang.String) r7[0]);
r7 = new java.lang.Object[1];
aE(new int[]{1491460417, -957330520, -627650470, -1677385327, -219059119, 1087132004, -933728082, -1557903171, 755131064, -141491733}, ((android.content.Context) java.lang.Class.forName("android.app.ActivityThread").getMethod("currentApplication", new java.lang.Class[0]).invoke(null, null)).getApplicationContext().getResources().getString(com.scb.phone.R.string.point_exchange_rate).substring(0, 12).codePointAt(3) - 97, r7);
r1 = (android.content.Context) r1.getMethod((java.lang.String) r7[0], new java.lang.Class[0]).invoke(null, null);
r5 = com.scb.phone.view.activity.partner.PartnerRepaymentTermsAndConditionsActivity.s + 95;
com.scb.phone.view.activity.partner.PartnerRepaymentTermsAndConditionsActivity.m = r5 % 128;
r5 = r5 % 2;
*/
/* JADX WARN: Code restructure failed: missing block: B:29:0x001f, code lost:
if (r1 == null) goto L9;
*/
/* JADX WARN: Code restructure failed: missing block: B:4:0x0018, code lost:
if (r1 == null) goto L9;
*/
@Override // com.scb.phone.view.activity.partner.Hilt_PartnerRepaymentTermsAndConditionsActivity, 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 final void onResume() {
/*
Method dump skipped, instructions count: 400
To view this dump add '--comments-level debug' option
*/
throw new UnsupportedOperationException("Method not decompiled: com.scb.phone.view.activity.partner.PartnerRepaymentTermsAndConditionsActivity.onResume():void");
}
@Override // com.scb.phone.view.activity.partner.Hilt_PartnerRepaymentTermsAndConditionsActivity, 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 final void onPause() {
int i = 2 % 2;
Context baseContext = getBaseContext();
if (baseContext == null) {
int i2 = s + 85;
m = i2 % 128;
int i3 = i2 % 2;
Object[] objArr = new Object[1];
aE(new int[]{-647441038, -696351087, -333912200, -1657009347, -1651304072, -448758629, -213996630, 103830859, -1424441960, -926707423, 1609560257, 1735051250, -140310976, 1658481276}, ((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getPackageName().length() + 13, objArr);
Class<?> cls = Class.forName((String) objArr[0]);
Object[] objArr2 = new Object[1];
aE(new int[]{1491460417, -957330520, -627650470, -1677385327, -219059119, 1087132004, -933728082, -1557903171, 755131064, -141491733}, ((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();
}
if (baseContext != null) {
try {
Object obj = xzZ.y.get(125943855);
if (obj == null) {
obj = ((Class) xzZ.c((-16776724) - Color.rgb(0, 0, 0), 4 - MotionEvent.axisFromString(""), (char) (CdmaCellLocation.convertQuartSecToDecDegrees(0) > 0.0d ? 1 : (CdmaCellLocation.convertQuartSecToDecDegrees(0) == 0.0d ? 0 : -1)))).getMethod("a", null);
xzZ.y.put(125943855, obj);
}
Object invoke = ((Method) obj).invoke(null, null);
Object[] objArr3 = {baseContext};
Object obj2 = xzZ.y.get(1633456013);
if (obj2 == null) {
obj2 = ((Class) xzZ.c(487 - (ExpandableListView.getPackedPositionForGroup(0) > 0L ? 1 : (ExpandableListView.getPackedPositionForGroup(0) == 0L ? 0 : -1)), 5 - (ViewConfiguration.getKeyRepeatDelay() >> 16), (char) TextUtils.indexOf("", ""))).getMethod("c", Context.class);
xzZ.y.put(1633456013, obj2);
}
((Method) obj2).invoke(invoke, objArr3);
int i4 = m + 45;
s = i4 % 128;
int i5 = i4 % 2;
} catch (Throwable th) {
Throwable cause = th.getCause();
if (cause == null) {
throw th;
}
throw cause;
}
}
super.onPause();
}
@Override // com.scb.phone.view.activity.partner.Hilt_PartnerRepaymentTermsAndConditionsActivity, 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 final void attachBaseContext(Context context) {
Context context2;
int i = 2 % 2;
super.attachBaseContext(context);
Object[] objArr = new Object[1];
aD(new char[]{41131, 41162, 53189, 56465, 2443, 59992, 12187, 54148, 60460, 44942, 23715, 21820, 14612, 25276, 61425, 170, 18017, 13912, 8916, 62343, 37752, 35180}, Color.argb(0, 0, 0, 0), objArr);
Class<?> cls = Class.forName((String) objArr[0]);
Object[] objArr2 = new Object[1];
aE(new int[]{-55983698, -1088904678, -2102309173, -1537632703}, (ViewConfiguration.getScrollFriction() > BitmapDescriptorFactory.HUE_RED ? 1 : (ViewConfiguration.getScrollFriction() == BitmapDescriptorFactory.HUE_RED ? 0 : -1)) + 4, objArr2);
int intValue = ((Integer) cls.getDeclaredMethod((String) objArr2[0], new Class[0]).invoke(null, new Object[0])).intValue() % 100000;
if (intValue >= 99000) {
int i2 = m + 63;
s = i2 % 128;
if (i2 % 2 == 0) {
throw null;
}
if (intValue <= 99999) {
return;
}
}
if (context != null) {
int i3 = m + 35;
s = i3 % 128;
if (i3 % 2 == 0) {
context2 = context.getApplicationContext();
int i4 = 1 / 0;
} else {
context2 = context.getApplicationContext();
}
} else {
context2 = context;
}
if (context2 != null) {
try {
Object obj = xzZ.y.get(125943855);
if (obj == null) {
obj = ((Class) xzZ.c((SystemClock.currentThreadTimeMillis() > (-1L) ? 1 : (SystemClock.currentThreadTimeMillis() == (-1L) ? 0 : -1)) + 491, 6 - (ViewConfiguration.getZoomControlsTimeout() > 0L ? 1 : (ViewConfiguration.getZoomControlsTimeout() == 0L ? 0 : -1)), (char) View.MeasureSpec.getMode(0))).getMethod("a", null);
xzZ.y.put(125943855, obj);
}
Object invoke = ((Method) obj).invoke(null, null);
Object[] objArr3 = new Object[1];
aD(new char[]{49904, 49857, 60911, 65250, 65497, 626, 55705, 15294, 36395, 36270, 43683, 48457, 23362, 16604, 6639, 59553, 9339, 5247, 54406, 7136, 61746, 43782, 33727, 22216, 16971, 32281, 32516, 33201, 4070, 3443, 10782, 15509, 55499, 49220, 39217, 28553, 42369, 38816, 21525, 39777, 30398, 10984, 871, 54794, 50130, 63889, 65060, 309, 36715, 36069, 44432, 48172}, ViewConfiguration.getMinimumFlingVelocity() >> 16, objArr3);
String str = (String) objArr3[0];
Object[] objArr4 = new Object[1];
aD(new char[]{55894, 55859, 11985, 15753, 11884, 37681, 2094, 43770, 38536, 20113, 31558, 11349, 17379, 33774, 51288, 31154, 15580, 55061, 1333, 35501, 59840, 26687, 21003, 51078, 23229, 48421, 44723, 4344, 5909, 52813, 64506, 44423, 49212, 890, 18642, 65220, 48417, 21660, 34223, 2677, 28235, 59787, 53968, 18254, 56176, 15097, 12235, 36978, 38811, 20434, 31860, 11582, 16594, 33011, 51484, 32323, 15869, 54763, 1575, 35822, 61150, 26968, 21307, 50332, 23544, 47713, 41027, 4569}, (ViewConfiguration.getGlobalActionKeyTimeout() > 0L ? 1 : (ViewConfiguration.getGlobalActionKeyTimeout() == 0L ? 0 : -1)) - 1, objArr4);
String str2 = (String) objArr4[0];
Object[] objArr5 = new Object[1];
aE(new int[]{1329060223, -895167454, 1938095952, 1832765851, 282390769, -903361589, -438154033, -910004773, 1887356062, 949207695, -1179154141, 785980249, 250723197, 1524747262, 189863173, -919346041, -1249307420, -942995344, 149055147, -1459598005, -1040385403, -139155778, 1046972598, -474781757, -177328141, -208320240, 223579313, -1041180669, -1036336927, 1244450626, -1980211868, -833290472}, ExpandableListView.getPackedPositionType(0L) + 64, objArr5);
String str3 = (String) objArr5[0];
Object[] objArr6 = new Object[1];
aE(new int[]{1781506263, 1674309370, 636006368, 1320821459, -654976185, 1559344625, 1616656272, -1110271959, -676476082, 64157340, -515671847, 670107474, 1338736893, -1438706501, 468095176, 344761044, 1604207975, 1899290209, -1214188511, 1055048822, 965114950, 540203331, -1935165084, 1190083496, 820257850, -1335179962, 1701881719, -186536829, -110245026, -859849980, 1753208320, -721870196, -1534022215, 303932122, 1531637618, -1939021122, -1967233920, 2019107699}, 73 - MotionEvent.axisFromString(""), objArr6);
String str4 = (String) objArr6[0];
Object[] objArr7 = new Object[1];
aE(new int[]{155578262, 737347453, -666842098, -120746292}, (ViewConfiguration.getScrollBarSize() >> 8) + 5, objArr7);
String str5 = (String) objArr7[0];
Object[] objArr8 = new Object[1];
aE(new int[]{-1585018268, -1835252665, 1841698908, -1482302256, -530876228, -1744251664, 1353568700, 1034809902, -1260386455, -42263515, 2025822449, 1138047459, -573787459, -1904441934, -1699333979, -1028559994, 1787251288, 415797603}, Process.getGidForName("") + 37, objArr8);
Object[] objArr9 = {context2, str, str2, str3, str4, true, str5, (String) objArr8[0]};
Object obj2 = xzZ.y.get(1656189573);
if (obj2 == null) {
obj2 = ((Class) xzZ.c(487 - (ViewConfiguration.getJumpTapTimeout() >> 16), 5 - ((Process.getThreadPriority(0) + 20) >> 6), (char) Color.blue(0))).getMethod("e", Context.class, String.class, String.class, String.class, String.class, Boolean.TYPE, String.class, String.class);
xzZ.y.put(1656189573, obj2);
}
((Method) obj2).invoke(invoke, objArr9);
} catch (Throwable th) {
Throwable cause = th.getCause();
if (cause == null) {
throw th;
}
throw cause;
}
}
}
static void g() {
l = -854186273837495451L;
f7694o = new int[]{-1733907582, 772662112, -1810801078, 1277884450, 1447041767, -1873982107, -956991186, 1030195580, 1405481160, 1609953355, 1154923450, 238107212, -910538700, -1169504617, 1892007085, 766371639, -82280378, -582854580};
}
@Override // com.scb.phone.view.activity.partner.Hilt_PartnerRepaymentTermsAndConditionsActivity, 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 final void onStart() {
int i = 2 % 2;
int i2 = m + 103;
s = i2 % 128;
int i3 = i2 % 2;
super.onStart();
int i4 = s + 25;
m = i4 % 128;
int i5 = i4 % 2;
}
@Override // o.InterfaceC9652dno
public final void A() {
int i = 2 % 2;
int i2 = s + 15;
m = i2 % 128;
int i3 = i2 % 2;
}
@Override // com.scb.phone.view.activity.BaseActivityWithFragment
public final String L() {
int i = ((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getApplicationInfo().targetSdkVersion - 77597007;
return (String) c(new Object[]{this});
}
static {
s = 1;
g();
k = new HBt((byte) 0);
int i = m + 63;
s = i % 128;
int i2 = i % 2;
}
}