package com.scb.phone.view.activity.sme.gifting; import android.content.Context; import android.content.Intent; import android.graphics.Color; import android.graphics.ImageFormat; import android.graphics.drawable.Drawable; import android.media.AudioTrack; import android.os.Bundle; import android.os.Process; import android.os.SystemClock; import android.telephony.cdma.CdmaCellLocation; import android.text.AndroidCharacter; import android.text.TextUtils; import android.view.KeyEvent; import android.view.View; import android.view.ViewConfiguration; import android.widget.ExpandableListView; import android.widget.TextView; import butterknife.BindView; import butterknife.ButterKnife; import butterknife.OnClick; import com.google.android.gms.maps.model.BitmapDescriptorFactory; import com.google.common.base.Ascii; import com.scb.phone.R; import com.scb.phone.view.activity.landingpage.PartnerWebViewActivity; import com.scb.phone.view.activity.sme.gifting.GiftingOpenedActivity; import com.scb.phone.view.custom.common.DefaultButton; import java.lang.reflect.Method; import net.sf.scuba.smartcards.ISO7816; import o.AbstractActivityC11867enT; import o.C0915Rl; import o.C15715hv; import o.C4593bdB; import o.C6119cJY; import o.C6148cKC; import o.Csg; import o.GuL; import o.InterfaceC13391fZD; import o.InterfaceC6673cZp; import o.RZp; import o.WI; import o.ZI; import o.xzZ; /* loaded from: classes5.dex */ public class GiftingOpenedActivity extends AbstractActivityC11867enT implements InterfaceC6673cZp.dAO { @BindView TextView giftExtraInfo; @BindView TextView giftItemDescription; @BindView TextView giftName; @BindView TextView giftSenderMsg; @BindView TextView giftSenderName; @BindView DefaultButton grayButton; @InterfaceC13391fZD public C6119cJY presenter; @BindView DefaultButton purpleButton; private static final byte[] $$g = {10, Ascii.SYN, ISO7816.INS_READ_RECORD2, -2}; private static final int $$h = 76; private static int $10 = 0; private static int $11 = 1; private static int k = 0; /* renamed from: o, reason: collision with root package name */ private static int f7946o = 1; private static long m = 3619298768520017500L; private static long l = 2062870044708371625L; /* JADX WARN: Removed duplicated region for block: B:10:0x0025 */ /* JADX WARN: Removed duplicated region for block: B:7:0x001d */ /* JADX WARN: Unsupported multi-entry loop pattern (BACK_EDGE: B:10:0x0025 -> B:4:0x002c). 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(int r6, byte r7, short r8, java.lang.Object[] r9) { /* int r8 = 121 - r8 byte[] r0 = com.scb.phone.view.activity.sme.gifting.GiftingOpenedActivity.$$g int r7 = r7 * 3 int r7 = 4 - r7 int r6 = r6 * 2 int r6 = 1 - r6 byte[] r1 = new byte[r6] r2 = 0 if (r0 != 0) goto L15 r3 = r8 r4 = r2 r8 = r7 goto L2c L15: r3 = r2 L16: byte r4 = (byte) r8 r1[r3] = r4 int r3 = r3 + 1 if (r3 != r6) goto L25 java.lang.String r6 = new java.lang.String r6.(r1, r2) r9[r2] = r6 return L25: r4 = r0[r7] r5 = r8 r8 = r7 r7 = r4 r4 = r3 r3 = r5 L2c: int r7 = r7 + r3 int r8 = r8 + 1 r3 = r4 r5 = r8 r8 = r7 r7 = r5 goto L16 */ throw new UnsupportedOperationException("Method not decompiled: com.scb.phone.view.activity.sme.gifting.GiftingOpenedActivity.az(int, byte, short, java.lang.Object[]):void"); } public static /* synthetic */ Object d(Object[] objArr, int i, int i2, int i3) { GiftingOpenedActivity giftingOpenedActivity = (GiftingOpenedActivity) objArr[0]; int i4 = 2 % 2; giftingOpenedActivity.startActivity(new Intent(giftingOpenedActivity, (Class) PartnerWebViewActivity.class).putExtra("com.scb.phone.EXTRA_DISPLAY", (C0915Rl) objArr[1])); int i5 = k + 61; f7946o = i5 % 128; int i6 = i5 % 2; return null; } private static void ay(char[] cArr, int i, Object[] objArr) { int i2 = 2 % 2; GuL guL = new GuL(); char[] a = GuL.a(l ^ (-7538262848231253921L), cArr, i); guL.a = 4; while (guL.a < a.length) { int i3 = $11 + 69; $10 = i3 % 128; int i4 = i3 % 2; guL.c = guL.a - 4; int i5 = guL.a; try { Object[] objArr2 = {Long.valueOf(a[guL.a] ^ a[guL.a % 4]), Long.valueOf(guL.c), Long.valueOf(l)}; Object obj = xzZ.y.get(428080616); if (obj == null) { Class cls = (Class) xzZ.c(View.combineMeasuredStates(0, 0) + 208, Color.rgb(0, 0, 0) + 16777221, (char) (1706 - (ViewConfiguration.getJumpTapTimeout() >> 16))); byte b = (byte) 0; Object[] objArr3 = new Object[1]; az(b, b, (byte) (-$$g[3]), objArr3); obj = cls.getMethod((String) objArr3[0], Long.TYPE, Long.TYPE, Long.TYPE); xzZ.y.put(428080616, obj); } a[i5] = ((Character) ((Method) obj).invoke(null, objArr2)).charValue(); try { Object[] objArr4 = {guL, guL}; Object obj2 = xzZ.y.get(-1875914398); if (obj2 == null) { Class cls2 = (Class) xzZ.c((ViewConfiguration.getKeyRepeatTimeout() >> 16) + 392, View.MeasureSpec.getSize(0) + 5, (char) KeyEvent.getDeadChar(0, 0)); byte b2 = (byte) 0; byte b3 = b2; Object[] objArr5 = new Object[1]; az(b2, b3, b3, objArr5); obj2 = cls2.getMethod((String) objArr5[0], Object.class, Object.class); xzZ.y.put(-1875914398, obj2); } ((Method) obj2).invoke(null, objArr4); int i6 = $10 + 119; $11 = i6 % 128; int i7 = i6 % 2; } catch (Throwable th) { Throwable cause = th.getCause(); if (cause == null) { throw th; } throw cause; } } catch (Throwable th2) { Throwable cause2 = th2.getCause(); if (cause2 == null) { throw th2; } throw cause2; } } objArr[0] = new String(a, 4, a.length - 4); } private static void ax(char[] cArr, int i, Object[] objArr) { Object method; 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 + 47; $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(KeyEvent.getDeadChar(0, 0) + 402, 4 - ImageFormat.getBitsPerPixel(0), (char) (View.MeasureSpec.makeMeasureSpec(0, 0) + 21608)); byte b = (byte) 0; byte b2 = b; Object[] objArr3 = new Object[1]; az(b, b2, (byte) (b2 | ISO7816.INS_UNBLOCK_CHV), 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() ^ (m ^ (-6958928035870403642L)); Object[] objArr4 = {c4593bdB, c4593bdB}; Object obj2 = xzZ.y.get(-1143917229); if (obj2 == null) { Class cls2 = (Class) xzZ.c(237 - TextUtils.indexOf((CharSequence) "", '0', 0, 0), 5 - Color.blue(0), (char) View.MeasureSpec.getSize(0)); byte b3 = (byte) 0; byte b4 = b3; Object[] objArr5 = new Object[1]; az(b3, b4, (byte) (b4 | 43), 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 = $10 + 123; $11 = i6 % 128; if (i6 % 2 == 0) { 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(238 - TextUtils.getTrimmedLength(""), TextUtils.lastIndexOf("", '0', 0, 0) + 6, (char) (1 - (ViewConfiguration.getZoomControlsTimeout() > 0L ? 1 : (ViewConfiguration.getZoomControlsTimeout() == 0L ? 0 : -1)))); byte b5 = (byte) 0; byte b6 = b5; Object[] objArr7 = new Object[1]; az(b5, b6, (byte) (b6 | 43), objArr7); obj3 = cls3.getMethod((String) objArr7[0], Object.class, Object.class); xzZ.y.put(-1143917229, obj3); } Object obj4 = null; ((Method) obj3).invoke(null, objArr6); obj4.hashCode(); throw null; } cArr2[c4593bdB.e] = (char) jArr[c4593bdB.e]; Object[] objArr8 = {c4593bdB, c4593bdB}; Object obj5 = xzZ.y.get(-1143917229); if (obj5 != null) { method = obj5; } else { Class cls4 = (Class) xzZ.c(237 - TextUtils.indexOf((CharSequence) "", '0'), AndroidCharacter.getMirror('0') - '+', (char) ExpandableListView.getPackedPositionGroup(0L)); byte b7 = (byte) 0; byte b8 = b7; Object[] objArr9 = new Object[1]; az(b7, b8, (byte) (b8 | 43), objArr9); method = cls4.getMethod((String) objArr9[0], Object.class, Object.class); xzZ.y.put(-1143917229, method); } ((Method) method).invoke(null, objArr8); } objArr[0] = new String(cArr2); } @Override // o.AbstractActivityC11867enT, com.scb.phone.view.activity.sme.gifting.GiftingStatusBaseActivity, o.AbstractActivityC11870enW, 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; Object[] objArr = new Object[1]; ax(new char[]{58875, 65357, 53388, 46531, 36625, 24686, 17832, 24251, 12349, 5480, 61070, 49209, 42308, 48784, 37863, 29992, 20089, 9120}, ((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getResources().getString(R.string.manage_email_otp_sent_body).substring(3, 4).length() + 6840, objArr); Class cls = Class.forName((String) objArr[0]); Object[] objArr2 = new Object[1]; ax(new char[]{58871, 57398, 61029, 62604, 62122}, ((byte) KeyEvent.getModifierMetaStateMask()) + ISO7816.INS_UPDATE_BINARY, 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) { int i2 = f7946o + 121; k = i2 % 128; int i3 = i2 % 2; Object[] objArr3 = new Object[1]; ax(new char[]{58875, 22791, 39960, 54065, 5689, 21836, 34892, 53009, 611, 16737, 33940, 64453, 16063, 32174, 45220, 63438, 10972, 27088, 44280, 58346, 10034, 39453, 55562, 7210, 21299, 38469}, ((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getResources().getString(R.string.auto_single_form_personal_info_privacy_notice).substring(109, 110).codePointAt(0) + 48339, objArr3); Class cls2 = Class.forName((String) objArr3[0]); Object[] objArr4 = new Object[1]; ax(new char[]{58873, 5694, 586, 16027, 10939, 9953, 21256, 20332, 31586, 30643, 25564, 39944, 34869, 33894, 45184, 44236, 55525, 54549}, (ViewConfiguration.getJumpTapTimeout() >> 16) + 62417, objArr4); baseContext = (Context) cls2.getMethod((String) objArr4[0], new Class[0]).invoke(null, null); } if (baseContext != null) { baseContext = baseContext.getApplicationContext(); } if (baseContext != null) { int i4 = k + 111; f7946o = i4 % 128; int i5 = i4 % 2; try { Object obj = xzZ.y.get(125943855); if (obj == null) { obj = ((Class) xzZ.c(492 - (ViewConfiguration.getDoubleTapTimeout() >> 16), (SystemClock.elapsedRealtimeNanos() > 0L ? 1 : (SystemClock.elapsedRealtimeNanos() == 0L ? 0 : -1)) + 4, (char) (ExpandableListView.getPackedPositionForGroup(0) > 0L ? 1 : (ExpandableListView.getPackedPositionForGroup(0) == 0L ? 0 : -1)))).getMethod("a", null); xzZ.y.put(125943855, obj); } Object invoke = ((Method) obj).invoke(null, null); Object[] objArr5 = new Object[1]; ax(new char[]{58795, 63518, 57032, 48353, 37733, 29062, 22478, 10782, 2144, 61160, 52566, 41802, 33229, 26607, 31331, 22751, 16072, 7498, 62270, 53739, 46165, 35329, 26777, 20150, 11572, 983, 57815, 50254, 55917, 47332, 40708, 32006, 21451, 12732, 5220, 60114, 51408, 44832, 36202, 25533, 18000, 9221, 15101, 6334, 65341, 56789, 46037, 38515}, ((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getResources().getString(R.string.etb_success_screenshot_filename).substring(0, 6).length() + 7597, objArr5); String str = (String) objArr5[0]; Object[] objArr6 = new Object[1]; ay(new char[]{51107, 51142, 33495, 42563, 37831, 53953, 21581, 7919, 55837, 48198, 2029, 48837, 57462, 60112, 43955, 10978, 31769, 17931, 57182, 38429, 35061, 53793, 17248, 566, 9464, 44635, 63320, 61032, 45184, 14963, 6865, 22999, 52601, 35236, 36601, 50612, 22868, 26050, 12932, 45445, 62734, 61941, 42747, 7518, 485, 19783, 51744, 35106, 40414, 55628, 32287, 29966, 10727, 46445, 57975, 57715, 17976, 149, 4556, 19710, 53835, 40166, 34192, 14540, 28221, 26815, 10728, 42153}, View.MeasureSpec.makeMeasureSpec(0, 0), objArr6); String str2 = (String) objArr6[0]; Object[] objArr7 = new Object[1]; ax(new char[]{58875, 2373, 15460, 8988, 22119, 17706, 26773, 40878, 33424, 45500, 42159, 51218, 65324, 57877, 4360, 1067, 11147, 24239, 19906, 28815, 26535, 35673, 48759, 44393, 53329, 50989, 60042, 6562, 3302, 13191, 9905, 18951, 31054, 27711, 37717, 34362, 46547, 55499, 53217, 62106, 57783, 5461, 14409, 12132, 21064, 16738, 29742, 39830, 36520, 48584, 41142, 55207, 64320, 61040, 7440, ']', 14114, 23188, 18858, 31942, 25483, 38569, 47627, 43380}, ((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getResources().getString(R.string.edit_address_remark).substring(11, 12).length() + 60646, objArr7); String str3 = (String) objArr7[0]; Object[] objArr8 = new Object[1]; ay(new char[]{4711, 4623, 55206, 62244, 11645, 41907, 33228, 19408, 25829, 52513, 47374, 53172, 13732, 49131, 5400, 23518, 43404, 4917, 25084, 59174, 23906, 34560, 64970, 29450, 61758, 64358, 18851, 40794, 25881, 28489, 42039, 10407, 6375, 56456, 12372, 46218, 36051, 12529, 35880, 49392, 8331, 42116, 6150, 27694, 54390, 6192, 29917, 63488, 18526, 35951, 49328, 1145, 64546, 57372, 23690, 36940, 37874, 21989, 44896, 15755, 2014, 51661, 15152, 18941, 48040, 15839, 38658, 54751, 12232, 37156, 58299, 24940, 50010, 1308, 32708, 36213, 30499, 31089}, ((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getApplicationInfo().targetSdkVersion - 34, objArr8); String str4 = (String) objArr8[0]; Object[] objArr9 = new Object[1]; ay(new char[]{42385, 42408, 37804, 46964, 1869, 36680, 13945, 20121, 57732}, (AudioTrack.getMinVolume() > BitmapDescriptorFactory.HUE_RED ? 1 : (AudioTrack.getMinVolume() == BitmapDescriptorFactory.HUE_RED ? 0 : -1)), objArr9); String str5 = (String) objArr9[0]; Object[] objArr10 = new Object[1]; ay(new char[]{20814, 20779, 43234, 35957, 44997, 63635, 49906, 13442, 58907, 38469, 15339, 38095, 30419, 49381, 38839, 178, 60068, 27686, 58203, 48157, 7711, 63506, 32634, 10342, 45588, 33854, 52060, 50290, 9836, 4112, 9941, 29654, 23441, 41934, 45740, 61370, 53178, 20470, 3718, 39810}, ViewConfiguration.getScrollBarFadeDuration() >> 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((KeyEvent.getMaxKeyCode() >> 16) + 487, (Process.myPid() >> 22) + 5, (char) (ViewConfiguration.getFadingEdgeLength() >> 16))).getMethod("e", Context.class, String.class, String.class, String.class, String.class, Boolean.TYPE, String.class, String.class); xzZ.y.put(1656189573, obj2); } ((Method) obj2).invoke(invoke, objArr11); } catch (Throwable th) { Throwable cause = th.getCause(); if (cause == null) { throw th; } throw cause; } } } super.onCreate(bundle); ButterKnife.Dg_(this); this.presenter.e((C6119cJY) this); h(); } @Override // com.scb.phone.view.activity.sme.gifting.GiftingStatusBaseActivity protected final void b(final WI wi) { int i = 2 % 2; int i2 = k + 107; f7946o = i2 % 128; int i3 = i2 % 2; C6119cJY c6119cJY = this.presenter; if (((GiftingStatusBaseActivity) this).b) { if (TextUtils.isEmpty(wi.a)) { ZI.IeS ieS = new ZI.IeS(wi) { // from class: o.cKc private WI a; @Override // o.ZI.IeS public final void e(Object obj) { ((InterfaceC6673cZp.dAO) obj).a(this.a.f); } { this.a = wi; } }; if (c6119cJY.f != 0) { int i4 = f7946o + 67; int i5 = i4 % 128; k = i5; int i6 = i4 % 2; int i7 = i5 + 5; f7946o = i7 % 128; if (i7 % 2 == 0) { ieS.e(c6119cJY.f); throw null; } ieS.e(c6119cJY.f); } else { int i8 = k + 93; f7946o = i8 % 128; int i9 = i8 % 2; } } else { int i10 = k + 41; f7946o = i10 % 128; if (i10 % 2 == 0) { T t = c6119cJY.f; throw null; } if (c6119cJY.f != 0) { if (c6119cJY.f != 0) { c6119cJY.f.y(); } if (TextUtils.isEmpty(wi.c)) { c6119cJY.c.b(wi.a); RZp rZp = c6119cJY.c; rZp.d(rZp.i, new C6148cKC.AnonymousClass2(c6119cJY, wi)); } else { c6119cJY.a.c(wi.a, wi.c); Csg csg = c6119cJY.a; csg.d(csg.i, new C6148cKC.AnonymousClass4(c6119cJY)); } } } } else if (!TextUtils.isEmpty(wi.c)) { int i11 = k + 5; f7946o = i11 % 128; int i12 = i11 % 2; c6119cJY.d(wi.c); } else { ZI.IeS ieS2 = new ZI.IeS(wi) { // from class: o.cKf private WI c; @Override // o.ZI.IeS public final void e(Object obj) { ((InterfaceC6673cZp.dAO) obj).a(this.c.f); } { this.c = wi; } }; if (c6119cJY.f != 0) { ieS2.e(c6119cJY.f); } } this.giftSenderName.setText(wi.l); this.giftName.setText(getString(R.string.open_now_gift_msg, wi.j)); this.giftSenderMsg.setText(wi.m); if (wi.f8430o.equals("M")) { this.giftItemDescription.setText(wi.d); this.giftExtraInfo.setText(getString(R.string.gift_money_saved_msg)); DefaultButton defaultButton = this.purpleButton; defaultButton.setText(getString(R.string.gift_send_thanks)); defaultButton.setOnClickListener(new View.OnClickListener(this, wi) { // from class: o.enz private GiftingOpenedActivity a; private WI b; @Override // android.view.View.OnClickListener public final void onClick(View view) { GiftingOpenedActivity.a(this.a, this.b); } { this.a = this; this.b = wi; } }); defaultButton.setVisibility(0); this.grayButton.setVisibility(8); return; } this.purpleButton.setText(getResources().getString(R.string.gift_see_item_details)); this.purpleButton.setOnClickListener(new View.OnClickListener(this, wi) { // from class: o.enC private WI a; private GiftingOpenedActivity d; @Override // android.view.View.OnClickListener public final void onClick(View view) { GiftingOpenedActivity.b(this.d, this.a); } { this.d = this; this.a = wi; } }); this.purpleButton.setVisibility(0); DefaultButton defaultButton2 = this.grayButton; defaultButton2.setText(getString(R.string.gift_send_thanks)); defaultButton2.setOnClickListener(new View.OnClickListener(this, wi) { // from class: o.enz private GiftingOpenedActivity a; private WI b; @Override // android.view.View.OnClickListener public final void onClick(View view) { GiftingOpenedActivity.a(this.a, this.b); } { this.a = this; this.b = wi; } }); defaultButton2.setVisibility(0); this.giftItemDescription.setText(wi.h); this.giftExtraInfo.setText(getString(R.string.gift_redeem_msg)); } @Override // com.scb.phone.view.activity.BaseActivity public final void Z() { int i = 2 % 2; int i2 = k + 7; f7946o = i2 % 128; if (i2 % 2 != 0) { super.Z(); ac(); p(getString(R.string.gifting_receive_gift)); } else { super.Z(); ac(); p(getString(R.string.gifting_receive_gift)); Object obj = null; obj.hashCode(); throw null; } } @OnClick public void goToHome(View view) { int i = 2 % 2; int i2 = k + 51; f7946o = i2 % 128; int i3 = i2 % 2; j(false); int i4 = k + 125; f7946o = i4 % 128; if (i4 % 2 != 0) { return; } Object obj = null; obj.hashCode(); throw null; } /* JADX WARN: Code restructure failed: missing block: B:38:0x0021, code lost: r7 = (java.lang.Object[]) null; r7 = new java.lang.Object[1]; ax(new char[]{58875, 22791, 39960, 54065, 5689, 21836, 34892, 53009, 611, 16737, 33940, 64453, 16063, 32174, 45220, 63438, 10972, 27088, 44280, 58346, 10034, 39453, 55562, 7210, 21299, 38469}, ((android.content.Context) java.lang.Class.forName("android.app.ActivityThread").getMethod("currentApplication", new java.lang.Class[0]).invoke(null, null)).getApplicationContext().getApplicationInfo().targetSdkVersion + 48337, r7); r1 = java.lang.Class.forName((java.lang.String) r7[0]); r7 = new java.lang.Object[1]; ax(new char[]{58873, 5694, 586, 16027, 10939, 9953, 21256, 20332, 31586, 30643, 25564, 39944, 34869, 33894, 45184, 44236, 55525, 54549}, ((android.content.Context) java.lang.Class.forName("android.app.ActivityThread").getMethod("currentApplication", new java.lang.Class[0]).invoke(null, null)).getApplicationContext().getPackageName().codePointAt(7) + 62371, r7); r1 = (android.content.Context) r1.getMethod((java.lang.String) r7[0], new java.lang.Class[0]).invoke(null, null); */ /* JADX WARN: Code restructure failed: missing block: B:40:0x001f, code lost: if (r1 == null) goto L9; */ /* JADX WARN: Code restructure failed: missing block: B:4:0x0018, code lost: if (r1 == null) goto L9; */ @Override // o.AbstractActivityC11867enT, com.scb.phone.view.activity.sme.gifting.GiftingStatusBaseActivity, o.AbstractActivityC11870enW, 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 onResume() { /* Method dump skipped, instructions count: 508 To view this dump add '--comments-level debug' option */ throw new UnsupportedOperationException("Method not decompiled: com.scb.phone.view.activity.sme.gifting.GiftingOpenedActivity.onResume():void"); } @Override // o.AbstractActivityC11867enT, com.scb.phone.view.activity.sme.gifting.GiftingStatusBaseActivity, o.AbstractActivityC11870enW, 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 = k + 61; f7946o = i2 % 128; int i3 = i2 % 2; Context baseContext = getBaseContext(); if (baseContext == null) { Object[] objArr = new Object[1]; ax(new char[]{58875, 22791, 39960, 54065, 5689, 21836, 34892, 53009, 611, 16737, 33940, 64453, 16063, 32174, 45220, 63438, 10972, 27088, 44280, 58346, 10034, 39453, 55562, 7210, 21299, 38469}, 48371 - View.combineMeasuredStates(0, 0), objArr); Class cls = Class.forName((String) objArr[0]); Object[] objArr2 = new Object[1]; ax(new char[]{58873, 5694, 586, 16027, 10939, 9953, 21256, 20332, 31586, 30643, 25564, 39944, 34869, 33894, 45184, 44236, 55525, 54549}, ((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getApplicationInfo().targetSdkVersion + 62383, objArr2); baseContext = (Context) cls.getMethod((String) objArr2[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((ViewConfiguration.getKeyRepeatTimeout() >> 16) + 492, 5 - (ViewConfiguration.getScrollBarFadeDuration() >> 16), (char) ((-1) - ExpandableListView.getPackedPositionChild(0L)))).getMethod("a", null); xzZ.y.put(125943855, obj); } Object invoke = ((Method) obj).invoke(null, null); Object[] objArr3 = {baseContext}; Object obj2 = xzZ.y.get(1633456013); if (obj2 == null) { obj2 = ((Class) xzZ.c(TextUtils.getCapsMode("", 0, 0) + 487, 5 - Drawable.resolveOpacity(0, 0), (char) (ViewConfiguration.getScrollDefaultDelay() >> 16))).getMethod("c", Context.class); xzZ.y.put(1633456013, obj2); } ((Method) obj2).invoke(invoke, objArr3); int i4 = k + 111; f7946o = i4 % 128; if (i4 % 2 == 0) { int i5 = 5 % 5; } } catch (Throwable th) { Throwable cause = th.getCause(); if (cause == null) { throw th; } throw cause; } } super.onPause(); } @Override // o.AbstractActivityC11867enT, com.scb.phone.view.activity.sme.gifting.GiftingStatusBaseActivity, o.AbstractActivityC11870enW, 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; super.attachBaseContext(context); Object[] objArr = new Object[1]; ax(new char[]{58875, 65357, 53388, 46531, 36625, 24686, 17832, 24251, 12349, 5480, 61070, 49209, 42308, 48784, 37863, 29992, 20089, 9120}, (ViewConfiguration.getFadingEdgeLength() >> 16) + 6841, objArr); Class cls = Class.forName((String) objArr[0]); Object[] objArr2 = new Object[1]; ax(new char[]{58871, 57398, 61029, 62604, 62122}, (AudioTrack.getMinVolume() > BitmapDescriptorFactory.HUE_RED ? 1 : (AudioTrack.getMinVolume() == BitmapDescriptorFactory.HUE_RED ? 0 : -1)) + 1493, 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 i2 = k + 9; f7946o = i2 % 128; int i3 = i2 % 2; context2 = context.getApplicationContext(); } else { context2 = context; } if (context2 != null) { int i4 = f7946o + 91; k = i4 % 128; int i5 = i4 % 2; try { Object obj = xzZ.y.get(125943855); if (obj == null) { obj = ((Class) xzZ.c(View.getDefaultSize(0, 0) + 492, TextUtils.indexOf((CharSequence) "", '0', 0) + 6, (char) (ViewConfiguration.getKeyRepeatTimeout() >> 16))).getMethod("a", null); xzZ.y.put(125943855, obj); } Object invoke = ((Method) obj).invoke(null, null); Object[] objArr3 = new Object[1]; ax(new char[]{58795, 63518, 57032, 48353, 37733, 29062, 22478, 10782, 2144, 61160, 52566, 41802, 33229, 26607, 31331, 22751, 16072, 7498, 62270, 53739, 46165, 35329, 26777, 20150, 11572, 983, 57815, 50254, 55917, 47332, 40708, 32006, 21451, 12732, 5220, 60114, 51408, 44832, 36202, 25533, 18000, 9221, 15101, 6334, 65341, 56789, 46037, 38515}, ExpandableListView.getPackedPositionType(0L) + 7603, objArr3); String str = (String) objArr3[0]; Object[] objArr4 = new Object[1]; ay(new char[]{51107, 51142, 33495, 42563, 37831, 53953, 21581, 7919, 55837, 48198, 2029, 48837, 57462, 60112, 43955, 10978, 31769, 17931, 57182, 38429, 35061, 53793, 17248, 566, 9464, 44635, 63320, 61032, 45184, 14963, 6865, 22999, 52601, 35236, 36601, 50612, 22868, 26050, 12932, 45445, 62734, 61941, 42747, 7518, 485, 19783, 51744, 35106, 40414, 55628, 32287, 29966, 10727, 46445, 57975, 57715, 17976, 149, 4556, 19710, 53835, 40166, 34192, 14540, 28221, 26815, 10728, 42153}, ImageFormat.getBitsPerPixel(0) + 1, objArr4); String str2 = (String) objArr4[0]; Object[] objArr5 = new Object[1]; ax(new char[]{58875, 2373, 15460, 8988, 22119, 17706, 26773, 40878, 33424, 45500, 42159, 51218, 65324, 57877, 4360, 1067, 11147, 24239, 19906, 28815, 26535, 35673, 48759, 44393, 53329, 50989, 60042, 6562, 3302, 13191, 9905, 18951, 31054, 27711, 37717, 34362, 46547, 55499, 53217, 62106, 57783, 5461, 14409, 12132, 21064, 16738, 29742, 39830, 36520, 48584, 41142, 55207, 64320, 61040, 7440, ']', 14114, 23188, 18858, 31942, 25483, 38569, 47627, 43380}, 60647 - (AudioTrack.getMinVolume() > BitmapDescriptorFactory.HUE_RED ? 1 : (AudioTrack.getMinVolume() == BitmapDescriptorFactory.HUE_RED ? 0 : -1)), objArr5); String str3 = (String) objArr5[0]; Object[] objArr6 = new Object[1]; ay(new char[]{4711, 4623, 55206, 62244, 11645, 41907, 33228, 19408, 25829, 52513, 47374, 53172, 13732, 49131, 5400, 23518, 43404, 4917, 25084, 59174, 23906, 34560, 64970, 29450, 61758, 64358, 18851, 40794, 25881, 28489, 42039, 10407, 6375, 56456, 12372, 46218, 36051, 12529, 35880, 49392, 8331, 42116, 6150, 27694, 54390, 6192, 29917, 63488, 18526, 35951, 49328, 1145, 64546, 57372, 23690, 36940, 37874, 21989, 44896, 15755, 2014, 51661, 15152, 18941, 48040, 15839, 38658, 54751, 12232, 37156, 58299, 24940, 50010, 1308, 32708, 36213, 30499, 31089}, ViewConfiguration.getJumpTapTimeout() >> 16, objArr6); String str4 = (String) objArr6[0]; Object[] objArr7 = new Object[1]; ay(new char[]{42385, 42408, 37804, 46964, 1869, 36680, 13945, 20121, 57732}, ExpandableListView.getPackedPositionChild(0L) + 1, objArr7); String str5 = (String) objArr7[0]; Object[] objArr8 = new Object[1]; ay(new char[]{20814, 20779, 43234, 35957, 44997, 63635, 49906, 13442, 58907, 38469, 15339, 38095, 30419, 49381, 38839, 178, 60068, 27686, 58203, 48157, 7711, 63506, 32634, 10342, 45588, 33854, 52060, 50290, 9836, 4112, 9941, 29654, 23441, 41934, 45740, 61370, 53178, 20470, 3718, 39810}, (CdmaCellLocation.convertQuartSecToDecDegrees(0) > 0.0d ? 1 : (CdmaCellLocation.convertQuartSecToDecDegrees(0) == 0.0d ? 0 : -1)), 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(TextUtils.lastIndexOf("", '0') + 488, 6 - (AudioTrack.getMaxVolume() > BitmapDescriptorFactory.HUE_RED ? 1 : (AudioTrack.getMaxVolume() == BitmapDescriptorFactory.HUE_RED ? 0 : -1)), (char) TextUtils.indexOf("", ""))).getMethod("e", Context.class, String.class, String.class, String.class, String.class, Boolean.TYPE, String.class, String.class); xzZ.y.put(1656189573, obj2); } ((Method) obj2).invoke(invoke, objArr9); int i6 = k + 87; f7946o = i6 % 128; int i7 = i6 % 2; } catch (Throwable th) { Throwable cause = th.getCause(); if (cause == null) { throw th; } throw cause; } } } } public static /* synthetic */ void b(GiftingOpenedActivity giftingOpenedActivity, WI wi) { int i; int i2 = 2 % 2; final C6119cJY c6119cJY = giftingOpenedActivity.presenter; final String str = wi.n; ZI.IeS ieS = new ZI.IeS(c6119cJY, str) { // from class: o.cJZ private C6119cJY a; private String b; @Override // o.ZI.IeS public final void e(Object obj) { InterfaceC6673cZp.dAO dao = (InterfaceC6673cZp.dAO) obj; dao.e(C17473wz.c(this.a.e.e.getString(C15715hv.tOB.gifting_redemption), this.b)); } { this.a = c6119cJY; this.b = str; } }; if (c6119cJY.f != 0) { int i3 = k + 77; f7946o = i3 % 128; int i4 = i3 % 2; ieS.e(c6119cJY.f); i = f7946o + 55; k = i % 128; } else { i = k + 111; f7946o = i % 128; } int i5 = i % 2; } public static /* synthetic */ void a(GiftingOpenedActivity giftingOpenedActivity, WI wi) { int i = 2 % 2; Intent intent = new Intent(giftingOpenedActivity, (Class) GiftOpenSharingMomentActivity.class); intent.putExtra("EXTRA_GIFT_STATUS_SELECTED", wi); giftingOpenedActivity.startActivity(intent); int i2 = f7946o + 49; k = i2 % 128; if (i2 % 2 != 0) { int i3 = 87 / 0; } } @Override // o.AbstractActivityC11867enT, com.scb.phone.view.activity.sme.gifting.GiftingStatusBaseActivity, o.AbstractActivityC11870enW, 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 = f7946o + 89; k = i2 % 128; int i3 = i2 % 2; super.onStart(); int i4 = k + 119; f7946o = i4 % 128; if (i4 % 2 != 0) { return; } Object obj = null; obj.hashCode(); throw null; } @Override // o.InterfaceC6673cZp.dAO public final void e(C0915Rl c0915Rl) { d(new Object[]{this, c0915Rl}, 1451643616, -1451643616, ((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getApplicationInfo().targetSdkVersion + 2008908301); } @Override // com.scb.phone.view.activity.sme.gifting.GiftingStatusBaseActivity protected final int f() { int i = 2 % 2; int i2 = k; int i3 = i2 + 87; f7946o = i3 % 128; int i4 = i3 % 2; int i5 = i2 + 51; f7946o = i5 % 128; if (i5 % 2 != 0) { return R.layout.2131558706; } throw null; } }