package com.scb.phone.view.activity.ccrredemption.mileage; import android.content.Context; import android.content.Intent; import android.graphics.Color; import android.graphics.ImageFormat; import android.graphics.PointF; import android.media.AudioTrack; import android.os.Process; import android.os.SystemClock; import android.text.AndroidCharacter; import android.text.TextUtils; import android.util.TypedValue; import android.view.KeyEvent; import android.view.View; import android.view.ViewConfiguration; import android.widget.ExpandableListView; import android.widget.TextView; import butterknife.BindView; 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 java.lang.reflect.Method; import net.sf.scuba.smartcards.ISO7816; import net.sf.scuba.smartcards.ISOFileInfo; import o.AbstractActivityC10167dxf; import o.C0471Hh; import o.TVH; import o.nMh; import o.xzZ; import org.bouncycastle.asn1.x509.DisplayText; import org.bouncycastle.crypto.tls.CipherSuite; /* loaded from: classes4.dex */ public class MileageQuantitySelectionActivity extends AbstractActivityC10167dxf { private static short[] p; private C0471Hh b; @BindView TextView txvRewardPoints; private static final byte[] $$E = {Ascii.ETB, -9, -41, -17}; private static final int $$F = DisplayText.DISPLAY_TEXT_MAXIMUM_SIZE; private static int $10 = 0; private static int $11 = 1; private static int s = 0; private static int t = 1; private static int m = -756648123; /* renamed from: o, reason: collision with root package name */ private static int f6687o = 1406017071; private static int l = 534577745; private static byte[] k = {-21, Ascii.EM, Ascii.NAK, -25, -18, 53, 53, -84, Ascii.ETB, ISO7816.INS_PSO, -35, -20, -19, -18, Ascii.EM, -31, 30, ISO7816.INS_WRITE_BINARY, -53, ISO7816.INS_READ_RECORD2, -61, -25, -2, -9, -20, Ascii.SYN, -33, -31, -17, -9, -23, -15, Ascii.NAK, 4, Ascii.ETB, -72, -6, -21, 55, -84, -1, -4, -7, -24, -16, -23, ISO7816.INS_READ_BINARY2, ISOFileInfo.LCS_BYTE, -39, ISOFileInfo.SECURITY_ATTR_EXP, -78, 123, -34, 99, ISO7816.INS_LOAD_KEY_FILE, -120, 96, -39, ISOFileInfo.FMD_BYTE, -37, 97, -73, -39, ISO7816.INS_READ_BINARY, -119, ISOFileInfo.LCS_BYTE, 96, ISOFileInfo.LCS_BYTE, -39, 97, -75, -33, ISO7816.INS_READ_RECORD_STAMPED, 97, -39, ISOFileInfo.SECURITY_ATTR_EXP, -75, ISOFileInfo.LCS_BYTE, -67, -126, -78, 122, -58, -113, ISO7816.INS_READ_RECORD_STAMPED, ISOFileInfo.LCS_BYTE, 102, -34, 102, -60, ISO7816.INS_READ_BINARY_STAMPED, -120, ISOFileInfo.SECURITY_ATTR_EXP, ISO7816.INS_READ_BINARY, -113, ISO7816.INS_READ_BINARY_STAMPED, ISO7816.INS_READ_BINARY2, -119, ISO7816.INS_READ_BINARY2, -120, 101, -39, ISO7816.INS_READ_BINARY, 103, -39, ISOFileInfo.FMD_BYTE, ISO7816.INS_PUT_DATA, 97, -120, ISOFileInfo.A0, Ascii.EM, -15, ISOFileInfo.A0, -55, -13, 7, -66, 2, -51, -15, ISO7816.INS_GET_DATA, -14, -69, -15, -53, 5, ISOFileInfo.A1, -53, 1, ISO7816.INS_GET_DATA, -13, -55, -16, -12, -11, -53, -12, ISOFileInfo.A0, -11, Ascii.SUB, -92, Ascii.EM, -15, ISO7816.INS_GET_DATA, ISOFileInfo.A1, -11, Ascii.SUB, -93, 7, -55, -3, -11, -9, -66, -16, -9, Ascii.US, -4, -56, -90, -53, 6, -50, -3, -69, -12, 6, -90, Ascii.SUB, -15, -52, -83, 117, 61, 56, 62, -21, 63, 79, Ascii.ETB, 78, -18, 72, ISO7816.INS_CHANGE_CHV, -29, 63, 58, 56, 117, 61, 57, 62, 63, 38, ISO7816.INS_APPEND_RECORD, 60, 116, 51, 32, 60, 61, ISO7816.INS_INCREASE, Ascii.DC4, 73, 59, -24, 61, Ascii.NAK, Ascii.NAK, Ascii.NAK, Ascii.NAK, Ascii.NAK, Ascii.NAK}; private static char[] q = {39987, 40058, 40036, 40058, 40038, 40046, 40034, 40038, 40058, 40056, 40016, 40022, 40063, 40039, 40037, 40062, 40061, 40036, 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, 39986, 40056, 40058, 40034, 40038, 40038, 40001, 39995, 40031, 40025, 40026, 40056, 40039, 40045, 40033, 40032, 40007, 40007, 40039, 40035, 40003, 40005, 40037, 40034, 40003, 40002, 40032, 40034, 40032, 40056, 40057, 40032, 40032, 40034, 40032, 40037, 40001, 40026, 40056, 40033, 40041, 40032, 40033, 40040, 40032, 40038, 40037, 40026, 40007, 40039, 40044, 40042, 40044, 40045, 40046, 40045, 40033, 40032, 40034, 40038, 40037, 40034, 40035, 40044, 40046, 40037, 40026, 39972, 39999, 40029, 40058, 40057, 40063, 40037, 39955, 39972, 39992, 39992, 39992}; /* JADX WARN: Removed duplicated region for block: B:10:0x0027 */ /* JADX WARN: Removed duplicated region for block: B:7:0x001f */ /* JADX WARN: Unsupported multi-entry loop pattern (BACK_EDGE: B:10:0x0027 -> B:4:0x002f). 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 aJ(byte r6, int r7, short r8, java.lang.Object[] r9) { /* int r7 = r7 * 4 int r0 = 1 - r7 byte[] r1 = com.scb.phone.view.activity.ccrredemption.mileage.MileageQuantitySelectionActivity.$$E int r8 = r8 * 4 int r8 = 3 - r8 int r6 = 110 - r6 byte[] r0 = new byte[r0] r2 = 0 int r7 = 0 - r7 if (r1 != 0) goto L17 r6 = r7 r3 = r8 r4 = r2 goto L2f L17: r3 = r2 L18: byte r4 = (byte) r6 r0[r3] = r4 int r8 = r8 + 1 if (r3 != r7) goto L27 java.lang.String r6 = new java.lang.String r6.(r0, r2) r9[r2] = r6 return L27: int r3 = r3 + 1 r4 = r1[r8] r5 = r3 r3 = r8 r8 = r4 r4 = r5 L2f: int r6 = r6 + r8 r8 = r3 r3 = r4 goto L18 */ throw new UnsupportedOperationException("Method not decompiled: com.scb.phone.view.activity.ccrredemption.mileage.MileageQuantitySelectionActivity.aJ(byte, int, short, java.lang.Object[]):void"); } public static Intent ZQ_(Context context, C0471Hh c0471Hh) { int i = 2 % 2; Intent intent = new Intent(context, (Class) MileageQuantitySelectionActivity.class); intent.putExtra("com.scb.phone.presentation.view.activity.ccr_redemption.KEY_REWARD_PRODUCT_DTO", c0471Hh); int i2 = s + 23; t = i2 % 128; int i3 = i2 % 2; return intent; } /* JADX WARN: Code restructure failed: missing block: B:6:0x0181, code lost: if (r7 > 99999) goto L10; */ @Override // o.AbstractActivityC10167dxf, com.scb.phone.view.activity.CCRBaseActivity, o.AbstractActivityC9738dpZ, com.scb.phone.view.activity.BaseActivity, com.scb.phone.view.activity.PreLoadCheckActivity, com.akexorcist.localizationactivity.LocalizationActivity, androidx.appcompat.app.AppCompatActivity, androidx.fragment.app.FragmentActivity, androidx.activity.ComponentActivity, androidx.core.app.ComponentActivity, android.app.Activity /* Code decompiled incorrectly, please refer to instructions dump. To view partially-correct add '--show-bad-code' argument */ public void onCreate(android.os.Bundle r29) { /* Method dump skipped, instructions count: 1515 To view this dump add '--comments-level debug' option */ throw new UnsupportedOperationException("Method not decompiled: com.scb.phone.view.activity.ccrredemption.mileage.MileageQuantitySelectionActivity.onCreate(android.os.Bundle):void"); } @Override // com.scb.phone.view.activity.BaseActivity public final void Z() { int i = 2 % 2; int i2 = s + 115; t = i2 % 128; int i3 = i2 % 2; h(); super.Z(); p(getString(R.string.redeem_points_for_miles)); ac(); getSupportActionBar().o(); int i4 = t + 47; s = i4 % 128; if (i4 % 2 != 0) { throw null; } } private void h() { int i = 2 % 2; int i2 = s + 67; t = i2 % 128; int i3 = i2 % 2; this.txvRewardPoints.setText(getString(R.string.you_have_points, this.b.l)); this.mToolbar.setBackgroundResource(R.color.f14042131100912); this.mActionBarTitle.setTextColor(nMh.getColor(this, R.color.f2112131099717)); this.txvRewardPoints.setTextColor(nMh.getColor(this, R.color.f2982131099805)); int i4 = s + 45; t = i4 % 128; if (i4 % 2 == 0) { throw null; } } @Override // o.AbstractActivityC10167dxf, com.scb.phone.view.activity.CCRBaseActivity, o.AbstractActivityC9738dpZ, 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 = s + 23; t = i2 % 128; Object obj = null; if (i2 % 2 != 0) { Context baseContext = getBaseContext(); if (baseContext == null) { Object[] objArr = new Object[1]; aG((short) ((ViewConfiguration.getGlobalActionKeyTimeout() > 0L ? 1 : (ViewConfiguration.getGlobalActionKeyTimeout() == 0L ? 0 : -1)) + 16), ((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getResources().getString(R.string.prepaid_point_m_card).substring(15, 16).length() + 2128058052, (ViewConfiguration.getMaximumDrawingCacheSize() >> 24) - 32, (-1276320752) + ((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getPackageName().length(), (byte) ((-1) - Process.getGidForName("")), objArr); Class cls = Class.forName((String) objArr[0]); Object[] objArr2 = new Object[1]; aI(new int[]{0, 18, 3, 0}, true, new byte[]{1, 1, 0, 1, 1, 0, 0, 1, 0, 0, 1, 1, 0, 1, 1, 0, 1, 0}, objArr2); baseContext = (Context) cls.getMethod((String) objArr2[0], new Class[0]).invoke(null, null); int i3 = s + 61; t = i3 % 128; int i4 = i3 % 2; } if (baseContext != null) { baseContext = baseContext.getApplicationContext(); } if (baseContext != null) { try { Object obj2 = xzZ.y.get(125943855); if (obj2 == null) { obj2 = ((Class) xzZ.c(KeyEvent.normalizeMetaState(0) + 492, 5 - (ViewConfiguration.getScrollBarFadeDuration() >> 16), (char) KeyEvent.keyCodeFromString(""))).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((TypedValue.complexToFloat(0) > BitmapDescriptorFactory.HUE_RED ? 1 : (TypedValue.complexToFloat(0) == BitmapDescriptorFactory.HUE_RED ? 0 : -1)) + 487, 5 - Color.red(0), (char) (KeyEvent.getMaxKeyCode() >> 16))).getMethod(KtaJsonExactionHelper.OBJECT, Context.class); xzZ.y.put(1378719468, obj3); } ((Method) obj3).invoke(invoke, objArr3); } catch (Throwable th) { Throwable cause = th.getCause(); if (cause == null) { throw th; } throw cause; } } super.onResume(); return; } getBaseContext(); obj.hashCode(); throw null; } @Override // o.AbstractActivityC10167dxf, com.scb.phone.view.activity.CCRBaseActivity, o.AbstractActivityC9738dpZ, 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; int i2 = t + 37; s = i2 % 128; int i3 = i2 % 2; Context baseContext = getBaseContext(); if (baseContext == null) { int i4 = s + 79; t = i4 % 128; int i5 = i4 % 2; Object[] objArr = new Object[1]; aG((short) (((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getApplicationInfo().targetSdkVersion - 17), ((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getPackageName().length() + 2128058040, ((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getApplicationInfo().targetSdkVersion - 66, ((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getResources().getString(R.string.open_now_gift_msg).substring(4, 5).codePointAt(0) - 1276320854, (byte) (((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]; aI(new int[]{0, 18, 3, 0}, true, new byte[]{1, 1, 0, 1, 1, 0, 0, 1, 0, 0, 1, 1, 0, 1, 1, 0, 1, 0}, objArr2); baseContext = (Context) cls.getMethod((String) objArr2[0], new Class[0]).invoke(null, null); } if (baseContext != null) { baseContext = baseContext.getApplicationContext(); int i6 = s + 7; t = i6 % 128; int i7 = i6 % 2; } if (baseContext != null) { try { Object obj = xzZ.y.get(125943855); if (obj == null) { obj = ((Class) xzZ.c(KeyEvent.normalizeMetaState(0) + 492, 5 - View.MeasureSpec.getSize(0), (char) ((SystemClock.elapsedRealtime() > 0L ? 1 : (SystemClock.elapsedRealtime() == 0L ? 0 : -1)) - 1))).getMethod("a", null); xzZ.y.put(125943855, obj); } Object invoke = ((Method) obj).invoke(null, null); Object[] objArr3 = {baseContext}; Object obj2 = xzZ.y.get(1633456013); if (obj2 == null) { obj2 = ((Class) xzZ.c(487 - ((Process.getThreadPriority(0) + 20) >> 6), 4 - TextUtils.lastIndexOf("", '0'), (char) ((AudioTrack.getMaxVolume() > BitmapDescriptorFactory.HUE_RED ? 1 : (AudioTrack.getMaxVolume() == BitmapDescriptorFactory.HUE_RED ? 0 : -1)) - 1))).getMethod("c", Context.class); xzZ.y.put(1633456013, obj2); } ((Method) obj2).invoke(invoke, objArr3); } catch (Throwable th) { Throwable cause = th.getCause(); if (cause == null) { throw th; } throw cause; } } super.onPause(); } private static void aI(int[] iArr, boolean z, byte[] bArr, Object[] objArr) { int i; 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[] cArr = q; if (cArr != null) { int length = cArr.length; char[] cArr2 = new char[length]; int i8 = 0; while (i8 < length) { try { Object[] objArr2 = new Object[1]; objArr2[i3] = Integer.valueOf(cArr[i8]); Object obj = xzZ.y.get(1645349359); if (obj == null) { Class cls = (Class) xzZ.c((ViewConfiguration.getGlobalActionKeyTimeout() > 0L ? 1 : (ViewConfiguration.getGlobalActionKeyTimeout() == 0L ? 0 : -1)) + 222, 5 - ExpandableListView.getPackedPositionGroup(0L), (char) ((ViewConfiguration.getMinimumFlingVelocity() >> 16) + 41977)); byte b = (byte) i3; Object[] objArr3 = new Object[1]; aJ((byte) 39, b, b, objArr3); obj = cls.getMethod((String) objArr3[0], Integer.TYPE); xzZ.y.put(1645349359, obj); } cArr2[i8] = ((Character) ((Method) obj).invoke(null, objArr2)).charValue(); i8++; i3 = 0; } catch (Throwable th) { Throwable cause = th.getCause(); if (cause == null) { throw th; } throw cause; } } cArr = cArr2; } char[] cArr3 = new char[i5]; System.arraycopy(cArr, i4, cArr3, 0, i5); if (bArr != null) { char[] cArr4 = new char[i5]; tvh.c = 0; char c = 0; while (tvh.c < i5) { if (bArr[tvh.c] == 1) { int i9 = tvh.c; Object[] objArr4 = {Integer.valueOf(cArr3[tvh.c]), Integer.valueOf(c)}; Object obj2 = xzZ.y.get(850398076); if (obj2 == null) { obj2 = ((Class) xzZ.c(502 - View.MeasureSpec.makeMeasureSpec(0, 0), 4 - TextUtils.lastIndexOf("", '0', 0), (char) (54 - (ViewConfiguration.getScrollBarFadeDuration() >> 16)))).getMethod("F", Integer.TYPE, Integer.TYPE); xzZ.y.put(850398076, obj2); } cArr4[i9] = ((Character) ((Method) obj2).invoke(null, objArr4)).charValue(); } else { int i10 = tvh.c; Object[] objArr5 = {Integer.valueOf(cArr3[tvh.c]), Integer.valueOf(c)}; Object obj3 = xzZ.y.get(1084521042); if (obj3 == null) { obj3 = ((Class) xzZ.c((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)) + 15, TextUtils.getOffsetBefore("", 0) + 5, (char) (58134 - (ViewConfiguration.getWindowTouchSlop() >> 8)))).getMethod("H", Integer.TYPE, Integer.TYPE); xzZ.y.put(1084521042, obj3); } cArr4[i10] = ((Character) ((Method) obj3).invoke(null, objArr5)).charValue(); int i11 = $10 + 37; $11 = i11 % 128; int i12 = i11 % 2; } c = cArr4[tvh.c]; Object[] objArr6 = {tvh, tvh}; Object obj4 = xzZ.y.get(1698744941); if (obj4 == null) { Class cls2 = (Class) xzZ.c(AndroidCharacter.getMirror('0') + 354, TextUtils.indexOf("", "") + 5, (char) (TextUtils.indexOf((CharSequence) "", '0') + 21609)); byte b2 = (byte) 0; Object[] objArr7 = new Object[1]; aJ((byte) 37, b2, b2, objArr7); obj4 = cls2.getMethod((String) objArr7[0], Object.class, Object.class); xzZ.y.put(1698744941, obj4); } ((Method) obj4).invoke(null, objArr6); } cArr3 = cArr4; } if (i7 > 0) { int i13 = $11 + 61; $10 = i13 % 128; int i14 = i13 % 2; char[] cArr5 = new char[i5]; i = 0; System.arraycopy(cArr3, 0, cArr5, 0, i5); int i15 = i5 - i7; System.arraycopy(cArr5, 0, cArr3, i15, i7); System.arraycopy(cArr5, i7, cArr3, 0, i15); } else { i = 0; } if (z) { char[] cArr6 = new char[i5]; while (true) { tvh.c = i; if (tvh.c >= i5) { break; } int i16 = $10 + 71; $11 = i16 % 128; if (i16 % 2 == 0) { int i17 = tvh.c; int i18 = tvh.c; cArr6[i17] = cArr3[0]; i = tvh.c >> 1; } else { cArr6[tvh.c] = cArr3[(i5 - tvh.c) - 1]; i = tvh.c + 1; } } cArr3 = cArr6; } if (i6 > 0) { int i19 = 0; while (true) { tvh.c = i19; if (tvh.c >= i5) { break; } cArr3[tvh.c] = (char) (cArr3[tvh.c] - iArr[2]); i19 = tvh.c + 1; } } String str = new String(cArr3); int i20 = $10 + 115; $11 = i20 % 128; int i21 = i20 % 2; objArr[0] = str; } /* JADX WARN: Code restructure failed: missing block: B:14:0x00a0, code lost: if (r3 != null) goto L20; */ /* JADX WARN: Code restructure failed: missing block: B:15:0x0128, code lost: if (r3 == null) goto L38; */ /* JADX WARN: Code restructure failed: missing block: B:16:0x012a, code lost: r0 = com.scb.phone.view.activity.ccrredemption.mileage.MileageQuantitySelectionActivity.k; */ /* JADX WARN: Code restructure failed: missing block: B:17:0x012f, code lost: r8 = new java.lang.Object[]{java.lang.Integer.valueOf(r17), java.lang.Integer.valueOf(com.scb.phone.view.activity.ccrredemption.mileage.MileageQuantitySelectionActivity.m)}; r3 = o.xzZ.y.get(-2092856797); */ /* JADX WARN: Code restructure failed: missing block: B:18:0x014a, code lost: if (r3 == null) goto L35; */ /* JADX WARN: Code restructure failed: missing block: B:21:0x0198, code lost: r3 = (byte) (((byte) (r0[((java.lang.Integer) ((java.lang.reflect.Method) r3).invoke(null, r8)).intValue()] ^ (-7303220121662775787L))) + ((int) (com.scb.phone.view.activity.ccrredemption.mileage.MileageQuantitySelectionActivity.f6687o ^ (-7303220121662775787L)))); */ /* JADX WARN: Code restructure failed: missing block: B:22:0x014d, code lost: r3 = (java.lang.Class) o.xzZ.c(android.graphics.drawable.Drawable.resolveOpacity(0, 0) + 337, android.view.MotionEvent.axisFromString("") + 6, (char) android.view.View.resolveSizeAndState(0, 0, 0)); r7 = (byte) 0; r9 = r7; r11 = new java.lang.Object[1]; aJ(r7, r9, r9, r11); r3 = r3.getMethod((java.lang.String) r11[0], java.lang.Integer.TYPE, java.lang.Integer.TYPE); o.xzZ.y.put(-2092856797, r3); */ /* JADX WARN: Code restructure failed: missing block: B:23:0x01ab, code lost: r3 = (short) (((short) (com.scb.phone.view.activity.ccrredemption.mileage.MileageQuantitySelectionActivity.p[r17 + ((int) (com.scb.phone.view.activity.ccrredemption.mileage.MileageQuantitySelectionActivity.m ^ (-7303220121662775787L)))] ^ (-7303220121662775787L))) + ((int) (com.scb.phone.view.activity.ccrredemption.mileage.MileageQuantitySelectionActivity.f6687o ^ (-7303220121662775787L)))); */ /* JADX WARN: Code restructure failed: missing block: B:24:0x00a7, code lost: r12 = r3.length; r13 = new byte[r12]; r14 = 0; */ /* JADX WARN: Code restructure failed: missing block: B:25:0x00ab, code lost: if (r14 >= r12) goto L82; */ /* JADX WARN: Code restructure failed: missing block: B:26:0x00ad, code lost: r15 = com.scb.phone.view.activity.ccrredemption.mileage.MileageQuantitySelectionActivity.$10 + 87; com.scb.phone.view.activity.ccrredemption.mileage.MileageQuantitySelectionActivity.$11 = r15 % 128; r15 = r15 % 2; */ /* JADX WARN: Code restructure failed: missing block: B:28:0x00b9, code lost: r10 = new java.lang.Object[]{java.lang.Integer.valueOf(r3[r14])}; r7 = o.xzZ.y.get(-1648115392); */ /* JADX WARN: Code restructure failed: missing block: B:29:0x00ce, code lost: if (r7 == null) goto L26; */ /* JADX WARN: Code restructure failed: missing block: B:32:0x011d, code lost: r13[r14] = ((java.lang.Byte) ((java.lang.reflect.Method) r7).invoke(null, r10)).byteValue(); r14 = r14 + 1; r0 = 2; */ /* JADX WARN: Code restructure failed: missing block: B:33:0x00d1, code lost: r7 = (java.lang.Class) o.xzZ.c(android.text.TextUtils.lastIndexOf("", '0', 0, 0) + 61, 5 - (android.view.ViewConfiguration.getTapTimeout() >> 16), (char) android.view.Gravity.getAbsoluteGravity(0, 0)); r8 = (byte) r0; r9 = (byte) (r8 - 2); r15 = new java.lang.Object[1]; aJ(r8, r9, r9, r15); r7 = r7.getMethod((java.lang.String) r15[0], java.lang.Integer.TYPE); o.xzZ.y.put(-1648115392, r7); */ /* JADX WARN: Code restructure failed: missing block: B:41:0x0127, code lost: r3 = r13; */ /* JADX WARN: Code restructure failed: missing block: B:43:0x00a5, code lost: if (r3 != null) goto L20; */ /* JADX WARN: Removed duplicated region for block: B:37:0x02f3 */ /* JADX WARN: Removed duplicated region for block: B:39:0x02f4 */ /* Code decompiled incorrectly, please refer to instructions dump. To view partially-correct add '--show-bad-code' argument */ private static void aG(short r16, int r17, int r18, int r19, byte r20, java.lang.Object[] r21) { /* Method dump skipped, instructions count: 773 To view this dump add '--comments-level debug' option */ throw new UnsupportedOperationException("Method not decompiled: com.scb.phone.view.activity.ccrredemption.mileage.MileageQuantitySelectionActivity.aG(short, int, int, int, byte, java.lang.Object[]):void"); } @Override // o.AbstractActivityC10167dxf, com.scb.phone.view.activity.CCRBaseActivity, o.AbstractActivityC9738dpZ, 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 = t + 33; s = i2 % 128; int i3 = i2 % 2; super.attachBaseContext(context); Object[] objArr = new Object[1]; aG((short) (ExpandableListView.getPackedPositionType(0L) + 2), 2128058032 - (ViewConfiguration.getEdgeSlop() >> 16), (-40) - TextUtils.indexOf("", "", 0), (ViewConfiguration.getTapTimeout() >> 16) - 1276320739, (byte) (1 - (ViewConfiguration.getScrollFriction() > BitmapDescriptorFactory.HUE_RED ? 1 : (ViewConfiguration.getScrollFriction() == BitmapDescriptorFactory.HUE_RED ? 0 : -1))), objArr); Class cls = Class.forName((String) objArr[0]); Object[] objArr2 = new Object[1]; aG((short) (Color.alpha(0) + 54), View.MeasureSpec.getMode(0) + 2128058049, (-53) - View.combineMeasuredStates(0, 0), Color.argb(0, 0, 0, 0) - 1276320727, (byte) (KeyEvent.getMaxKeyCode() >> 16), objArr2); int intValue = ((Integer) cls.getDeclaredMethod((String) objArr2[0], new Class[0]).invoke(null, new Object[0])).intValue() % 100000; if (intValue >= 99000) { int i4 = s + 47; t = i4 % 128; int i5 = i4 % 2; if (intValue <= 99999) { return; } } if (context != null) { int i6 = s + 57; t = i6 % 128; int i7 = i6 % 2; context2 = context.getApplicationContext(); int i8 = s + 97; t = i8 % 128; if (i8 % 2 == 0) { int i9 = 2 / 5; } } else { context2 = context; } if (context2 != null) { try { Object obj = xzZ.y.get(125943855); if (obj == null) { obj = ((Class) xzZ.c((ViewConfiguration.getFadingEdgeLength() >> 16) + 492, 6 - (SystemClock.currentThreadTimeMillis() > (-1L) ? 1 : (SystemClock.currentThreadTimeMillis() == (-1L) ? 0 : -1)), (char) ((-1) - TextUtils.lastIndexOf("", '0')))).getMethod("a", null); xzZ.y.put(125943855, obj); } Object invoke = ((Method) obj).invoke(null, null); Object[] objArr3 = new Object[1]; aI(new int[]{18, 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]; aG((short) (96 - (ViewConfiguration.getEdgeSlop() >> 16)), 2128058078 - (ViewConfiguration.getMinimumFlingVelocity() >> 16), (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)) + 6, (SystemClock.elapsedRealtimeNanos() > 0L ? 1 : (SystemClock.elapsedRealtimeNanos() == 0L ? 0 : -1)) - 1276320736, (byte) (ImageFormat.getBitsPerPixel(0) + 1), objArr4); String str2 = (String) objArr4[0]; Object[] objArr5 = new Object[1]; aG((short) (ExpandableListView.getPackedPositionChild(0L) + 32), 2128058142 - (AudioTrack.getMaxVolume() > BitmapDescriptorFactory.HUE_RED ? 1 : (AudioTrack.getMaxVolume() == BitmapDescriptorFactory.HUE_RED ? 0 : -1)), (ViewConfiguration.getScrollBarFadeDuration() >> 16) + 6, TextUtils.lastIndexOf("", '0') - 1276320738, (byte) (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]; aI(new int[]{66, 74, 0, 0}, true, new byte[]{1, 1, 0, 1, 1, 1, 0, 1, 0, 1, 1, 1, 0, 0, 1, 1, 0, 0, 1, 1, 0, 0, 0, 0, 1, 1, 1, 1, 0, 0, 0, 1, 0, 1, 0, 0, 1, 0, 1, 0, 0, 1, 1, 0, 1, 0, 0, 0, 1, 1, 1, 1, 0, 1, 0, 0, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 1, 1, 1, 0, 0, 0}, objArr6); String str4 = (String) objArr6[0]; Object[] objArr7 = new Object[1]; aI(new int[]{CipherSuite.TLS_PSK_WITH_AES_128_CBC_SHA, 5, 0, 5}, true, new byte[]{0, 0, 0, 0, 1}, objArr7); String str5 = (String) objArr7[0]; Object[] objArr8 = new Object[1]; aG((short) ((ViewConfiguration.getScrollFriction() > BitmapDescriptorFactory.HUE_RED ? 1 : (ViewConfiguration.getScrollFriction() == BitmapDescriptorFactory.HUE_RED ? 0 : -1)) - 45), (ViewConfiguration.getEdgeSlop() >> 16) + 2128058204, TextUtils.getOffsetBefore("", 0) - 22, ((Process.getThreadPriority(0) + 20) >> 6) - 1276320735, (byte) KeyEvent.getDeadChar(0, 0), 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(535 - AndroidCharacter.getMirror('0'), 5 - View.resolveSizeAndState(0, 0, 0), (char) (1 - (SystemClock.currentThreadTimeMillis() > (-1L) ? 1 : (SystemClock.currentThreadTimeMillis() == (-1L) ? 0 : -1))))).getMethod("e", Context.class, String.class, String.class, String.class, String.class, Boolean.TYPE, String.class, String.class); xzZ.y.put(1656189573, obj2); } ((Method) obj2).invoke(invoke, objArr9); } catch (Throwable th) { Throwable cause = th.getCause(); if (cause == null) { throw th; } throw cause; } } } @Override // o.AbstractActivityC10167dxf, com.scb.phone.view.activity.CCRBaseActivity, o.AbstractActivityC9738dpZ, 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 = t + 95; s = i2 % 128; int i3 = i2 % 2; super.onStart(); int i4 = s + 63; t = i4 % 128; int i5 = i4 % 2; } }