package com.scb.phone.view.activity.sme.gifting; import android.content.Context; import android.content.DialogInterface; import android.content.Intent; import android.content.IntentFilter; import android.graphics.Color; import android.graphics.ImageFormat; import android.graphics.PointF; import android.graphics.drawable.Drawable; import android.media.AudioTrack; import android.net.Uri; import android.os.Build; import android.os.Bundle; import android.os.Process; import android.os.SystemClock; 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.ImageView; import android.widget.TextView; import androidx.recyclerview.widget.GridLayoutManager; import androidx.recyclerview.widget.RecyclerView; import butterknife.BindView; import butterknife.ButterKnife; import butterknife.OnClick; import butterknife.Unbinder; import com.google.android.gms.maps.model.BitmapDescriptorFactory; import com.google.android.material.textfield.TextInputEditText; import com.kofax.mobile.sdk._internal.impl.extraction.kta.KtaJsonExactionHelper; import com.pingan.ai.p; import com.scb.phone.R; import com.scb.phone.view.activity.sme.gifting.GiftOpenSharingMomentActivity; import com.scb.phone.view.adapter.sme.gifting.GifShareMomentBackgroundAdapter; import com.scb.phone.view.custom.common.CustomDialog; import com.scb.phone.view.fragment.sme.gifting.GiftSharingMomentPreviewFragment; import com.squareup.picasso.Picasso; import java.io.IOException; import java.lang.reflect.Method; import net.sf.scuba.smartcards.ISOFileInfo; import o.AbstractActivityC11857enJ; import o.AbstractC13163fSk; import o.AbstractC13482fbE; import o.C11882eni; import o.C13020fOa; import o.C13417fZt; import o.C6130cJk; import o.C6582cXO; import o.CE; import o.InterfaceC12980fNE; import o.InterfaceC13391fZD; import o.InterfaceC15577gud; import o.InterfaceC6673cZp; import o.Nhs; import o.WI; import o.WL; import o.WN; import o.WP; import o.ZI; import o.fKR; import o.fKY; import o.fNW; import o.fRR; import o.fSJ; import o.fSQ; import o.glR; import o.guQ; import o.nMh; import o.pyT; import o.xzZ; import o.yRS; import o.yZP; import o.zUI; import org.bouncycastle.crypto.tls.CipherSuite; import org.jmrtd.lds.ImageInfo; import org.jnbis.internal.NistHelper; /* loaded from: classes5.dex */ public class GiftOpenSharingMomentActivity extends AbstractActivityC11857enJ implements InterfaceC6673cZp.saX, GifShareMomentBackgroundAdapter.IeS { @BindView ImageView backgroundImage; @BindView TextInputEditText backgroundMsg; @BindView View buttonsArea; @BindView View fragmentContainer; @BindView TextView giftTapToEditHint; @BindView RecyclerView gridColorsRecyclerView; private fSJ k; @InterfaceC13391fZD public C6130cJk presenter; @BindView View shareMomentArea; @BindView View toolbar; private static final byte[] $$g = {116, ISOFileInfo.SECURITY_ATTR_EXP, 37, 13}; private static final int $$h = 27; private static int $10 = 0; private static int $11 = 1; private static int p = 0; private static int r = 1; /* renamed from: o, reason: collision with root package name */ private static int f7939o = 2015661697; private static long m = -6524159115630908172L; private static int l = 452713125; private static char s = 55973; /* JADX WARN: Removed duplicated region for block: B:10:0x0024 */ /* JADX WARN: Removed duplicated region for block: B:7:0x001c */ /* JADX WARN: Unsupported multi-entry loop pattern (BACK_EDGE: B:10:0x0024 -> B:4:0x0028). 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 r5, int r6, int r7, java.lang.Object[] r8) { /* byte[] r0 = com.scb.phone.view.activity.sme.gifting.GiftOpenSharingMomentActivity.$$g int r6 = 115 - r6 int r7 = r7 * 4 int r7 = 4 - r7 int r5 = r5 * 2 int r1 = 1 - r5 byte[] r1 = new byte[r1] r2 = 0 int r5 = 0 - r5 if (r0 != 0) goto L16 r4 = r5 r3 = r2 goto L28 L16: r3 = r2 L17: byte r4 = (byte) r6 r1[r3] = r4 if (r3 != r5) goto L24 java.lang.String r5 = new java.lang.String r5.(r1, r2) r8[r2] = r5 return L24: int r3 = r3 + 1 r4 = r0[r7] L28: int r7 = r7 + 1 int r6 = r6 + r4 goto L17 */ throw new UnsupportedOperationException("Method not decompiled: com.scb.phone.view.activity.sme.gifting.GiftOpenSharingMomentActivity.az(int, int, int, java.lang.Object[]):void"); } public static /* synthetic */ Object e(Object[] objArr, int i, int i2, int i3) { int i4 = ~i; int i5 = ~i2; int i6 = (i * 70) + (i2 * (-68)) + (((~(i4 | i5 | i3)) | (~(i | i2 | i3))) * 69) + (((~(i2 | i3)) | (~(i4 | i3)) | (~(i4 | i2))) * (-69)) + ((~(i | i5)) * 69); return i6 != 1 ? i6 != 2 ? c(objArr) : e(objArr) : a(objArr); } /* loaded from: classes5.dex */ public class SharedMoment_ViewBinding implements Unbinder { private SharedMoment c; public SharedMoment_ViewBinding(SharedMoment sharedMoment, View view) { this.c = sharedMoment; sharedMoment.momentPreviewMsg = (TextView) pyT.e(view, R.id.gift_share_moment_preview_msg, "field 'momentPreviewMsg'", TextView.class); sharedMoment.momentPreviewImg = (ImageView) pyT.e(view, R.id.gift_share_moment_preview_img, "field 'momentPreviewImg'", ImageView.class); } @Override // butterknife.Unbinder public final void a() { SharedMoment sharedMoment = this.c; if (sharedMoment == null) { throw new IllegalStateException("Bindings already cleared."); } this.c = null; sharedMoment.momentPreviewMsg = null; sharedMoment.momentPreviewImg = null; } } private static void ay(char c, char[] cArr, char[] cArr2, char[] cArr3, int i, Object[] objArr) { int i2 = 2; int i3 = 2 % 2; Nhs nhs = new Nhs(); int length = cArr2.length; char[] cArr4 = new char[length]; int length2 = cArr3.length; char[] cArr5 = new char[length2]; System.arraycopy(cArr2, 0, cArr4, 0, length); System.arraycopy(cArr3, 0, cArr5, 0, length2); cArr4[0] = (char) (cArr4[0] ^ c); cArr5[2] = (char) (cArr5[2] + ((char) i)); int length3 = cArr.length; char[] cArr6 = new char[length3]; nhs.a = 0; int i4 = $10 + 53; $11 = i4 % 128; int i5 = i4 % 2; while (nhs.a < length3) { int i6 = $11 + 123; $10 = i6 % 128; int i7 = i6 % i2; try { Object[] objArr2 = {nhs}; Object obj = xzZ.y.get(263693715); if (obj == null) { obj = ((Class) xzZ.c((ViewConfiguration.getKeyRepeatDelay() >> 16) + 45, TextUtils.getOffsetBefore("", 0) + 5, (char) (TextUtils.lastIndexOf("", '0', 0) + 1))).getMethod("t", Object.class); xzZ.y.put(263693715, obj); } int intValue = ((Integer) ((Method) obj).invoke(null, objArr2)).intValue(); Object[] objArr3 = {nhs}; Object obj2 = xzZ.y.get(-484664112); if (obj2 == null) { Class cls = (Class) xzZ.c(352 - (TypedValue.complexToFloat(0) > BitmapDescriptorFactory.HUE_RED ? 1 : (TypedValue.complexToFloat(0) == BitmapDescriptorFactory.HUE_RED ? 0 : -1)), 5 - View.combineMeasuredStates(0, 0), (char) (52128 - Color.argb(0, 0, 0, 0))); byte b = (byte) 0; byte b2 = b; Object[] objArr4 = new Object[1]; az(b, b2, b2, objArr4); obj2 = cls.getMethod((String) objArr4[0], Object.class); xzZ.y.put(-484664112, obj2); } int intValue2 = ((Integer) ((Method) obj2).invoke(null, objArr3)).intValue(); Object[] objArr5 = {nhs, Integer.valueOf(cArr4[nhs.a % 4] * 32718), Integer.valueOf(cArr5[intValue])}; Object obj3 = xzZ.y.get(430099516); if (obj3 == null) { obj3 = ((Class) xzZ.c(748 - TextUtils.getOffsetBefore("", 0), (ViewConfiguration.getGlobalActionKeyTimeout() > 0L ? 1 : (ViewConfiguration.getGlobalActionKeyTimeout() == 0L ? 0 : -1)) + 4, (char) (Process.myPid() >> 22))).getMethod(p.a, Object.class, Integer.TYPE, Integer.TYPE); xzZ.y.put(430099516, obj3); } ((Method) obj3).invoke(null, objArr5); Object[] objArr6 = {Integer.valueOf(cArr4[intValue2] * 32718), Integer.valueOf(cArr5[intValue])}; Object obj4 = xzZ.y.get(1019894806); if (obj4 == null) { Class cls2 = (Class) xzZ.c(402 - (ViewConfiguration.getScrollDefaultDelay() >> 16), 5 - (ViewConfiguration.getTouchSlop() >> 8), (char) (TextUtils.indexOf((CharSequence) "", '0') + 21609)); byte b3 = (byte) 0; byte b4 = (byte) (b3 + 1); Object[] objArr7 = new Object[1]; az(b3, b4, (byte) (b4 - 1), objArr7); obj4 = cls2.getMethod((String) objArr7[0], Integer.TYPE, Integer.TYPE); xzZ.y.put(1019894806, obj4); } cArr5[intValue2] = ((Character) ((Method) obj4).invoke(null, objArr6)).charValue(); cArr4[intValue2] = nhs.c; cArr6[nhs.a] = (char) ((((cArr4[intValue2] ^ cArr[nhs.a]) ^ (m ^ 9051040786702654117L)) ^ ((int) (l ^ 9051040786702654117L))) ^ ((char) (s ^ 9051040786702654117L))); nhs.a++; int i8 = $11 + 39; $10 = i8 % 128; int i9 = i8 % 2; i2 = 2; } catch (Throwable th) { Throwable cause = th.getCause(); if (cause == null) { throw th; } throw cause; } } objArr[0] = new String(cArr6); } private static void ax(int i, char[] cArr, int i2, boolean z, int i3, Object[] objArr) { char[] cArr2; int i4 = 2 % 2; zUI zui = new zUI(); char[] cArr3 = new char[i]; zui.d = 0; while (zui.d < i) { int i5 = $11 + 111; $10 = i5 % 128; int i6 = i5 % 2; zui.c = cArr[zui.d]; cArr3[zui.d] = (char) (i2 + zui.c); int i7 = zui.d; try { Object[] objArr2 = {Integer.valueOf(cArr3[i7]), Integer.valueOf(f7939o)}; Object obj = xzZ.y.get(880493502); if (obj == null) { Class cls = (Class) xzZ.c((ViewConfiguration.getWindowTouchSlop() >> 8) + CipherSuite.TLS_DHE_PSK_WITH_3DES_EDE_CBC_SHA, 7 - TextUtils.getOffsetAfter("", 0), (char) View.MeasureSpec.getMode(0)); byte b = (byte) 0; Object[] objArr3 = new Object[1]; az(b, (byte) (b | 46), b, objArr3); obj = cls.getMethod((String) objArr3[0], Integer.TYPE, Integer.TYPE); xzZ.y.put(880493502, obj); } cArr3[i7] = ((Character) ((Method) obj).invoke(null, objArr2)).charValue(); Object[] objArr4 = {zui, zui}; Object obj2 = xzZ.y.get(1294990079); if (obj2 == null) { Class cls2 = (Class) xzZ.c(341 - TextUtils.lastIndexOf("", '0', 0, 0), 5 - (ViewConfiguration.getWindowTouchSlop() >> 8), (char) Drawable.resolveOpacity(0, 0)); byte b2 = (byte) 0; Object[] objArr5 = new Object[1]; az(b2, (byte) (b2 | 39), b2, objArr5); obj2 = cls2.getMethod((String) objArr5[0], Object.class, Object.class); xzZ.y.put(1294990079, obj2); } ((Method) obj2).invoke(null, objArr4); } catch (Throwable th) { Throwable cause = th.getCause(); if (cause == null) { throw th; } throw cause; } } if (i3 > 0) { int i8 = $11 + 47; $10 = i8 % 128; int i9 = i8 % 2; zui.a = i3; char[] cArr4 = new char[i]; System.arraycopy(cArr3, 0, cArr4, 0, i); System.arraycopy(cArr4, 0, cArr3, i - zui.a, zui.a); System.arraycopy(cArr4, zui.a, cArr3, 0, i - zui.a); int i10 = $11 + 99; $10 = i10 % 128; int i11 = i10 % 2; } if (z) { int i12 = $10 + 97; $11 = i12 % 128; if (i12 % 2 == 0) { cArr2 = new char[i]; zui.d = 1; } else { cArr2 = new char[i]; zui.d = 0; } while (zui.d < i) { int i13 = $11 + 41; $10 = i13 % 128; int i14 = i13 % 2; cArr2[zui.d] = cArr3[(i - zui.d) - 1]; Object[] objArr6 = {zui, zui}; Object obj3 = xzZ.y.get(1294990079); if (obj3 == null) { Class cls3 = (Class) xzZ.c(MotionEvent.axisFromString("") + 343, 6 - (AudioTrack.getMaxVolume() > BitmapDescriptorFactory.HUE_RED ? 1 : (AudioTrack.getMaxVolume() == BitmapDescriptorFactory.HUE_RED ? 0 : -1)), (char) ExpandableListView.getPackedPositionType(0L)); byte b3 = (byte) 0; Object[] objArr7 = new Object[1]; az(b3, (byte) (b3 | 39), b3, objArr7); obj3 = cls3.getMethod((String) objArr7[0], Object.class, Object.class); xzZ.y.put(1294990079, obj3); } ((Method) obj3).invoke(null, objArr6); } cArr3 = cArr2; } objArr[0] = new String(cArr3); } @Override // o.AbstractActivityC11857enJ, 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) { final String str; int i = 2 % 2; byte b = 0; Object[] objArr = new Object[1]; ax(((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getApplicationInfo().targetSdkVersion - 16, new char[]{16, 16, 2, 0, '\f', 15, 65517, 65483, 16, '\f', 65483, 1, 6, '\f', 15, 1, 11, 65534}, ((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getApplicationInfo().targetSdkVersion + 231, true, ((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getResources().getString(R.string.auto_single_form_check_eligibility_condition_scbs_header).substring(31, 32).codePointAt(0) - 92, objArr); Class cls = Class.forName((String) objArr[0]); Object[] objArr2 = new Object[1]; ay((char) (14108 - TextUtils.getOffsetBefore("", 0)), new char[]{25468, 35474, 15200, 37237, 58897}, new char[]{9910, 50937, 7258, 27703}, new char[]{46673, 54346, 18045, 55534}, ((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getApplicationInfo().targetSdkVersion + 1522989316, objArr2); int intValue = ((Integer) cls.getDeclaredMethod((String) objArr2[0], new Class[0]).invoke(null, new Object[0])).intValue() % 100000; if (intValue < 99000 || intValue > 99999) { Context baseContext = getBaseContext(); if (baseContext == null) { Object[] objArr3 = new Object[1]; ax(((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getPackageName().codePointAt(2) - 83, new char[]{65534, 1, 65534, 11, 1, 15, '\f', 6, 1, 65483, 65534, '\r', '\r', 65483, 65502, 0, 17, 6, 19, 6, 17, 22, 65521, 5, 15, 2}, 265 - (ViewConfiguration.getFadingEdgeLength() >> 16), false, 3 - (SystemClock.currentThreadTimeMillis() > (-1L) ? 1 : (SystemClock.currentThreadTimeMillis() == (-1L) ? 0 : -1)), objArr3); Class cls2 = Class.forName((String) objArr3[0]); Object[] objArr4 = new Object[1]; ax(((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getResources().getString(R.string.noti_bnpl_title).substring(0, 40).codePointAt(18) - 3573, new char[]{65535, 2, 6, 6, 65495, '\n', 4, 65531, '\b', '\b', 11, 65529, 4, 5, 65535, '\n', 65527, 65529}, ((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getApplicationInfo().targetSdkVersion + 238, true, 12 - (ExpandableListView.getPackedPositionForGroup(0) > 0L ? 1 : (ExpandableListView.getPackedPositionForGroup(0) == 0L ? 0 : -1)), objArr4); baseContext = (Context) cls2.getMethod((String) objArr4[0], new Class[0]).invoke(null, null); } if (baseContext != null) { baseContext = baseContext.getApplicationContext(); } if (baseContext != null) { try { Object obj = xzZ.y.get(125943855); if (obj == null) { obj = ((Class) xzZ.c(492 - TextUtils.indexOf("", "", 0, 0), 5 - View.getDefaultSize(0, 0), (char) View.MeasureSpec.getSize(0))).getMethod("a", null); xzZ.y.put(125943855, obj); } Object invoke = ((Method) obj).invoke(null, null); Object[] objArr5 = new Object[1]; ax(((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getResources().getString(R.string.contact_info_mcmc_topup_national_id_exp_warning).substring(0, 51).length() - 3, new char[]{NistHelper.SEP_FS, 65516, 27, 65517, 65520, 65514, 65517, 30, 65521, NistHelper.SEP_FS, 65518, 65522, 65517, 65515, 27, 27, 30, 31, 65514, 65521, 65518, 65514, 65514, 29, 65522, NistHelper.SEP_FS, 65518, NistHelper.SEP_FS, 65519, 31, 65522, 26, 65517, 65516, 65521, 65515, 65516, 27, 65521, 65516, 27, 65516, 26, 65515, 65522, 27, 26, 31}, Drawable.resolveOpacity(0, 0) + 237, true, ((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getApplicationInfo().targetSdkVersion - 28, objArr5); String str2 = (String) objArr5[0]; Object[] objArr6 = new Object[1]; ax(((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getPackageName().length() + 51, new char[]{65522, 30, 65520, 65525, '!', 65521, 65518, 65522, 65518, 65522, 65523, 65517, 65522, 65520, 65517, 65518, 31, 65522, 29, 65520, 65519, 65522, 65516, 31, 65518, 65525, 65516, 65524, 65523, 65523, 65521, 29, 65521, 65524, 30, 30, 65522, 30, 29, 65522, 65521, 65517, 65522, 30, ' ', 65524, '\"', 65523, 31, 65524, 65521, 30, 65524, 31, 65517, 65524, 65522, 30, 29, '!', '!', 30, 65522, '!'}, (KeyEvent.getMaxKeyCode() >> 16) + 234, false, ((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getResources().getString(R.string.product_points_plus_cash).substring(0, 5).codePointAt(2) + 24, objArr6); String str3 = (String) objArr6[0]; Object[] objArr7 = new Object[1]; ax(Color.red(0) + 64, new char[]{' ', 65522, 29, 65516, 65521, 65514, 65515, 65514, ' ', NistHelper.SEP_FS, 27, 65522, 65514, 65518, NistHelper.SEP_FS, 31, 65517, 65523, 65516, 31, 31, 65517, 27, 65517, 65514, 65522, 27, 65521, 29, 65522, 65519, 27, ' ', 27, 65514, ' ', 65514, 65523, 65520, 65522, 65516, 31, NistHelper.SEP_FS, 31, 65520, 29, ' ', 65517, 65519, 65514, 65519, 65515, 65515, 65516, 65519, 65519, 27, NistHelper.SEP_FS, 65518, 30, 65523, 65520, 65522, 31}, (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)) + 236, true, ((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getPackageName().length() + 14, objArr7); String str4 = (String) objArr7[0]; Object[] objArr8 = new Object[1]; ay((char) (((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getResources().getString(R.string.merchant_terminal_format).substring(0, 10).length() - 10), new char[]{19151, 63407, 64335, 12940, 57285, 12375, 20308, 39449, 64426, 45352, 39713, 51382, 3747, 23004, 15746, 20589, 27390, 57582, 55518, 8882, 40056, 19903, 50361, 48220, 7787, 22892, 53203, 6901, 3037, 31500, 47888, 13107, 40877, 25190, 39026, 18584, 33317, 38031, 40687, 48938, 2956, 1499, 59151, 53831, 33230, 8150, 50702, 57822, 58247, 53670, 26473, 37858, 8543, 39414, 22518, 5346, 21545, 5601, 43231, 35965, 39890, 16664, 48064, 39403, 59293, 53652, 35691, 1799, 15512, 60910, 54409, 63524, 44814, 7102}, new char[]{49366, 56628, 11351, 3724}, new char[]{46673, 54346, 18045, 55534}, ((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getPackageName().codePointAt(5) - 99, objArr8); String str5 = (String) objArr8[0]; Object[] objArr9 = new Object[1]; ay((char) (((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getApplicationInfo().targetSdkVersion + 1342), new char[]{54991, 21123, 45260, 47954, 24444}, new char[]{15246, 31557, 24621, 30213}, new char[]{46673, 54346, 18045, 55534}, 763053371 - TextUtils.getCapsMode("", 0, 0), objArr9); String str6 = (String) objArr9[0]; Object[] objArr10 = new Object[1]; ax(((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getResources().getString(R.string.prepaid_travel_conversion_landing_currency_remark).substring(14, 15).codePointAt(0) + 4, new char[]{65517, NistHelper.SEP_FS, 65522, ' ', 30, 65520, 65519, 65520, 65516, ' ', ' ', NistHelper.SEP_FS, 65517, 65519, 31, 65524, 65519, 65515, 65512, 65521, 65515, ' ', 29, 65512, 65519, 65517, 65516, 65516, 65512, NistHelper.SEP_FS, 29, ' ', 30, 65512, 65517, 30}, View.MeasureSpec.getMode(0) + 235, false, ((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getResources().getString(R.string.ntb_scb_customer_tile).substring(16, 20).codePointAt(2) - 57, objArr10); Object[] objArr11 = {baseContext, str2, str3, str4, str5, true, str6, (String) objArr10[0]}; Object obj2 = xzZ.y.get(1656189573); if (obj2 == null) { obj2 = ((Class) xzZ.c((Process.myPid() >> 22) + 487, 4 - Process.getGidForName(""), (char) (TextUtils.indexOf((CharSequence) "", '0', 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, objArr11); int i2 = p + 11; r = i2 % 128; int i3 = i2 % 2; } catch (Throwable th) { Throwable cause = th.getCause(); if (cause == null) { throw th; } throw cause; } } } super.onCreate(bundle); setContentView(R.layout.2131558794); ButterKnife.Dg_(this); super.Z(); ac(); p(getString(R.string.gift_send_thanks)); this.k = glR.Ge_(this, new IntentFilter("com.scb.phone/BROADCAST_CLOSE_SHARING_MOMENT_GIFT_PREVIEW")).subscribe(new fSQ(this) { // from class: o.enf private GiftOpenSharingMomentActivity e; @Override // o.fSQ public final void c(Object obj3) { GiftOpenSharingMomentActivity.c(this.e); } { this.e = this; } }, new fSQ() { // from class: o.enc @Override // o.fSQ public final void c(Object obj3) { GiftOpenSharingMomentActivity.e((Throwable) obj3); } }); this.gridColorsRecyclerView.setLayoutManager(new GridLayoutManager(4, (byte) 0)); this.presenter.e((C6130cJk) this); this.backgroundMsg.setOnTouchListener(new View.OnTouchListener(this) { // from class: o.enm private GiftOpenSharingMomentActivity c; @Override // android.view.View.OnTouchListener public final boolean onTouch(View view, MotionEvent motionEvent) { return GiftOpenSharingMomentActivity.a(this.c); } { this.c = this; } }); C6130cJk c6130cJk = this.presenter; WI wi = (WI) getIntent().getParcelableExtra("EXTRA_GIFT_STATUS_SELECTED"); if (c6130cJk.f != 0) { c6130cJk.d = wi; if (c6130cJk.f != 0) { int i4 = p + 63; r = i4 % 128; if (i4 % 2 == 0) { c6130cJk.f.y(); int i5 = 93 / 0; } else { c6130cJk.f.y(); } } c6130cJk.b.b(); yZP yzp = c6130cJk.b; yzp.d(yzp.i, new C6130cJk.Sts(c6130cJk, b)); } final C6130cJk c6130cJk2 = this.presenter; WI wi2 = c6130cJk2.d; if (wi2 == null || wi2.f8430o == null) { return; } if (c6130cJk2.d.f8430o.equals("M")) { str = "money"; } else if (!(!c6130cJk2.d.f8430o.equals("P"))) { int i6 = p + 21; r = i6 % 128; int i7 = i6 % 2; str = "present"; } else { str = ""; } if (TextUtils.isEmpty(str)) { return; } int i8 = r + 23; p = i8 % 128; int i9 = i8 % 2; if (TextUtils.isEmpty(c6130cJk2.d.g)) { return; } ZI.IeS ieS = new ZI.IeS(c6130cJk2, str) { // from class: o.cJr private String c; private C6130cJk e; @Override // o.ZI.IeS public final void e(Object obj3) { InterfaceC6673cZp.saX sax = (InterfaceC6673cZp.saX) obj3; sax.c("gift_share_moment", new pug("gift_type", this.c), new pug("gift_id", this.e.d.g)); } { this.e = c6130cJk2; this.c = str; } }; if (c6130cJk2.f != 0) { int i10 = p + 85; r = i10 % 128; if (i10 % 2 == 0) { return; } ieS.e(c6130cJk2.f); } } @Override // com.scb.phone.view.activity.BaseActivity public final void Z() { int i = 2 % 2; int i2 = p + 111; r = i2 % 128; int i3 = i2 % 2; super.Z(); ac(); p(getString(R.string.gift_send_thanks)); int i4 = p + 25; r = i4 % 128; int i5 = i4 % 2; } /* JADX WARN: Code restructure failed: missing block: B:6:0x001b, code lost: if (r1.isDisposed() != true) goto L11; */ /* JADX WARN: Code restructure failed: missing block: B:7:0x0024, code lost: r4.k.dispose(); r1 = com.scb.phone.view.activity.sme.gifting.GiftOpenSharingMomentActivity.r + 15; com.scb.phone.view.activity.sme.gifting.GiftOpenSharingMomentActivity.p = r1 % 128; r1 = r1 % 2; */ /* JADX WARN: Code restructure failed: missing block: B:9:0x0022, code lost: if (r1.isDisposed() == false) goto L11; */ @Override // com.scb.phone.view.activity.BaseActivity, com.scb.phone.view.activity.PreLoadCheckActivity, androidx.appcompat.app.AppCompatActivity, androidx.fragment.app.FragmentActivity, android.app.Activity /* Code decompiled incorrectly, please refer to instructions dump. To view partially-correct add '--show-bad-code' argument */ public void onDestroy() { /* r4 = this; r0 = 2 int r1 = r0 % r0 o.fSJ r1 = r4.k if (r1 == 0) goto L32 int r2 = com.scb.phone.view.activity.sme.gifting.GiftOpenSharingMomentActivity.r int r2 = r2 + 23 int r3 = r2 % 128 com.scb.phone.view.activity.sme.gifting.GiftOpenSharingMomentActivity.p = r3 int r2 = r2 % r0 if (r2 == 0) goto L1e boolean r1 = r1.isDisposed() r2 = 40 int r2 = r2 / 0 r2 = 1 if (r1 == r2) goto L32 goto L24 L1e: boolean r1 = r1.isDisposed() if (r1 != 0) goto L32 L24: o.fSJ r1 = r4.k r1.dispose() int r1 = com.scb.phone.view.activity.sme.gifting.GiftOpenSharingMomentActivity.r int r1 = r1 + 15 int r2 = r1 % 128 com.scb.phone.view.activity.sme.gifting.GiftOpenSharingMomentActivity.p = r2 int r1 = r1 % r0 L32: o.cJk r0 = r4.presenter r0.w_() super.onDestroy() return */ throw new UnsupportedOperationException("Method not decompiled: com.scb.phone.view.activity.sme.gifting.GiftOpenSharingMomentActivity.onDestroy():void"); } @Override // o.InterfaceC6673cZp.saX public final void e(WL wl) { int i = 2 % 2; WP wp = wl.d; e(new Object[]{this, wp}, -937887482, 937887482, ((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getApplicationInfo().targetSdkVersion + 290929335); int color = nMh.getColor(this, wp.b); this.giftTapToEditHint.setTextColor(color); this.backgroundMsg.setTextColor(color); this.giftTapToEditHint.setTextColor(nMh.getColor(this, wp.b)); this.giftTapToEditHint.setVisibility(0); this.backgroundMsg.setText(wl.a); this.gridColorsRecyclerView.setAdapter(new GifShareMomentBackgroundAdapter(wl.e, this)); int i2 = r + 19; p = i2 % 128; int i3 = i2 % 2; } private static /* synthetic */ Object c(Object[] objArr) { GiftOpenSharingMomentActivity giftOpenSharingMomentActivity = (GiftOpenSharingMomentActivity) objArr[0]; WP wp = (WP) objArr[1]; int i = 2 % 2; giftOpenSharingMomentActivity.y(); C13020fOa e = Picasso.d().e(wp.e); e.e = true; fNW.IeS ieS = e.a; if (ieS.e) { throw new IllegalStateException("Center inside can not be used after calling centerCrop"); } int i2 = r + 57; p = i2 % 128; if (i2 % 2 != 0) { ieS.d = false; } else { ieS.d = true; } int i3 = r + 45; p = i3 % 128; int i4 = i3 % 2; e.aBu_(giftOpenSharingMomentActivity.backgroundImage, new InterfaceC12980fNE(giftOpenSharingMomentActivity, wp) { // from class: com.scb.phone.view.activity.sme.gifting.GiftOpenSharingMomentActivity.2 private WP d; private GiftOpenSharingMomentActivity e; { this.e = giftOpenSharingMomentActivity; this.d = wp; } @Override // o.InterfaceC12980fNE public final void d() { C13020fOa e2 = Picasso.d().e(this.d.d); e2.e = true; fNW.IeS ieS2 = e2.a; if (ieS2.e) { throw new IllegalStateException("Center inside can not be used after calling centerCrop"); } ieS2.d = true; e2.aBv_(this.e.backgroundImage.getDrawable()).aBu_(this.e.backgroundImage, null); this.e.ar_(); } @Override // o.InterfaceC12980fNE public final void b(Exception exc) { this.e.ar_(); } }); return null; } @Override // com.scb.phone.view.adapter.sme.gifting.GifShareMomentBackgroundAdapter.IeS public final void e(WP wp) { int i = 2 % 2; int i2 = p + 33; r = i2 % 128; int i3 = i2 % 2; C6130cJk c6130cJk = this.presenter; CE ce = c6130cJk.e; WN a = WN.a("gifting_sharing_moment"); a.c = ce.b_(wp.d); a.d = wp.b; c6130cJk.a = a; e(new Object[]{this, wp}, -937887482, 937887482, ((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getApplicationInfo().targetSdkVersion + 290929335); int color = nMh.getColor(this, wp.b); this.giftTapToEditHint.setTextColor(color); this.backgroundMsg.setTextColor(color); this.backgroundMsg.setFocusable(false); this.backgroundMsg.setCursorVisible(false); this.giftTapToEditHint.setVisibility(0); int i4 = r + 61; p = i4 % 128; if (i4 % 2 != 0) { throw null; } } @Override // androidx.activity.ComponentActivity, android.app.Activity public void onBackPressed() { int i = 2 % 2; int i2 = p + 35; r = i2 % 128; Object obj = null; if (i2 % 2 != 0) { yRS supportFragmentManager = getSupportFragmentManager(); if (supportFragmentManager.t() > 0) { supportFragmentManager.H(); o(); return; } super.onBackPressed(); int i3 = p + 5; r = i3 % 128; if (i3 % 2 == 0) { throw null; } return; } getSupportFragmentManager().t(); obj.hashCode(); throw null; } private void o() { int i = 2 % 2; int i2 = r + 65; p = i2 % 128; int i3 = i2 % 2; this.buttonsArea.setVisibility(0); this.shareMomentArea.setVisibility(0); this.toolbar.setVisibility(0); this.fragmentContainer.setVisibility(8); int i4 = p + 97; r = i4 % 128; if (i4 % 2 == 0) { int i5 = 23 / 0; } } @OnClick public void previewButton() { final String str; int i = 2 % 2; int i2 = r + 19; p = i2 % 128; int i3 = i2 % 2; this.presenter.a.f = this.backgroundMsg.getText().toString(); WN wn = this.presenter.a; final C6130cJk c6130cJk = this.presenter; WI wi = c6130cJk.d; if (wi != null && wi.f8430o != null) { if (c6130cJk.d.f8430o.equals("M")) { str = "money"; } else if (c6130cJk.d.f8430o.equals("P")) { int i4 = p + 7; r = i4 % 128; int i5 = i4 % 2; str = "present"; } else { str = ""; } if (!TextUtils.isEmpty(str)) { int i6 = r + 89; p = i6 % 128; int i7 = i6 % 2; if (!TextUtils.isEmpty(c6130cJk.d.g)) { ZI.IeS ieS = new ZI.IeS(c6130cJk, str) { // from class: o.cJl private C6130cJk a; private String d; @Override // o.ZI.IeS public final void e(Object obj) { InterfaceC6673cZp.saX sax = (InterfaceC6673cZp.saX) obj; sax.c("gift_share_moment_preview", new pug("gift_type", this.d), new pug("gift_id", this.a.d.g)); } { this.a = c6130cJk; this.d = str; } }; if (c6130cJk.f != 0) { ieS.e(c6130cJk.f); } } } } this.buttonsArea.setVisibility(8); this.shareMomentArea.setVisibility(8); this.toolbar.setVisibility(8); this.fragmentContainer.setVisibility(0); AbstractC13482fbE a = getSupportFragmentManager().a(); a.b(R.id.container, GiftSharingMomentPreviewFragment.d(wn), "SHARING_MOMENT_PREVIEW_FRAGMENT", 2); if (!a.d) { throw new IllegalStateException("This FragmentTransaction is not allowed to be added to the back stack."); } a.a = true; a.m = "SHARING_MOMENT_PREVIEW_FRAGMENT"; a.b(); } @OnClick public void shareGiftMoment() { int i = 2 % 2; int i2 = p + 105; r = i2 % 128; int i3 = i2 % 2; this.presenter.a.f = this.backgroundMsg.getText().toString(); if (Build.VERSION.SDK_INT < 33) { C11882eni.a(this); return; } int i4 = r + 121; p = i4 % 128; int i5 = i4 % 2; C11882eni.d(this); int i6 = r + 39; p = i6 % 128; if (i6 % 2 != 0) { throw null; } } private static /* synthetic */ Object e(Object[] objArr) { int i = 2 % 2; int i2 = r + 45; p = i2 % 128; if (i2 % 2 != 0) { guQ.b("onPermissionDenied", new Object[0]); } else { guQ.b("onPermissionDenied", new Object[0]); } int i3 = r + 67; p = i3 % 128; if (i3 % 2 == 0) { return null; } throw null; } /* loaded from: classes5.dex */ public class SharedMoment extends fKR { private GiftOpenSharingMomentActivity b; private Context c; @BindView ImageView momentPreviewImg; @BindView TextView momentPreviewMsg; @Override // o.fKR public final /* synthetic */ void b(WN wn, View view) { WN wn2 = wn; ButterKnife.c(this, view); Context context = this.c; StringBuilder sb = new StringBuilder(); sb.append(wn2.c()); sb.append(".jpg"); C6582cXO.a(sb.toString(), context); try { this.momentPreviewImg.setImageBitmap(Picasso.d().e(wn2.c).aBt_()); } catch (IOException unused) { } this.momentPreviewMsg.setText(wn2.f); this.momentPreviewMsg.setTextColor(nMh.getColor(this.c, wn2.d)); } public SharedMoment(GiftOpenSharingMomentActivity giftOpenSharingMomentActivity, Context context) { this.b = giftOpenSharingMomentActivity; this.c = context; } } public static void j() { int i = 2 % 2; int i2 = p + 31; r = i2 % 128; int i3 = i2 % 2; guQ.b("onNeverAskAgain", new Object[0]); int i4 = p + 101; r = i4 % 128; if (i4 % 2 != 0) { return; } Object obj = null; obj.hashCode(); throw null; } public static /* synthetic */ void b(InterfaceC15577gud interfaceC15577gud) { int i = 2 % 2; int i2 = r + 9; p = i2 % 128; int i3 = i2 % 2; interfaceC15577gud.c(); if (i3 != 0) { int i4 = 99 / 0; } int i5 = p + 1; r = i5 % 128; int i6 = i5 % 2; } private static /* synthetic */ Object a(Object[] objArr) { InterfaceC15577gud interfaceC15577gud = (InterfaceC15577gud) objArr[0]; int i = 2 % 2; int i2 = r + 29; p = i2 % 128; int i3 = i2 % 2; interfaceC15577gud.e(); int i4 = r + 5; p = i4 % 128; int i5 = i4 % 2; return null; } public final void d(final InterfaceC15577gud interfaceC15577gud) { int i = 2 % 2; ((CustomDialog) CustomDialog.e(new Object[]{CustomDialog.b(this).c(R.string.permission_storage_title).d(R.string.permission_storage).aoT_(R.string.permission_allow, new DialogInterface.OnClickListener(interfaceC15577gud) { // from class: o.ene private InterfaceC15577gud b; @Override // android.content.DialogInterface.OnClickListener public final void onClick(DialogInterface dialogInterface, int i2) { GiftOpenSharingMomentActivity.b(this.b); } { this.b = interfaceC15577gud; } }), Integer.valueOf(R.string.permission_deny), new DialogInterface.OnClickListener(interfaceC15577gud) { // from class: o.enh private InterfaceC15577gud e; @Override // android.content.DialogInterface.OnClickListener public final void onClick(DialogInterface dialogInterface, int i2) { GiftOpenSharingMomentActivity.e(new Object[]{this.e}, -1226611020, 1226611021, (int) System.currentTimeMillis()); } { this.e = interfaceC15577gud; } }})).show(); int i2 = r + 89; p = i2 % 128; int i3 = i2 % 2; } public static void f() { int i = 2 % 2; int i2 = p + 97; r = i2 % 128; if (i2 % 2 == 0) { guQ.b("onPermissionDeniedAndroid13", new Object[1]); } else { guQ.b("onPermissionDeniedAndroid13", new Object[0]); } int i3 = r + 31; p = i3 % 128; int i4 = i3 % 2; } public static void g() { int i = 2 % 2; int i2 = p + 29; r = i2 % 128; int i3 = i2 % 2; guQ.b("onNeverAskAgainAndroid13", new Object[0]); int i4 = r + 47; p = i4 % 128; if (i4 % 2 != 0) { throw null; } } @Override // androidx.fragment.app.FragmentActivity, androidx.activity.ComponentActivity, android.app.Activity public void onRequestPermissionsResult(int i, String[] strArr, int[] iArr) { int i2 = 2 % 2; int i3 = p + 61; r = i3 % 128; int i4 = i3 % 2; super.onRequestPermissionsResult(i, strArr, iArr); C11882eni.b(this, i, iArr); int i5 = p + 97; r = i5 % 128; if (i5 % 2 == 0) { int i6 = 11 / 0; } } public final void m() { int i = 2 % 2; final C6130cJk c6130cJk = this.presenter; WI wi = c6130cJk.d; if (wi != null) { int i2 = r + 15; p = i2 % 128; if (i2 % 2 != 0) { String str = wi.f8430o; throw null; } if (wi.f8430o != null) { final String str2 = ""; final String str3 = c6130cJk.d.f8430o.equals("M") ? "money" : c6130cJk.d.f8430o.equals("P") ? "present" : ""; WL wl = c6130cJk.c; if (wl != null && wl.d != null) { str2 = c6130cJk.c.d.a; } if (!TextUtils.isEmpty(str2)) { int i3 = r + 37; p = i3 % 128; int i4 = i3 % 2; if (!TextUtils.isEmpty(c6130cJk.d.g)) { ZI.IeS ieS = new ZI.IeS(c6130cJk, str3, str2) { // from class: o.cJj private String a; private C6130cJk b; private String d; @Override // o.ZI.IeS public final void e(Object obj) { InterfaceC6673cZp.saX sax = (InterfaceC6673cZp.saX) obj; sax.c("gift_share_moment_action", new pug("gift_type", this.a), new pug("gift_id", this.b.d.g), new pug("background", this.d)); } { this.b = c6130cJk; this.a = str3; this.d = str2; } }; if (c6130cJk.f != 0) { int i5 = p; int i6 = i5 + 57; r = i6 % 128; int i7 = i6 % 2; int i8 = i5 + 101; r = i8 % 128; if (i8 % 2 == 0) { int i9 = 2 / 3; } ieS.e(c6130cJk.f); } else { int i10 = r + 113; p = i10 % 128; int i11 = i10 % 2; } } } } } AbstractC13163fSk.fromCallable(new fKY(new SharedMoment(this, this), this.presenter.a, this)).observeOn(fRR.e()).subscribeOn(C13417fZt.b()).subscribeOn(C13417fZt.c()).observeOn(fRR.e()).subscribe(new C6130cJk.IeS(this.presenter, (byte) 0)); } @Override // o.InterfaceC6673cZp.saX public final void amb_(Uri uri) { int i = 2 % 2; Intent intent = new Intent("android.intent.action.SEND"); intent.setType(ImageInfo.JPEG_MIME_TYPE); intent.addFlags(1); intent.putExtra("android.intent.extra.STREAM", uri); startActivity(Intent.createChooser(intent, getString(R.string.share))); int i2 = r + 123; p = i2 % 128; int i3 = i2 % 2; } @Override // o.AbstractActivityC11857enJ, 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; Context baseContext = getBaseContext(); if (baseContext == null) { Object[] objArr = new Object[1]; ax(((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getResources().getString(R.string.auto_kofax_camera_tutorial_perfect_example).substring(0, 2).codePointAt(1) - 6, new char[]{65534, 1, 65534, 11, 1, 15, '\f', 6, 1, 65483, 65534, '\r', '\r', 65483, 65502, 0, 17, 6, 19, 6, 17, 22, 65521, 5, 15, 2}, ((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getResources().getString(R.string.etb_success_account_type_desc_2).substring(5, 9).codePointAt(1) + 215, false, 1 - MotionEvent.axisFromString(""), objArr); Class cls = Class.forName((String) objArr[0]); Object[] objArr2 = new Object[1]; ax(((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getResources().getString(R.string.auto_kofax_camera_tutorial_no_crumple).substring(0, 2).length() + 16, new char[]{65535, 2, 6, 6, 65495, '\n', 4, 65531, '\b', '\b', 11, 65529, 4, 5, 65535, '\n', 65527, 65529}, ((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getPackageName().length() + 259, true, ((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getResources().getString(R.string.auto_ccsof_input_disclaimer_text).substring(29, 30).codePointAt(0) - 20, objArr2); baseContext = (Context) cls.getMethod((String) objArr2[0], new Class[0]).invoke(null, null); } if (baseContext != null) { int i2 = r + 55; p = i2 % 128; int i3 = i2 % 2; baseContext = baseContext.getApplicationContext(); } if (baseContext != null) { int i4 = r + 33; p = i4 % 128; int i5 = i4 % 2; try { Object obj = xzZ.y.get(125943855); if (obj == null) { obj = ((Class) xzZ.c(View.MeasureSpec.getMode(0) + 492, View.getDefaultSize(0, 0) + 5, (char) (ViewConfiguration.getMinimumFlingVelocity() >> 16))).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 - View.MeasureSpec.getMode(0), 5 - View.resolveSize(0, 0), (char) Gravity.getAbsoluteGravity(0, 0))).getMethod(KtaJsonExactionHelper.OBJECT, Context.class); xzZ.y.put(1378719468, obj2); } ((Method) obj2).invoke(invoke, objArr3); int i6 = r + 41; p = i6 % 128; if (i6 % 2 != 0) { int i7 = 4 / 2; } } catch (Throwable th) { Throwable cause = th.getCause(); if (cause == null) { throw th; } throw cause; } } super.onResume(); } @Override // o.AbstractActivityC11857enJ, 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 = r + 17; p = i2 % 128; int i3 = i2 % 2; Context baseContext = getBaseContext(); if (baseContext == null) { Object[] objArr = new Object[1]; ax(((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getApplicationInfo().targetSdkVersion - 8, new char[]{65534, 1, 65534, 11, 1, 15, '\f', 6, 1, 65483, 65534, '\r', '\r', 65483, 65502, 0, 17, 6, 19, 6, 17, 22, 65521, 5, 15, 2}, (ViewConfiguration.getScrollFriction() > BitmapDescriptorFactory.HUE_RED ? 1 : (ViewConfiguration.getScrollFriction() == BitmapDescriptorFactory.HUE_RED ? 0 : -1)) + 264, false, ((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getResources().getString(R.string.etb_answer_fatca).substring(11, 12).length() + 1, objArr); Class cls = Class.forName((String) objArr[0]); Object[] objArr2 = new Object[1]; ax(((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getResources().getString(R.string.debit_card_cvv_title).substring(18, 19).length() + 17, new char[]{65535, 2, 6, 6, 65495, '\n', 4, 65531, '\b', '\b', 11, 65529, 4, 5, 65535, '\n', 65527, 65529}, ((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getApplicationInfo().targetSdkVersion + 238, true, 12 - (ViewConfiguration.getKeyRepeatTimeout() >> 16), objArr2); baseContext = (Context) cls.getMethod((String) objArr2[0], new Class[0]).invoke(null, null); } if (baseContext != null) { baseContext = baseContext.getApplicationContext(); int i4 = p + 99; r = i4 % 128; int i5 = i4 % 2; } if (baseContext != null) { int i6 = p + 111; r = i6 % 128; int i7 = i6 % 2; try { Object obj = xzZ.y.get(125943855); if (obj == null) { obj = ((Class) xzZ.c(492 - View.MeasureSpec.makeMeasureSpec(0, 0), 5 - (ViewConfiguration.getKeyRepeatTimeout() >> 16), (char) Gravity.getAbsoluteGravity(0, 0))).getMethod("a", null); xzZ.y.put(125943855, obj); } Object invoke = ((Method) obj).invoke(null, null); Object[] objArr3 = {baseContext}; Object obj2 = xzZ.y.get(1633456013); if (obj2 == null) { obj2 = ((Class) xzZ.c((ViewConfiguration.getScrollBarFadeDuration() >> 16) + 487, 5 - TextUtils.indexOf("", "", 0, 0), (char) ((-1) - TextUtils.lastIndexOf("", '0', 0)))).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(); } @Override // o.AbstractActivityC11857enJ, 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(18 - (ViewConfiguration.getScrollBarFadeDuration() >> 16), new char[]{16, 16, 2, 0, '\f', 15, 65517, 65483, 16, '\f', 65483, 1, 6, '\f', 15, 1, 11, 65534}, 264 - (ExpandableListView.getPackedPositionForChild(0, 0) > 0L ? 1 : (ExpandableListView.getPackedPositionForChild(0, 0) == 0L ? 0 : -1)), true, (ViewConfiguration.getEdgeSlop() >> 16) + 18, objArr); Class cls = Class.forName((String) objArr[0]); Object[] objArr2 = new Object[1]; ay((char) (14108 - (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))), new char[]{25468, 35474, 15200, 37237, 58897}, new char[]{9910, 50937, 7258, 27703}, new char[]{46673, 54346, 18045, 55534}, 1522989350 - (Process.myPid() >> 22), objArr2); int intValue = ((Integer) cls.getDeclaredMethod((String) objArr2[0], new Class[0]).invoke(null, new Object[0])).intValue() % 100000; if (intValue >= 99000) { int i2 = p + 109; r = i2 % 128; if (i2 % 2 == 0) { int i3 = 11 / 0; if (intValue <= 99999) { return; } } else if (intValue <= 99999) { return; } } if (context != null) { int i4 = r + 77; p = i4 % 128; int i5 = i4 % 2; context2 = context.getApplicationContext(); } else { context2 = context; } if (context2 != null) { int i6 = r + 123; p = i6 % 128; int i7 = i6 % 2; try { Object obj = xzZ.y.get(125943855); if (obj == null) { obj = ((Class) xzZ.c(492 - Color.argb(0, 0, 0, 0), (SystemClock.uptimeMillis() > 0L ? 1 : (SystemClock.uptimeMillis() == 0L ? 0 : -1)) + 4, (char) KeyEvent.normalizeMetaState(0))).getMethod("a", null); xzZ.y.put(125943855, obj); } Object invoke = ((Method) obj).invoke(null, null); Object[] objArr3 = new Object[1]; ax(47 - MotionEvent.axisFromString(""), new char[]{NistHelper.SEP_FS, 65516, 27, 65517, 65520, 65514, 65517, 30, 65521, NistHelper.SEP_FS, 65518, 65522, 65517, 65515, 27, 27, 30, 31, 65514, 65521, 65518, 65514, 65514, 29, 65522, NistHelper.SEP_FS, 65518, NistHelper.SEP_FS, 65519, 31, 65522, 26, 65517, 65516, 65521, 65515, 65516, 27, 65521, 65516, 27, 65516, 26, 65515, 65522, 27, 26, 31}, ImageFormat.getBitsPerPixel(0) + 238, true, 6 - TextUtils.getCapsMode("", 0, 0), objArr3); String str = (String) objArr3[0]; Object[] objArr4 = new Object[1]; ax(64 - (ViewConfiguration.getScrollBarFadeDuration() >> 16), new char[]{65522, 30, 65520, 65525, '!', 65521, 65518, 65522, 65518, 65522, 65523, 65517, 65522, 65520, 65517, 65518, 31, 65522, 29, 65520, 65519, 65522, 65516, 31, 65518, 65525, 65516, 65524, 65523, 65523, 65521, 29, 65521, 65524, 30, 30, 65522, 30, 29, 65522, 65521, 65517, 65522, 30, ' ', 65524, '\"', 65523, 31, 65524, 65521, 30, 65524, 31, 65517, 65524, 65522, 30, 29, '!', '!', 30, 65522, '!'}, (ViewConfiguration.getMaximumFlingVelocity() >> 16) + 234, false, TextUtils.lastIndexOf("", '0') + 61, objArr4); String str2 = (String) objArr4[0]; Object[] objArr5 = new Object[1]; ax((AudioTrack.getMinVolume() > BitmapDescriptorFactory.HUE_RED ? 1 : (AudioTrack.getMinVolume() == BitmapDescriptorFactory.HUE_RED ? 0 : -1)) + 64, new char[]{' ', 65522, 29, 65516, 65521, 65514, 65515, 65514, ' ', NistHelper.SEP_FS, 27, 65522, 65514, 65518, NistHelper.SEP_FS, 31, 65517, 65523, 65516, 31, 31, 65517, 27, 65517, 65514, 65522, 27, 65521, 29, 65522, 65519, 27, ' ', 27, 65514, ' ', 65514, 65523, 65520, 65522, 65516, 31, NistHelper.SEP_FS, 31, 65520, 29, ' ', 65517, 65519, 65514, 65519, 65515, 65515, 65516, 65519, 65519, 27, NistHelper.SEP_FS, 65518, 30, 65523, 65520, 65522, 31}, 236 - TextUtils.getTrimmedLength(""), true, 27 - View.MeasureSpec.getMode(0), objArr5); String str3 = (String) objArr5[0]; Object[] objArr6 = new Object[1]; ay((char) ((SystemClock.elapsedRealtimeNanos() > 0L ? 1 : (SystemClock.elapsedRealtimeNanos() == 0L ? 0 : -1)) - 1), new char[]{19151, 63407, 64335, 12940, 57285, 12375, 20308, 39449, 64426, 45352, 39713, 51382, 3747, 23004, 15746, 20589, 27390, 57582, 55518, 8882, 40056, 19903, 50361, 48220, 7787, 22892, 53203, 6901, 3037, 31500, 47888, 13107, 40877, 25190, 39026, 18584, 33317, 38031, 40687, 48938, 2956, 1499, 59151, 53831, 33230, 8150, 50702, 57822, 58247, 53670, 26473, 37858, 8543, 39414, 22518, 5346, 21545, 5601, 43231, 35965, 39890, 16664, 48064, 39403, 59293, 53652, 35691, 1799, 15512, 60910, 54409, 63524, 44814, 7102}, new char[]{49366, 56628, 11351, 3724}, new char[]{46673, 54346, 18045, 55534}, ViewConfiguration.getPressedStateDuration() >> 16, objArr6); String str4 = (String) objArr6[0]; Object[] objArr7 = new Object[1]; ay((char) (1376 - (ExpandableListView.getPackedPositionForGroup(0) > 0L ? 1 : (ExpandableListView.getPackedPositionForGroup(0) == 0L ? 0 : -1))), new char[]{54991, 21123, 45260, 47954, 24444}, new char[]{15246, 31557, 24621, 30213}, new char[]{46673, 54346, 18045, 55534}, 763053372 - (ViewConfiguration.getZoomControlsTimeout() > 0L ? 1 : (ViewConfiguration.getZoomControlsTimeout() == 0L ? 0 : -1)), objArr7); String str5 = (String) objArr7[0]; Object[] objArr8 = new Object[1]; ax((ViewConfiguration.getZoomControlsTimeout() > 0L ? 1 : (ViewConfiguration.getZoomControlsTimeout() == 0L ? 0 : -1)) + 35, new char[]{65517, NistHelper.SEP_FS, 65522, ' ', 30, 65520, 65519, 65520, 65516, ' ', ' ', NistHelper.SEP_FS, 65517, 65519, 31, 65524, 65519, 65515, 65512, 65521, 65515, ' ', 29, 65512, 65519, 65517, 65516, 65516, 65512, NistHelper.SEP_FS, 29, ' ', 30, 65512, 65517, 30}, (ViewConfiguration.getPressedStateDuration() >> 16) + 235, false, 9 - (ExpandableListView.getPackedPositionForChild(0, 0) > 0L ? 1 : (ExpandableListView.getPackedPositionForChild(0, 0) == 0L ? 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((AudioTrack.getMinVolume() > BitmapDescriptorFactory.HUE_RED ? 1 : (AudioTrack.getMinVolume() == BitmapDescriptorFactory.HUE_RED ? 0 : -1)) + 487, 5 - (ViewConfiguration.getWindowTouchSlop() >> 8), (char) Color.red(0))).getMethod("e", Context.class, String.class, String.class, String.class, String.class, Boolean.TYPE, String.class, String.class); xzZ.y.put(1656189573, obj2); } ((Method) obj2).invoke(invoke, objArr9); int i8 = r + 117; p = i8 % 128; int i9 = i8 % 2; } catch (Throwable th) { Throwable cause = th.getCause(); if (cause == null) { throw th; } throw cause; } } } public static /* synthetic */ void c(GiftOpenSharingMomentActivity giftOpenSharingMomentActivity) { int i = 2 % 2; int i2 = r + 63; p = i2 % 128; if (i2 % 2 == 0) { yRS supportFragmentManager = giftOpenSharingMomentActivity.getSupportFragmentManager(); ((Boolean) yRS.c(new Object[]{supportFragmentManager}, 1273581602, -1273581599, System.identityHashCode(supportFragmentManager))).booleanValue(); giftOpenSharingMomentActivity.o(); } else { yRS supportFragmentManager2 = giftOpenSharingMomentActivity.getSupportFragmentManager(); ((Boolean) yRS.c(new Object[]{supportFragmentManager2}, 1273581602, -1273581599, System.identityHashCode(supportFragmentManager2))).booleanValue(); giftOpenSharingMomentActivity.o(); throw null; } } public static /* synthetic */ boolean a(GiftOpenSharingMomentActivity giftOpenSharingMomentActivity) { int i = 2 % 2; int i2 = r + 99; p = i2 % 128; int i3 = i2 % 2; giftOpenSharingMomentActivity.backgroundMsg.setFocusableInTouchMode(true); giftOpenSharingMomentActivity.backgroundMsg.setCursorVisible(true); giftOpenSharingMomentActivity.giftTapToEditHint.setVisibility(8); int i4 = p + 107; r = i4 % 128; int i5 = i4 % 2; return false; } @Override // o.AbstractActivityC11857enJ, 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 = p + 5; r = i2 % 128; int i3 = i2 % 2; super.onStart(); int i4 = p + 3; r = i4 % 128; int i5 = i4 % 2; } static void h() { e(new Object[0], 1750199747, -1750199745, (int) System.currentTimeMillis()); } private void d(WP wp) { e(new Object[]{this, wp}, -937887482, 937887482, ((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getApplicationInfo().targetSdkVersion + 290929335); } public static /* synthetic */ void e(Throwable th) { int i = 2 % 2; int i2 = p + 51; r = i2 % 128; int i3 = i2 % 2; Object obj = null; guQ.a(th); if (i3 == 0) { obj.hashCode(); throw null; } int i4 = r + 49; p = i4 % 128; if (i4 % 2 != 0) { throw null; } } }