what-the-bank/sources/com/scb/phone/view/activity/sme/gifting/GiftRecipientActivity.java

475 lines
31 KiB
Java
Raw Permalink Normal View History

2024-07-27 18:17:47 +07:00
package com.scb.phone.view.activity.sme.gifting;
import android.content.Context;
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.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 butterknife.ButterKnife;
import com.google.android.gms.maps.model.BitmapDescriptorFactory;
import com.scb.phone.R;
import com.scb.phone.view.fragment.sme.gifting.GiftRecipientFragment;
import java.lang.reflect.Method;
import o.AbstractActivityC11862enO;
import o.AbstractC13482fbE;
import o.dQY;
import o.jTb;
import o.xzZ;
import org.bouncycastle.crypto.tls.CipherSuite;
/* loaded from: classes5.dex */
public class GiftRecipientActivity extends AbstractActivityC11862enO {
private static final byte[] $$g = {54, -108, 123, 45};
private static final int $$h = 208;
private static int $10 = 0;
private static int $11 = 1;
private static int s = 0;
private static int p = 1;
private static char[] l = {36787, 15668, 60070, 38968, 17821, 62227, 41094, 28228, 7165, 51561, 30380, 9306, 53696, 40789, 19649, 64079, 42785, 21673, 36799, 15651, 60055, 38947, 17814, 47529, 2862, 56508, 44578, 29575, 50441, 38556, 22622, 11753, 65392, 16616, 4670, 59369, 43331, 31436, 52313, 37182, 25257, 13356, 63913, 19260, 7304, 60938, 45973, 1385, 55012, 39205, 11195, 64548, 36524, 21251, 58752, 46594, 30911, 3446, 57342, 24698, 13047, 51013, 35279, 23106, 60631, 45481, 16928, 36787, 15714, 60146, 39033, 17811, 62281, 41095, 28175, 7072, 51491, 30385, 9327, 53712, 40718, 19602, 64018, 42803, 21688, 548, 53242, 32067, 10954, 55381, 34264, 13169, 57506, 44644, 23535, 2314, 46732, 25627, 4558, 57062, 35896, 14755, 59263, 38087, 16968, 4051, 48475, 27303, 6186, 50615, 29497, 8404, 61017, 39828, 18767, 63024, 41919, 20848, 7922, 52292, 31171, 10066, 54412, 33314, 20475, 64868, 43755, 22535, 1410, 45889, 24733, 8814, 37114, 18274, 13806, 59477, 24212, 3353, 50065, 46645, 25767, 56119, 35251, 31749, 12929, 57627, 22419, 2787, 63868, 45045, 25207, 53447, 34626, 30164, 10335, 40616, 19749, 1016, 63018, 42126, 6940, 51603, 48159, 29554, 8685, 38007, 19181, 14674, 61312, 41553, 4299, 50983, 46524, 26674, 57005, 36119, 17307, 13847, 58508, 23523, 3616, 64757, 45937, 25035, 54273, 35543, 31054, 12207, 57953, 20671, 1840, 62849, 43019, 7813, 52490, 32809, 30456, 9508, 39857, 20035, 15576, 62291, 41424, 5170, 51901, 30265, 50357, 4990, 25072, 48152, 2765, 22872, 38868, 57905, 12450, 36668, 56801, 10334, 26265, 46360, 918, 24301, 44389, 64481, 13861, 33950, 54033, 8591, 31817, 51886, 6519, 22462, 41573, 61579, 20305, 40399, 59409, 10088, 30177, 49277, 7841};
/* renamed from: o, reason: collision with root package name */
private static long f7941o = 3437138552638487898L;
private static char m = 53498;
private static char k = 62769;
private static char t = 60737;
private static char r = 54726;
/* 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(byte r5, short r6, int r7, java.lang.Object[] r8) {
/*
int r5 = r5 + 66
int r7 = r7 * 4
int r7 = 4 - r7
byte[] r0 = com.scb.phone.view.activity.sme.gifting.GiftRecipientActivity.$$g
int r6 = r6 * 3
int r1 = 1 - r6
byte[] r1 = new byte[r1]
r2 = 0
int r6 = 0 - r6
if (r0 != 0) goto L16
r4 = r6
r3 = r2
goto L28
L16:
r3 = r2
L17:
byte r4 = (byte) r5
r1[r3] = r4
if (r3 != r6) goto L24
java.lang.String r5 = new java.lang.String
r5.<init>(r1, r2)
r8[r2] = r5
return
L24:
int r3 = r3 + 1
r4 = r0[r7]
L28:
int r5 = r5 + r4
int r7 = r7 + 1
goto L17
*/
throw new UnsupportedOperationException("Method not decompiled: com.scb.phone.view.activity.sme.gifting.GiftRecipientActivity.az(byte, short, int, java.lang.Object[]):void");
}
private static void ax(int i, int i2, char c, Object[] objArr) {
int i3 = 2 % 2;
dQY dqy = new dQY();
long[] jArr = new long[i2];
dqy.a = 0;
while (dqy.a < i2) {
int i4 = $10 + 115;
$11 = i4 % 128;
int i5 = i4 % 2;
int i6 = dqy.a;
try {
Object[] objArr2 = {Integer.valueOf(l[i + dqy.a])};
Object obj = xzZ.y.get(1095064095);
if (obj == null) {
Class cls = (Class) xzZ.c(308 - TextUtils.indexOf("", ""), (TypedValue.complexToFraction(0, BitmapDescriptorFactory.HUE_RED, BitmapDescriptorFactory.HUE_RED) > BitmapDescriptorFactory.HUE_RED ? 1 : (TypedValue.complexToFraction(0, BitmapDescriptorFactory.HUE_RED, BitmapDescriptorFactory.HUE_RED) == BitmapDescriptorFactory.HUE_RED ? 0 : -1)) + 5, (char) (32797 - View.resolveSizeAndState(0, 0, 0)));
byte b = (byte) 0;
Object[] objArr3 = new Object[1];
az((byte) 32, b, b, objArr3);
obj = cls.getMethod((String) objArr3[0], Integer.TYPE);
xzZ.y.put(1095064095, obj);
}
Object[] objArr4 = {Long.valueOf(((Long) ((Method) obj).invoke(null, objArr2)).longValue()), Long.valueOf(dqy.a), Long.valueOf(f7941o), Integer.valueOf(c)};
Object obj2 = xzZ.y.get(-548438098);
if (obj2 == null) {
Class cls2 = (Class) xzZ.c(View.MeasureSpec.makeMeasureSpec(0, 0) + 412, AndroidCharacter.getMirror('0') - '+', (char) ((Process.getThreadPriority(0) + 20) >> 6));
byte b2 = (byte) 0;
Object[] objArr5 = new Object[1];
az((byte) 33, b2, b2, objArr5);
obj2 = cls2.getMethod((String) objArr5[0], Long.TYPE, Long.TYPE, Long.TYPE, Integer.TYPE);
xzZ.y.put(-548438098, obj2);
}
jArr[i6] = ((Long) ((Method) obj2).invoke(null, objArr4)).longValue();
Object[] objArr6 = {dqy, dqy};
Object obj3 = xzZ.y.get(1071125919);
if (obj3 == null) {
Class cls3 = (Class) xzZ.c((ViewConfiguration.getPressedStateDuration() >> 16) + 407, 5 - TextUtils.indexOf("", ""), (char) (29233 - MotionEvent.axisFromString("")));
byte b3 = (byte) 0;
Object[] objArr7 = new Object[1];
az((byte) 40, b3, b3, objArr7);
obj3 = cls3.getMethod((String) objArr7[0], Object.class, Object.class);
xzZ.y.put(1071125919, obj3);
}
((Method) obj3).invoke(null, objArr6);
} catch (Throwable th) {
Throwable cause = th.getCause();
if (cause == null) {
throw th;
}
throw cause;
}
}
char[] cArr = new char[i2];
dqy.a = 0;
while (dqy.a < i2) {
cArr[dqy.a] = (char) jArr[dqy.a];
Object[] objArr8 = {dqy, dqy};
Object obj4 = xzZ.y.get(1071125919);
if (obj4 == null) {
Class cls4 = (Class) xzZ.c(407 - (ViewConfiguration.getJumpTapTimeout() >> 16), 5 - KeyEvent.keyCodeFromString(""), (char) ((ViewConfiguration.getTouchSlop() >> 8) + 29234));
byte b4 = (byte) 0;
Object[] objArr9 = new Object[1];
az((byte) 40, b4, b4, objArr9);
obj4 = cls4.getMethod((String) objArr9[0], Object.class, Object.class);
xzZ.y.put(1071125919, obj4);
}
((Method) obj4).invoke(null, objArr8);
}
String str = new String(cArr);
int i7 = $11 + 7;
$10 = i7 % 128;
if (i7 % 2 != 0) {
throw null;
}
objArr[0] = str;
}
@Override // o.AbstractActivityC11862enO, 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((ExpandableListView.getPackedPositionForGroup(0) > 0L ? 1 : (ExpandableListView.getPackedPositionForGroup(0) == 0L ? 0 : -1)), (ViewConfiguration.getFadingEdgeLength() >> 16) + 18, (char) (((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getPackageName().codePointAt(5) - 99), 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.billpayment_bnpl_coin_more_detail_description_1_3).substring(0, 31).length() - 13, ((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getApplicationInfo().targetSdkVersion - 29, (char) (((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getResources().getString(R.string.hml_outcome_reject_repayment_value).substring(0, 5).length() - 5), 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().getResources().getString(R.string.auto_top_up_occupation_search_no_results_description).substring(29, 30).length() + 22, (-16777190) - Color.rgb(0, 0, 0), (char) (((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getPackageName().length() + 13837), objArr3);
Class<?> cls2 = Class.forName((String) objArr3[0]);
Object[] objArr4 = new Object[1];
ax(49 - TextUtils.getOffsetAfter("", 0), ((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getPackageName().length() + 5, (char) ((SystemClock.currentThreadTimeMillis() > (-1L) ? 1 : (SystemClock.currentThreadTimeMillis() == (-1L) ? 0 : -1)) + 5779), objArr4);
baseContext = (Context) cls2.getMethod((String) objArr4[0], new Class[0]).invoke(null, null);
}
if (baseContext != null) {
int i2 = s + 99;
p = i2 % 128;
int i3 = i2 % 2;
baseContext = baseContext.getApplicationContext();
}
if (baseContext != null) {
int i4 = s + 47;
p = i4 % 128;
int i5 = i4 % 2;
try {
Object obj = xzZ.y.get(125943855);
if (obj == null) {
obj = ((Class) xzZ.c(492 - ((Process.getThreadPriority(0) + 20) >> 6), TextUtils.indexOf((CharSequence) "", '0', 0) + 6, (char) (ViewConfiguration.getScrollBarSize() >> 8))).getMethod("a", null);
xzZ.y.put(125943855, obj);
}
Object invoke = ((Method) obj).invoke(null, null);
Object[] objArr5 = new Object[1];
ay(new char[]{51277, 29009, 38245, 61693, 9350, 59694, 35450, 46006, 2471, 1181, 47410, 7212, 63670, 43927, 34778, 12536, 49583, 62429, 27289, 24273, 64204, 53069, 36801, 16363, 1042, 664, 30282, 10411, 26468, 3651, 35274, 24873, 60432, 59919, 44183, 26042, 32640, 61400, 48436, 46424, 55899, 16988, 29291, 44615, 53336, 53490, 63744, 64978}, ((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getPackageName().length() + 35, objArr5);
String str = (String) objArr5[0];
Object[] objArr6 = new Object[1];
ay(new char[]{47993, 65321, 64591, 58750, 21752, 15648, 36015, 4845, 7693, 29823, 38578, 51934, 38578, 51934, 10323, 39467, 9332, 40398, 4667, 30200, 43257, 24771, 20504, 20443, 45963, 43191, 52030, 63481, 47895, 43468, 5590, 38345, 65303, 33049, 20849, 246, 63239, 23518, 48436, 46424, 21752, 15648, 24301, 34355, 13779, 36455, 21752, 15648, 43915, 56009, 56744, 2448, 53336, 53490, 59952, 41698, 35235, 28617, 57957, 27007, 21752, 15648, 41055, 34464}, 63 - TextUtils.indexOf((CharSequence) "", '0'), objArr6);
String str2 = (String) objArr6[0];
Object[] objArr7 = new Object[1];
ax(((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getApplicationInfo().targetSdkVersion + 33, ((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getPackageName().codePointAt(3) + 18, (char) (((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getApplicationInfo().targetSdkVersion - 34), objArr7);
String str3 = (String) objArr7[0];
Object[] objArr8 = new Object[1];
ax(((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getResources().getString(R.string.auto_single_form_occupation_no_results_found_description).substring(29, 30).codePointAt(0) + 99, ((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getResources().getString(R.string.error_description_open_mf_account).substring(23, 24).length() + 73, (char) (((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getApplicationInfo().targetSdkVersion + 44466), objArr8);
String str4 = (String) objArr8[0];
Object[] objArr9 = new Object[1];
ay(new char[]{7095, 39747, 6942, 21147, 50969, 57653}, 5 - (ViewConfiguration.getTouchSlop() >> 8), objArr9);
String str5 = (String) objArr9[0];
Object[] objArr10 = new Object[1];
ax(((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getApplicationInfo().targetSdkVersion + CipherSuite.TLS_DHE_PSK_WITH_AES_256_GCM_SHA384, ((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getApplicationInfo().targetSdkVersion + 2, (char) (((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getApplicationInfo().targetSdkVersion + 63852), objArr10);
Object[] objArr11 = {baseContext, str, str2, str3, str4, true, str5, (String) objArr10[0]};
Object obj2 = xzZ.y.get(1656189573);
if (obj2 == null) {
obj2 = ((Class) xzZ.c(486 - ((byte) KeyEvent.getModifierMetaStateMask()), (ViewConfiguration.getScrollBarSize() >> 8) + 5, (char) (1 - (SystemClock.currentThreadTimeMillis() > (-1L) ? 1 : (SystemClock.currentThreadTimeMillis() == (-1L) ? 0 : -1))))).getMethod("e", Context.class, String.class, String.class, String.class, String.class, Boolean.TYPE, String.class, String.class);
xzZ.y.put(1656189573, obj2);
}
((Method) obj2).invoke(invoke, objArr11);
} catch (Throwable th) {
Throwable cause = th.getCause();
if (cause == null) {
throw th;
}
throw cause;
}
}
}
super.onCreate(bundle);
setContentView(R.layout.2131558756);
ButterKnife.Dg_(this);
super.Z();
ac();
p(getString(R.string.gift_input_select_recipient));
AbstractC13482fbE a = getSupportFragmentManager().a();
a.b(R.id.fragment_container, GiftRecipientFragment.c(getIntent().getStringExtra("RECIPIENT_TYPE")), "present", 1);
a.b();
}
private static void ay(char[] cArr, int i, Object[] objArr) {
int i2;
int i3 = 2 % 2;
jTb jtb = new jTb();
char[] cArr2 = new char[cArr.length];
int i4 = 0;
jtb.b = 0;
char[] cArr3 = new char[2];
while (jtb.b < cArr.length) {
int i5 = $10 + 33;
$11 = i5 % 128;
if (i5 % 2 == 0) {
cArr3[1] = cArr[jtb.b];
cArr3[i4] = cArr[jtb.b];
i2 = 1;
} else {
cArr3[i4] = cArr[jtb.b];
cArr3[1] = cArr[jtb.b + 1];
i2 = i4;
}
int i6 = $11 + 109;
$10 = i6 % 128;
int i7 = i6 % 2;
int i8 = 58224;
while (i2 < 16) {
char c = cArr3[1];
char c2 = cArr3[i4];
int i9 = (c2 + i8) ^ ((c2 << 4) + ((char) (t ^ 41718355337583039L)));
int i10 = c2 >>> 5;
try {
Object[] objArr2 = new Object[4];
objArr2[3] = Integer.valueOf(r);
objArr2[2] = Integer.valueOf(i10);
objArr2[1] = Integer.valueOf(i9);
objArr2[i4] = Integer.valueOf(c);
Object obj = xzZ.y.get(597144044);
if (obj == null) {
Class cls = (Class) xzZ.c((ViewConfiguration.getTapTimeout() >> 16) + 412, View.MeasureSpec.makeMeasureSpec(i4, i4) + 5, (char) ((-1) - Process.getGidForName("")));
byte b = (byte) i4;
byte b2 = b;
Object[] objArr3 = new Object[1];
az(b, b2, b2, objArr3);
String str = (String) objArr3[i4];
Class<?>[] clsArr = new Class[4];
clsArr[i4] = Integer.TYPE;
clsArr[1] = Integer.TYPE;
clsArr[2] = Integer.TYPE;
clsArr[3] = Integer.TYPE;
obj = cls.getMethod(str, clsArr);
xzZ.y.put(597144044, obj);
}
char charValue = ((Character) ((Method) obj).invoke(null, objArr2)).charValue();
cArr3[1] = charValue;
char[] cArr4 = cArr3;
Object[] objArr4 = {Integer.valueOf(cArr3[i4]), Integer.valueOf((charValue + i8) ^ ((charValue << 4) + ((char) (m ^ 41718355337583039L)))), Integer.valueOf(charValue >>> 5), Integer.valueOf(k)};
Object obj2 = xzZ.y.get(597144044);
if (obj2 == null) {
Class cls2 = (Class) xzZ.c(411 - TextUtils.lastIndexOf("", '0'), 6 - (AudioTrack.getMaxVolume() > BitmapDescriptorFactory.HUE_RED ? 1 : (AudioTrack.getMaxVolume() == BitmapDescriptorFactory.HUE_RED ? 0 : -1)), (char) Gravity.getAbsoluteGravity(0, 0));
byte b3 = (byte) 0;
byte b4 = b3;
Object[] objArr5 = new Object[1];
az(b3, b4, b4, objArr5);
obj2 = cls2.getMethod((String) objArr5[0], Integer.TYPE, Integer.TYPE, Integer.TYPE, Integer.TYPE);
xzZ.y.put(597144044, obj2);
}
cArr4[0] = ((Character) ((Method) obj2).invoke(null, objArr4)).charValue();
i8 -= 40503;
i2++;
cArr3 = cArr4;
i4 = 0;
} catch (Throwable th) {
Throwable cause = th.getCause();
if (cause == null) {
throw th;
}
throw cause;
}
}
char[] cArr5 = cArr3;
cArr2[jtb.b] = cArr5[0];
cArr2[jtb.b + 1] = cArr5[1];
Object[] objArr6 = {jtb, jtb};
Object obj3 = xzZ.y.get(943004485);
if (obj3 == null) {
Class cls3 = (Class) xzZ.c(97 - TextUtils.indexOf((CharSequence) "", '0', 0, 0), 5 - (ViewConfiguration.getEdgeSlop() >> 16), (char) (ViewConfiguration.getDoubleTapTimeout() >> 16));
byte b5 = (byte) 1;
byte b6 = (byte) (b5 - 1);
Object[] objArr7 = new Object[1];
az(b5, b6, b6, objArr7);
obj3 = cls3.getMethod((String) objArr7[0], Object.class, Object.class);
xzZ.y.put(943004485, obj3);
}
((Method) obj3).invoke(null, objArr6);
cArr3 = cArr5;
i4 = 0;
}
objArr[0] = new String(cArr2, 0, i);
}
@Override // com.scb.phone.view.activity.BaseActivity
public final void Z() {
int i = 2 % 2;
int i2 = p + 67;
s = i2 % 128;
int i3 = i2 % 2;
super.Z();
ac();
p(getString(R.string.gift_input_select_recipient));
int i4 = s + 23;
p = i4 % 128;
if (i4 % 2 != 0) {
return;
}
Object obj = null;
obj.hashCode();
throw null;
}
/* JADX WARN: Code restructure failed: missing block: B:38:0x0023, code lost:
r7 = (java.lang.Object[]) null;
r11 = new java.lang.Object[1];
ax(((android.content.Context) java.lang.Class.forName("android.app.ActivityThread").getMethod("currentApplication", new java.lang.Class[0]).invoke(null, null)).getApplicationContext().getResources().getString(com.scb.phone.R.string.hml_business_owner_progress_remark_info).substring(27, 28).length() + 22, ((android.content.Context) java.lang.Class.forName("android.app.ActivityThread").getMethod("currentApplication", new java.lang.Class[0]).invoke(null, null)).getApplicationContext().getPackageName().length() + 13, (char) (((android.content.Context) java.lang.Class.forName("android.app.ActivityThread").getMethod("currentApplication", new java.lang.Class[0]).invoke(null, null)).getApplicationContext().getPackageName().length() + 13837), r11);
r6 = java.lang.Class.forName((java.lang.String) r11[0]);
r8 = new java.lang.Object[1];
ax(((android.content.Context) java.lang.Class.forName("android.app.ActivityThread").getMethod("currentApplication", new java.lang.Class[0]).invoke(null, null)).getApplicationContext().getApplicationInfo().targetSdkVersion + 15, 18 - android.text.TextUtils.indexOf("", ""), (char) (((android.content.Context) java.lang.Class.forName("android.app.ActivityThread").getMethod("currentApplication", new java.lang.Class[0]).invoke(null, null)).getApplicationContext().getResources().getString(com.scb.phone.R.string.hml_personal_info_laser_id_title).substring(0, 15).codePointAt(13) + 5679), r8);
r1 = (android.content.Context) r6.getMethod((java.lang.String) r8[0], new java.lang.Class[0]).invoke(null, null);
*/
/* JADX WARN: Code restructure failed: missing block: B:40:0x0021, code lost:
if (r1 == null) goto L9;
*/
/* JADX WARN: Code restructure failed: missing block: B:4:0x001a, code lost:
if (r1 == null) goto L9;
*/
@Override // o.AbstractActivityC11862enO, 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: 569
To view this dump add '--comments-level debug' option
*/
throw new UnsupportedOperationException("Method not decompiled: com.scb.phone.view.activity.sme.gifting.GiftRecipientActivity.onResume():void");
}
@Override // o.AbstractActivityC11862enO, 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 = s + 71;
p = i2 % 128;
int i3 = i2 % 2;
Context baseContext = getBaseContext();
if (baseContext == null) {
int i4 = p + 103;
s = i4 % 128;
int i5 = i4 % 2;
Object[] objArr = new Object[1];
ax(((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getApplicationInfo().targetSdkVersion - 11, ((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getApplicationInfo().targetSdkVersion - 8, (char) (((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getResources().getString(R.string.auto_kofax_camera_tutorial_no_black).substring(0, 2).codePointAt(1) + 13818), 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.permission_location_never_ask_again).substring(23, 24).codePointAt(0) + 17, (TypedValue.complexToFraction(0, BitmapDescriptorFactory.HUE_RED, BitmapDescriptorFactory.HUE_RED) > BitmapDescriptorFactory.HUE_RED ? 1 : (TypedValue.complexToFraction(0, BitmapDescriptorFactory.HUE_RED, BitmapDescriptorFactory.HUE_RED) == BitmapDescriptorFactory.HUE_RED ? 0 : -1)) + 18, (char) (((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getPackageName().codePointAt(4) + 5665), objArr2);
baseContext = (Context) cls.getMethod((String) objArr2[0], new Class[0]).invoke(null, null);
}
if (baseContext != null) {
baseContext = baseContext.getApplicationContext();
}
if (baseContext != null) {
int i6 = p + 123;
s = 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), KeyEvent.normalizeMetaState(0) + 5, (char) (1 - (AudioTrack.getMaxVolume() > BitmapDescriptorFactory.HUE_RED ? 1 : (AudioTrack.getMaxVolume() == BitmapDescriptorFactory.HUE_RED ? 0 : -1))))).getMethod("a", null);
xzZ.y.put(125943855, obj);
}
Object invoke = ((Method) obj).invoke(null, null);
Object[] objArr3 = {baseContext};
Object obj2 = xzZ.y.get(1633456013);
if (obj2 == null) {
obj2 = ((Class) xzZ.c(487 - (ViewConfiguration.getScrollBarSize() >> 8), 5 - TextUtils.getCapsMode("", 0, 0), (char) (ImageFormat.getBitsPerPixel(0) + 1))).getMethod("c", Context.class);
xzZ.y.put(1633456013, obj2);
}
((Method) obj2).invoke(invoke, objArr3);
} catch (Throwable th) {
Throwable cause = th.getCause();
if (cause == null) {
throw th;
}
throw cause;
}
}
super.onPause();
}
/* JADX WARN: Code restructure failed: missing block: B:4:0x0078, code lost:
if (r2 > 99999) goto L6;
*/
@Override // o.AbstractActivityC11862enO, 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
/*
Code decompiled incorrectly, please refer to instructions dump.
To view partially-correct add '--show-bad-code' argument
*/
public void attachBaseContext(android.content.Context r20) {
/*
Method dump skipped, instructions count: 664
To view this dump add '--comments-level debug' option
*/
throw new UnsupportedOperationException("Method not decompiled: com.scb.phone.view.activity.sme.gifting.GiftRecipientActivity.attachBaseContext(android.content.Context):void");
}
@Override // o.AbstractActivityC11862enO, 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 = s + 89;
p = i2 % 128;
int i3 = i2 % 2;
super.onStart();
if (i3 == 0) {
throw null;
}
}
}