what-the-bank/sources/com/scb/phone/view/activity/prepaid/Hilt_PrepaidTravelGettingSt...

618 lines
42 KiB
Java
Raw Permalink Normal View History

2024-07-27 18:17:47 +07:00
package com.scb.phone.view.activity.prepaid;
import android.content.Context;
import android.graphics.Color;
import android.graphics.ImageFormat;
import android.graphics.PointF;
import android.graphics.drawable.Drawable;
import android.media.AudioTrack;
import android.os.Bundle;
import android.os.Process;
import android.os.SystemClock;
import android.telephony.cdma.CdmaCellLocation;
import android.text.TextUtils;
import android.util.TypedValue;
import android.view.Gravity;
import android.view.KeyEvent;
import android.view.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.google.common.primitives.SignedBytes;
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.InterfaceC11615eig;
import o.InterfaceC17278vUG;
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_PrepaidTravelGettingStartedActivity extends BaseActivity implements fPA {
private static short[] q;
private volatile C13073fPt l;
private static final byte[] $$g = {10, Ascii.SYN, ISO7816.INS_READ_RECORD2, -2};
private static final int $$h = 72;
private static int $10 = 0;
private static int $11 = 1;
private static int r = 0;
private static int x = 1;
/* renamed from: o, reason: collision with root package name */
private static char[] f7764o = {39996, 40058, 40027, 39988, 40042, 40059, 40034, 40047, 40039, 40056, 40033, 40044, 40034, 40032, 40059, 40039, 40045, 40002, 39997, 40056, 40044, 40020, 40045, 39993, 40040, 40007, 40006, 40006, 40007, 40000, 39997, 40004, 40006, 39992, 39999, 39999, 39999, 39997, 39999, 39992, 39998, 39993, 39994, 40001, 40007, 40000, 40001, 39992, 39999, 39992, 40002, 40001, 39998, 39999, 39999, 39996, 39996, 39997, 40000, 40000, 39997, 40006, 40041, 40007, 40007, 40042, 40000, 39998, 39992, 39992, 40007, 40040, 40005, 40004, 40005, 40006, 40006, 39997, 40000, 40006, 40006, 40001, 39999, 39996, 40007, 40042, 40040, 40091, 40204, 40164, 40166, 40166, 40165, 40167, 40167, 40165, 40187, 40205, 40215, 40205, 40204, 40194, 40185, 40185, 40194, 40235, 40193, 40195, 40206, 40164, 40165, 40160, 40160, 40205, 40212, 40215, 40204, 40164, 40166, 40205, 40213, 40204, 40186, 40187, 40205, 40235, 40204, 40206, 40206, 40167, 40164, 40204, 40204, 40195, 40195, 40186, 40205, 40213, 40213, 40200, 40205, 40205, 40164, 40185, 40185, 40187, 40205, 40213, 40213, 40195, 40204};
private static int m = 1357783227;
private static int p = 1406017119;
private static int t = -501990094;
private static byte[] s = {-59, 47, 38, 63, 84, 94, 7, 41, 87, 63, 81, 57, 93, 76, 95, ISO7816.INS_CREATE_FILE, ISO7816.INS_MSE, 83, Ascii.DEL, Ascii.DC4, 39, ISO7816.INS_CHANGE_CHV, 33, 80, 56, 81, -35, -8, -31, -10, Ascii.DC4, -7, -3, -2, -1, -5, 8, -82, -31, ISO7816.INS_APPEND_RECORD, -12, -5, -2, Ascii.NAK, -13, 11, 105, 49, 104, 94, 65, ISO7816.INS_REHABILITATE_CHV, 10, 90, 89, 91, -111, 93, 71, 70, 90, 9, ISOFileInfo.FCI_BYTE, ISO7816.INS_DECREASE, 104, ISO7816.INS_DECREASE_STAMPED, 105, 10, 105, ISO7816.INS_INCREASE, 105, 69, 95, SignedBytes.MAX_POWER_OF_TWO, 91, 53, 108, 65, 53, 107, ISO7816.INS_DECREASE_STAMPED, 107, 93, 51, 69, 95, 71, 106, 53, 104, 89, SignedBytes.MAX_POWER_OF_TWO, Ascii.NAK, -83, -86, -41, -67, -33, -6, -93, 96, Ascii.NAK, 97, -81, ISO7816.INS_WRITE_RECORD, -94, -89, ISOFileInfo.AB, -26, 106, -89, -35, -2, 110, -94, ISO7816.INS_WRITE_BINARY, -5, -105, -71, -33, ISO7816.INS_READ_BINARY, -88, -94, -35, -66, -33, ISO7816.INS_READ_BINARY, ISO7816.INS_WRITE_RECORD, -25, 102, -81, -34, -94, -67, -39, ISOFileInfo.A0, -71, ISO7816.INS_UPDATE_BINARY, -72, -22, 105, -93, -45, -83, -70, -47, -92, -86, -65, -45, -92, -84, -94, ISO7816.INS_WRITE_BINARY, -70, ISO7816.INS_WRITE_BINARY, -92, -70, -24, -84, -69, -107, -87, ISOFileInfo.A0, -84, ISO7816.INS_WRITE_BINARY, -82, -108, 96, -100, 97, -49, -78, 122, 97, 103, 80, ISOFileInfo.FMD_BYTE, ISO7816.INS_READ_BINARY_STAMPED, 92, -73, 87, ISO7816.INS_READ_BINARY2, 109, 40, ISOFileInfo.FMD_BYTE, 99, 97, -78, 122, 102, 103, ISOFileInfo.FMD_BYTE, ISOFileInfo.FCI_BYTE, 43, 101, -67, 120, 105, 101, 122, 123, 93, ISO7816.INS_READ_RECORD_STAMPED, 96, 81, 122};
private final Object k = new Object();
boolean b = false;
private static void az(int i, short s2, int i2, Object[] objArr) {
int i3 = (i2 * 3) + 4;
int i4 = s2 + 71;
int i5 = i * 4;
byte[] bArr = $$g;
byte[] bArr2 = new byte[1 - i5];
int i6 = 0 - i5;
int i7 = -1;
if (bArr == null) {
i4 += -i6;
i3++;
}
while (true) {
i7++;
bArr2[i7] = (byte) i4;
if (i7 == i6) {
objArr[0] = new String(bArr2, 0);
return;
} else {
i4 += -bArr[i3];
i3++;
}
}
}
/* JADX INFO: Access modifiers changed from: package-private */
public Hilt_PrepaidTravelGettingStartedActivity() {
addOnContextAvailableListener(new InterfaceC17278vUG(this) { // from class: com.scb.phone.view.activity.prepaid.Hilt_PrepaidTravelGettingStartedActivity.4
private Hilt_PrepaidTravelGettingStartedActivity c;
{
this.c = this;
}
@Override // o.InterfaceC17278vUG
public final void a(Context context) {
Hilt_PrepaidTravelGettingStartedActivity hilt_PrepaidTravelGettingStartedActivity = this.c;
if (hilt_PrepaidTravelGettingStartedActivity.b) {
return;
}
hilt_PrepaidTravelGettingStartedActivity.b = true;
((InterfaceC11615eig) hilt_PrepaidTravelGettingStartedActivity.y_()).b((PrepaidTravelGettingStartedActivity) hilt_PrepaidTravelGettingStartedActivity);
}
});
}
@Override // o.fPC
public final Object y_() {
int i = 2 % 2;
int i2 = x + 37;
r = i2 % 128;
int i3 = i2 % 2;
Object y_ = g().y_();
int i4 = r + 41;
x = i4 % 128;
if (i4 % 2 != 0) {
return y_;
}
Object obj = null;
obj.hashCode();
throw null;
}
private C13073fPt g() {
if (this.l == null) {
synchronized (this.k) {
if (this.l == null) {
this.l = new C13073fPt(this);
}
}
}
return this.l;
}
@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 + 9;
x = i2 % 128;
int i3 = i2 % 2;
bundle = getIntent().getExtras();
} else {
int i4 = x + 93;
r = i4 % 128;
int i5 = i4 % 2;
bundle = null;
}
return a.aBN_(this, bundle, defaultViewModelProviderFactory);
}
@Override // com.scb.phone.view.activity.BaseActivity, com.scb.phone.view.activity.PreLoadCheckActivity, com.akexorcist.localizationactivity.LocalizationActivity, androidx.appcompat.app.AppCompatActivity, androidx.fragment.app.FragmentActivity, androidx.activity.ComponentActivity, androidx.core.app.ComponentActivity, android.app.Activity
public void onCreate(Bundle bundle) {
int i = 2 % 2;
int i2 = x + 27;
r = i2 % 128;
int i3 = i2 % 2;
Object[] objArr = new Object[1];
ax(new int[]{0, 18, 0, 10}, false, new byte[]{1, 0, 1, 0, 0, 1, 0, 0, 0, 0, 0, 1, 0, 0, 1, 0, 1, 0}, objArr);
Class<?> cls = Class.forName((String) objArr[0]);
Object[] objArr2 = new Object[1];
ax(new int[]{18, 5, 0, 0}, false, new byte[]{1, 0, 0, 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];
ay((short) ((-54) - (Process.getElapsedCpuTime() > 0L ? 1 : (Process.getElapsedCpuTime() == 0L ? 0 : -1))), (-52444846) - (ViewConfiguration.getFadingEdgeLength() >> 16), ((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getApplicationInfo().targetSdkVersion - 109, 1311104314 - View.MeasureSpec.getSize(0), (byte) (((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getApplicationInfo().targetSdkVersion - 34), objArr3);
Class<?> cls2 = Class.forName((String) objArr3[0]);
Object[] objArr4 = new Object[1];
ay((short) (((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getPackageName().length() + 5), (-52444854) + ((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getApplicationInfo().targetSdkVersion, ((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getApplicationInfo().targetSdkVersion - 109, ((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getResources().getString(R.string.auto_change_mailing_address_review_content_1).substring(56, 57).codePointAt(0) + 1311104284, (byte) (((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getResources().getString(R.string.etb_set_detail_deduction_disclaimer_description).substring(38, 39).codePointAt(0) - 32), objArr4);
baseContext = (Context) cls2.getMethod((String) objArr4[0], new Class[0]).invoke(null, null);
}
if (baseContext != null) {
int i4 = x + 23;
r = 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(((byte) KeyEvent.getModifierMetaStateMask()) + 493, (SystemClock.currentThreadTimeMillis() > (-1L) ? 1 : (SystemClock.currentThreadTimeMillis() == (-1L) ? 0 : -1)) + 4, (char) ExpandableListView.getPackedPositionGroup(0L))).getMethod("a", null);
xzZ.y.put(125943855, obj);
}
Object invoke = ((Method) obj).invoke(null, null);
Object[] objArr5 = new Object[1];
ay((short) (((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getApplicationInfo().targetSdkVersion - 113), ((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getApplicationInfo().targetSdkVersion - 52444836, ((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getResources().getString(R.string.auto_single_form_terms_and_conditions_scbs_check_box_title).substring(77, 78).codePointAt(0) - 191, ((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getPackageName().length() + 1311104253, (byte) (((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getPackageName().length() - 13), objArr5);
String str = (String) objArr5[0];
Object[] objArr6 = new Object[1];
ax(new int[]{23, 64, 0, 0}, false, new byte[]{1, 1, 0, 1, 1, 0, 0, 1, 0, 0, 1, 0, 0, 0, 1, 0, 1, 0, 1, 1, 1, 1, 1, 1, 1, 1, 0, 1, 1, 1, 1, 0, 1, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1, 1, 1, 0, 1, 0, 0, 0, 0, 1, 0, 1, 1, 1, 0, 1, 0, 1, 0, 0, 1, 0}, objArr6);
String str2 = (String) objArr6[0];
Object[] objArr7 = new Object[1];
ax(new int[]{87, 64, CipherSuite.TLS_DH_DSS_WITH_CAMELLIA_128_CBC_SHA256, 45}, true, new byte[]{1, 1, 0, 1, 1, 0, 0, 1, 1, 0, 0, 1, 0, 0, 1, 1, 0, 1, 1, 0, 1, 1, 1, 1, 1, 1, 0, 0, 1, 1, 0, 0, 0, 1, 0, 0, 1, 1, 0, 0, 0, 0, 1, 0, 1, 0, 0, 1, 1, 0, 1, 1, 1, 0, 0, 1, 1, 0, 0, 1, 1, 1, 1, 1}, objArr7);
String str3 = (String) objArr7[0];
Object[] objArr8 = new Object[1];
ay((short) (((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getResources().getString(R.string.review_redeem_disclaimer_message).substring(8, 9).codePointAt(0) + 39), ((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getApplicationInfo().targetSdkVersion - 52444788, ((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getResources().getString(R.string.hml_ntb_pin_expired_description).substring(4, 9).codePointAt(4) - 107, 1311104321 - (ViewConfiguration.getJumpTapTimeout() >> 16), (byte) (((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getResources().getString(R.string.verify_identity_1).substring(0, 3).codePointAt(2) - 32), 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 - 161), ((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getResources().getString(R.string.hml_outcome_reject_repayment_value).substring(0, 5).length() - 52444685, (ViewConfiguration.getJumpTapTimeout() >> 16) - 75, ((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getPackageName().length() + 1311104261, (byte) (((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getApplicationInfo().targetSdkVersion - 34), objArr9);
String str5 = (String) objArr9[0];
Object[] objArr10 = new Object[1];
ay((short) (((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getResources().getString(R.string.auto_kofax_camera_tutorial_no_bank_book).substring(0, 2).codePointAt(1) - 147), ((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getApplicationInfo().targetSdkVersion - 52444709, ((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getPackageName().codePointAt(12) - 176, KeyEvent.normalizeMetaState(0) + 1311104318, (byte) (((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getResources().getString(R.string.please_choose_min_full_payment).substring(25, 26).length() - 1), 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(487 - (ViewConfiguration.getMaximumDrawingCacheSize() >> 24), View.resolveSizeAndState(0, 0, 0) + 5, (char) (KeyEvent.getMaxKeyCode() >> 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, objArr11);
} catch (Throwable th) {
Throwable cause = th.getCause();
if (cause == null) {
throw th;
}
throw cause;
}
}
}
super.onCreate(bundle);
}
@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;
int i2 = x + 101;
r = i2 % 128;
if (i2 % 2 != 0) {
getBaseContext();
throw null;
}
Context baseContext = getBaseContext();
if (baseContext == null) {
int i3 = r + 35;
x = i3 % 128;
int i4 = i3 % 2;
Object[] objArr = new Object[1];
ay((short) ((-55) - (ViewConfiguration.getEdgeSlop() >> 16)), ((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getPackageName().length() - 52444859, ((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getResources().getString(R.string.manage_promptpay_bill_alert_message).substring(CipherSuite.TLS_DHE_DSS_WITH_AES_128_GCM_SHA256, CipherSuite.TLS_DHE_DSS_WITH_AES_256_GCM_SHA384).length() - 76, ((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getResources().getString(R.string.bottomsheet_action_collapse).substring(15, 16).length() + 1311104313, (byte) (ViewConfiguration.getMaximumFlingVelocity() >> 16), objArr);
Class<?> cls = Class.forName((String) objArr[0]);
Object[] objArr2 = new Object[1];
ay((short) ((ViewConfiguration.getZoomControlsTimeout() > 0L ? 1 : (ViewConfiguration.getZoomControlsTimeout() == 0L ? 0 : -1)) + 17), ((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getResources().getString(R.string.manage_email_otp_resend).substring(7, 9).codePointAt(0) - 52444852, ((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getResources().getString(R.string.auto_single_form_select_account_investx_open_omnibus_description).substring(CipherSuite.TLS_DHE_PSK_WITH_NULL_SHA256, CipherSuite.TLS_RSA_PSK_WITH_AES_128_CBC_SHA256).codePointAt(0) - 185, ((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getResources().getString(R.string.material_timepicker_am).substring(0, 2).codePointAt(1) + 1311104239, (byte) ((-1) - TextUtils.lastIndexOf("", '0')), objArr2);
baseContext = (Context) cls.getMethod((String) objArr2[0], new Class[0]).invoke(null, null);
}
if (baseContext != null) {
int i5 = r + 47;
x = i5 % 128;
int i6 = i5 % 2;
baseContext = baseContext.getApplicationContext();
}
if (baseContext != null) {
try {
Object obj = xzZ.y.get(125943855);
if (obj == null) {
obj = ((Class) xzZ.c(View.MeasureSpec.makeMeasureSpec(0, 0) + 492, 5 - Color.alpha(0), (char) ((-1) - ImageFormat.getBitsPerPixel(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(TextUtils.lastIndexOf("", '0', 0, 0) + 488, 5 - (ViewConfiguration.getTouchSlop() >> 8), (char) Color.red(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();
}
private static void ax(int[] iArr, boolean z, byte[] bArr, Object[] objArr) {
int i;
int i2 = 2;
int i3 = 2 % 2;
TVH tvh = new TVH();
int i4 = 0;
int i5 = iArr[0];
int i6 = iArr[1];
int i7 = iArr[2];
int i8 = iArr[3];
char[] cArr = f7764o;
int i9 = 5;
if (cArr != null) {
int length = cArr.length;
char[] cArr2 = new char[length];
int i10 = 0;
while (i10 < length) {
int i11 = $10 + 111;
$11 = i11 % 128;
if (i11 % i2 == 0) {
try {
Object[] objArr2 = new Object[1];
objArr2[i4] = Integer.valueOf(cArr[i10]);
Object obj = xzZ.y.get(1645349359);
if (obj == null) {
Class cls = (Class) xzZ.c(223 - (CdmaCellLocation.convertQuartSecToDecDegrees(i4) > 0.0d ? 1 : (CdmaCellLocation.convertQuartSecToDecDegrees(i4) == 0.0d ? 0 : -1)), Drawable.resolveOpacity(i4, i4) + i9, (char) ((Process.myTid() >> 22) + 41977));
byte b = (byte) i4;
byte b2 = b;
Object[] objArr3 = new Object[1];
az(b, b2, b2, objArr3);
obj = cls.getMethod((String) objArr3[0], Integer.TYPE);
xzZ.y.put(1645349359, obj);
}
cArr2[i10] = ((Character) ((Method) obj).invoke(null, objArr2)).charValue();
i10 <<= 1;
} catch (Throwable th) {
Throwable cause = th.getCause();
if (cause == null) {
throw th;
}
throw cause;
}
} else {
Object[] objArr4 = {Integer.valueOf(cArr[i10])};
Object obj2 = xzZ.y.get(1645349359);
if (obj2 == null) {
Class cls2 = (Class) xzZ.c(TextUtils.getOffsetAfter("", 0) + 223, 5 - Color.blue(0), (char) ((SystemClock.elapsedRealtimeNanos() > 0L ? 1 : (SystemClock.elapsedRealtimeNanos() == 0L ? 0 : -1)) + 41976));
byte b3 = (byte) 0;
byte b4 = b3;
Object[] objArr5 = new Object[1];
az(b3, b4, b4, objArr5);
obj2 = cls2.getMethod((String) objArr5[0], Integer.TYPE);
xzZ.y.put(1645349359, obj2);
}
cArr2[i10] = ((Character) ((Method) obj2).invoke(null, objArr4)).charValue();
i10++;
}
int i12 = $10 + 93;
$11 = i12 % 128;
int i13 = i12 % 2;
i2 = 2;
i4 = 0;
i9 = 5;
}
cArr = cArr2;
}
char[] cArr3 = new char[i6];
System.arraycopy(cArr, i5, cArr3, 0, i6);
if (bArr != null) {
int i14 = $10 + 45;
$11 = i14 % 128;
int i15 = i14 % 2;
char[] cArr4 = new char[i6];
tvh.c = 0;
int i16 = $11 + 67;
$10 = i16 % 128;
int i17 = i16 % 2;
char c = 0;
while (tvh.c < i6) {
if (bArr[tvh.c] == 1) {
int i18 = $10 + 69;
$11 = i18 % 128;
int i19 = i18 % 2;
int i20 = tvh.c;
Object[] objArr6 = {Integer.valueOf(cArr3[tvh.c]), Integer.valueOf(c)};
Object obj3 = xzZ.y.get(850398076);
if (obj3 == null) {
obj3 = ((Class) xzZ.c(Drawable.resolveOpacity(0, 0) + 502, (ViewConfiguration.getMaximumDrawingCacheSize() >> 24) + 5, (char) ((Process.myTid() >> 22) + 54))).getMethod("F", Integer.TYPE, Integer.TYPE);
xzZ.y.put(850398076, obj3);
}
cArr4[i20] = ((Character) ((Method) obj3).invoke(null, objArr6)).charValue();
} else {
int i21 = tvh.c;
Object[] objArr7 = {Integer.valueOf(cArr3[tvh.c]), Integer.valueOf(c)};
Object obj4 = xzZ.y.get(1084521042);
if (obj4 == null) {
obj4 = ((Class) xzZ.c(ImageFormat.getBitsPerPixel(0) + 16, 5 - (KeyEvent.getMaxKeyCode() >> 16), (char) (58134 - (ViewConfiguration.getFadingEdgeLength() >> 16)))).getMethod("H", Integer.TYPE, Integer.TYPE);
xzZ.y.put(1084521042, obj4);
}
cArr4[i21] = ((Character) ((Method) obj4).invoke(null, objArr7)).charValue();
}
c = cArr4[tvh.c];
Object[] objArr8 = {tvh, tvh};
Object obj5 = xzZ.y.get(1698744941);
if (obj5 == null) {
Class cls3 = (Class) xzZ.c(402 - View.resolveSizeAndState(0, 0, 0), (ViewConfiguration.getJumpTapTimeout() >> 16) + 5, (char) (21608 - View.getDefaultSize(0, 0)));
byte b5 = (byte) (-$$g[3]);
Object[] objArr9 = new Object[1];
az((byte) 0, b5, (byte) (b5 - 2), objArr9);
obj5 = cls3.getMethod((String) objArr9[0], Object.class, Object.class);
xzZ.y.put(1698744941, obj5);
}
((Method) obj5).invoke(null, objArr8);
}
cArr3 = cArr4;
}
if (i8 > 0) {
char[] cArr5 = new char[i6];
i = 0;
System.arraycopy(cArr3, 0, cArr5, 0, i6);
int i22 = i6 - i8;
System.arraycopy(cArr5, 0, cArr3, i22, i8);
System.arraycopy(cArr5, i8, cArr3, 0, i22);
} else {
i = 0;
}
if (z) {
char[] cArr6 = new char[i6];
while (true) {
tvh.c = i;
if (tvh.c >= i6) {
break;
}
cArr6[tvh.c] = cArr3[(i6 - tvh.c) - 1];
i = tvh.c + 1;
}
cArr3 = cArr6;
}
if (i7 > 0) {
int i23 = $10 + 29;
$11 = i23 % 128;
int i24 = i23 % 2;
int i25 = 0;
while (true) {
tvh.c = i25;
if (tvh.c >= i6) {
break;
}
int i26 = $10 + 95;
$11 = i26 % 128;
if (i26 % 2 == 0) {
cArr3[tvh.c] = (char) (cArr3[tvh.c] * iArr[5]);
i25 = tvh.c - 1;
} else {
cArr3[tvh.c] = (char) (cArr3[tvh.c] - iArr[2]);
i25 = tvh.c + 1;
}
}
}
String str = new String(cArr3);
int i27 = $11 + 57;
$10 = i27 % 128;
int i28 = i27 % 2;
objArr[0] = str;
}
/* JADX WARN: Removed duplicated region for block: B:14:0x0096 */
/* JADX WARN: Removed duplicated region for block: B:37:0x01b1 */
/* JADX WARN: Removed duplicated region for block: B:64:0x029d */
/*
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: 818
To view this dump add '--comments-level debug' option
*/
throw new UnsupportedOperationException("Method not decompiled: com.scb.phone.view.activity.prepaid.Hilt_PrepaidTravelGettingStartedActivity.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
public void onPause() {
int i = 2 % 2;
Context baseContext = getBaseContext();
if (baseContext == null) {
int i2 = x + 13;
r = i2 % 128;
int i3 = i2 % 2;
Object[] objArr = new Object[1];
ay((short) (Drawable.resolveOpacity(0, 0) - 55), ((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getResources().getString(R.string.pin_mismatch).substring(4, 5).codePointAt(0) - 52444878, (-75) - TextUtils.indexOf("", "", 0), ((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getPackageName().length() + 1311104301, (byte) (((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];
ay((short) (((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getResources().getString(R.string.mw_create_qr_shop_remark).substring(0, 41).length() - 23), (ViewConfiguration.getGlobalActionKeyTimeout() > 0L ? 1 : (ViewConfiguration.getGlobalActionKeyTimeout() == 0L ? 0 : -1)) - 52444821, ((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getResources().getString(R.string.auto_scbone_occupation_year_and_month_value).substring(0, 3).length() - 78, ((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getResources().getString(R.string.only_one_card_allowed_label).substring(7, 8).length() + 1311104315, (byte) (((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getResources().getString(R.string.hml_summary_simulator_about_steps).substring(0, 3).length() - 3), objArr2);
baseContext = (Context) cls.getMethod((String) objArr2[0], new Class[0]).invoke(null, null);
}
if (baseContext != null) {
int i4 = r + 125;
x = i4 % 128;
if (i4 % 2 == 0) {
baseContext.getApplicationContext();
throw null;
}
baseContext = baseContext.getApplicationContext();
}
if (baseContext != null) {
int i5 = x + 101;
r = i5 % 128;
try {
if (i5 % 2 != 0) {
Object obj = xzZ.y.get(125943855);
if (obj == null) {
obj = ((Class) xzZ.c(492 - (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)), TextUtils.indexOf("", "") + 5, (char) (ViewConfiguration.getMaximumFlingVelocity() >> 16))).getMethod("a", null);
xzZ.y.put(125943855, obj);
}
Object invoke = ((Method) obj).invoke(null, null);
Object[] objArr3 = {baseContext};
Object obj2 = xzZ.y.get(1633456013);
if (obj2 == null) {
obj2 = ((Class) xzZ.c(TextUtils.lastIndexOf("", '0') + 488, 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) (AudioTrack.getMinVolume() > BitmapDescriptorFactory.HUE_RED ? 1 : (AudioTrack.getMinVolume() == BitmapDescriptorFactory.HUE_RED ? 0 : -1)))).getMethod("c", Context.class);
xzZ.y.put(1633456013, obj2);
}
((Method) obj2).invoke(invoke, objArr3);
int i6 = 34 / 0;
} else {
Object obj3 = xzZ.y.get(125943855);
if (obj3 == null) {
obj3 = ((Class) xzZ.c(492 - (ViewConfiguration.getPressedStateDuration() >> 16), TextUtils.indexOf((CharSequence) "", '0', 0, 0) + 6, (char) Color.green(0))).getMethod("a", null);
xzZ.y.put(125943855, obj3);
}
Object invoke2 = ((Method) obj3).invoke(null, null);
Object[] objArr4 = {baseContext};
Object obj4 = xzZ.y.get(1633456013);
if (obj4 == null) {
obj4 = ((Class) xzZ.c((-16776729) - Color.rgb(0, 0, 0), (ViewConfiguration.getTapTimeout() >> 16) + 5, (char) TextUtils.getTrimmedLength(""))).getMethod("c", Context.class);
xzZ.y.put(1633456013, obj4);
}
((Method) obj4).invoke(invoke2, objArr4);
}
} catch (Throwable th) {
Throwable cause = th.getCause();
if (cause == null) {
throw th;
}
throw cause;
}
}
super.onPause();
int i7 = r + 91;
x = i7 % 128;
int i8 = i7 % 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, android.view.ContextThemeWrapper, android.content.ContextWrapper
public void attachBaseContext(Context context) {
int i = 2 % 2;
super.attachBaseContext(context);
Object[] objArr = new Object[1];
ax(new int[]{0, 18, 0, 10}, false, new byte[]{1, 0, 1, 0, 0, 1, 0, 0, 0, 0, 0, 1, 0, 0, 1, 0, 1, 0}, objArr);
Class<?> cls = Class.forName((String) objArr[0]);
Object[] objArr2 = new Object[1];
ax(new int[]{18, 5, 0, 0}, false, new byte[]{1, 0, 0, 0, 1}, objArr2);
int intValue = ((Integer) cls.getDeclaredMethod((String) objArr2[0], new Class[0]).invoke(null, new Object[0])).intValue() % 100000;
if (intValue >= 99000) {
int i2 = r + 59;
x = i2 % 128;
if (i2 % 2 == 0) {
int i3 = 58 / 0;
if (intValue <= 99999) {
return;
}
} else if (intValue <= 99999) {
return;
}
}
Context applicationContext = context != null ? context.getApplicationContext() : context;
if (applicationContext != null) {
try {
Object obj = xzZ.y.get(125943855);
if (obj == null) {
obj = ((Class) xzZ.c(491 - ((byte) KeyEvent.getModifierMetaStateMask()), Gravity.getAbsoluteGravity(0, 0) + 5, (char) (Process.myPid() >> 22))).getMethod("a", null);
xzZ.y.put(125943855, obj);
}
Object invoke = ((Method) obj).invoke(null, null);
Object[] objArr3 = new Object[1];
ay((short) ((ViewConfiguration.getFadingEdgeLength() >> 16) - 79), (-52444802) - (ExpandableListView.getPackedPositionForGroup(0) > 0L ? 1 : (ExpandableListView.getPackedPositionForGroup(0) == 0L ? 0 : -1)), MotionEvent.axisFromString("") - 74, 1311104267 - (SystemClock.elapsedRealtime() > 0L ? 1 : (SystemClock.elapsedRealtime() == 0L ? 0 : -1)), (byte) (ExpandableListView.getPackedPositionForGroup(0) > 0L ? 1 : (ExpandableListView.getPackedPositionForGroup(0) == 0L ? 0 : -1)), objArr3);
String str = (String) objArr3[0];
Object[] objArr4 = new Object[1];
ax(new int[]{23, 64, 0, 0}, false, new byte[]{1, 1, 0, 1, 1, 0, 0, 1, 0, 0, 1, 0, 0, 0, 1, 0, 1, 0, 1, 1, 1, 1, 1, 1, 1, 1, 0, 1, 1, 1, 1, 0, 1, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1, 1, 1, 0, 1, 0, 0, 0, 0, 1, 0, 1, 1, 1, 0, 1, 0, 1, 0, 0, 1, 0}, objArr4);
String str2 = (String) objArr4[0];
Object[] objArr5 = new Object[1];
ax(new int[]{87, 64, CipherSuite.TLS_DH_DSS_WITH_CAMELLIA_128_CBC_SHA256, 45}, true, new byte[]{1, 1, 0, 1, 1, 0, 0, 1, 1, 0, 0, 1, 0, 0, 1, 1, 0, 1, 1, 0, 1, 1, 1, 1, 1, 1, 0, 0, 1, 1, 0, 0, 0, 1, 0, 0, 1, 1, 0, 0, 0, 0, 1, 0, 1, 0, 0, 1, 1, 0, 1, 1, 1, 0, 0, 1, 1, 0, 0, 1, 1, 1, 1, 1}, objArr5);
String str3 = (String) objArr5[0];
Object[] objArr6 = new Object[1];
ay((short) (ImageFormat.getBitsPerPixel(0) + 72), (-52444754) - (TypedValue.complexToFloat(0) > BitmapDescriptorFactory.HUE_RED ? 1 : (TypedValue.complexToFloat(0) == BitmapDescriptorFactory.HUE_RED ? 0 : -1)), (ViewConfiguration.getMaximumFlingVelocity() >> 16) - 75, (ViewConfiguration.getDoubleTapTimeout() >> 16) + 1311104321, (byte) ((ExpandableListView.getPackedPositionForChild(0, 0) > 0L ? 1 : (ExpandableListView.getPackedPositionForChild(0, 0) == 0L ? 0 : -1)) + 1), objArr6);
String str4 = (String) objArr6[0];
Object[] objArr7 = new Object[1];
ay((short) ((-127) - ((Process.getThreadPriority(0) + 20) >> 6)), (-52444680) - (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)), (-75) - View.MeasureSpec.getMode(0), 1311104274 - (ViewConfiguration.getMaximumFlingVelocity() >> 16), (byte) (1 - (ViewConfiguration.getZoomControlsTimeout() > 0L ? 1 : (ViewConfiguration.getZoomControlsTimeout() == 0L ? 0 : -1))), objArr7);
String str5 = (String) objArr7[0];
Object[] objArr8 = new Object[1];
ay((short) ((ExpandableListView.getPackedPositionForChild(0, 0) > 0L ? 1 : (ExpandableListView.getPackedPositionForChild(0, 0) == 0L ? 0 : -1)) - 114), (-52444675) - (ViewConfiguration.getEdgeSlop() >> 16), (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)) - 75, 1294327102 - Color.rgb(0, 0, 0), (byte) View.combineMeasuredStates(0, 0), objArr8);
Object[] objArr9 = {applicationContext, str, str2, str3, str4, true, str5, (String) objArr8[0]};
Object obj2 = xzZ.y.get(1656189573);
if (obj2 == null) {
obj2 = ((Class) xzZ.c(488 - (AudioTrack.getMaxVolume() > BitmapDescriptorFactory.HUE_RED ? 1 : (AudioTrack.getMaxVolume() == BitmapDescriptorFactory.HUE_RED ? 0 : -1)), Gravity.getAbsoluteGravity(0, 0) + 5, (char) View.MeasureSpec.getSize(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);
int i4 = r + 113;
x = i4 % 128;
if (i4 % 2 == 0) {
int i5 = 3 % 4;
}
} catch (Throwable th) {
Throwable cause = th.getCause();
if (cause == null) {
throw th;
}
throw cause;
}
}
}
@Override // com.scb.phone.view.activity.BaseActivity, com.scb.phone.view.activity.PreLoadCheckActivity, com.akexorcist.localizationactivity.LocalizationActivity, androidx.appcompat.app.AppCompatActivity, androidx.fragment.app.FragmentActivity, androidx.activity.ComponentActivity, androidx.core.app.ComponentActivity, android.app.Activity
public void onStart() {
int i = 2 % 2;
int i2 = r + 105;
x = i2 % 128;
int i3 = i2 % 2;
super.onStart();
if (i3 != 0) {
return;
}
Object obj = null;
obj.hashCode();
throw null;
}
}