package o; import android.content.Context; import android.graphics.Color; import android.graphics.drawable.Drawable; 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.google.common.primitives.SignedBytes; import com.kofax.mobile.sdk._internal.impl.extraction.kta.KtaJsonExactionHelper; import com.scb.phone.view.activity.BaseActivity; import com.scb.phone.view.activity.splash.SplashActivity; import java.lang.reflect.Method; import net.sf.scuba.smartcards.ISO7816; import net.sf.scuba.smartcards.ISOFileInfo; import o.C13068fPo; import o.VLM; import okhttp3.internal.http2.Http2Connection; import org.bouncycastle.crypto.signers.PSSSigner; import org.jmrtd.lds.CVCAFile; /* renamed from: o.enX, reason: case insensitive filesystem */ /* loaded from: classes5.dex */ public abstract class AbstractActivityC11871enX extends BaseActivity implements fPA { private static short[] r; private volatile C13073fPt l; private static final byte[] $$y = {72, -15, 70, -100}; private static final int $$z = 41; private static int $10 = 0; private static int $11 = 1; private static int v = 0; private static int w = 1; private static int m = 74153414; private static int k = 1406017081; private static int s = -722270440; private static byte[] p = {46, 92, 40, ISO7816.INS_PUT_DATA, -61, 8, 8, ISOFileInfo.DATA_BYTES2, ISO7816.INS_PSO, ISOFileInfo.FCI_BYTE, 16, -63, ISO7816.INS_GET_RESPONSE, -61, 92, -60, 83, ISO7816.INS_PUT_DATA, ISOFileInfo.A5, -3, -83, 85, 119, 95, 74, ISO7816.INS_CHANGE_CHV, ISOFileInfo.FCI_BYTE, 110, 88, 104, 39, 37, Ascii.DEL, 35, 105, 108, 104, 87, 113, 82, 74, 94, 119, 88, 119, SignedBytes.MAX_POWER_OF_TWO, 119, 107, 33, ISOFileInfo.FCP_BYTE, 37, 91, 118, ISOFileInfo.FCI_BYTE, 91, 117, 94, 117, 35, 93, 107, 33, 105, 120, 91, 74, 39, ISOFileInfo.FCP_BYTE, 37, Ascii.DC2, 77, 19, 58, -29, 70, -53, 76, 28, -12, 77, -56, 67, -11, 63, 77, ISO7816.INS_CHANGE_CHV, 29, Ascii.DC2, -12, Ascii.DC2, 77, -11, 57, 71, 62, -11, 77, 19, 57, Ascii.DC2, 33, -22, 58, ISO7816.INS_APPEND_RECORD, 46, Ascii.ETB, 62, Ascii.DC2, -50, 70, -50, 40, 56, 28, 19, ISO7816.INS_CHANGE_CHV, Ascii.ETB, 56, 37, 29, 37, 28, -55, 77, ISO7816.INS_CHANGE_CHV, -49, 77, -56, CVCAFile.CAR_TAG, -11, 28, -13, ISOFileInfo.FCP_BYTE, -102, -13, ISO7816.INS_WRITE_RECORD, Byte.MIN_VALUE, -108, -51, -111, ISO7816.INS_UPDATE_BINARY, -102, -39, ISOFileInfo.DATA_BYTES2, -56, -102, ISO7816.INS_LOAD_KEY_FILE, 110, ISO7816.INS_GET_DATA, ISO7816.INS_LOAD_KEY_FILE, 106, -39, Byte.MIN_VALUE, ISO7816.INS_WRITE_RECORD, ISOFileInfo.FILE_IDENTIFIER, ISOFileInfo.FCI_EXT, -34, ISO7816.INS_LOAD_KEY_FILE, ISOFileInfo.FCI_EXT, -13, -34, 105, -9, ISOFileInfo.FCP_BYTE, -102, -39, ISO7816.INS_GET_DATA, -34, 105, -16, -108, ISO7816.INS_WRITE_RECORD, -122, -34, -124, -51, ISOFileInfo.FILE_IDENTIFIER, -124, 108, -113, -37, -11, ISO7816.INS_LOAD_KEY_FILE, -107, -35, -122, -56, ISOFileInfo.FCI_EXT, -107, -11, 105, -102, -33, -10, 49, -104, ISOFileInfo.FCI_EXT, 33, ISOFileInfo.FCI_BYTE, 72, 51, -14, -39, -11, -97, Byte.MIN_VALUE, ISO7816.INS_DECREASE, 55, -101, 116, 88, 55, ISOFileInfo.DATA_BYTES2, 76, 92, ISO7816.INS_DECREASE, -126, 75, 71, 13, ISOFileInfo.FCI_BYTE, ISO7816.INS_MSE, -102, ISO7816.INS_DECREASE, ISOFileInfo.DATA_BYTES2, 12, ISOFileInfo.FCI_BYTE, ISO7816.INS_MSE, Byte.MIN_VALUE, 119, -12, -97, 108, ISO7816.INS_DECREASE, 33, 109, ISO7816.INS_INCREASE, 13, -124, 10, ISO7816.INS_LOAD_KEY_FILE, 93, 51, ISOFileInfo.FILE_IDENTIFIER, 49, 8, ISOFileInfo.PROP_INFO, 54, -104, 15, ISOFileInfo.FILE_IDENTIFIER, 54, -98, ISO7816.INS_DECREASE, -126, 8, -126, 54, 8, ISO7816.INS_PUT_DATA, -98, 11, 89, -99, ISO7816.INS_INCREASE, -98, -126, PSSSigner.TRAILER_IMPLICIT, 96, ISO7816.INS_READ_BINARY_STAMPED, 109, Ascii.NAK, Ascii.NAK, Ascii.NAK, Ascii.NAK, Ascii.NAK, Ascii.NAK, Ascii.NAK}; private static char[] t = {49117, 49115, 49054, 48169, 49107, 49118, 49110, 49095, 49093, 49089, 49127, 49108, 49138, 49114, 49106, 49025, 49105, 49053, 49111, 49094, 49026, 48168, 49029, 49034, 49119, 48171, 48170, 49031, 49091, 49028, 49027, 49098, 49030, 49104, 49109, 49116}; private static char q = 35375; /* renamed from: o, reason: collision with root package name */ private final Object f9064o = 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:0x002a). Please report as a decompilation issue!!! */ /* Code decompiled incorrectly, please refer to instructions dump. To view partially-correct add '--show-bad-code' argument */ private static void az(byte r6, byte r7, short r8, java.lang.Object[] r9) { /* int r6 = r6 * 2 int r6 = 4 - r6 byte[] r0 = o.AbstractActivityC11871enX.$$y int r7 = r7 * 3 int r1 = r7 + 1 int r8 = r8 + 108 byte[] r1 = new byte[r1] r2 = 0 if (r0 != 0) goto L14 r3 = r7 r4 = r2 goto L2a L14: r3 = r2 L15: byte r4 = (byte) r8 r1[r3] = r4 if (r3 != r7) goto L22 java.lang.String r6 = new java.lang.String r6.(r1, r2) r9[r2] = r6 return L22: int r3 = r3 + 1 r4 = r0[r6] r5 = r3 r3 = r8 r8 = r4 r4 = r5 L2a: int r8 = -r8 int r8 = r8 + r3 int r6 = r6 + 1 r3 = r4 goto L15 */ throw new UnsupportedOperationException("Method not decompiled: o.AbstractActivityC11871enX.az(byte, byte, short, java.lang.Object[]):void"); } public AbstractActivityC11871enX() { addOnContextAvailableListener(new InterfaceC17278vUG(this) { // from class: o.enX.3 private AbstractActivityC11871enX d; { this.d = this; } @Override // o.InterfaceC17278vUG public final void a(Context context) { AbstractActivityC11871enX abstractActivityC11871enX = this.d; if (abstractActivityC11871enX.b) { return; } abstractActivityC11871enX.b = true; ((InterfaceC11929eoc) abstractActivityC11871enX.y_()).a((SplashActivity) abstractActivityC11871enX); } }); } @Override // o.fPC public final Object y_() { int i = 2 % 2; int i2 = v + 87; w = i2 % 128; int i3 = i2 % 2; Object y_ = h().y_(); int i4 = w + 115; v = i4 % 128; int i5 = i4 % 2; return y_; } private C13073fPt h() { if (this.l == null) { synchronized (this.f9064o) { 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) { bundle = getIntent().getExtras(); int i2 = v + 23; w = i2 % 128; int i3 = i2 % 2; } else { int i4 = w + 19; v = 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 = w + 9; v = i2 % 128; int i3 = i2 % 2; Object[] objArr = new Object[1]; ax((short) (((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getResources().getString(com.scb.phone.R.string.common_google_play_services_notification_channel_name).substring(29, 30).codePointAt(0) - 118), ((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getResources().getString(com.scb.phone.R.string.add_account_info_body).substring(54, 55).codePointAt(0) - 1470456819, (-25) - (SystemClock.currentThreadTimeMillis() > (-1L) ? 1 : (SystemClock.currentThreadTimeMillis() == (-1L) ? 0 : -1)), ((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getResources().getString(com.scb.phone.R.string.company_name_inline_error).substring(58, 59).length() + 2026039123, (byte) (((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getResources().getString(com.scb.phone.R.string.auto_touchpoints_please_turn_off_wifi).substring(29, 30).length() + 48), objArr); Class cls = Class.forName((String) objArr[0]); Object[] objArr2 = new Object[1]; ax((short) (((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getResources().getString(com.scb.phone.R.string.abc_menu_shift_shortcut_label).substring(0, 6).codePointAt(1) - 48), (-1470456770) - View.combineMeasuredStates(0, 0), ((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getResources().getString(com.scb.phone.R.string.juristic_request_form_account_info_description).substring(0, 3).length() - 42, 2026039102 + ((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getApplicationInfo().targetSdkVersion, (byte) (((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getPackageName().length() - 17), 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(new char[]{'\f', 2, 21, 6, 31, 17, 23, '\f', 16, 26, 29, 16, 15, 30, '\r', 19, 7, 14, '\r', 1, 7, 4, '\n', 7, '\f', 20}, (byte) (((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getApplicationInfo().targetSdkVersion - 2), ((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getApplicationInfo().targetSdkVersion - 8, objArr3); Class cls2 = Class.forName((String) objArr3[0]); Object[] objArr4 = new Object[1]; ay(new char[]{31, 21, 13832, 13832, '\f', 6, 6, '\r', 13834, 13834, 25, '\f', ' ', 15, '\r', 19, 30, 5}, (byte) (((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getResources().getString(com.scb.phone.R.string.easycash_success_result_description_cdx).substring(0, 115).codePointAt(113) - 3604), ((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getResources().getString(com.scb.phone.R.string.auto_single_form_suitability_test_new_customer_description).substring(76, 77).length() + 17, objArr4); baseContext = (Context) cls2.getMethod((String) objArr4[0], new Class[0]).invoke(null, null); } if (baseContext != null) { baseContext = baseContext.getApplicationContext(); } if (baseContext != null) { try { Object obj = xzZ.y.get(125943855); if (obj == null) { obj = ((Class) xzZ.c(493 - (SystemClock.elapsedRealtime() > 0L ? 1 : (SystemClock.elapsedRealtime() == 0L ? 0 : -1)), 5 - (ViewConfiguration.getLongPressTimeout() >> 16), (char) ((-16777216) - Color.rgb(0, 0, 0)))).getMethod("a", null); xzZ.y.put(125943855, obj); } Object invoke = ((Method) obj).invoke(null, null); Object[] objArr5 = new Object[1]; ax((short) (((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getResources().getString(com.scb.phone.R.string.easycash_success_subtitle_successfull_request_speedy_loan_top_up).substring(23, 24).codePointAt(0) + 9), ((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getResources().getString(com.scb.phone.R.string.auto_single_form_review_innovest_x_account).substring(16, 17).codePointAt(0) - 1470456844, ((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getPackageName().codePointAt(1) - 107, (ViewConfiguration.getWindowTouchSlop() >> 8) + 2026039076, (byte) ((-90) - Drawable.resolveOpacity(0, 0)), objArr5); String str = (String) objArr5[0]; Object[] objArr6 = new Object[1]; ax((short) (Drawable.resolveOpacity(0, 0) - 26), ((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getResources().getString(com.scb.phone.R.string.auto_single_form_check_eligibility_mf_account).substring(68, 69).codePointAt(0) - 1470456751, 20 - TextUtils.indexOf("", "", 0, 0), ((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getResources().getString(com.scb.phone.R.string.faq_pay_with_point_x_description_part_2).substring(92, 94).codePointAt(1) + 2026039096, (byte) (18 - (ViewConfiguration.getWindowTouchSlop() >> 8)), objArr6); String str2 = (String) objArr6[0]; Object[] objArr7 = new Object[1]; ax((short) (((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getApplicationInfo().targetSdkVersion - 81), ((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getResources().getString(com.scb.phone.R.string.debit_card_set_new_pin_pop_up_description).substring(4, 9).length() - 1470456661, ((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getResources().getString(com.scb.phone.R.string.fastpay_manage_qr_changing_option_dialog_title).substring(34, 35).length() + 19, ((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getPackageName().codePointAt(11) + 2026039014, (byte) ((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getPackageName().codePointAt(0), objArr7); String str3 = (String) objArr7[0]; Object[] objArr8 = new Object[1]; ax((short) (((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getApplicationInfo().targetSdkVersion + 6), ((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getResources().getString(com.scb.phone.R.string.point_x_on_board_title).substring(56, 57).length() - 1470456594, ((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getPackageName().length() + 17, ((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getPackageName().length() + 2026039118, (byte) (((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getApplicationInfo().targetSdkVersion - 111), objArr8); String str4 = (String) objArr8[0]; Object[] objArr9 = new Object[1]; ax((short) (((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getApplicationInfo().targetSdkVersion - 47), (-1470456520) - View.MeasureSpec.getSize(0), ((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getPackageName().length() - 52, ((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getPackageName().codePointAt(7) + 2026039038, (byte) (((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getPackageName().length() - 111), objArr9); String str5 = (String) objArr9[0]; Object[] objArr10 = new Object[1]; ay(new char[]{'\b', '\f', 21, '!', 19, 18, 24, '!', 4, 20, 0, '\f', 14, 4, '!', 21, 13832, 13832, '\b', 20, '\f', '\n', ' ', 3, 21, 3, 16, 15, 24, 11, '\"', '!', 26, '!', 18, '\b'}, (byte) (((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getPackageName().codePointAt(6) - 5), ((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getResources().getString(com.scb.phone.R.string.billpayment_bnpl_coin_more_detail_page_title).substring(0, 20).length() + 16, 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 - TextUtils.lastIndexOf("", '0', 0, 0), 5 - (Process.myPid() >> 22), (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); int i4 = v + 49; w = i4 % 128; int i5 = i4 % 2; } 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 = v + 63; w = i2 % 128; int i3 = i2 % 2; Context baseContext = getBaseContext(); if (baseContext == null) { Object[] objArr = new Object[1]; ay(new char[]{'\f', 2, 21, 6, 31, 17, 23, '\f', 16, 26, 29, 16, 15, 30, '\r', 19, 7, 14, '\r', 1, 7, 4, '\n', 7, '\f', 20}, (byte) (31 - ((byte) KeyEvent.getModifierMetaStateMask())), ExpandableListView.getPackedPositionType(0L) + 26, objArr); Class cls = Class.forName((String) objArr[0]); Object[] objArr2 = new Object[1]; ay(new char[]{31, 21, 13832, 13832, '\f', 6, 6, '\r', 13834, 13834, 25, '\f', ' ', 15, '\r', 19, 30, 5}, (byte) ((Process.myTid() >> 22) + 32), 18 - Color.argb(0, 0, 0, 0), objArr2); baseContext = (Context) cls.getMethod((String) objArr2[0], new Class[0]).invoke(null, null); } if (baseContext != null) { baseContext = baseContext.getApplicationContext(); } if (baseContext != null) { int i4 = w + 37; v = i4 % 128; int i5 = i4 % 2; try { Object obj = xzZ.y.get(125943855); if (obj == null) { obj = ((Class) xzZ.c(TextUtils.indexOf("", "", 0, 0) + 492, ExpandableListView.getPackedPositionChild(0L) + 6, (char) TextUtils.indexOf("", "", 0, 0))).getMethod("a", null); xzZ.y.put(125943855, obj); } Object invoke = ((Method) obj).invoke(null, null); Object[] objArr3 = {baseContext}; Object obj2 = xzZ.y.get(1378719468); if (obj2 == null) { obj2 = ((Class) xzZ.c(View.combineMeasuredStates(0, 0) + 487, ExpandableListView.getPackedPositionChild(0L) + 6, (char) (TextUtils.lastIndexOf("", '0', 0) + 1))).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(); int i6 = v + 1; w = i6 % 128; int i7 = i6 % 2; } /* JADX WARN: Code restructure failed: missing block: B:53:0x026e, code lost: if (r4 != false) goto L56; */ /* JADX WARN: Code restructure failed: missing block: B:54:0x0284, code lost: r7 = r7 + 91; o.AbstractActivityC11871enX.$11 = r7 % 128; r7 = r7 % 2; r4 = 0; */ /* JADX WARN: Code restructure failed: missing block: B:90:0x0282, code lost: r4 = 1; */ /* JADX WARN: Code restructure failed: missing block: B:92:0x0280, code lost: if (r4 != false) goto L56; */ /* JADX WARN: Removed duplicated region for block: B:74:0x033a */ /* Code decompiled incorrectly, please refer to instructions dump. To view partially-correct add '--show-bad-code' argument */ private static void ax(short r21, int r22, int r23, int r24, byte r25, java.lang.Object[] r26) { /* Method dump skipped, instructions count: 950 To view this dump add '--comments-level debug' option */ throw new UnsupportedOperationException("Method not decompiled: o.AbstractActivityC11871enX.ax(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(); Object obj = null; if (baseContext == null) { int i2 = v + 43; w = i2 % 128; int i3 = i2 % 2; Object[] objArr = new Object[1]; ay(new char[]{'\f', 2, 21, 6, 31, 17, 23, '\f', 16, 26, 29, 16, 15, 30, '\r', 19, 7, 14, '\r', 1, 7, 4, '\n', 7, '\f', 20}, (byte) (((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getResources().getString(com.scb.phone.R.string.mw_manage_account_remake_message).substring(70, 71).length() + 31), ((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getPackageName().length() + 13, objArr); Class cls = Class.forName((String) objArr[0]); Object[] objArr2 = new Object[1]; ay(new char[]{31, 21, 13832, 13832, '\f', 6, 6, '\r', 13834, 13834, 25, '\f', ' ', 15, '\r', 19, 30, 5}, (byte) (((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getApplicationInfo().targetSdkVersion - 2), (ViewConfiguration.getScrollBarSize() >> 8) + 18, objArr2); baseContext = (Context) cls.getMethod((String) objArr2[0], new Class[0]).invoke(null, null); } if (baseContext != null) { int i4 = v + 109; w = i4 % 128; if (i4 % 2 == 0) { baseContext = baseContext.getApplicationContext(); int i5 = 21 / 0; } else { baseContext = baseContext.getApplicationContext(); } int i6 = v + 93; w = i6 % 128; int i7 = i6 % 2; } if (baseContext != null) { int i8 = v + 19; w = i8 % 128; try { if (i8 % 2 == 0) { Object obj2 = xzZ.y.get(125943855); if (obj2 == null) { obj2 = ((Class) xzZ.c((KeyEvent.getMaxKeyCode() >> 16) + 492, 5 - (ViewConfiguration.getJumpTapTimeout() >> 16), (char) (MotionEvent.axisFromString("") + 1))).getMethod("a", null); xzZ.y.put(125943855, obj2); } Object invoke = ((Method) obj2).invoke(null, null); Object[] objArr3 = {baseContext}; Object obj3 = xzZ.y.get(1633456013); if (obj3 == null) { obj3 = ((Class) xzZ.c((Process.myTid() >> 22) + 487, 5 - ExpandableListView.getPackedPositionGroup(0L), (char) (ViewConfiguration.getKeyRepeatTimeout() >> 16))).getMethod("c", Context.class); xzZ.y.put(1633456013, obj3); } ((Method) obj3).invoke(invoke, objArr3); obj.hashCode(); throw null; } Object obj4 = xzZ.y.get(125943855); if (obj4 == null) { obj4 = ((Class) xzZ.c(View.getDefaultSize(0, 0) + 492, 5 - View.MeasureSpec.makeMeasureSpec(0, 0), (char) (ViewConfiguration.getPressedStateDuration() >> 16))).getMethod("a", null); xzZ.y.put(125943855, obj4); } Object invoke2 = ((Method) obj4).invoke(null, null); Object[] objArr4 = {baseContext}; Object obj5 = xzZ.y.get(1633456013); if (obj5 == null) { obj5 = ((Class) xzZ.c(486 - TextUtils.lastIndexOf("", '0', 0, 0), ExpandableListView.getPackedPositionGroup(0L) + 5, (char) Color.argb(0, 0, 0, 0))).getMethod("c", Context.class); xzZ.y.put(1633456013, obj5); } ((Method) obj5).invoke(invoke2, objArr4); } catch (Throwable th) { Throwable cause = th.getCause(); if (cause == null) { throw th; } throw cause; } } super.onPause(); } private static void ay(char[] cArr, byte b, int i, Object[] objArr) { int i2; Object obj; int i3 = 2 % 2; IRS irs = new IRS(); char[] cArr2 = t; Object obj2 = null; if (cArr2 != null) { int length = cArr2.length; char[] cArr3 = new char[length]; for (int i4 = 0; i4 < length; i4++) { try { Object[] objArr2 = {Integer.valueOf(cArr2[i4])}; Object obj3 = xzZ.y.get(-1987398494); if (obj3 == null) { Class cls = (Class) xzZ.c(298 - View.combineMeasuredStates(0, 0), ExpandableListView.getPackedPositionChild(0L) + 6, (char) (1 - (SystemClock.elapsedRealtime() > 0L ? 1 : (SystemClock.elapsedRealtime() == 0L ? 0 : -1)))); byte b2 = (byte) 0; byte b3 = b2; Object[] objArr3 = new Object[1]; az(b2, b3, (byte) (b3 | 9), objArr3); obj3 = cls.getMethod((String) objArr3[0], Integer.TYPE); xzZ.y.put(-1987398494, obj3); } cArr3[i4] = ((Character) ((Method) obj3).invoke(null, objArr2)).charValue(); } catch (Throwable th) { Throwable cause = th.getCause(); if (cause == null) { throw th; } throw cause; } } cArr2 = cArr3; } try { Object[] objArr4 = {Integer.valueOf(q)}; Object obj4 = xzZ.y.get(-1987398494); float f = BitmapDescriptorFactory.HUE_RED; if (obj4 == null) { Class cls2 = (Class) xzZ.c(298 - View.resolveSizeAndState(0, 0, 0), (ViewConfiguration.getDoubleTapTimeout() >> 16) + 5, (char) (TypedValue.complexToFloat(0) > BitmapDescriptorFactory.HUE_RED ? 1 : (TypedValue.complexToFloat(0) == BitmapDescriptorFactory.HUE_RED ? 0 : -1))); byte b4 = (byte) 0; byte b5 = b4; Object[] objArr5 = new Object[1]; az(b4, b5, (byte) (b5 | 9), objArr5); obj4 = cls2.getMethod((String) objArr5[0], Integer.TYPE); xzZ.y.put(-1987398494, obj4); } char charValue = ((Character) ((Method) obj4).invoke(null, objArr4)).charValue(); char[] cArr4 = new char[i]; if (i % 2 != 0) { int i5 = $11 + 21; $10 = i5 % 128; if (i5 % 2 != 0) { i2 = i + 110; cArr4[i2] = (char) (cArr[i2] << b); } else { i2 = i - 1; cArr4[i2] = (char) (cArr[i2] - b); } } else { i2 = i; } if (i2 > 1) { irs.e = 0; while (irs.e < i2) { irs.b = cArr[irs.e]; irs.c = cArr[irs.e + 1]; if (irs.b == irs.c) { cArr4[irs.e] = (char) (irs.b - b); cArr4[irs.e + 1] = (char) (irs.c - b); obj = obj2; } else { try { Object[] objArr6 = {irs, irs, Integer.valueOf(charValue), irs, irs, Integer.valueOf(charValue), irs, irs, Integer.valueOf(charValue), irs, irs, Integer.valueOf(charValue), irs}; Object obj5 = xzZ.y.get(822107368); if (obj5 == null) { Class cls3 = (Class) xzZ.c(View.combineMeasuredStates(0, 0) + 233, (TypedValue.complexToFraction(0, f, f) > f ? 1 : (TypedValue.complexToFraction(0, f, f) == f ? 0 : -1)) + 5, (char) (22024 - (ViewConfiguration.getPressedStateDuration() >> 16))); byte b6 = (byte) 0; byte b7 = b6; Object[] objArr7 = new Object[1]; az(b6, b7, (byte) (b7 | 12), objArr7); obj5 = cls3.getMethod((String) objArr7[0], Object.class, Object.class, Integer.TYPE, Object.class, Object.class, Integer.TYPE, Object.class, Object.class, Integer.TYPE, Object.class, Object.class, Integer.TYPE, Object.class); xzZ.y.put(822107368, obj5); } if (((Integer) ((Method) obj5).invoke(null, objArr6)).intValue() == irs.j) { Object[] objArr8 = {irs, irs, Integer.valueOf(charValue), Integer.valueOf(charValue), irs, irs, Integer.valueOf(charValue), Integer.valueOf(charValue), irs, Integer.valueOf(charValue), irs}; Object obj6 = xzZ.y.get(-1152873385); if (obj6 == null) { Class cls4 = (Class) xzZ.c(327 - (ViewConfiguration.getKeyRepeatDelay() >> 16), 5 - KeyEvent.keyCodeFromString(""), (char) (ViewConfiguration.getKeyRepeatTimeout() >> 16)); byte b8 = (byte) 0; byte b9 = b8; Object[] objArr9 = new Object[1]; az(b8, b9, (byte) (b9 | 10), objArr9); obj6 = cls4.getMethod((String) objArr9[0], Object.class, Object.class, Integer.TYPE, Integer.TYPE, Object.class, Object.class, Integer.TYPE, Integer.TYPE, Object.class, Integer.TYPE, Object.class); xzZ.y.put(-1152873385, obj6); } obj = null; int intValue = ((Integer) ((Method) obj6).invoke(null, objArr8)).intValue(); int i6 = (irs.d * charValue) + irs.j; cArr4[irs.e] = cArr2[intValue]; cArr4[irs.e + 1] = cArr2[i6]; } else { obj = null; if (irs.a == irs.d) { irs.f = ((irs.f + charValue) - 1) % charValue; irs.j = ((irs.j + charValue) - 1) % charValue; int i7 = (irs.a * charValue) + irs.f; int i8 = (irs.d * charValue) + irs.j; cArr4[irs.e] = cArr2[i7]; cArr4[irs.e + 1] = cArr2[i8]; int i9 = $10 + 87; $11 = i9 % 128; int i10 = i9 % 2; } else { int i11 = (irs.a * charValue) + irs.j; int i12 = (irs.d * charValue) + irs.f; cArr4[irs.e] = cArr2[i11]; cArr4[irs.e + 1] = cArr2[i12]; } } } catch (Throwable th2) { Throwable cause2 = th2.getCause(); if (cause2 == null) { throw th2; } throw cause2; } } irs.e += 2; obj2 = obj; f = BitmapDescriptorFactory.HUE_RED; } } int i13 = 0; while (i13 < i) { cArr4[i13] = (char) (cArr4[i13] ^ 13722); i13++; int i14 = $11 + 13; $10 = i14 % 128; int i15 = i14 % 2; } objArr[0] = new String(cArr4); } catch (Throwable th3) { Throwable cause3 = th3.getCause(); if (cause3 == null) { throw th3; } throw cause3; } } @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 + 113; w = i2 % 128; int i3 = i2 % 2; super.attachBaseContext(context); Object[] objArr = new Object[1]; ax((short) (TextUtils.indexOf((CharSequence) "", '0') - 9), (-1470456787) + (ViewConfiguration.getMaximumFlingVelocity() >> 16), TextUtils.getOffsetBefore("", 0) - 26, 2026039123 - TextUtils.indexOf((CharSequence) "", '0', 0), (byte) (49 - (ViewConfiguration.getScrollBarFadeDuration() >> 16)), objArr); Class cls = Class.forName((String) objArr[0]); Object[] objArr2 = new Object[1]; ax((short) (56 - (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))), (ViewConfiguration.getJumpTapTimeout() >> 16) - 1470456770, (-38) - (SystemClock.elapsedRealtimeNanos() > 0L ? 1 : (SystemClock.elapsedRealtimeNanos() == 0L ? 0 : -1)), View.MeasureSpec.makeMeasureSpec(0, 0) + 2026039136, (byte) ((-4) - (ViewConfiguration.getMaximumFlingVelocity() >> 16)), objArr2); Object obj = null; int intValue = ((Integer) cls.getDeclaredMethod((String) objArr2[0], new Class[0]).invoke(null, new Object[0])).intValue() % 100000; if (intValue >= 99000) { int i4 = v + 57; w = i4 % 128; if (i4 % 2 == 0) { int i5 = 79 / 0; if (intValue <= 99999) { return; } } else if (intValue <= 99999) { return; } } if (context != null) { int i6 = w + 117; v = i6 % 128; if (i6 % 2 != 0) { context.getApplicationContext(); obj.hashCode(); throw null; } context2 = context.getApplicationContext(); } else { context2 = context; } if (context2 != null) { int i7 = v + 115; w = i7 % 128; int i8 = i7 % 2; try { Object obj2 = xzZ.y.get(125943855); if (obj2 == null) { obj2 = ((Class) xzZ.c(492 - (ViewConfiguration.getScrollBarSize() >> 8), Color.rgb(0, 0, 0) + 16777221, (char) (ExpandableListView.getPackedPositionChild(0L) + 1))).getMethod("a", null); xzZ.y.put(125943855, obj2); } Object invoke = ((Method) obj2).invoke(null, null); Object[] objArr3 = new Object[1]; ax((short) (View.MeasureSpec.getMode(0) + 41), (-1470456766) - (ViewConfiguration.getLongPressTimeout() >> 16), 3 - ExpandableListView.getPackedPositionChild(0L), 2026039076 - KeyEvent.keyCodeFromString(""), (byte) (Gravity.getAbsoluteGravity(0, 0) - 90), objArr3); String str = (String) objArr3[0]; Object[] objArr4 = new Object[1]; ax((short) ((-25) - (Process.getElapsedCpuTime() > 0L ? 1 : (Process.getElapsedCpuTime() == 0L ? 0 : -1))), (-1470456719) - ((Process.getThreadPriority(0) + 20) >> 6), (ViewConfiguration.getScrollBarFadeDuration() >> 16) + 20, 2026039128 - (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)), (byte) (17 - (ExpandableListView.getPackedPositionForChild(0, 0) > 0L ? 1 : (ExpandableListView.getPackedPositionForChild(0, 0) == 0L ? 0 : -1))), objArr4); String str2 = (String) objArr4[0]; Object[] objArr5 = new Object[1]; ax((short) ((-47) - (ViewConfiguration.getScrollDefaultDelay() >> 16)), (-1470456656) - (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)), 20 - Color.green(0), 2026039124 - ((Process.getThreadPriority(0) + 20) >> 6), (byte) (TextUtils.indexOf((CharSequence) "", '0', 0) + 100), objArr5); String str3 = (String) objArr5[0]; Object[] objArr6 = new Object[1]; ax((short) (40 - TextUtils.indexOf("", "")), (-1470456592) - (SystemClock.currentThreadTimeMillis() > (-1L) ? 1 : (SystemClock.currentThreadTimeMillis() == (-1L) ? 0 : -1)), 'N' - AndroidCharacter.getMirror('0'), 2026039131 - (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)), (byte) (TextUtils.getCapsMode("", 0, 0) - 77), objArr6); String str4 = (String) objArr6[0]; Object[] objArr7 = new Object[1]; ax((short) ((-13) - (ViewConfiguration.getDoubleTapTimeout() >> 16)), (-1470456520) - View.MeasureSpec.getMode(0), KeyEvent.getDeadChar(0, 0) - 39, 2026039084 - (ViewConfiguration.getMaximumDrawingCacheSize() >> 24), (byte) ((-98) - Color.green(0)), objArr7); String str5 = (String) objArr7[0]; Object[] objArr8 = new Object[1]; ay(new char[]{'\b', '\f', 21, '!', 19, 18, 24, '!', 4, 20, 0, '\f', 14, 4, '!', 21, 13832, 13832, '\b', 20, '\f', '\n', ' ', 3, 21, 3, 16, 15, 24, 11, '\"', '!', 26, '!', 18, '\b'}, (byte) (Color.argb(0, 0, 0, 0) + 93), (Process.myPid() >> 22) + 36, objArr8); Object[] objArr9 = {context2, str, str2, str3, str4, true, str5, (String) objArr8[0]}; Object obj3 = xzZ.y.get(1656189573); if (obj3 == null) { obj3 = ((Class) xzZ.c((ViewConfiguration.getTouchSlop() >> 8) + 487, 5 - (ViewConfiguration.getPressedStateDuration() >> 16), (char) (Color.rgb(0, 0, 0) + Http2Connection.OKHTTP_CLIENT_WINDOW_SIZE))).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, objArr9); } 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 = w + 111; v = i2 % 128; int i3 = i2 % 2; super.onStart(); if (i3 == 0) { return; } Object obj = null; obj.hashCode(); throw null; } }