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

710 lines
41 KiB
Java

package com.scb.phone.view.activity.partner;
import android.content.Context;
import android.content.Intent;
import android.graphics.Color;
import android.graphics.ImageFormat;
import android.graphics.drawable.Drawable;
import android.os.Build;
import android.os.Bundle;
import android.os.Parcelable;
import android.os.Process;
import android.os.SystemClock;
import android.text.AndroidCharacter;
import android.text.TextUtils;
import android.util.TypedValue;
import android.view.Gravity;
import android.view.KeyEvent;
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.kofax.mobile.sdk._internal.impl.extraction.kta.KtaJsonExactionHelper;
import com.scb.phone.R;
import com.scb.phone.view.fragment.pointx.PointXPurchaseInputFragment;
import java.lang.reflect.Method;
import o.C1193Xr;
import o.C12020eqN;
import o.C1203Xy;
import o.C14957gcv;
import o.InterfaceC9466dkK;
import o.TS;
import o.dQY;
import o.jTb;
import o.xzZ;
import org.bouncycastle.crypto.tls.CipherSuite;
/* loaded from: classes5.dex */
public final class PartnerRepaymentInputActivity extends Hilt_PartnerRepaymentInputActivity implements InterfaceC9466dkK.LWm {
public static final Sts k;
private static char l;
private static char m;
/* renamed from: o, reason: collision with root package name */
private static char f7693o;
private static char p;
private static int q;
private static char[] r;
private static long t;
private static final byte[] $$p = {85, -61, 49, 80};
private static final int $$q = 69;
private static int $10 = 0;
private static int $11 = 1;
private static int s = 0;
/* 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: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(byte r5, byte r6, short r7, java.lang.Object[] r8) {
/*
int r7 = r7 * 2
int r7 = r7 + 4
byte[] r0 = com.scb.phone.view.activity.partner.PartnerRepaymentInputActivity.$$p
int r6 = 106 - r6
int r5 = r5 * 4
int r1 = 1 - r5
byte[] r1 = new byte[r1]
r2 = 0
int r5 = 0 - r5
if (r0 != 0) goto L17
r6 = r5
r4 = r7
r3 = r2
goto L29
L17:
r3 = r2
L18:
byte r4 = (byte) r6
r1[r3] = r4
if (r3 != r5) goto L25
java.lang.String r5 = new java.lang.String
r5.<init>(r1, r2)
r8[r2] = r5
return
L25:
int r3 = r3 + 1
r4 = r0[r7]
L29:
int r7 = r7 + 1
int r6 = r6 + r4
goto L18
*/
throw new UnsupportedOperationException("Method not decompiled: com.scb.phone.view.activity.partner.PartnerRepaymentInputActivity.aC(byte, byte, short, java.lang.Object[]):void");
}
/* loaded from: classes5.dex */
public static final class Sts {
private Sts() {
}
public /* synthetic */ Sts(byte b) {
this();
}
}
private static void aB(int i, int i2, char c, Object[] objArr) {
int i3 = 2 % 2;
dQY dqy = new dQY();
long[] jArr = new long[i2];
dqy.a = 0;
while (dqy.a < i2) {
int i4 = $10 + 21;
$11 = i4 % 128;
if (i4 % 2 == 0) {
int i5 = dqy.a;
try {
Object[] objArr2 = {Integer.valueOf(r[i % dqy.a])};
Object obj = xzZ.y.get(1095064095);
if (obj == null) {
Class cls = (Class) xzZ.c(308 - (ViewConfiguration.getMaximumFlingVelocity() >> 16), (ViewConfiguration.getScrollBarSize() >> 8) + 5, (char) (32797 - (ViewConfiguration.getMinimumFlingVelocity() >> 16)));
byte b = (byte) 0;
Object[] objArr3 = new Object[1];
aC(b, (byte) (b | 8), b, objArr3);
obj = cls.getMethod((String) objArr3[0], Integer.TYPE);
xzZ.y.put(1095064095, obj);
}
Object[] objArr4 = {Long.valueOf(((Long) ((Method) obj).invoke(null, objArr2)).longValue()), Long.valueOf(dqy.a), Long.valueOf(t), Integer.valueOf(c)};
Object obj2 = xzZ.y.get(-548438098);
if (obj2 == null) {
Class cls2 = (Class) xzZ.c(((byte) KeyEvent.getModifierMetaStateMask()) + 413, 4 - Process.getGidForName(""), (char) ((Process.getThreadPriority(0) + 20) >> 6));
byte b2 = (byte) 0;
Object[] objArr5 = new Object[1];
aC(b2, (byte) (b2 | 7), b2, objArr5);
obj2 = cls2.getMethod((String) objArr5[0], Long.TYPE, Long.TYPE, Long.TYPE, Integer.TYPE);
xzZ.y.put(-548438098, obj2);
}
jArr[i5] = ((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(407 - (TypedValue.complexToFloat(0) > BitmapDescriptorFactory.HUE_RED ? 1 : (TypedValue.complexToFloat(0) == BitmapDescriptorFactory.HUE_RED ? 0 : -1)), ExpandableListView.getPackedPositionGroup(0L) + 5, (char) ((Process.getElapsedCpuTime() > 0L ? 1 : (Process.getElapsedCpuTime() == 0L ? 0 : -1)) + 29233));
byte b3 = (byte) 0;
byte b4 = b3;
Object[] objArr7 = new Object[1];
aC(b3, b4, b4, 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 i6 = dqy.a;
Object[] objArr8 = {Integer.valueOf(r[i + dqy.a])};
Object obj4 = xzZ.y.get(1095064095);
if (obj4 == null) {
Class cls4 = (Class) xzZ.c((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)) + 308, (ViewConfiguration.getScrollDefaultDelay() >> 16) + 5, (char) (32798 - (SystemClock.elapsedRealtime() > 0L ? 1 : (SystemClock.elapsedRealtime() == 0L ? 0 : -1))));
byte b5 = (byte) 0;
Object[] objArr9 = new Object[1];
aC(b5, (byte) (b5 | 8), b5, 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(t), Integer.valueOf(c)};
Object obj5 = xzZ.y.get(-548438098);
if (obj5 == null) {
Class cls5 = (Class) xzZ.c(Gravity.getAbsoluteGravity(0, 0) + 412, 5 - (ViewConfiguration.getScrollBarFadeDuration() >> 16), (char) (ViewConfiguration.getMinimumFlingVelocity() >> 16));
byte b6 = (byte) 0;
Object[] objArr11 = new Object[1];
aC(b6, (byte) (b6 | 7), b6, objArr11);
obj5 = cls5.getMethod((String) objArr11[0], Long.TYPE, Long.TYPE, Long.TYPE, Integer.TYPE);
xzZ.y.put(-548438098, obj5);
}
jArr[i6] = ((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(TextUtils.indexOf((CharSequence) "", '0') + 408, 5 - KeyEvent.normalizeMetaState(0), (char) (TextUtils.lastIndexOf("", '0', 0) + 29235));
byte b7 = (byte) 0;
byte b8 = b7;
Object[] objArr13 = new Object[1];
aC(b7, b8, b8, objArr13);
obj6 = cls6.getMethod((String) objArr13[0], Object.class, Object.class);
xzZ.y.put(1071125919, obj6);
}
((Method) obj6).invoke(null, objArr12);
}
}
char[] cArr = new char[i2];
dqy.a = 0;
int i7 = $10 + 25;
$11 = i7 % 128;
while (true) {
int i8 = i7 % 2;
if (dqy.a >= i2) {
objArr[0] = new String(cArr);
return;
}
int i9 = $10 + 45;
$11 = i9 % 128;
int i10 = i9 % 2;
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 - TextUtils.getTrimmedLength(""), 5 - Drawable.resolveOpacity(0, 0), (char) (29234 - (ViewConfiguration.getScrollBarSize() >> 8)));
byte b9 = (byte) 0;
byte b10 = b9;
Object[] objArr15 = new Object[1];
aC(b9, b10, b10, objArr15);
obj7 = cls7.getMethod((String) objArr15[0], Object.class, Object.class);
xzZ.y.put(1071125919, obj7);
}
((Method) obj7).invoke(null, objArr14);
i7 = $11 + 81;
$10 = i7 % 128;
}
}
private static void aA(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 = $11 + 91;
$10 = i4 % 128;
int i5 = 58224;
if (i4 % 2 != 0) {
cArr3[1] = cArr[jtb.b];
cArr3[1] = cArr[jtb.b];
} else {
cArr3[i3] = cArr[jtb.b];
cArr3[1] = cArr[jtb.b + 1];
}
int i6 = i3;
while (i6 < 16) {
char c = cArr3[1];
char c2 = cArr3[i3];
int i7 = (c2 + i5) ^ ((c2 << 4) + ((char) (m ^ 41718355337583039L)));
int i8 = c2 >>> 5;
try {
Object[] objArr2 = new Object[4];
objArr2[3] = Integer.valueOf(p);
objArr2[2] = Integer.valueOf(i8);
objArr2[1] = Integer.valueOf(i7);
objArr2[i3] = Integer.valueOf(c);
Object obj = xzZ.y.get(597144044);
if (obj == null) {
Class cls = (Class) xzZ.c(Color.green(i3) + 412, 5 - TextUtils.getTrimmedLength(""), (char) View.resolveSizeAndState(i3, i3, i3));
byte b = (byte) i3;
Object[] objArr3 = new Object[1];
aC(b, (byte) (b | 40), b, objArr3);
String str = (String) objArr3[i3];
Class<?>[] clsArr = new Class[4];
clsArr[i3] = Integer.TYPE;
clsArr[1] = Integer.TYPE;
clsArr[2] = Integer.TYPE;
clsArr[3] = Integer.TYPE;
obj = cls.getMethod(str, clsArr);
xzZ.y.put(597144044, obj);
}
char charValue = ((Character) ((Method) obj).invoke(null, objArr2)).charValue();
cArr3[1] = charValue;
char[] cArr4 = cArr3;
Object[] objArr4 = {Integer.valueOf(cArr3[i3]), Integer.valueOf((charValue + i5) ^ ((charValue << 4) + ((char) (f7693o ^ 41718355337583039L)))), Integer.valueOf(charValue >>> 5), Integer.valueOf(l)};
Object obj2 = xzZ.y.get(597144044);
if (obj2 == null) {
Class cls2 = (Class) xzZ.c((ViewConfiguration.getScrollBarSize() >> 8) + 412, 5 - View.getDefaultSize(0, 0), (char) ((ViewConfiguration.getGlobalActionKeyTimeout() > 0L ? 1 : (ViewConfiguration.getGlobalActionKeyTimeout() == 0L ? 0 : -1)) - 1));
byte b2 = (byte) 0;
Object[] objArr5 = new Object[1];
aC(b2, (byte) (b2 | 40), b2, 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(ImageFormat.getBitsPerPixel(0) + 99, ExpandableListView.getPackedPositionType(0L) + 5, (char) View.MeasureSpec.getMode(0));
byte b3 = (byte) 0;
Object[] objArr7 = new Object[1];
aC(b3, (byte) (b3 | 39), b3, 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 str2 = new String(cArr2, 0, i);
int i9 = $10 + 9;
$11 = i9 % 128;
if (i9 % 2 != 0) {
objArr[0] = str2;
} else {
Object obj4 = null;
obj4.hashCode();
throw null;
}
}
@Override // com.scb.phone.view.activity.partner.Hilt_PartnerRepaymentInputActivity, com.scb.phone.view.activity.partner.PartnerCommonInputActivity, 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) {
Parcelable parcelable;
Parcelable parcelable2;
Parcelable parcelable3;
int i = 2 % 2;
int i2 = q + 17;
s = i2 % 128;
int i3 = i2 % 2;
TS ts = null;
Object[] objArr = new Object[1];
aA(new char[]{63166, 5217, 59869, 65519, 51720, 46295, 3303, 20849, 25009, 8756, 32219, 61680, 63612, 44428, 33803, 51258, 59792, 40192}, ((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getPackageName().length() + 5, 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.auto_purchase_bond_dlt_popup_message).substring(67, 68).length() - 1, ((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getPackageName().codePointAt(10) - 106, (char) (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)), 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];
aB(((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getPackageName().codePointAt(7) - 41, ((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getResources().getString(R.string.auto_purchase_bond_dlt_popup_message).substring(67, 68).length() + 25, (char) (((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getResources().getString(R.string.prepaid_travel_wallet_other_currency_wallet_empty_state).substring(40, 41).codePointAt(0) - 32), objArr3);
Class<?> cls2 = Class.forName((String) objArr3[0]);
Object[] objArr4 = new Object[1];
aA(new char[]{2610, 14010, 4440, 56720, 51391, 61491, 25982, 22578, 60560, 43828, 30784, 54065, 50024, 50623, 37112, 29422, 20315, 25996}, (-16777198) - Color.rgb(0, 0, 0), objArr4);
baseContext = (Context) cls2.getMethod((String) objArr4[0], new Class[0]).invoke(null, null);
}
if (baseContext != null) {
int i4 = q + 33;
s = i4 % 128;
int i5 = i4 % 2;
baseContext = baseContext.getApplicationContext();
}
if (baseContext != null) {
try {
Object obj = xzZ.y.get(125943855);
if (obj == null) {
obj = ((Class) xzZ.c(492 - (Process.myTid() >> 22), 4 - TextUtils.indexOf((CharSequence) "", '0', 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];
aB(((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getResources().getString(R.string.manage_email_otp_resend_error).substring(17, 18).length() + 30, (ViewConfiguration.getJumpTapTimeout() >> 16) + 48, (char) (AndroidCharacter.getMirror('0') + 37112), objArr5);
String str = (String) objArr5[0];
Object[] objArr6 = new Object[1];
aB(79 - KeyEvent.keyCodeFromString(""), 64 - TextUtils.getOffsetAfter("", 0), (char) (((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getPackageName().codePointAt(10) + 51750), objArr6);
String str2 = (String) objArr6[0];
Object[] objArr7 = new Object[1];
aB(((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getResources().getString(R.string.purposeful_loan_introduction_title).substring(21, 22).length() + 142, ((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getPackageName().codePointAt(3) + 18, (char) (((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getResources().getString(R.string.auto_direct_debit_decline_terms_and_conditions_description).substring(31, 32).codePointAt(0) + 64038), objArr7);
String str3 = (String) objArr7[0];
Object[] objArr8 = new Object[1];
aB(((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getResources().getString(R.string.gifting_baht).substring(0, 5).codePointAt(2) + CipherSuite.TLS_DHE_PSK_WITH_AES_256_GCM_SHA384, ((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getResources().getString(R.string.mw_create_qr_bath_unit).substring(0, 10).length() + 64, (char) (((Process.getThreadPriority(0) + 20) >> 6) + 44006), objArr8);
String str4 = (String) objArr8[0];
Object[] objArr9 = new Object[1];
aA(new char[]{6309, 47762, 57837, 20975, 65277, 34943}, ((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];
aB(((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getApplicationInfo().targetSdkVersion + 247, ((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getResources().getString(R.string.auto_single_form_suitability_assessment_questionnaire_section_1).substring(88, 89).length() + 35, (char) TextUtils.getCapsMode("", 0, 0), 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 - MotionEvent.axisFromString(""), (Process.myTid() >> 22) + 5, (char) ((SystemClock.elapsedRealtime() > 0L ? 1 : (SystemClock.elapsedRealtime() == 0L ? 0 : -1)) - 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);
Intent intent = getIntent();
C14957gcv.c(intent, "");
if (Build.VERSION.SDK_INT >= 33) {
Bundle extras = intent.getExtras();
parcelable2 = extras != null ? (Parcelable) extras.getParcelable("com.scb.phone.TransferTabFragment.EXTRA_BILL_SCAN", C1203Xy.class) : null;
} else {
Bundle extras2 = intent.getExtras();
if (extras2 != null) {
int i6 = s + 5;
q = i6 % 128;
int i7 = i6 % 2;
parcelable = extras2.getParcelable("com.scb.phone.TransferTabFragment.EXTRA_BILL_SCAN");
} else {
parcelable = null;
}
if (!(parcelable instanceof C1203Xy)) {
parcelable = null;
}
parcelable2 = (C1203Xy) parcelable;
}
C1203Xy c1203Xy = (C1203Xy) parcelable2;
if (c1203Xy != null) {
if (Build.VERSION.SDK_INT >= 33) {
Bundle extras3 = intent.getExtras();
parcelable3 = extras3 != null ? (Parcelable) extras3.getParcelable("EXTRA_REPAYMENT_DISPLAY", C1193Xr.class) : null;
} else {
Bundle extras4 = intent.getExtras();
Parcelable parcelable4 = extras4 != null ? extras4.getParcelable("EXTRA_REPAYMENT_DISPLAY") : null;
if (!(parcelable4 instanceof C1193Xr)) {
parcelable4 = null;
}
parcelable3 = (C1193Xr) parcelable4;
int i8 = s + 13;
q = i8 % 128;
int i9 = i8 % 2;
}
C1193Xr c1193Xr = (C1193Xr) parcelable3;
if (c1193Xr != null) {
a();
C12020eqN c12020eqN = new C12020eqN();
PointXPurchaseInputFragment.LWm lWm = PointXPurchaseInputFragment.d;
if (Build.VERSION.SDK_INT >= 33) {
Bundle extras5 = intent.getExtras();
if (extras5 != null) {
int i10 = s + 73;
q = i10 % 128;
if (i10 % 2 == 0) {
ts = (Parcelable) extras5.getParcelable("com.scb.phone.EXTRA_POINT_INQUIRY", TS.class);
int i11 = 62 / 0;
} else {
ts = (Parcelable) extras5.getParcelable("com.scb.phone.EXTRA_POINT_INQUIRY", TS.class);
}
}
} else {
Bundle extras6 = intent.getExtras();
Parcelable parcelable5 = extras6 != null ? extras6.getParcelable("com.scb.phone.EXTRA_POINT_INQUIRY") : null;
if (parcelable5 instanceof TS) {
ts = parcelable5;
} else {
int i12 = s;
int i13 = i12 + 91;
q = i13 % 128;
int i14 = i13 % 2;
int i15 = i12 + 33;
q = i15 % 128;
int i16 = i15 % 2;
}
ts = (TS) ts;
}
TS ts2 = (TS) ts;
String stringExtra = intent.getStringExtra("com.scb.phone.EXTRA_POINT_DEEPLINK");
String stringExtra2 = intent.getStringExtra("EXTRA_REPAYMENT_TERM_AND_COND");
String stringExtra3 = intent.getStringExtra("EXTRA_REPAYMENT_CARD_MASK");
String stringExtra4 = intent.getStringExtra("EXTRA_REPAYMENT_NOTE");
if (stringExtra4 == null) {
stringExtra4 = "";
}
C14957gcv.e(c1203Xy, "");
C14957gcv.e(c1193Xr, "");
C14957gcv.e(stringExtra4, "");
PointXPurchaseInputFragment pointXPurchaseInputFragment = new PointXPurchaseInputFragment();
Bundle bundle2 = new Bundle();
bundle2.putParcelable("com.scb.phone.TransferTabFragment.EXTRA_BILL_SCAN", c1203Xy);
bundle2.putParcelable("com.scb.phone.EXTRA_POINT_INQUIRY", ts2);
bundle2.putString("com.scb.phone.EXTRA_POINT_DEEPLINK", stringExtra);
bundle2.putBoolean("EXTRA_POINT_ERROR", false);
bundle2.putParcelable("EXTRA_REPAYMENT_DISPLAY", c1193Xr);
bundle2.putString("EXTRA_REPAYMENT_TERM_AND_COND", stringExtra2);
bundle2.putString("EXTRA_REPAYMENT_CARD_MASK", stringExtra3);
bundle2.putString("EXTRA_REPAYMENT_NOTE", stringExtra4);
pointXPurchaseInputFragment.setArguments(bundle2);
c12020eqN.d = pointXPurchaseInputFragment;
C14957gcv.c(c12020eqN, "");
d(c12020eqN);
aG_();
}
}
}
@Override // com.scb.phone.view.activity.partner.PartnerCommonInputActivity
public final String j() {
int i = 2 % 2;
int i2 = q + 53;
s = i2 % 128;
if (i2 % 2 != 0) {
C14957gcv.c((Object) getString(R.string.point_x_partner_payment_tab), "");
throw null;
}
String string = getString(R.string.point_x_partner_payment_tab);
C14957gcv.c((Object) string, "");
return string;
}
@Override // com.scb.phone.view.activity.partner.Hilt_PartnerRepaymentInputActivity, com.scb.phone.view.activity.partner.PartnerCommonInputActivity, 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 onResume() {
int i = 2 % 2;
int i2 = s + 115;
q = i2 % 128;
int i3 = i2 % 2;
Context baseContext = getBaseContext();
if (baseContext == null) {
Object[] objArr = new Object[1];
aB(5 - View.resolveSize(0, 0), ((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getResources().getString(R.string.order_cheque_input_note).substring(26, 27).codePointAt(0) - 6, (char) (((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];
aA(new char[]{2610, 14010, 4440, 56720, 51391, 61491, 25982, 22578, 60560, 43828, 30784, 54065, 50024, 50623, 37112, 29422, 20315, 25996}, ((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getPackageName().length() + 5, objArr2);
baseContext = (Context) cls.getMethod((String) objArr2[0], new Class[0]).invoke(null, null);
int i4 = q + 57;
s = i4 % 128;
int i5 = i4 % 2;
}
if (baseContext != null) {
int i6 = s + 7;
q = i6 % 128;
if (i6 % 2 == 0) {
baseContext = baseContext.getApplicationContext();
int i7 = 43 / 0;
} else {
baseContext = baseContext.getApplicationContext();
}
}
if (baseContext != null) {
try {
Object obj = xzZ.y.get(125943855);
if (obj == null) {
obj = ((Class) xzZ.c(492 - TextUtils.indexOf("", ""), 5 - Color.blue(0), (char) View.MeasureSpec.getMode(0))).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(487 - (ViewConfiguration.getWindowTouchSlop() >> 8), (ViewConfiguration.getFadingEdgeLength() >> 16) + 5, (char) ((-16777216) - Color.rgb(0, 0, 0)))).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 // com.scb.phone.view.activity.partner.Hilt_PartnerRepaymentInputActivity, com.scb.phone.view.activity.partner.PartnerCommonInputActivity, 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 + 47;
q = i2 % 128;
int i3 = i2 % 2;
Object[] objArr = new Object[1];
aB(KeyEvent.normalizeMetaState(0) + 5, ((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getPackageName().codePointAt(4) - 89, (char) (((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getResources().getString(R.string.hml_business_info_2_bank_account_description).substring(CipherSuite.TLS_PSK_WITH_NULL_SHA384, CipherSuite.TLS_DHE_PSK_WITH_AES_128_CBC_SHA256).codePointAt(0) - 32), objArr);
Class<?> cls = Class.forName((String) objArr[0]);
Object[] objArr2 = new Object[1];
aA(new char[]{2610, 14010, 4440, 56720, 51391, 61491, 25982, 22578, 60560, 43828, 30784, 54065, 50024, 50623, 37112, 29422, 20315, 25996}, ((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);
int i4 = s + 45;
q = i4 % 128;
int i5 = i4 % 2;
}
if (baseContext != null) {
int i6 = s + 13;
q = 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(TextUtils.indexOf((CharSequence) "", '0', 0, 0) + 493, 5 - View.resolveSize(0, 0), (char) (ExpandableListView.getPackedPositionForGroup(0) > 0L ? 1 : (ExpandableListView.getPackedPositionForGroup(0) == 0L ? 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(486 - MotionEvent.axisFromString(""), 5 - (ViewConfiguration.getTouchSlop() >> 8), (char) ((-1) - Process.getGidForName("")))).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();
}
/* JADX WARN: Code restructure failed: missing block: B:13:0x0082, code lost:
if (r5 > 99999) goto L10;
*/
/* JADX WARN: Code restructure failed: missing block: B:6:0x007f, code lost:
if (r5 > 99999) goto L10;
*/
/* JADX WARN: Removed duplicated region for block: B:11:0x0221 */
/* JADX WARN: Removed duplicated region for block: B:9:0x0220 A[RETURN] */
@Override // com.scb.phone.view.activity.partner.Hilt_PartnerRepaymentInputActivity, com.scb.phone.view.activity.partner.PartnerCommonInputActivity, 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
/*
Code decompiled incorrectly, please refer to instructions dump.
To view partially-correct add '--show-bad-code' argument
*/
public final void attachBaseContext(android.content.Context r22) {
/*
Method dump skipped, instructions count: 580
To view this dump add '--comments-level debug' option
*/
throw new UnsupportedOperationException("Method not decompiled: com.scb.phone.view.activity.partner.PartnerRepaymentInputActivity.attachBaseContext(android.content.Context):void");
}
/* JADX INFO: Access modifiers changed from: private */
public static /* synthetic */ Object c(Object[] objArr) {
int i = 2 % 2;
int i2 = q + 15;
int i3 = i2 % 128;
s = i3;
int i4 = i2 % 2;
int i5 = i3 + 71;
q = i5 % 128;
if (i5 % 2 != 0) {
return 1;
}
throw null;
}
static void n() {
f7693o = (char) 41476;
l = (char) 8973;
m = (char) 4817;
p = (char) 49461;
r = new char[]{36799, 40519, 44127, 47743, 51206, 36787, 40528, 44142, 47716, 51213, 54823, 58430, 62088, 211, 12014, 15514, 19160, 22659, 26445, 30030, 33647, 37220, 48919, 52542, 56111, 59894, 63462, 1512, 4995, 8595, 20410, 7883, 3873, 15638, 11100, 22905, 18181, 29972, 25583, 37368, 49039, 44528, 56255, 51673, 63076, 58401, 4630, 'X', 11877, 23632, 19014, 30905, 26258, 38099, 33527, 45244, 57024, 53089, 64811, 60233, 6527, 1846, 13663, 9035, 20899, 32666, 28047, 39852, 35203, 46992, 42092, 53800, 49154, 61051, 7275, 2569, 14526, 9975, 21658, 17698, 21705, 26281, 28902, 705, 7353, 12027, 14346, 51778, 58430, 63053, 32853, 37477, 44429, 49048, 18850, 23473, 30175, 2030, 4593, 9044, 15661, 53102, 55623, 60244, 34173, 38031, 42688, 45221, 17090, 23775, 28395, 30960, 2588, 9258, 13922, 49218, 53859, 60461, 65489, 35217, 39913, 46494, 18389, 20962, 25354, 32025, 3953, 6499, 11091, 50489, 55156, 59092, 61603, 33466, 40081, 44767, 47272, 18958, 25627, 30241, 25, 4622, 11318, 30197, 25664, 22140, 16483, 12869, 11323, 7801, 2181, 64198, 54497, 50847, 45269, 41702, 40284, 36684, 31096, 27445, 17754, 14186, 8480, 5077, 3576, 65515, 59794, 56279, 46496, 41994, 38421, 32892, 29214, 27653, 24164, 18464, 15002, 5293, 1765, 61585, 58042, 56493, 53073, 47425, 43880, 34073, 30467, 24930, 21387, 19914, 16293, 10678, 7133, 62910, 59304, 54866, 49265, 45676, 44102, 40452, 34937, 31370, 21649, 18161, 12432, 8927, 7351, 9308, 13740, 1944, 4480, 25591, 32146, 20371, 22895, 43815, 34065, 38765, 57725, 62279, 52391, 57009, 10381, 14993, 5354, 26319, 28889, 16933, 23556, 44574, 47201, 35450, 58451, 62946, 51108, 53644, 9210, 15865, 4033, 6592, 27451, 17677, 22275, 41328, 45830, 36187, 40629, 59573, 64138, 54504, 9955, 12501, 573, 7229, 28178, 30737, 18998, 42063, 46687, 34729, 37319, 58269, 65008, 53245, 55703, 11045, 1342, 5891, 24941, 29551, 19796, 24347, 43182, 47838, 38111, 59105, 61662, 49881, 56366, 11808, 14347, 36791, 40543, 44088, 47650, 51206, 54903, 58478, 62102, 159, 11944, 15578, 19091, 22688, 26371, 29966, 33588, 37155, 48975, 52583, 56119, 59840, 63467, 1529, 5067, 8640, 20413, 24088, 27735, 31285, 34827, 38425, 42099, 45670, 49291, 61115, 64755};
t = 3991457634795167294L;
}
@Override // com.scb.phone.view.activity.partner.Hilt_PartnerRepaymentInputActivity, com.scb.phone.view.activity.partner.PartnerCommonInputActivity, 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 = q + 83;
s = i2 % 128;
int i3 = i2 % 2;
super.onStart();
if (i3 != 0) {
throw null;
}
}
@Override // com.scb.phone.view.activity.partner.PartnerCommonInputActivity
public final int f() {
int i = 2 % 2;
int i2 = q + 65;
s = i2 % 128;
if (i2 % 2 == 0) {
return R.layout.2131558711;
}
throw null;
}
@Override // com.scb.phone.view.activity.partner.PartnerCommonInputActivity
public final int h() {
int i = ((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getApplicationInfo().targetSdkVersion + 1363251885;
return ((Integer) c(new Object[]{this})).intValue();
}
static {
q = 1;
n();
k = new Sts((byte) 0);
int i = s + 61;
q = i % 128;
if (i % 2 != 0) {
return;
}
Object obj = null;
obj.hashCode();
throw null;
}
}