what-the-bank/sources/com/scb/phone/view/activity/loanrepayment/Hilt_LevelUpLoanRepaymentCu...

639 lines
38 KiB
Java
Raw Permalink Normal View History

2024-07-27 18:17:47 +07:00
package com.scb.phone.view.activity.loanrepayment;
import android.content.Context;
import android.graphics.Color;
import android.graphics.PointF;
import android.media.AudioTrack;
import android.os.Bundle;
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.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.BaseActivity;
import java.lang.reflect.Method;
import net.sf.scuba.smartcards.ISO7816;
import net.sf.scuba.smartcards.ISOFileInfo;
import o.C13068fPo;
import o.C13073fPt;
import o.InterfaceC17278vUG;
import o.InterfaceC8846dXq;
import o.TVH;
import o.VLM;
import o.fOV;
import o.fPA;
import o.xzZ;
import org.bouncycastle.crypto.tls.CipherSuite;
/* loaded from: classes5.dex */
public abstract class Hilt_LevelUpLoanRepaymentCustomAmountInputActivity extends BaseActivity implements fPA {
private static short[] t;
private volatile C13073fPt m;
private static final byte[] $$g = {15, Ascii.DC4, ISO7816.INS_MSE, -3};
private static final int $$h = 76;
private static int $10 = 0;
private static int $11 = 1;
private static int r = 0;
private static int v = 1;
/* renamed from: o, reason: collision with root package name */
private static char[] f7542o = {39986, 40059, 40034, 40047, 40039, 40056, 40033, 40044, 40034, 40032, 40059, 40039, 40045, 40002, 40005, 40058, 40027, 39988, 40004, 40086, 40085, 40109, 40099, 40082, 40106, 40122, 40098, 40097, 40097, 40098, 40109, 40070, 40057, 40065, 40096, 40104, 40073, 40079, 40106, 40108, 40096, 40109, 40111, 40105, 39997, 40033, 40045, 40041, 40033, 40037, 40039, 40037, 40035, 40039, 40056, 40057, 40032, 40034, 40058, 40017, 40019, 40059, 39955, 39999, 39998, 40000, 40001, 40000, 40047, 40040, 40042, 40006, 39998, 40002, 40001, 40001, 40001, 39998, 40006, 40001, 39993, 39998, 39998, 39992, 40001, 40006, 40004, 40005, 40007, 40007, 40007, 40005, 40005, 40001, 39994, 39992, 39997, 39999, 40000, 40046, 40040, 40041, 40001, 39992, 39997, 39996, 40007, 40006, 40005, 40007, 39955, 39998, 39997, 40000, 40001, 39999, 39998, 39999, 40000, 40007, 40006, 40000, 39993, 39992, 39997, 39999, 39998, 39996, 39998, 39998, 39998, 39999, 40005, 40027, 39996, 40007, 40006, 40005, 40005, 40006, 40047, 40045, 40047, 40041, 40006, 39987, 39998, 40000, 40005, 40005, 40007, 39996, 40005, 40005, 40004, 40027, 40004, 40047, 40006, 39999, 39999, 39997, 40007, 40041, 40006, 40006, 40040, 40005, 39996, 40007, 40007, 39996, 39987, 39987, 39997, 40056, 40050, 40060, 40061, 40016, 39986, 39999, 40029, 40056, 40033, 40039, 40038, 40037, 40056, 40057, 40037, 40059, 40036, 40032, 40033, 40032, 40039, 40045, 40039, 40058, 40026, 40029, 40056, 40057, 40059, 40035, 40036, 40059, 40044, 40036, 40051, 40029, 40004, 40056, 40059, 40037, 40059, 40059, 40060, 40051, 40059, 40037, 40059, 40005, 40006, 40037, 40056, 40024, 40006, 40038, 40058, 40026, 40026, 40059, 40036, 40032, 40058, 40051, 40029, 40028, 40018, 39998, 40004, 40057, 40057, 40037, 40061, 40051};
private static int k = -797479828;
private static int p = 1406017140;
private static int s = -1189890261;
private static byte[] q = {79, ISOFileInfo.A0, 104, -72, ISOFileInfo.PROP_INFO, 122, 82, ISOFileInfo.PROP_INFO, -86, 84, 96, -101, 103, -90, 82, -81, 87, -100, 82, -84, 126, -126, -84, ISOFileInfo.FCP_BYTE, -81, 84, -86, 85, 81, -82, -84, 81, ISOFileInfo.PROP_INFO, -82, Ascii.DEL, ISOFileInfo.DATA_BYTES2, 122, 82, -81, -126, -82, Ascii.DEL, -124, 96, -86, 86, -82, 80, -101, 85, 80, 120, 89, -83, ISOFileInfo.FILE_IDENTIFIER, -84, 99, ISOFileInfo.AB, 86, -100, 81, 99, ISOFileInfo.FILE_IDENTIFIER, Ascii.DEL, 82, -87, -122, ISO7816.INS_WRITE_BINARY, ISO7816.INS_CHANGE_CHV, ISO7816.INS_LOAD_KEY_FILE, 39, 95, -105, 106, -108, -71, -107, 69, -67, ISO7816.INS_REHABILITATE_CHV, -92, 90, 110, ISOFileInfo.A1, -107, 104, 106, 95, -105, 107, -108, -107, 108, ISOFileInfo.A0, -106, 94, -111, ISOFileInfo.FCP_BYTE, -106, -105, -112, -66, 91, 105, -70, -105, Ascii.NAK, Ascii.NAK, Ascii.NAK, Ascii.NAK};
private final Object l = new Object();
boolean b = false;
/* JADX WARN: Removed duplicated region for block: B:10:0x0022 */
/* JADX WARN: Removed duplicated region for block: B:7:0x001a */
/* JADX WARN: Unsupported multi-entry loop pattern (BACK_EDGE: B:10:0x0022 -> B:4:0x0028). Please report as a decompilation issue!!! */
/*
Code decompiled incorrectly, please refer to instructions dump.
To view partially-correct add '--show-bad-code' argument
*/
private static void az(byte r5, short r6, byte r7, java.lang.Object[] r8) {
/*
int r6 = r6 * 2
int r6 = 3 - r6
int r5 = r5 * 3
int r0 = r5 + 1
int r7 = r7 + 71
byte[] r1 = com.scb.phone.view.activity.loanrepayment.Hilt_LevelUpLoanRepaymentCustomAmountInputActivity.$$g
byte[] r0 = new byte[r0]
r2 = 0
if (r1 != 0) goto L14
r4 = r5
r3 = r2
goto L28
L14:
r3 = r2
L15:
byte r4 = (byte) r7
r0[r3] = r4
if (r3 != r5) goto L22
java.lang.String r5 = new java.lang.String
r5.<init>(r0, r2)
r8[r2] = r5
return
L22:
int r3 = r3 + 1
int r6 = r6 + 1
r4 = r1[r6]
L28:
int r4 = -r4
int r7 = r7 + r4
goto L15
*/
throw new UnsupportedOperationException("Method not decompiled: com.scb.phone.view.activity.loanrepayment.Hilt_LevelUpLoanRepaymentCustomAmountInputActivity.az(byte, short, byte, java.lang.Object[]):void");
}
/* JADX INFO: Access modifiers changed from: package-private */
public Hilt_LevelUpLoanRepaymentCustomAmountInputActivity() {
addOnContextAvailableListener(new InterfaceC17278vUG(this) { // from class: com.scb.phone.view.activity.loanrepayment.Hilt_LevelUpLoanRepaymentCustomAmountInputActivity.2
private Hilt_LevelUpLoanRepaymentCustomAmountInputActivity e;
{
this.e = this;
}
@Override // o.InterfaceC17278vUG
public final void a(Context context) {
Hilt_LevelUpLoanRepaymentCustomAmountInputActivity hilt_LevelUpLoanRepaymentCustomAmountInputActivity = this.e;
if (hilt_LevelUpLoanRepaymentCustomAmountInputActivity.b) {
return;
}
hilt_LevelUpLoanRepaymentCustomAmountInputActivity.b = true;
((InterfaceC8846dXq) hilt_LevelUpLoanRepaymentCustomAmountInputActivity.y_()).e((LevelUpLoanRepaymentCustomAmountInputActivity) hilt_LevelUpLoanRepaymentCustomAmountInputActivity);
}
});
}
@Override // o.fPC
public final Object y_() {
int i = 2 % 2;
int i2 = r + 59;
v = i2 % 128;
int i3 = i2 % 2;
Object y_ = h().y_();
int i4 = r + 39;
v = i4 % 128;
int i5 = i4 % 2;
return y_;
}
private C13073fPt h() {
if (this.m == null) {
synchronized (this.l) {
if (this.m == null) {
this.m = new C13073fPt(this);
}
}
}
return this.m;
}
@Override // androidx.activity.ComponentActivity, o.GvH
public VLM.LWm getDefaultViewModelProviderFactory() {
Bundle bundle;
int i = 2 % 2;
VLM.LWm defaultViewModelProviderFactory = super.getDefaultViewModelProviderFactory();
C13068fPo.LWm a = ((C13068fPo.Sts) fOV.c(this, C13068fPo.Sts.class)).a();
if (getIntent() != null) {
int i2 = r + 35;
v = i2 % 128;
int i3 = i2 % 2;
bundle = getIntent().getExtras();
} else {
bundle = null;
}
VLM.LWm aBN_ = a.aBN_(this, bundle, defaultViewModelProviderFactory);
int i4 = v + 31;
r = i4 % 128;
if (i4 % 2 != 0) {
int i5 = 71 / 0;
}
return aBN_;
}
@Override // com.scb.phone.view.activity.BaseActivity, com.scb.phone.view.activity.PreLoadCheckActivity, com.akexorcist.localizationactivity.LocalizationActivity, androidx.appcompat.app.AppCompatActivity, androidx.fragment.app.FragmentActivity, androidx.activity.ComponentActivity, androidx.core.app.ComponentActivity, android.app.Activity
public void onCreate(Bundle bundle) {
Context applicationContext;
int i = 2 % 2;
Object[] objArr = new Object[1];
ax(new int[]{0, 18, 0, 6}, false, new byte[]{0, 1, 0, 0, 0, 0, 0, 1, 0, 0, 1, 0, 1, 0, 1, 0, 1, 0}, objArr);
Class<?> cls = Class.forName((String) objArr[0]);
Object obj = null;
Object[] objArr2 = new Object[1];
ay((short) Gravity.getAbsoluteGravity(0, 0), 2084998535 - (ViewConfiguration.getTapTimeout() >> 16), ((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getPackageName().length() - 105, ((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getApplicationInfo().targetSdkVersion + 354572045, (byte) (((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getResources().getString(R.string.new_deejung_transfer_about).substring(233, 234).length() - 96), objArr2);
int intValue = ((Integer) cls.getDeclaredMethod((String) objArr2[0], new Class[0]).invoke(null, new Object[0])).intValue() % 100000;
if (intValue < 99000 || intValue > 99999) {
Context baseContext = getBaseContext();
if (baseContext == null) {
Object[] objArr3 = new Object[1];
ax(new int[]{18, 26, 59, 0}, true, new byte[]{1, 1, 0, 1, 0, 0, 1, 1, 1, 1, 1, 1, 1, 0, 1, 0, 0, 1, 1, 0, 1, 0, 1, 0, 0, 1}, objArr3);
Class<?> cls2 = Class.forName((String) objArr3[0]);
Object[] objArr4 = new Object[1];
ax(new int[]{44, 18, 0, 8}, false, new byte[]{0, 1, 0, 0, 1, 1, 0, 1, 1, 0, 1, 0, 1, 1, 0, 1, 1, 0}, objArr4);
baseContext = (Context) cls2.getMethod((String) objArr4[0], new Class[0]).invoke(null, null);
}
if (baseContext != null) {
int i2 = v + 79;
r = i2 % 128;
if (i2 % 2 != 0) {
applicationContext = baseContext.getApplicationContext();
int i3 = 26 / 0;
} else {
applicationContext = baseContext.getApplicationContext();
}
baseContext = applicationContext;
}
if (baseContext != null) {
int i4 = r + 5;
v = i4 % 128;
int i5 = i4 % 2;
try {
Object obj2 = xzZ.y.get(125943855);
if (obj2 == null) {
obj2 = ((Class) xzZ.c(492 - ExpandableListView.getPackedPositionGroup(0L), (ViewConfiguration.getScrollFriction() > BitmapDescriptorFactory.HUE_RED ? 1 : (ViewConfiguration.getScrollFriction() == BitmapDescriptorFactory.HUE_RED ? 0 : -1)) + 4, (char) (TextUtils.lastIndexOf("", '0') + 1))).getMethod("a", null);
xzZ.y.put(125943855, obj2);
}
Object invoke = ((Method) obj2).invoke(null, null);
Object[] objArr5 = new Object[1];
ax(new int[]{62, 48, 0, 0}, false, new byte[]{1, 0, 1, 0, 1, 0, 1, 1, 1, 1, 1, 1, 0, 1, 1, 1, 0, 1, 1, 0, 1, 1, 1, 0, 1, 0, 1, 0, 0, 0, 1, 1, 0, 0, 1, 1, 1, 1, 1, 0, 0, 0, 1, 0, 0, 1, 1, 1}, objArr5);
String str = (String) objArr5[0];
Object[] objArr6 = new Object[1];
ax(new int[]{110, 64, 1, 31}, true, new byte[]{1, 1, 1, 1, 1, 0, 1, 1, 1, 1, 1, 1, 1, 1, 0, 1, 0, 1, 0, 0, 0, 1, 0, 0, 1, 0, 0, 1, 1, 0, 1, 0, 0, 1, 0, 0, 1, 0, 1, 0, 1, 1, 1, 0, 1, 0, 0, 0, 0, 1, 0, 1, 1, 1, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1}, objArr6);
String str2 = (String) objArr6[0];
Object[] objArr7 = new Object[1];
ay((short) (Process.myPid() >> 22), ((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getResources().getString(R.string.deejung_transaction_limit_label).substring(0, 1).codePointAt(0) + 2084998497, (ExpandableListView.getPackedPositionForGroup(0) > 0L ? 1 : (ExpandableListView.getPackedPositionForGroup(0) == 0L ? 0 : -1)) - 33, ((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getApplicationInfo().targetSdkVersion + 354572033, (byte) (68 - (ViewConfiguration.getMinimumFlingVelocity() >> 16)), objArr7);
String str3 = (String) objArr7[0];
Object[] objArr8 = new Object[1];
ax(new int[]{CipherSuite.TLS_PSK_WITH_AES_128_CBC_SHA256, 74, 5, 0}, false, new byte[]{1, 0, 0, 0, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 1, 1, 0, 0, 1, 0, 1, 1, 1, 1, 0, 0, 0, 1, 0, 1, 1, 0, 0, 1, 0, 1, 0, 0, 1, 0, 1, 0, 0, 0, 1, 1, 1, 1, 0, 0, 0, 0, 1, 1, 0, 0, 1, 1, 0, 0, 1, 1, 1, 0, 1, 0, 1, 1, 1, 0, 1}, objArr8);
String str4 = (String) objArr8[0];
Object[] objArr9 = new Object[1];
ay((short) (((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getApplicationInfo().targetSdkVersion - 34), ((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getResources().getString(R.string.account_management_scbs_label).substring(11, 12).length() + 2084998601, ((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getPackageName().length() - 105, ((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getResources().getString(R.string.juristic_pin_lock_error_msg).substring(4, 5).length() + 354572026, (byte) (((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getResources().getString(R.string.hml_offer_review_annual_interest_rate).substring(13, 14).length() - 58), objArr9);
String str5 = (String) objArr9[0];
Object[] objArr10 = new Object[1];
ay((short) View.MeasureSpec.getMode(0), ((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getApplicationInfo().targetSdkVersion + 2084998572, ((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getResources().getString(R.string.auto_biller_search_initial_state).substring(50, 51).length() - 62, TextUtils.indexOf("", "") + 354572071, (byte) (View.resolveSize(0, 0) + 126), objArr10);
Object[] objArr11 = {baseContext, str, str2, str3, str4, true, str5, (String) objArr10[0]};
Object obj3 = xzZ.y.get(1656189573);
if (obj3 == null) {
obj3 = ((Class) xzZ.c(View.MeasureSpec.getSize(0) + 487, (Process.getElapsedCpuTime() > 0L ? 1 : (Process.getElapsedCpuTime() == 0L ? 0 : -1)) + 4, (char) KeyEvent.keyCodeFromString(""))).getMethod("e", Context.class, String.class, String.class, String.class, String.class, Boolean.TYPE, String.class, String.class);
xzZ.y.put(1656189573, obj3);
}
((Method) obj3).invoke(invoke, objArr11);
} catch (Throwable th) {
Throwable cause = th.getCause();
if (cause == null) {
throw th;
}
throw cause;
}
}
}
super.onCreate(bundle);
int i6 = v + 21;
r = i6 % 128;
if (i6 % 2 == 0) {
return;
}
obj.hashCode();
throw null;
}
@Override // com.scb.phone.view.activity.BaseActivity, com.scb.phone.view.activity.PreLoadCheckActivity, com.akexorcist.localizationactivity.LocalizationActivity, androidx.appcompat.app.AppCompatActivity, androidx.fragment.app.FragmentActivity, androidx.activity.ComponentActivity, androidx.core.app.ComponentActivity, android.app.Activity
public void onResume() {
int i = 2 % 2;
Context baseContext = getBaseContext();
Object obj = null;
if (baseContext == null) {
Object[] objArr = new Object[1];
ax(new int[]{18, 26, 59, 0}, true, new byte[]{1, 1, 0, 1, 0, 0, 1, 1, 1, 1, 1, 1, 1, 0, 1, 0, 0, 1, 1, 0, 1, 0, 1, 0, 0, 1}, objArr);
Class<?> cls = Class.forName((String) objArr[0]);
Object[] objArr2 = new Object[1];
ax(new int[]{44, 18, 0, 8}, false, new byte[]{0, 1, 0, 0, 1, 1, 0, 1, 1, 0, 1, 0, 1, 1, 0, 1, 1, 0}, objArr2);
baseContext = (Context) cls.getMethod((String) objArr2[0], new Class[0]).invoke(null, null);
}
if (baseContext != null) {
int i2 = r + 51;
v = i2 % 128;
if (i2 % 2 == 0) {
baseContext.getApplicationContext();
throw null;
}
baseContext = baseContext.getApplicationContext();
}
if (baseContext != null) {
int i3 = v + 19;
r = i3 % 128;
try {
if (i3 % 2 != 0) {
Object obj2 = xzZ.y.get(125943855);
if (obj2 == null) {
obj2 = ((Class) xzZ.c(View.MeasureSpec.getSize(0) + 492, 5 - (Process.myPid() >> 22), (char) ((-1) - TextUtils.indexOf((CharSequence) "", '0', 0, 0)))).getMethod("a", null);
xzZ.y.put(125943855, obj2);
}
Object invoke = ((Method) obj2).invoke(null, null);
Object[] objArr3 = {baseContext};
Object obj3 = xzZ.y.get(1378719468);
if (obj3 == null) {
obj3 = ((Class) xzZ.c(Gravity.getAbsoluteGravity(0, 0) + 487, AndroidCharacter.getMirror('0') - '+', (char) (1 - (ViewConfiguration.getScrollFriction() > BitmapDescriptorFactory.HUE_RED ? 1 : (ViewConfiguration.getScrollFriction() == BitmapDescriptorFactory.HUE_RED ? 0 : -1))))).getMethod(KtaJsonExactionHelper.OBJECT, Context.class);
xzZ.y.put(1378719468, obj3);
}
((Method) obj3).invoke(invoke, objArr3);
obj.hashCode();
throw null;
}
Object obj4 = xzZ.y.get(125943855);
if (obj4 == null) {
obj4 = ((Class) xzZ.c(493 - (ViewConfiguration.getGlobalActionKeyTimeout() > 0L ? 1 : (ViewConfiguration.getGlobalActionKeyTimeout() == 0L ? 0 : -1)), Color.argb(0, 0, 0, 0) + 5, (char) TextUtils.indexOf("", "", 0))).getMethod("a", null);
xzZ.y.put(125943855, obj4);
}
Object invoke2 = ((Method) obj4).invoke(null, null);
Object[] objArr4 = {baseContext};
Object obj5 = xzZ.y.get(1378719468);
if (obj5 == null) {
obj5 = ((Class) xzZ.c(488 - (AudioTrack.getMaxVolume() > BitmapDescriptorFactory.HUE_RED ? 1 : (AudioTrack.getMaxVolume() == BitmapDescriptorFactory.HUE_RED ? 0 : -1)), 5 - (ViewConfiguration.getScrollDefaultDelay() >> 16), (char) (1 - (SystemClock.uptimeMillis() > 0L ? 1 : (SystemClock.uptimeMillis() == 0L ? 0 : -1))))).getMethod(KtaJsonExactionHelper.OBJECT, Context.class);
xzZ.y.put(1378719468, obj5);
}
((Method) obj5).invoke(invoke2, objArr4);
} catch (Throwable th) {
Throwable cause = th.getCause();
if (cause == null) {
throw th;
}
throw cause;
}
}
super.onResume();
}
private static void ax(int[] iArr, boolean z, byte[] bArr, Object[] objArr) {
int i;
char[] cArr;
char[] cArr2;
int i2 = 2 % 2;
TVH tvh = new TVH();
int i3 = 0;
int i4 = iArr[0];
int i5 = iArr[1];
int i6 = iArr[2];
int i7 = iArr[3];
char[] cArr3 = f7542o;
if (cArr3 != null) {
int length = cArr3.length;
char[] cArr4 = new char[length];
int i8 = 0;
while (i8 < length) {
try {
Object[] objArr2 = new Object[1];
objArr2[i3] = Integer.valueOf(cArr3[i8]);
Object obj = xzZ.y.get(1645349359);
if (obj != null) {
cArr2 = cArr3;
} else {
Class cls = (Class) xzZ.c((ViewConfiguration.getJumpTapTimeout() >> 16) + 223, 5 - (KeyEvent.getMaxKeyCode() >> 16), (char) (TextUtils.indexOf("", "", i3) + 41977));
byte b = (byte) i3;
byte b2 = b;
cArr2 = cArr3;
Object[] objArr3 = new Object[1];
az(b, b2, b2, objArr3);
obj = cls.getMethod((String) objArr3[0], Integer.TYPE);
xzZ.y.put(1645349359, obj);
}
cArr4[i8] = ((Character) ((Method) obj).invoke(null, objArr2)).charValue();
i8++;
cArr3 = cArr2;
i3 = 0;
} catch (Throwable th) {
Throwable cause = th.getCause();
if (cause == null) {
throw th;
}
throw cause;
}
}
cArr3 = cArr4;
}
char[] cArr5 = new char[i5];
System.arraycopy(cArr3, i4, cArr5, 0, i5);
if (bArr != null) {
char[] cArr6 = new char[i5];
tvh.c = 0;
char c = 0;
while (tvh.c < i5) {
if (bArr[tvh.c] == 1) {
int i9 = $10 + 13;
$11 = i9 % 128;
int i10 = i9 % 2;
int i11 = tvh.c;
Object[] objArr4 = {Integer.valueOf(cArr5[tvh.c]), Integer.valueOf(c)};
Object obj2 = xzZ.y.get(850398076);
if (obj2 == null) {
obj2 = ((Class) xzZ.c(((Process.getThreadPriority(0) + 20) >> 6) + 502, 4 - TextUtils.lastIndexOf("", '0', 0), (char) (53 - Process.getGidForName("")))).getMethod("F", Integer.TYPE, Integer.TYPE);
xzZ.y.put(850398076, obj2);
}
cArr6[i11] = ((Character) ((Method) obj2).invoke(null, objArr4)).charValue();
} else {
int i12 = tvh.c;
Object[] objArr5 = {Integer.valueOf(cArr5[tvh.c]), Integer.valueOf(c)};
Object obj3 = xzZ.y.get(1084521042);
if (obj3 == null) {
obj3 = ((Class) xzZ.c(View.resolveSizeAndState(0, 0, 0) + 15, 5 - (ViewConfiguration.getPressedStateDuration() >> 16), (char) ((ViewConfiguration.getEdgeSlop() >> 16) + 58134))).getMethod("H", Integer.TYPE, Integer.TYPE);
xzZ.y.put(1084521042, obj3);
}
cArr6[i12] = ((Character) ((Method) obj3).invoke(null, objArr5)).charValue();
}
c = cArr6[tvh.c];
Object[] objArr6 = {tvh, tvh};
Object obj4 = xzZ.y.get(1698744941);
if (obj4 == null) {
Class cls2 = (Class) xzZ.c(TextUtils.lastIndexOf("", '0') + 403, (ExpandableListView.getPackedPositionForGroup(0) > 0L ? 1 : (ExpandableListView.getPackedPositionForGroup(0) == 0L ? 0 : -1)) + 5, (char) (21608 - TextUtils.getOffsetAfter("", 0)));
byte b3 = (byte) 0;
byte b4 = b3;
Object[] objArr7 = new Object[1];
az(b3, b4, (byte) (b4 + 2), objArr7);
obj4 = cls2.getMethod((String) objArr7[0], Object.class, Object.class);
xzZ.y.put(1698744941, obj4);
}
((Method) obj4).invoke(null, objArr6);
}
cArr5 = cArr6;
}
if (i7 > 0) {
char[] cArr7 = new char[i5];
System.arraycopy(cArr5, 0, cArr7, 0, i5);
int i13 = i5 - i7;
System.arraycopy(cArr7, 0, cArr5, i13, i7);
System.arraycopy(cArr7, i7, cArr5, 0, i13);
}
if (z) {
int i14 = $10 + 57;
$11 = i14 % 128;
if (i14 % 2 == 0) {
cArr = new char[i5];
i = 0;
} else {
i = 0;
cArr = new char[i5];
}
while (true) {
tvh.c = i;
if (tvh.c >= i5) {
break;
}
int i15 = $10 + 83;
$11 = i15 % 128;
int i16 = i15 % 2;
cArr[tvh.c] = cArr5[(i5 - tvh.c) - 1];
i = tvh.c + 1;
}
cArr5 = cArr;
}
if (i6 > 0) {
int i17 = 0;
while (true) {
tvh.c = i17;
if (tvh.c >= i5) {
break;
}
cArr5[tvh.c] = (char) (cArr5[tvh.c] - iArr[2]);
i17 = tvh.c + 1;
}
}
objArr[0] = new String(cArr5);
}
@Override // com.scb.phone.view.activity.BaseActivity, com.scb.phone.view.activity.PreLoadCheckActivity, com.akexorcist.localizationactivity.LocalizationActivity, androidx.appcompat.app.AppCompatActivity, androidx.fragment.app.FragmentActivity, androidx.activity.ComponentActivity, androidx.core.app.ComponentActivity, android.app.Activity
public void onPause() {
Method method;
int i = 2 % 2;
Context baseContext = getBaseContext();
Object obj = null;
if (baseContext == null) {
int i2 = r + 25;
v = i2 % 128;
if (i2 % 2 == 0) {
Object[] objArr = new Object[1];
ax(new int[]{18, 26, 59, 0}, true, new byte[]{1, 1, 0, 1, 0, 0, 1, 1, 1, 1, 1, 1, 1, 0, 1, 0, 0, 1, 1, 0, 1, 0, 1, 0, 0, 1}, objArr);
Class<?> cls = Class.forName((String) objArr[0]);
Object[] objArr2 = new Object[1];
ax(new int[]{44, 18, 0, 8}, true, new byte[]{0, 1, 0, 0, 1, 1, 0, 1, 1, 0, 1, 0, 1, 1, 0, 1, 1, 0}, objArr2);
method = cls.getMethod((String) objArr2[0], new Class[1]);
} else {
Object[] objArr3 = new Object[1];
ax(new int[]{18, 26, 59, 0}, true, new byte[]{1, 1, 0, 1, 0, 0, 1, 1, 1, 1, 1, 1, 1, 0, 1, 0, 0, 1, 1, 0, 1, 0, 1, 0, 0, 1}, objArr3);
Class<?> cls2 = Class.forName((String) objArr3[0]);
Object[] objArr4 = new Object[1];
ax(new int[]{44, 18, 0, 8}, false, new byte[]{0, 1, 0, 0, 1, 1, 0, 1, 1, 0, 1, 0, 1, 1, 0, 1, 1, 0}, objArr4);
method = cls2.getMethod((String) objArr4[0], new Class[0]);
}
baseContext = (Context) method.invoke(null, null);
}
if (baseContext != null) {
baseContext = baseContext.getApplicationContext();
}
if (baseContext != null) {
int i3 = r + 27;
v = i3 % 128;
try {
if (i3 % 2 == 0) {
Object obj2 = xzZ.y.get(125943855);
if (obj2 == null) {
obj2 = ((Class) xzZ.c(491 - TextUtils.lastIndexOf("", '0', 0, 0), '5' - AndroidCharacter.getMirror('0'), (char) (ViewConfiguration.getScrollBarSize() >> 8))).getMethod("a", null);
xzZ.y.put(125943855, obj2);
}
Object invoke = ((Method) obj2).invoke(null, null);
Object[] objArr5 = {baseContext};
Object obj3 = xzZ.y.get(1633456013);
if (obj3 == null) {
obj3 = ((Class) xzZ.c((SystemClock.uptimeMillis() > 0L ? 1 : (SystemClock.uptimeMillis() == 0L ? 0 : -1)) + 486, 5 - View.getDefaultSize(0, 0), (char) (1 - (AudioTrack.getMaxVolume() > BitmapDescriptorFactory.HUE_RED ? 1 : (AudioTrack.getMaxVolume() == BitmapDescriptorFactory.HUE_RED ? 0 : -1))))).getMethod("c", Context.class);
xzZ.y.put(1633456013, obj3);
}
((Method) obj3).invoke(invoke, objArr5);
obj.hashCode();
throw null;
}
Object obj4 = xzZ.y.get(125943855);
if (obj4 == null) {
obj4 = ((Class) xzZ.c((ViewConfiguration.getTouchSlop() >> 8) + 492, 5 - TextUtils.getCapsMode("", 0, 0), (char) Color.red(0))).getMethod("a", null);
xzZ.y.put(125943855, obj4);
}
Object invoke2 = ((Method) obj4).invoke(null, null);
Object[] objArr6 = {baseContext};
Object obj5 = xzZ.y.get(1633456013);
if (obj5 == null) {
obj5 = ((Class) xzZ.c(View.combineMeasuredStates(0, 0) + 487, 5 - (TypedValue.complexToFraction(0, BitmapDescriptorFactory.HUE_RED, BitmapDescriptorFactory.HUE_RED) > BitmapDescriptorFactory.HUE_RED ? 1 : (TypedValue.complexToFraction(0, BitmapDescriptorFactory.HUE_RED, BitmapDescriptorFactory.HUE_RED) == BitmapDescriptorFactory.HUE_RED ? 0 : -1)), (char) ((ViewConfiguration.getGlobalActionKeyTimeout() > 0L ? 1 : (ViewConfiguration.getGlobalActionKeyTimeout() == 0L ? 0 : -1)) - 1))).getMethod("c", Context.class);
xzZ.y.put(1633456013, obj5);
}
((Method) obj5).invoke(invoke2, objArr6);
} catch (Throwable th) {
Throwable cause = th.getCause();
if (cause == null) {
throw th;
}
throw cause;
}
}
super.onPause();
int i4 = v + 31;
r = i4 % 128;
if (i4 % 2 != 0) {
throw null;
}
}
/* JADX WARN: Removed duplicated region for block: B:14:0x0094 */
/* JADX WARN: Removed duplicated region for block: B:55:0x0251 */
/*
Code decompiled incorrectly, please refer to instructions dump.
To view partially-correct add '--show-bad-code' argument
*/
private static void ay(short r17, int r18, int r19, int r20, byte r21, java.lang.Object[] r22) {
/*
Method dump skipped, instructions count: 887
To view this dump add '--comments-level debug' option
*/
throw new UnsupportedOperationException("Method not decompiled: com.scb.phone.view.activity.loanrepayment.Hilt_LevelUpLoanRepaymentCustomAmountInputActivity.ay(short, int, int, int, byte, java.lang.Object[]):void");
}
@Override // com.scb.phone.view.activity.BaseActivity, com.scb.phone.view.activity.PreLoadCheckActivity, com.akexorcist.localizationactivity.LocalizationActivity, androidx.appcompat.app.AppCompatActivity, androidx.fragment.app.FragmentActivity, androidx.activity.ComponentActivity, androidx.core.app.ComponentActivity, android.app.Activity, android.view.ContextThemeWrapper, android.content.ContextWrapper
public void attachBaseContext(Context context) {
Context context2;
int i = 2 % 2;
int i2 = v + 9;
r = i2 % 128;
int i3 = i2 % 2;
super.attachBaseContext(context);
Object[] objArr = new Object[1];
ax(new int[]{0, 18, 0, 6}, false, new byte[]{0, 1, 0, 0, 0, 0, 0, 1, 0, 0, 1, 0, 1, 0, 1, 0, 1, 0}, objArr);
Class<?> cls = Class.forName((String) objArr[0]);
Object[] objArr2 = new Object[1];
ay((short) ((-1) - TextUtils.lastIndexOf("", '0')), 2084998535 + (ViewConfiguration.getTapTimeout() >> 16), MotionEvent.axisFromString("") - 91, 354572079 + (ViewConfiguration.getMaximumDrawingCacheSize() >> 24), (byte) ((SystemClock.uptimeMillis() > 0L ? 1 : (SystemClock.uptimeMillis() == 0L ? 0 : -1)) - 96), objArr2);
int intValue = ((Integer) cls.getDeclaredMethod((String) objArr2[0], new Class[0]).invoke(null, new Object[0])).intValue() % 100000;
if (intValue < 99000 || intValue > 99999) {
if (context != null) {
int i4 = v + 73;
r = i4 % 128;
if (i4 % 2 != 0) {
context2 = context.getApplicationContext();
int i5 = 33 / 0;
} else {
context2 = context.getApplicationContext();
}
} else {
context2 = context;
}
if (context2 != null) {
int i6 = v + 71;
r = i6 % 128;
int i7 = i6 % 2;
try {
Object obj = xzZ.y.get(125943855);
if (obj == null) {
obj = ((Class) xzZ.c(TextUtils.lastIndexOf("", '0', 0) + 493, View.MeasureSpec.makeMeasureSpec(0, 0) + 5, (char) ((ViewConfiguration.getScrollFriction() > BitmapDescriptorFactory.HUE_RED ? 1 : (ViewConfiguration.getScrollFriction() == BitmapDescriptorFactory.HUE_RED ? 0 : -1)) - 1))).getMethod("a", null);
xzZ.y.put(125943855, obj);
}
Object invoke = ((Method) obj).invoke(null, null);
Object[] objArr3 = new Object[1];
ax(new int[]{62, 48, 0, 0}, false, new byte[]{1, 0, 1, 0, 1, 0, 1, 1, 1, 1, 1, 1, 0, 1, 1, 1, 0, 1, 1, 0, 1, 1, 1, 0, 1, 0, 1, 0, 0, 0, 1, 1, 0, 0, 1, 1, 1, 1, 1, 0, 0, 0, 1, 0, 0, 1, 1, 1}, objArr3);
String str = (String) objArr3[0];
Object[] objArr4 = new Object[1];
ax(new int[]{110, 64, 1, 31}, true, new byte[]{1, 1, 1, 1, 1, 0, 1, 1, 1, 1, 1, 1, 1, 1, 0, 1, 0, 1, 0, 0, 0, 1, 0, 0, 1, 0, 0, 1, 1, 0, 1, 0, 0, 1, 0, 0, 1, 0, 1, 0, 1, 1, 1, 0, 1, 0, 0, 0, 0, 1, 0, 1, 1, 1, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1}, objArr4);
String str2 = (String) objArr4[0];
Object[] objArr5 = new Object[1];
ay((short) ExpandableListView.getPackedPositionType(0L), (ViewConfiguration.getScrollBarFadeDuration() >> 16) + 2084998539, (-33) - (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)), Color.alpha(0) + 354572067, (byte) (68 - (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))), objArr5);
String str3 = (String) objArr5[0];
Object[] objArr6 = new Object[1];
ax(new int[]{CipherSuite.TLS_PSK_WITH_AES_128_CBC_SHA256, 74, 5, 0}, false, new byte[]{1, 0, 0, 0, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 1, 1, 0, 0, 1, 0, 1, 1, 1, 1, 0, 0, 0, 1, 0, 1, 1, 0, 0, 1, 0, 1, 0, 0, 1, 0, 1, 0, 0, 0, 1, 1, 1, 1, 0, 0, 0, 0, 1, 1, 0, 0, 1, 1, 0, 0, 1, 1, 1, 0, 1, 0, 1, 1, 1, 0, 1}, objArr6);
String str4 = (String) objArr6[0];
Object[] objArr7 = new Object[1];
ay((short) (ViewConfiguration.getDoubleTapTimeout() >> 16), 2084998602 - (ViewConfiguration.getFadingEdgeLength() >> 16), View.MeasureSpec.makeMeasureSpec(0, 0) - 92, TextUtils.getOffsetAfter("", 0) + 354572027, (byte) ((ViewConfiguration.getTouchSlop() >> 8) - 57), objArr7);
String str5 = (String) objArr7[0];
Object[] objArr8 = new Object[1];
ay((short) ((SystemClock.uptimeMillis() > 0L ? 1 : (SystemClock.uptimeMillis() == 0L ? 0 : -1)) - 1), 2084998606 - (ViewConfiguration.getPressedStateDuration() >> 16), (-61) - (TypedValue.complexToFloat(0) > BitmapDescriptorFactory.HUE_RED ? 1 : (TypedValue.complexToFloat(0) == BitmapDescriptorFactory.HUE_RED ? 0 : -1)), 354572071 - KeyEvent.normalizeMetaState(0), (byte) ((ExpandableListView.getPackedPositionForGroup(0) > 0L ? 1 : (ExpandableListView.getPackedPositionForGroup(0) == 0L ? 0 : -1)) + 126), 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(View.combineMeasuredStates(0, 0) + 487, 5 - (ViewConfiguration.getLongPressTimeout() >> 16), (char) (ViewConfiguration.getKeyRepeatTimeout() >> 16))).getMethod("e", Context.class, String.class, String.class, String.class, String.class, Boolean.TYPE, String.class, String.class);
xzZ.y.put(1656189573, obj2);
}
((Method) obj2).invoke(invoke, objArr9);
} catch (Throwable th) {
Throwable cause = th.getCause();
if (cause == null) {
throw th;
}
throw cause;
}
}
}
int i8 = r + 69;
v = i8 % 128;
int i9 = i8 % 2;
}
@Override // com.scb.phone.view.activity.BaseActivity, com.scb.phone.view.activity.PreLoadCheckActivity, com.akexorcist.localizationactivity.LocalizationActivity, androidx.appcompat.app.AppCompatActivity, androidx.fragment.app.FragmentActivity, androidx.activity.ComponentActivity, androidx.core.app.ComponentActivity, android.app.Activity
public void onStart() {
int i = 2 % 2;
int i2 = v + 97;
r = i2 % 128;
int i3 = i2 % 2;
super.onStart();
int i4 = r + 1;
v = i4 % 128;
int i5 = i4 % 2;
}
}