package com.scb.phone.view.activity.ccrredemption.ecoupon; import android.content.Context; import android.content.Intent; import android.graphics.Color; import android.graphics.ImageFormat; import android.media.AudioTrack; import android.os.Bundle; import android.os.Process; import android.os.SystemClock; import android.telephony.cdma.CdmaCellLocation; 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 android.widget.TextView; import androidx.appcompat.widget.Toolbar; 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 com.scb.phone.view.fragment.ccrredemption.ecoupon.ECouponQuantityFragment; import com.scb.phone.view.fragment.ccrredemption.ecoupon.ECouponReviewFragment; import java.io.Serializable; import java.lang.reflect.Method; import net.sf.scuba.smartcards.ISO7816; import net.sf.scuba.smartcards.ISOFileInfo; import o.AbstractC13482fbE; import o.C0367Fb; import o.C0463Hc; import o.C0489Ht; import o.C0491Hv; import o.C14957gcv; import o.C3108arL; import o.C4593bdB; import o.DFY; import o.EnumC3162asM; import o.InterfaceC13391fZD; import o.InterfaceC9040dcH; import o.nMh; import o.xzZ; import org.bouncycastle.crypto.signers.PSSSigner; import org.bouncycastle.crypto.tls.CipherSuite; /* loaded from: classes4.dex */ public final class ECouponCommonActivity extends Hilt_ECouponCommonActivity implements InterfaceC9040dcH.RVV { public static final IeS b; private static byte[] p; private static int r; private static int s; private static int t; private static int u; private static long x; private static short[] y; private C0491Hv k; private C0367Fb l; private String m; /* renamed from: o, reason: collision with root package name */ private C0463Hc f6674o; @InterfaceC13391fZD public C3108arL presenter; private C0489Ht q; @BindView public TextView tvCardPoint; private static final byte[] $$p = {Ascii.ESC, 74, ISO7816.INS_UPDATE_RECORD, 124}; private static final int $$q = 250; private static int $10 = 0; private static int $11 = 1; private static int v = 1; /* JADX WARN: Removed duplicated region for block: B:10:0x0026 */ /* JADX WARN: Removed duplicated region for block: B:7:0x001e */ /* JADX WARN: Unsupported multi-entry loop pattern (BACK_EDGE: B:10:0x0026 -> B:4:0x002b). Please report as a decompilation issue!!! */ /* Code decompiled incorrectly, please refer to instructions dump. To view partially-correct add '--show-bad-code' argument */ private static void aC(int r6, short r7, byte r8, java.lang.Object[] r9) { /* int r7 = 110 - r7 int r8 = r8 * 4 int r8 = r8 + 4 byte[] r0 = com.scb.phone.view.activity.ccrredemption.ecoupon.ECouponCommonActivity.$$p int r6 = r6 * 2 int r1 = 1 - r6 byte[] r1 = new byte[r1] r2 = 0 int r6 = 0 - r6 if (r0 != 0) goto L16 r3 = r8 r4 = r2 goto L2b L16: r3 = r2 L17: byte r4 = (byte) r7 r1[r3] = r4 int r4 = r3 + 1 if (r3 != r6) goto L26 java.lang.String r6 = new java.lang.String r6.(r1, r2) r9[r2] = r6 return L26: r3 = r0[r8] r5 = r3 r3 = r7 r7 = r5 L2b: int r8 = r8 + 1 int r7 = r7 + r3 r3 = r4 goto L17 */ throw new UnsupportedOperationException("Method not decompiled: com.scb.phone.view.activity.ccrredemption.ecoupon.ECouponCommonActivity.aC(int, short, byte, java.lang.Object[]):void"); } public static /* synthetic */ Object c(Object[] objArr, int i, int i2, int i3) { int i4 = (i * CipherSuite.TLS_PSK_WITH_AES_256_CBC_SHA) + (i2 * (-279)) + ((i2 | i3) * CipherSuite.TLS_PSK_WITH_AES_128_CBC_SHA); int i5 = (~i) | i2; int i6 = ~i5; int i7 = ~i3; return (i4 + ((i6 | (~(i7 | i2))) * (-280))) + ((((~(i | i7)) | (~((~i2) | i))) | (~(i5 | i3))) * CipherSuite.TLS_PSK_WITH_AES_128_CBC_SHA) != 1 ? d(objArr) : b(objArr); } /* loaded from: classes4.dex */ public static final class IeS { private IeS() { } public static Intent ZJ_(Context context, C0367Fb c0367Fb, C0463Hc c0463Hc, C0489Ht c0489Ht, C0491Hv c0491Hv) { C14957gcv.e(context, ""); C14957gcv.e(c0367Fb, ""); C14957gcv.e(c0463Hc, ""); Intent intent = new Intent(context, (Class) ECouponCommonActivity.class); intent.putExtra("EXTRA_PAGE_TYPE_KEY", EnumC3162asM.E_COUPON_REVIEW_PAGE); intent.putExtra("EXTRA_CREDIT_CARD_DISPLAY_KEY", c0367Fb); intent.putExtra("EXTRA_PRODUCT_DISPLAY_MODEL_KEY", c0463Hc); intent.putExtra("EXTRA_E_COUPON_QUOTA_LIMIT_KEY", c0489Ht); intent.putExtra("EXTRA_E_COUPON_QUANTITY_KEY", c0491Hv); return intent; } public /* synthetic */ IeS(byte b) { this(); } } private static void aB(char[] cArr, int i, Object[] objArr) { int i2 = 2 % 2; C4593bdB c4593bdB = new C4593bdB(); c4593bdB.a = i; int length = cArr.length; long[] jArr = new long[length]; c4593bdB.e = 0; while (c4593bdB.e < cArr.length) { int i3 = $11 + 49; $10 = i3 % 128; int i4 = i3 % 2; int i5 = c4593bdB.e; try { Object[] objArr2 = {Integer.valueOf(cArr[c4593bdB.e]), c4593bdB, c4593bdB}; Object obj = xzZ.y.get(-1229953068); if (obj == null) { Class cls = (Class) xzZ.c((CdmaCellLocation.convertQuartSecToDecDegrees(0) > 0.0d ? 1 : (CdmaCellLocation.convertQuartSecToDecDegrees(0) == 0.0d ? 0 : -1)) + 402, (TypedValue.complexToFloat(0) > BitmapDescriptorFactory.HUE_RED ? 1 : (TypedValue.complexToFloat(0) == BitmapDescriptorFactory.HUE_RED ? 0 : -1)) + 5, (char) (Color.argb(0, 0, 0, 0) + 21608)); byte b2 = (byte) 0; Object[] objArr3 = new Object[1]; aC(b2, (byte) (b2 | 33), b2, objArr3); obj = cls.getMethod((String) objArr3[0], Integer.TYPE, Object.class, Object.class); xzZ.y.put(-1229953068, obj); } jArr[i5] = ((Long) ((Method) obj).invoke(null, objArr2)).longValue() ^ (x ^ (-6958928035870403642L)); Object[] objArr4 = {c4593bdB, c4593bdB}; Object obj2 = xzZ.y.get(-1143917229); if (obj2 == null) { Class cls2 = (Class) xzZ.c(286 - AndroidCharacter.getMirror('0'), 4 - ((byte) KeyEvent.getModifierMetaStateMask()), (char) (ViewConfiguration.getScrollBarFadeDuration() >> 16)); byte b3 = (byte) 0; Object[] objArr5 = new Object[1]; aC(b3, (byte) (b3 | 32), b3, objArr5); obj2 = cls2.getMethod((String) objArr5[0], Object.class, Object.class); xzZ.y.put(-1143917229, obj2); } ((Method) obj2).invoke(null, objArr4); } catch (Throwable th) { Throwable cause = th.getCause(); if (cause == null) { throw th; } throw cause; } } char[] cArr2 = new char[length]; c4593bdB.e = 0; while (c4593bdB.e < cArr.length) { int i6 = $11 + 3; $10 = i6 % 128; int i7 = i6 % 2; cArr2[c4593bdB.e] = (char) jArr[c4593bdB.e]; Object[] objArr6 = {c4593bdB, c4593bdB}; Object obj3 = xzZ.y.get(-1143917229); if (obj3 == null) { Class cls3 = (Class) xzZ.c(TextUtils.getCapsMode("", 0, 0) + 238, 5 - KeyEvent.normalizeMetaState(0), (char) (Process.myPid() >> 22)); byte b4 = (byte) 0; Object[] objArr7 = new Object[1]; aC(b4, (byte) (b4 | 32), b4, objArr7); obj3 = cls3.getMethod((String) objArr7[0], Object.class, Object.class); xzZ.y.put(-1143917229, obj3); } ((Method) obj3).invoke(null, objArr6); int i8 = $10 + 103; $11 = i8 % 128; if (i8 % 2 == 0) { int i9 = 3 % 2; } } objArr[0] = new String(cArr2); } /* JADX WARN: Removed duplicated region for block: B:12:0x052d */ /* JADX WARN: Removed duplicated region for block: B:15:0x053c */ /* JADX WARN: Removed duplicated region for block: B:18:0x0559 */ /* JADX WARN: Removed duplicated region for block: B:22:0x0569 */ /* JADX WARN: Removed duplicated region for block: B:25:0x0578 */ /* JADX WARN: Removed duplicated region for block: B:28:0x05c8 */ /* JADX WARN: Removed duplicated region for block: B:31:0x05dc */ /* JADX WARN: Removed duplicated region for block: B:34:0x05e4 */ /* JADX WARN: Removed duplicated region for block: B:36:0x05f5 */ /* JADX WARN: Removed duplicated region for block: B:49:? A[RETURN, SYNTHETIC] */ /* JADX WARN: Removed duplicated region for block: B:50:0x05f2 */ @Override // com.scb.phone.view.activity.ccrredemption.ecoupon.Hilt_ECouponCommonActivity, com.scb.phone.view.activity.ccrredemption.ecoupon.BaseECouponActivity, com.scb.phone.view.activity.ccrredemption.ecoupon.Hilt_BaseECouponActivity, 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 final void onCreate(android.os.Bundle r28) { /* Method dump skipped, instructions count: 1868 To view this dump add '--comments-level debug' option */ throw new UnsupportedOperationException("Method not decompiled: com.scb.phone.view.activity.ccrredemption.ecoupon.ECouponCommonActivity.onCreate(android.os.Bundle):void"); } @Override // com.scb.phone.view.activity.ccrredemption.ecoupon.Hilt_ECouponCommonActivity, com.scb.phone.view.activity.ccrredemption.ecoupon.BaseECouponActivity, com.scb.phone.view.activity.ccrredemption.ecoupon.Hilt_BaseECouponActivity, com.scb.phone.view.activity.BaseActivity, com.scb.phone.view.activity.PreLoadCheckActivity, com.akexorcist.localizationactivity.LocalizationActivity, androidx.appcompat.app.AppCompatActivity, androidx.fragment.app.FragmentActivity, androidx.activity.ComponentActivity, androidx.core.app.ComponentActivity, android.app.Activity public final void onStart() { int i = 2 % 2; int i2 = v + 25; u = i2 % 128; if (i2 % 2 != 0) { super.onStart(); o(); super.Z(); setTitle(b((EnumC3162asM) c(new Object[]{this}, 1698921533, -1698921532, ((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getResources().getString(R.string.security_block_enable_accessibility_description).substring(121, 122).codePointAt(0) - 1331872434))); ac(); int i3 = 0 / 0; } else { super.onStart(); o(); super.Z(); setTitle(b((EnumC3162asM) c(new Object[]{this}, 1698921533, -1698921532, ((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getResources().getString(R.string.security_block_enable_accessibility_description).substring(121, 122).codePointAt(0) - 1331872434))); ac(); } int i4 = u + 121; v = i4 % 128; int i5 = i4 % 2; } private final void o() { int i = 2 % 2; Toolbar toolbar = this.mToolbar; if (toolbar != null) { int i2 = v + 39; u = i2 % 128; if (i2 % 2 != 0) { toolbar.setBackgroundResource(R.color.f14042131100912); int i3 = 96 / 0; } else { toolbar.setBackgroundResource(R.color.f14042131100912); } } TextView textView = this.tvCardPoint; Object obj = null; if (textView == null) { C14957gcv.a(""); textView = null; } ECouponCommonActivity eCouponCommonActivity = this; textView.setTextColor(nMh.getColor(eCouponCommonActivity, R.color.f2982131099805)); TextView textView2 = this.mActionBarTitle; if (textView2 != null) { int i4 = v + 77; u = i4 % 128; int i5 = i4 % 2; textView2.setTextColor(nMh.getColor(eCouponCommonActivity, R.color.f2112131099717)); } int i6 = v + 67; u = i6 % 128; if (i6 % 2 == 0) { return; } obj.hashCode(); throw null; } @Override // com.scb.phone.view.activity.BaseActivity public final void Z() { int i = 2 % 2; int i2 = v + 81; u = i2 % 128; int i3 = i2 % 2; o(); super.Z(); setTitle(b((EnumC3162asM) c(new Object[]{this}, 1698921533, -1698921532, ((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getResources().getString(R.string.security_block_enable_accessibility_description).substring(121, 122).codePointAt(0) - 1331872434))); ac(); int i4 = u + 93; v = i4 % 128; int i5 = i4 % 2; } /* JADX WARN: Code restructure failed: missing block: B:10:0x002d, code lost: if ((r3 % 2) == 0) goto L12; */ /* JADX WARN: Code restructure failed: missing block: B:11:0x002f, code lost: r2 = r1; */ /* JADX WARN: Code restructure failed: missing block: B:12:0x0031, code lost: throw null; */ /* JADX WARN: Code restructure failed: missing block: B:14:0x0022, code lost: if (r1 != null) goto L9; */ /* JADX WARN: Code restructure failed: missing block: B:4:0x001a, code lost: if (r1 != null) goto L9; */ /* JADX WARN: Code restructure failed: missing block: B:5:0x0032, code lost: o.C14957gcv.a(""); */ /* JADX WARN: Code restructure failed: missing block: B:9:0x0024, code lost: r3 = com.scb.phone.view.activity.ccrredemption.ecoupon.ECouponCommonActivity.u + 83; com.scb.phone.view.activity.ccrredemption.ecoupon.ECouponCommonActivity.v = r3 % 128; */ @Override // o.InterfaceC9040dcH.RVV /* Code decompiled incorrectly, please refer to instructions dump. To view partially-correct add '--show-bad-code' argument */ public final void d(java.lang.String r6) { /* r5 = this; r0 = 2 int r1 = r0 % r0 int r1 = com.scb.phone.view.activity.ccrredemption.ecoupon.ECouponCommonActivity.u int r1 = r1 + 107 int r2 = r1 % 128 com.scb.phone.view.activity.ccrredemption.ecoupon.ECouponCommonActivity.v = r2 int r1 = r1 % r0 r2 = 0 java.lang.String r3 = "" if (r1 != 0) goto L1d o.C14957gcv.e(r6, r3) android.widget.TextView r1 = r5.tvCardPoint r4 = 29 int r4 = r4 / 0 if (r1 == 0) goto L32 goto L24 L1d: o.C14957gcv.e(r6, r3) android.widget.TextView r1 = r5.tvCardPoint if (r1 == 0) goto L32 L24: int r3 = com.scb.phone.view.activity.ccrredemption.ecoupon.ECouponCommonActivity.u int r3 = r3 + 83 int r4 = r3 % 128 com.scb.phone.view.activity.ccrredemption.ecoupon.ECouponCommonActivity.v = r4 int r3 = r3 % r0 if (r3 == 0) goto L31 r2 = r1 goto L35 L31: throw r2 L32: o.C14957gcv.a(r3) L35: java.lang.Object[] r6 = new java.lang.Object[]{r6} r0 = 2131959474(0x7f131eb2, float:1.955559E38) java.lang.String r6 = r5.getString(r0, r6) java.lang.CharSequence r6 = (java.lang.CharSequence) r6 r2.setText(r6) return */ throw new UnsupportedOperationException("Method not decompiled: com.scb.phone.view.activity.ccrredemption.ecoupon.ECouponCommonActivity.d(java.lang.String):void"); } @Override // o.InterfaceC9040dcH.RVV public final void a() { int i = 2 % 2; TextView textView = this.tvCardPoint; if (textView != null) { int i2 = u + 125; v = i2 % 128; int i3 = i2 % 2; } else { C14957gcv.a(""); int i4 = u + 107; v = i4 % 128; int i5 = i4 % 2; textView = null; } textView.setVisibility(8); } @Override // o.InterfaceC9040dcH.RVV public final void b() { int i = 2 % 2; int i2 = u + 25; int i3 = i2 % 128; v = i3; int i4 = i2 % 2; C0489Ht c0489Ht = this.q; if (c0489Ht != null) { int i5 = i3 + 45; int i6 = i5 % 128; u = i6; int i7 = i5 % 2; C0491Hv c0491Hv = this.k; if (c0491Hv != null) { int i8 = i6 + 89; v = i8 % 128; int i9 = i8 % 2; ECouponReviewFragment.Sts sts = ECouponReviewFragment.d; C0367Fb c0367Fb = this.l; if (c0367Fb == null) { int i10 = v + 117; u = i10 % 128; int i11 = i10 % 2; C14957gcv.a(""); c0367Fb = null; } C0463Hc c0463Hc = this.f6674o; if (c0463Hc == null) { C14957gcv.a(""); c0463Hc = null; } C14957gcv.e(c0367Fb, ""); C14957gcv.e(c0463Hc, ""); C14957gcv.e(c0489Ht, ""); C14957gcv.e(c0491Hv, ""); ECouponReviewFragment eCouponReviewFragment = new ECouponReviewFragment(); Bundle bundle = new Bundle(); bundle.putParcelable("EXTRA_CREDIT_CARD_DISPLAY_KEY", c0367Fb); bundle.putParcelable("EXTRA_PRODUCT_DISPLAY_MODEL_KEY", c0463Hc); bundle.putParcelable("EXTRA_E_COUPON_QUOTA_LIMIT_KEY", c0489Ht); bundle.putParcelable("EXTRA_E_COUPON_QUANTITY_KEY", c0491Hv); eCouponReviewFragment.setArguments(bundle); ECouponReviewFragment eCouponReviewFragment2 = eCouponReviewFragment; C14957gcv.e(eCouponReviewFragment2, ""); AbstractC13482fbE a = getSupportFragmentManager().a(); a.b(R.id.frame_container, eCouponReviewFragment2, null, 2); a.b(); } } } @Override // o.InterfaceC9040dcH.RVV public final void c() { C0491Hv c0491Hv; int i = 2 % 2; C0489Ht c0489Ht = this.q; if (c0489Ht == null || (c0491Hv = this.k) == null) { return; } int i2 = v + 103; u = i2 % 128; int i3 = i2 % 2; ECouponQuantityFragment.RVV rvv = ECouponQuantityFragment.c; C0367Fb c0367Fb = this.l; Object obj = null; if (c0367Fb == null) { C14957gcv.a(""); c0367Fb = null; } C0463Hc c0463Hc = this.f6674o; if (c0463Hc == null) { int i4 = u + 103; v = i4 % 128; if (i4 % 2 == 0) { C14957gcv.a(""); obj.hashCode(); throw null; } C14957gcv.a(""); c0463Hc = null; } C14957gcv.e(c0367Fb, ""); C14957gcv.e(c0463Hc, ""); C14957gcv.e(c0489Ht, ""); C14957gcv.e(c0491Hv, ""); ECouponQuantityFragment eCouponQuantityFragment = new ECouponQuantityFragment(); Bundle bundle = new Bundle(); bundle.putParcelable("EXTRA_CREDIT_CARD_DISPLAY_KEY", c0367Fb); bundle.putParcelable("EXTRA_PRODUCT_DISPLAY_MODEL_KEY", c0463Hc); bundle.putParcelable("EXTRA_E_COUPON_QUOTA_LIMIT_KEY", c0489Ht); bundle.putParcelable("EXTRA_E_COUPON_QUANTITY_KEY", c0491Hv); eCouponQuantityFragment.setArguments(bundle); ECouponQuantityFragment eCouponQuantityFragment2 = eCouponQuantityFragment; C14957gcv.e(eCouponQuantityFragment2, ""); AbstractC13482fbE a = getSupportFragmentManager().a(); a.b(R.id.frame_container, eCouponQuantityFragment2, null, 2); a.b(); } private static /* synthetic */ Object b(Object[] objArr) { int i = 2 % 2; Intent intent = ((ECouponCommonActivity) objArr[0]).getIntent(); Serializable serializable = null; if (intent != null) { int i2 = u + 35; v = i2 % 128; if (i2 % 2 == 0) { intent.getExtras(); serializable.hashCode(); throw null; } Bundle extras = intent.getExtras(); if (extras != null) { int i3 = v + 11; u = i3 % 128; int i4 = i3 % 2; serializable = extras.getSerializable("EXTRA_PAGE_TYPE_KEY"); } } C14957gcv.d(serializable, ""); return (EnumC3162asM) serializable; } private static void aA(short s2, int i, int i2, int i3, byte b2, Object[] objArr) { boolean z; int length; byte[] bArr; int i4; int i5 = 2 % 2; DFY dfy = new DFY(); StringBuilder sb = new StringBuilder(); try { Object[] objArr2 = {Integer.valueOf(i2), Integer.valueOf(s)}; Object obj = xzZ.y.get(-2092856797); if (obj == null) { Class cls = (Class) xzZ.c((SystemClock.currentThreadTimeMillis() > (-1L) ? 1 : (SystemClock.currentThreadTimeMillis() == (-1L) ? 0 : -1)) + 336, 5 - (ExpandableListView.getPackedPositionForGroup(0) > 0L ? 1 : (ExpandableListView.getPackedPositionForGroup(0) == 0L ? 0 : -1)), (char) KeyEvent.normalizeMetaState(0)); byte b3 = (byte) 0; byte b4 = b3; Object[] objArr3 = new Object[1]; aC(b3, b4, b4, objArr3); obj = cls.getMethod((String) objArr3[0], Integer.TYPE, Integer.TYPE); xzZ.y.put(-2092856797, obj); } int intValue = ((Integer) ((Method) obj).invoke(null, objArr2)).intValue(); int i6 = intValue == -1 ? 1 : 0; if (i6 != 0) { int i7 = $11 + 27; int i8 = i7 % 128; $10 = i8; int i9 = i7 % 2; byte[] bArr2 = p; if (bArr2 != null) { int i10 = i8 + 69; $11 = i10 % 128; int i11 = i10 % 2; int length2 = bArr2.length; byte[] bArr3 = new byte[length2]; for (int i12 = 0; i12 < length2; i12++) { Object[] objArr4 = {Integer.valueOf(bArr2[i12])}; Object obj2 = xzZ.y.get(-1648115392); if (obj2 == null) { Class cls2 = (Class) xzZ.c(TextUtils.indexOf("", "", 0) + 60, TextUtils.indexOf((CharSequence) "", '0') + 6, (char) (ViewConfiguration.getTouchSlop() >> 8)); byte b5 = (byte) 0; byte b6 = (byte) (b5 + 2); Object[] objArr5 = new Object[1]; aC(b5, b6, (byte) (b6 - 2), objArr5); obj2 = cls2.getMethod((String) objArr5[0], Integer.TYPE); xzZ.y.put(-1648115392, obj2); } bArr3[i12] = ((Byte) ((Method) obj2).invoke(null, objArr4)).byteValue(); } bArr2 = bArr3; } if (bArr2 != null) { byte[] bArr4 = p; Object[] objArr6 = {Integer.valueOf(i), Integer.valueOf(r)}; Object obj3 = xzZ.y.get(-2092856797); if (obj3 == null) { Class cls3 = (Class) xzZ.c(337 - (ViewConfiguration.getKeyRepeatTimeout() >> 16), 4 - MotionEvent.axisFromString(""), (char) (KeyEvent.getMaxKeyCode() >> 16)); byte b7 = (byte) 0; byte b8 = b7; Object[] objArr7 = new Object[1]; aC(b7, b8, b8, objArr7); obj3 = cls3.getMethod((String) objArr7[0], Integer.TYPE, Integer.TYPE); xzZ.y.put(-2092856797, obj3); } intValue = (byte) (((byte) (bArr4[((Integer) ((Method) obj3).invoke(null, objArr6)).intValue()] ^ (-7303220121662775787L))) + ((int) (s ^ (-7303220121662775787L)))); } else { intValue = (short) (((short) (y[i + ((int) (r ^ (-7303220121662775787L)))] ^ (-7303220121662775787L))) + ((int) (s ^ (-7303220121662775787L)))); } } if (intValue > 0) { dfy.c = ((i + intValue) - 2) + ((int) (r ^ (-7303220121662775787L))) + i6; Object[] objArr8 = {dfy, Integer.valueOf(i3), Integer.valueOf(t), sb}; Object obj4 = xzZ.y.get(1546973421); if (obj4 == null) { obj4 = ((Class) xzZ.c((ViewConfiguration.getZoomControlsTimeout() > 0L ? 1 : (ViewConfiguration.getZoomControlsTimeout() == 0L ? 0 : -1)) + 747, 5 - (Process.myTid() >> 22), (char) (((byte) KeyEvent.getModifierMetaStateMask()) + 1))).getMethod("q", Object.class, Integer.TYPE, Integer.TYPE, Object.class); xzZ.y.put(1546973421, obj4); } ((StringBuilder) ((Method) obj4).invoke(null, objArr8)).append(dfy.a); dfy.e = dfy.a; byte[] bArr5 = p; if (bArr5 != null) { int i13 = $10 + 15; $11 = i13 % 128; if (i13 % 2 == 0) { length = bArr5.length; bArr = new byte[length]; i4 = 1; } else { length = bArr5.length; bArr = new byte[length]; i4 = 0; } while (i4 < length) { bArr[i4] = (byte) (bArr5[i4] ^ (-7303220121662775787L)); i4++; } bArr5 = bArr; } if (bArr5 != null) { int i14 = $11 + 3; $10 = i14 % 128; int i15 = i14 % 2; z = true; } else { z = false; } dfy.d = 1; while (dfy.d < intValue) { if (z) { byte[] bArr6 = p; dfy.c = dfy.c - 1; dfy.a = (char) (dfy.e + (((byte) (((byte) (bArr6[r7] ^ (-7303220121662775787L))) + s2)) ^ b2)); } else { short[] sArr = y; dfy.c = dfy.c - 1; dfy.a = (char) (dfy.e + (((short) (((short) (sArr[r7] ^ (-7303220121662775787L))) + s2)) ^ b2)); } sb.append(dfy.a); dfy.e = dfy.a; dfy.d++; } } objArr[0] = sb.toString(); } catch (Throwable th) { Throwable cause = th.getCause(); if (cause == null) { throw th; } throw cause; } } @Override // com.scb.phone.view.activity.ccrredemption.ecoupon.Hilt_ECouponCommonActivity, com.scb.phone.view.activity.ccrredemption.ecoupon.BaseECouponActivity, com.scb.phone.view.activity.ccrredemption.ecoupon.Hilt_BaseECouponActivity, com.scb.phone.view.activity.BaseActivity, com.scb.phone.view.activity.PreLoadCheckActivity, com.akexorcist.localizationactivity.LocalizationActivity, androidx.appcompat.app.AppCompatActivity, androidx.fragment.app.FragmentActivity, androidx.activity.ComponentActivity, androidx.core.app.ComponentActivity, android.app.Activity public final void onResume() { int i = 2 % 2; int i2 = v + 11; u = i2 % 128; if (i2 % 2 != 0) { getBaseContext(); throw null; } Context baseContext = getBaseContext(); if (baseContext == null) { Object[] objArr = new Object[1]; aB(new char[]{27778, 63452, 23077, 48482, 456, 25631, 53089, 21498, 46602, 6474, 32185, 49334, 11118, 36765, 4857, 30005, 55685, 15595, 34597, 60313, 20195, 53550, 13415, 39105, 58138, 18030}, ((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getResources().getString(R.string.voucher_delivery_eta).substring(106, 107).length() + 39760, objArr); Class cls = Class.forName((String) objArr[0]); Object[] objArr2 = new Object[1]; aA((short) View.getDefaultSize(0, 0), ((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getResources().getString(R.string.auto_direct_debit_decline_terms_and_conditions_description).substring(31, 32).codePointAt(0) - 578490059, ((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getResources().getString(R.string.easycash_issuer_input_error_character).substring(47, 48).codePointAt(0) - 77, (-331283597) - (ViewConfiguration.getKeyRepeatDelay() >> 16), (byte) (((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getResources().getString(R.string.billpayment_bnpl_total_interest_fee_1).substring(26, 27).length() - 45), objArr2); baseContext = (Context) cls.getMethod((String) objArr2[0], new Class[0]).invoke(null, null); } if (baseContext != null) { baseContext = baseContext.getApplicationContext(); } if (baseContext != null) { int i3 = v + 73; u = i3 % 128; try { if (i3 % 2 != 0) { Object obj = xzZ.y.get(125943855); if (obj == null) { obj = ((Class) xzZ.c(ExpandableListView.getPackedPositionChild(0L) + 493, 4 - TextUtils.indexOf((CharSequence) "", '0'), (char) (ViewConfiguration.getTouchSlop() >> 8))).getMethod("a", null); xzZ.y.put(125943855, obj); } Object invoke = ((Method) obj).invoke(null, null); Object[] objArr3 = {baseContext}; Object obj2 = xzZ.y.get(1378719468); if (obj2 == null) { obj2 = ((Class) xzZ.c(487 - (ViewConfiguration.getPressedStateDuration() >> 16), View.resolveSize(0, 0) + 5, (char) (AudioTrack.getMinVolume() > BitmapDescriptorFactory.HUE_RED ? 1 : (AudioTrack.getMinVolume() == BitmapDescriptorFactory.HUE_RED ? 0 : -1)))).getMethod(KtaJsonExactionHelper.OBJECT, Context.class); xzZ.y.put(1378719468, obj2); } ((Method) obj2).invoke(invoke, objArr3); throw null; } Object obj3 = xzZ.y.get(125943855); if (obj3 == null) { obj3 = ((Class) xzZ.c((ViewConfiguration.getDoubleTapTimeout() >> 16) + 492, 5 - (ViewConfiguration.getJumpTapTimeout() >> 16), (char) (1 - (ViewConfiguration.getScrollFriction() > BitmapDescriptorFactory.HUE_RED ? 1 : (ViewConfiguration.getScrollFriction() == BitmapDescriptorFactory.HUE_RED ? 0 : -1))))).getMethod("a", null); xzZ.y.put(125943855, obj3); } Object invoke2 = ((Method) obj3).invoke(null, null); Object[] objArr4 = {baseContext}; Object obj4 = xzZ.y.get(1378719468); if (obj4 == null) { obj4 = ((Class) xzZ.c(487 - (KeyEvent.getMaxKeyCode() >> 16), TextUtils.getOffsetAfter("", 0) + 5, (char) (TextUtils.lastIndexOf("", '0', 0, 0) + 1))).getMethod(KtaJsonExactionHelper.OBJECT, Context.class); xzZ.y.put(1378719468, obj4); } ((Method) obj4).invoke(invoke2, objArr4); } catch (Throwable th) { Throwable cause = th.getCause(); if (cause == null) { throw th; } throw cause; } } super.onResume(); } private static /* synthetic */ Object d(Object[] objArr) { ECouponCommonActivity eCouponCommonActivity = (ECouponCommonActivity) objArr[0]; int i = 2 % 2; int i2 = u + 85; v = i2 % 128; if (i2 % 2 == 0) { eCouponCommonActivity.getBaseContext(); throw null; } Context baseContext = eCouponCommonActivity.getBaseContext(); if (baseContext == null) { Object[] objArr2 = new Object[1]; aB(new char[]{27778, 63452, 23077, 48482, 456, 25631, 53089, 21498, 46602, 6474, 32185, 49334, 11118, 36765, 4857, 30005, 55685, 15595, 34597, 60313, 20195, 53550, 13415, 39105, 58138, 18030}, 39761 - View.resolveSize(0, 0), objArr2); Class cls = Class.forName((String) objArr2[0]); Object[] objArr3 = new Object[1]; aA((short) (((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getApplicationInfo().targetSdkVersion - 34), ((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getPackageName().codePointAt(5) - 578490126, ((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getPackageName().length() - 58, ((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getResources().getString(R.string.registration_title).substring(13, 14).codePointAt(0) - 331283629, (byte) (((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getApplicationInfo().targetSdkVersion - 78), objArr3); baseContext = (Context) cls.getMethod((String) objArr3[0], new Class[0]).invoke(null, null); } if (baseContext != null) { baseContext = baseContext.getApplicationContext(); int i3 = v + 11; u = i3 % 128; int i4 = i3 % 2; } if (baseContext != null) { int i5 = u + 117; v = i5 % 128; int i6 = i5 % 2; try { Object obj = xzZ.y.get(125943855); if (obj == null) { obj = ((Class) xzZ.c(492 - ((Process.getThreadPriority(0) + 20) >> 6), (CdmaCellLocation.convertQuartSecToDecDegrees(0) > 0.0d ? 1 : (CdmaCellLocation.convertQuartSecToDecDegrees(0) == 0.0d ? 0 : -1)) + 5, (char) (TextUtils.indexOf((CharSequence) "", '0') + 1))).getMethod("a", null); xzZ.y.put(125943855, obj); } Object invoke = ((Method) obj).invoke(null, null); Object[] objArr4 = {baseContext}; Object obj2 = xzZ.y.get(1633456013); if (obj2 == null) { obj2 = ((Class) xzZ.c(487 - (ViewConfiguration.getWindowTouchSlop() >> 8), 5 - TextUtils.getOffsetBefore("", 0), (char) (ViewConfiguration.getScrollBarSize() >> 8))).getMethod("c", Context.class); xzZ.y.put(1633456013, obj2); } ((Method) obj2).invoke(invoke, objArr4); } catch (Throwable th) { Throwable cause = th.getCause(); if (cause != null) { throw cause; } throw th; } } super.onPause(); return null; } @Override // com.scb.phone.view.activity.ccrredemption.ecoupon.Hilt_ECouponCommonActivity, com.scb.phone.view.activity.ccrredemption.ecoupon.BaseECouponActivity, com.scb.phone.view.activity.ccrredemption.ecoupon.Hilt_BaseECouponActivity, 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 final void attachBaseContext(Context context) { Context context2; int i = 2 % 2; int i2 = u + 71; v = i2 % 128; int i3 = i2 % 2; super.attachBaseContext(context); Object[] objArr = new Object[1]; aA((short) TextUtils.indexOf("", "", 0, 0), 61812 - AndroidCharacter.getMirror('0'), View.combineMeasuredStates(0, 0) - 45, Color.alpha(0) - 331283599, (byte) (TextUtils.lastIndexOf("", '0') - 86), objArr); Class cls = Class.forName((String) objArr[0]); Object[] objArr2 = new Object[1]; aB(new char[]{27790, 11253, 57960, 47815, 28987}, View.MeasureSpec.getSize(0) + 18287, objArr2); int intValue = ((Integer) cls.getDeclaredMethod((String) objArr2[0], new Class[0]).invoke(null, new Object[0])).intValue() % 100000; if (intValue < 99000 || intValue > 99999) { if (context != null) { int i4 = v + 109; u = i4 % 128; int i5 = i4 % 2; context2 = context.getApplicationContext(); int i6 = u + 83; v = i6 % 128; int i7 = i6 % 2; } else { context2 = context; } if (context2 != null) { int i8 = v + 91; u = i8 % 128; int i9 = i8 % 2; try { Object obj = xzZ.y.get(125943855); if (obj == null) { obj = ((Class) xzZ.c(491 - TextUtils.lastIndexOf("", '0', 0, 0), (ViewConfiguration.getKeyRepeatTimeout() >> 16) + 5, (char) View.MeasureSpec.makeMeasureSpec(0, 0))).getMethod("a", null); xzZ.y.put(125943855, obj); } Object invoke = ((Method) obj).invoke(null, null); Object[] objArr3 = new Object[1]; aA((short) Color.alpha(0), (-578490010) - View.MeasureSpec.getSize(0), (Process.myPid() >> 22) - 15, (-331283647) - (ViewConfiguration.getPressedStateDuration() >> 16), (byte) ((-101) - TextUtils.indexOf((CharSequence) "", '0', 0, 0)), objArr3); String str = (String) objArr3[0]; Object[] objArr4 = new Object[1]; aB(new char[]{27782, 60766, 28523, 59675, 27561, 58842, 26605, 57795, 25214, 64513, 32359, 63552, 31397, 62598, 30438, 61635, 28965, 62232, 19836, 53084, 18924, 52126, 17832, 51166, 16440, 49682, 23669, 56837, 22709, 55961, 21745, 55002, 22324, 53611, 21320, 44543, 12170, 43488, 11163, 42104, 9741, 41014, 8724, 48288, 16002, 47329, 15047, 47984, 13655, 46964, 12555, 46009, 3532, 36848, 2524, 35432, 1043, 34343, 'T', 33470, 7313, 40610, 6272, 39271}, 33248 - (AudioTrack.getMaxVolume() > BitmapDescriptorFactory.HUE_RED ? 1 : (AudioTrack.getMaxVolume() == BitmapDescriptorFactory.HUE_RED ? 0 : -1)), objArr4); String str2 = (String) objArr4[0]; Object[] objArr5 = new Object[1]; aB(new char[]{27778, 13528, 56533, 25817, 3214, 54495, 31892, 1171, 44233, 29889, 7374, 42151, 19621, 5360, 48377, 17654, 60594, 46258, 23731, 58602, 36078, 21740, 64662, 33940, 11464, 62608, 40139, 9431, 52367, 38018, 15488, 50394, 27831, 13538, 56548, 25791, 3258, 54462, 31904, 1191, 44206, 29864, 7336, 42065, 19457, 5127, 48223, 17419, 60433, 46101, 23623, 58434, 35913, 21573, 64625, 33824, 11387, 62505, 39979, 9267, 52322, 37996, 15418, 50281}, TextUtils.lastIndexOf("", '0', 0) + 22532, objArr5); String str3 = (String) objArr5[0]; Object[] objArr6 = new Object[1]; aB(new char[]{27787, 26234, 31053, 19540, 18212, 23160, 11586, 8375, 15352, 3807, 448, 5281, 61340, 57989, 62584, 53101, 49750, 54572, 43050, 41757, 46598, 35326, 40159, 38857, 27317, 32173, 28895, 19048, 23911, 20552, 11072, 15921, 12599, 1037, 8184, 4855, 58819, 63628, 62378, 50829, 55690, 54116, 42597, 47455, 35886, 34623, 39444, 27922, 24822, 31632, 20170, 16827, 21674, 12253, 8572, 13432, 3922, 521, 5432, 59410, 58120, 63231, 51702, 56516, 55180, 43704, 48587, 45259, 35442, 40308, 36936, 27446, 32319, 28933}, 2797 - TextUtils.indexOf("", "", 0, 0), objArr6); String str4 = (String) objArr6[0]; Object[] objArr7 = new Object[1]; aA((short) View.resolveSizeAndState(0, 0, 0), (-578489963) - Gravity.getAbsoluteGravity(0, 0), (-58) - Color.blue(0), (-331283639) - TextUtils.indexOf("", "", 0, 0), (byte) ((-5) - (ExpandableListView.getPackedPositionForChild(0, 0) > 0L ? 1 : (ExpandableListView.getPackedPositionForChild(0, 0) == 0L ? 0 : -1))), objArr7); String str5 = (String) objArr7[0]; Object[] objArr8 = new Object[1]; aB(new char[]{27782, 49169, 13815, 26990, 57035, 12805, 26533, 54486, 2134, 32254, 53613, 1751, 31333, 44985, 7389, 28748, 42466, 6417, 20120, 41579, 6141, 17545, 47138, 60923, 16665, 46811, 59967, 24323, 36032, 57377, 21946, 35099, 65207, 21029, 34644, 62623}, 44179 - ((Process.getThreadPriority(0) + 20) >> 6), 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(487 - Color.alpha(0), ImageFormat.getBitsPerPixel(0) + 6, (char) ExpandableListView.getPackedPositionGroup(0L))).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; } } } } static void h() { r = 1907691689; s = 1406017066; t = 1081139941; p = new byte[]{PSSSigner.TRAILER_IMPLICIT, -78, -66, 72, 65, -98, -98, 7, -72, -3, 118, 71, 70, 65, -78, 74, ISO7816.INS_READ_BINARY2, 62, -57, ISO7816.INS_DECREASE_STAMPED, ISO7816.INS_WRITE_RECORD, 63, 59, 60, 61, -63, -18, 12, -57, -56, ISO7816.INS_INCREASE, -63, 60, -45, 70, -92, 92, -89, 117, ISOFileInfo.SECURITY_ATTR_COMPACT, ISOFileInfo.SECURITY_ATTR_EXP, 89, -119, 116, 118, PSSSigner.TRAILER_IMPLICIT, ISO7816.INS_MANAGE_CHANNEL, ISOFileInfo.LCS_BYTE, ISOFileInfo.ENV_TEMP_EF, -119, ISO7816.INS_REHABILITATE_CHV, -94, 95, -89, 91, -92, 89, -92, 81, -92, -120, 114, -113, 118, 88, -93, ISOFileInfo.SECURITY_ATTR_COMPACT, 88, -90, 91, -90, ISO7816.INS_MANAGE_CHANNEL, 94, -120, 114, ISOFileInfo.LCS_BYTE, -71, 88, -89, 116, -113, -21, Ascii.US, -29, 28, Ascii.NAK, Ascii.NAK, Ascii.NAK, Ascii.NAK}; x = 5474870851606511397L; } @Override // com.scb.phone.view.activity.ccrredemption.ecoupon.Hilt_ECouponCommonActivity, com.scb.phone.view.activity.ccrredemption.ecoupon.BaseECouponActivity, com.scb.phone.view.activity.ccrredemption.ecoupon.Hilt_BaseECouponActivity, com.scb.phone.view.activity.BaseActivity, com.scb.phone.view.activity.PreLoadCheckActivity, com.akexorcist.localizationactivity.LocalizationActivity, androidx.appcompat.app.AppCompatActivity, androidx.fragment.app.FragmentActivity, androidx.activity.ComponentActivity, androidx.core.app.ComponentActivity, android.app.Activity public final void onPause() { c(new Object[]{this}, 344452141, -344452141, ((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getApplicationInfo().targetSdkVersion + 1605582727); } private final EnumC3162asM f() { return (EnumC3162asM) c(new Object[]{this}, 1698921533, -1698921532, ((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getResources().getString(R.string.security_block_enable_accessibility_description).substring(121, 122).codePointAt(0) - 1331872434); } static { u = 0; h(); b = new IeS((byte) 0); int i = v + 59; u = i % 128; int i2 = i % 2; } }