what-the-bank/sources/com/scb/phone/view/activity/landingpage/LifestyleCustomizationActiv...

1116 lines
60 KiB
Java
Raw Permalink Normal View History

2024-07-27 18:17:47 +07:00
package com.scb.phone.view.activity.landingpage;
import android.app.Activity;
import android.content.Context;
import android.content.DialogInterface;
import android.content.Intent;
import android.graphics.Color;
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.KeyEvent;
import android.view.MotionEvent;
import android.view.View;
import android.view.ViewConfiguration;
import android.widget.Button;
import android.widget.ExpandableListView;
import android.widget.LinearLayout;
import android.widget.TextView;
import androidx.recyclerview.widget.GridLayoutManager;
import androidx.recyclerview.widget.RecyclerView;
import butterknife.BindView;
import butterknife.ButterKnife;
import butterknife.OnClick;
import com.google.android.gms.maps.model.BitmapDescriptorFactory;
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.landingpage.LifestyleCustomizationActivity;
import com.scb.phone.view.adapter.landingpage.UnselectedTileAdapter;
import com.scb.phone.view.custom.common.CustomDialog;
import java.lang.reflect.Method;
import java.util.ArrayList;
import java.util.List;
import net.sf.scuba.smartcards.ISOFileInfo;
import o.C0907Rf;
import o.C0914Rk;
import o.C3614bBe;
import o.C4055bOk;
import o.InterfaceC1244Ytw;
import o.InterfaceC13391fZD;
import o.InterfaceC9442djn;
import o.Nhs;
import o.PRA;
import o.YKU;
import o.ZI;
import o.dWX;
import o.fSQ;
import o.fSS;
import o.gjJ;
import o.wMf;
import o.wxK;
import o.xzZ;
/* loaded from: classes5.dex */
public class LifestyleCustomizationActivity extends dWX implements InterfaceC9442djn, UnselectedTileAdapter.IeS {
@BindView
Button addButton;
@BindView
LinearLayout emptyStateContainer;
@BindView
LinearLayout errorStateContainer;
@BindView
LinearLayout normalStateContainer;
/* renamed from: o, reason: collision with root package name */
private UnselectedTileAdapter f7533o;
@InterfaceC13391fZD
public C4055bOk presenter;
@BindView
RecyclerView recyclerView;
private static final byte[] $$p = {43, -33, 87, 81};
private static final int $$q = 45;
private static int $10 = 0;
private static int $11 = 1;
private static int p = 0;
private static int y = 1;
private static char[] k = {16298, 16295, 16301, 16347, 16344, 16290, 15975, 16348, 16313, 16300, 16302, 16345, 16266, 16349, 16351, 16338, 16317, 16289, 16350, 16293, 16299, 16287, 16285, 16274, 16286, 16283, 16272, 16282, 16284, 16281, 16273, 16303, 16275, 16280, 16294, 16292, 16288, 16346, 15974};
private static int l = 1934310985;
private static boolean m = true;
private static boolean t = true;
private static long q = 9051040786702654117L;
private static int s = 452713125;
private static char r = 21942;
/* JADX WARN: Removed duplicated region for block: B:10:0x0023 */
/* JADX WARN: Removed duplicated region for block: B:7:0x001b */
/* JADX WARN: Unsupported multi-entry loop pattern (BACK_EDGE: B:10:0x0023 -> B:4:0x0027). Please report as a decompilation issue!!! */
/*
Code decompiled incorrectly, please refer to instructions dump.
To view partially-correct add '--show-bad-code' argument
*/
private static void aC(int r5, short r6, byte r7, java.lang.Object[] r8) {
/*
int r6 = r6 * 2
int r0 = r6 + 1
byte[] r1 = com.scb.phone.view.activity.landingpage.LifestyleCustomizationActivity.$$p
int r5 = r5 + 65
int r7 = r7 * 4
int r7 = r7 + 4
byte[] r0 = new byte[r0]
r2 = 0
if (r1 != 0) goto L15
r4 = r5
r5 = r6
r3 = r2
goto L27
L15:
r3 = r2
L16:
byte r4 = (byte) r5
r0[r3] = r4
if (r3 != r6) goto L23
java.lang.String r5 = new java.lang.String
r5.<init>(r0, r2)
r8[r2] = r5
return
L23:
int r3 = r3 + 1
r4 = r1[r7]
L27:
int r5 = r5 + r4
int r7 = r7 + 1
goto L16
*/
throw new UnsupportedOperationException("Method not decompiled: com.scb.phone.view.activity.landingpage.LifestyleCustomizationActivity.aC(int, short, byte, java.lang.Object[]):void");
}
public static /* synthetic */ Object e(Object[] objArr, int i, int i2, int i3) {
if ((i * 530) + 1058 + (i2 * 530) + (((~((~i3) | i)) | (~(i | i2))) * 529) + (((~(i | i3)) | (~i2)) * 529) != 1) {
LifestyleCustomizationActivity lifestyleCustomizationActivity = (LifestyleCustomizationActivity) objArr[0];
int i4 = 2 % 2;
int i5 = y + 105;
p = i5 % 128;
int i6 = i5 % 2;
lifestyleCustomizationActivity.normalStateContainer.setVisibility(0);
lifestyleCustomizationActivity.emptyStateContainer.setVisibility(8);
lifestyleCustomizationActivity.errorStateContainer.setVisibility(8);
int i7 = y + 17;
p = i7 % 128;
int i8 = i7 % 2;
return null;
}
return c(objArr);
}
public static Intent ahZ_(Activity activity, List<C0914Rk> list) {
int i = 2 % 2;
Intent putParcelableArrayListExtra = new Intent(activity, (Class<?>) LifestyleCustomizationActivity.class).putParcelableArrayListExtra("EXTRA_UNSELECTED_TILES", new ArrayList<>(list));
int i2 = p + 63;
y = i2 % 128;
int i3 = i2 % 2;
return putParcelableArrayListExtra;
}
private static /* synthetic */ Object c(Object[] objArr) {
int i = 2 % 2;
Intent putExtra = new Intent((Activity) objArr[0], (Class<?>) LifestyleCustomizationActivity.class).putExtra("EXTRA_IS_ERROR", true);
int i2 = p + 125;
y = i2 % 128;
if (i2 % 2 != 0) {
return putExtra;
}
throw null;
}
private static void aB(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;
while (nhs.a < length3) {
int i4 = $11 + 113;
$10 = i4 % 128;
int i5 = i4 % i2;
try {
Object[] objArr2 = {nhs};
Object obj = xzZ.y.get(263693715);
if (obj == null) {
obj = ((Class) xzZ.c((Process.myTid() >> 22) + 45, 6 - (SystemClock.elapsedRealtime() > 0L ? 1 : (SystemClock.elapsedRealtime() == 0L ? 0 : -1)), (char) (ViewConfiguration.getScrollDefaultDelay() >> 16))).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 - View.MeasureSpec.makeMeasureSpec(0, 0), View.combineMeasuredStates(0, 0) + 5, (char) (52128 - View.resolveSize(0, 0)));
byte b = (byte) 0;
Object[] objArr4 = new Object[1];
aC((byte) ($$q + 5), b, b, 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(747 - TextUtils.indexOf((CharSequence) "", '0'), (ViewConfiguration.getMaximumDrawingCacheSize() >> 24) + 5, (char) TextUtils.getTrimmedLength(""))).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((-16776814) - Color.rgb(0, 0, 0), (SystemClock.uptimeMillis() > 0L ? 1 : (SystemClock.uptimeMillis() == 0L ? 0 : -1)) + 4, (char) (21608 - (ViewConfiguration.getScrollBarSize() >> 8)));
byte b2 = (byte) 0;
Object[] objArr7 = new Object[1];
aC((byte) ($$q + 4), b2, b2, 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]) ^ (q ^ 9051040786702654117L)) ^ ((int) (s ^ 9051040786702654117L))) ^ ((char) (r ^ 9051040786702654117L)));
nhs.a++;
int i6 = $11 + 65;
$10 = i6 % 128;
if (i6 % 2 != 0) {
int i7 = 2 / 2;
}
i2 = 2;
} catch (Throwable th) {
Throwable cause = th.getCause();
if (cause == null) {
throw th;
}
throw cause;
}
}
String str = new String(cArr6);
int i8 = $10 + 101;
$11 = i8 % 128;
int i9 = i8 % 2;
objArr[0] = str;
}
@Override // o.dWX, 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];
aA(null, null, 127 - (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)), new byte[]{-120, -120, ISOFileInfo.SECURITY_ATTR_EXP, ISOFileInfo.LCS_BYTE, ISOFileInfo.PROP_INFO, -124, -119, ISOFileInfo.FCI_EXT, -120, ISOFileInfo.PROP_INFO, ISOFileInfo.FCI_EXT, ISOFileInfo.FILE_IDENTIFIER, -122, ISOFileInfo.PROP_INFO, -124, ISOFileInfo.FILE_IDENTIFIER, -126, ISOFileInfo.DATA_BYTES2}, objArr);
Class<?> cls = Class.forName((String) objArr[0]);
Object[] objArr2 = new Object[1];
aB((char) (((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getApplicationInfo().targetSdkVersion + 55983), new char[]{40933, 17723, 32509, 65487, 18140}, new char[]{2408, 19841, 53578, 36314}, new char[]{0, 0, 0, 0}, ((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getResources().getString(R.string.hml_business_url_info_url_invalid_error).substring(41, 42).codePointAt(0) + 1246593173, 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];
aA(null, null, ((Process.getThreadPriority(0) + 20) >> 6) + 127, new byte[]{ISOFileInfo.FILE_IDENTIFIER, ISOFileInfo.DATA_BYTES2, ISOFileInfo.SECURITY_ATTR_EXP, -124, -110, -111, -112, ISOFileInfo.CHANNEL_SECURITY, -122, -113, -122, ISOFileInfo.CHANNEL_SECURITY, ISOFileInfo.LCS_BYTE, ISOFileInfo.ENV_TEMP_EF, ISOFileInfo.FCI_EXT, ISOFileInfo.SECURITY_ATTR_COMPACT, ISOFileInfo.SECURITY_ATTR_COMPACT, ISOFileInfo.DATA_BYTES2, ISOFileInfo.FCI_EXT, ISOFileInfo.FILE_IDENTIFIER, -122, ISOFileInfo.PROP_INFO, -124, ISOFileInfo.FILE_IDENTIFIER, -126, ISOFileInfo.DATA_BYTES2}, objArr3);
Class<?> cls2 = Class.forName((String) objArr3[0]);
Object[] objArr4 = new Object[1];
aA(null, null, (ViewConfiguration.getScrollBarSize() >> 8) + 127, new byte[]{-126, ISOFileInfo.PROP_INFO, -122, ISOFileInfo.CHANNEL_SECURITY, ISOFileInfo.DATA_BYTES2, ISOFileInfo.LCS_BYTE, -122, -108, ISOFileInfo.SECURITY_ATTR_COMPACT, ISOFileInfo.SECURITY_ATTR_COMPACT, ISOFileInfo.ENV_TEMP_EF, ISOFileInfo.CHANNEL_SECURITY, -126, ISOFileInfo.SECURITY_ATTR_EXP, -124, -124, -109, ISOFileInfo.LCS_BYTE}, objArr4);
baseContext = (Context) cls2.getMethod((String) objArr4[0], new Class[0]).invoke(null, null);
}
if (baseContext != null) {
int i2 = p + 85;
y = i2 % 128;
int i3 = i2 % 2;
baseContext = baseContext.getApplicationContext();
}
if (baseContext != null) {
int i4 = p + 27;
y = i4 % 128;
int i5 = i4 % 2;
try {
Object obj = xzZ.y.get(125943855);
if (obj == null) {
obj = ((Class) xzZ.c(492 - (ViewConfiguration.getTouchSlop() >> 8), TextUtils.getOffsetBefore("", 0) + 5, (char) KeyEvent.keyCodeFromString(""))).getMethod("a", null);
xzZ.y.put(125943855, obj);
}
Object invoke = ((Method) obj).invoke(null, null);
Object[] objArr5 = new Object[1];
aB((char) (((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getResources().getString(R.string.default_points).substring(0, 2).codePointAt(0) - 45), new char[]{30693, 9053, 17610, 14048, 64960, 712, 31512, 40987, 31236, 63805, 5320, 3274, 19713, 23470, 19943, 52068, 5899, 47211, 15315, 27298, 32302, 49174, 46595, 13016, 11770, 21462, 57961, 41665, 43741, 14231, 33131, 57950, 20760, 55108, 49024, 33163, 37073, 2734, 22814, 30078, 43730, 38412, 59281, 7084, 36978, 56734, 56498, 47687}, new char[]{51009, 43194, 39178, 39263}, new char[]{0, 0, 0, 0}, View.getDefaultSize(0, 0), objArr5);
String str = (String) objArr5[0];
Object[] objArr6 = new Object[1];
aA(null, null, ((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getApplicationInfo().targetSdkVersion + 93, new byte[]{ISOFileInfo.SECURITY_ATTR_EXP, ISOFileInfo.DATA_BYTES2, -107, -106, -97, -100, ISOFileInfo.LCS_BYTE, -97, -107, -103, -97, ISOFileInfo.LCS_BYTE, -101, ISOFileInfo.A0, -97, ISOFileInfo.FILE_IDENTIFIER, -107, -106, -100, -103, -106, ISOFileInfo.DATA_BYTES2, -107, -106, -107, -107, -97, -103, ISOFileInfo.DATA_BYTES2, -103, -101, -101, -97, -98, -104, -102, ISOFileInfo.LCS_BYTE, -98, -106, -99, -105, ISOFileInfo.DATA_BYTES2, -106, ISOFileInfo.LCS_BYTE, -102, -100, -105, -106, -100, -101, -106, -102, -106, -102, -103, ISOFileInfo.SECURITY_ATTR_EXP, -104, -105, -107, -106, ISOFileInfo.SECURITY_ATTR_EXP, -106, -107, ISOFileInfo.SECURITY_ATTR_EXP}, objArr6);
String str2 = (String) objArr6[0];
Object[] objArr7 = new Object[1];
aA(null, null, ((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getResources().getString(R.string.easycash_success_result_description_cdx).substring(0, 115).codePointAt(14) - 3464, new byte[]{-101, ISOFileInfo.LCS_BYTE, -97, -103, ISOFileInfo.DATA_BYTES2, ISOFileInfo.A0, ISOFileInfo.DATA_BYTES2, -98, ISOFileInfo.A0, -98, -104, -106, -97, -102, ISOFileInfo.SECURITY_ATTR_EXP, -107, ISOFileInfo.SECURITY_ATTR_EXP, -106, ISOFileInfo.LCS_BYTE, ISOFileInfo.A0, -99, -103, -98, -103, -100, -100, -102, -103, -103, ISOFileInfo.DATA_BYTES2, -107, -105, ISOFileInfo.FILE_IDENTIFIER, -104, -106, -97, ISOFileInfo.SECURITY_ATTR_EXP, ISOFileInfo.A0, -97, ISOFileInfo.LCS_BYTE, -102, -101, -98, -100, -98, ISOFileInfo.A0, -107, ISOFileInfo.DATA_BYTES2, -97, -98, -105, -107, ISOFileInfo.SECURITY_ATTR_EXP, -99, -104, -102, ISOFileInfo.SECURITY_ATTR_EXP, ISOFileInfo.SECURITY_ATTR_EXP, -99, ISOFileInfo.DATA_BYTES2, -99, -98, -97, ISOFileInfo.DATA_BYTES2}, objArr7);
String str3 = (String) objArr7[0];
Object[] objArr8 = new Object[1];
aA(null, null, ((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getPackageName().length() + 114, new byte[]{-120, ISOFileInfo.CHANNEL_SECURITY, -126, ISOFileInfo.SECURITY_ATTR_EXP, -113, ISOFileInfo.SECURITY_ATTR_EXP, -94, -102, -113, -94, ISOFileInfo.CHANNEL_SECURITY, -120, ISOFileInfo.SECURITY_ATTR_EXP, ISOFileInfo.A5, -126, -122, -94, -122, ISOFileInfo.SECURITY_ATTR_COMPACT, ISOFileInfo.DATA_BYTES2, -94, -93, ISOFileInfo.PROP_INFO, ISOFileInfo.LCS_BYTE, ISOFileInfo.FCI_EXT, ISOFileInfo.SECURITY_ATTR_EXP, -124, ISOFileInfo.DATA_BYTES2, -109, -90, -120, ISOFileInfo.FILE_IDENTIFIER, -124, ISOFileInfo.DATA_BYTES2, -109, ISOFileInfo.A5, ISOFileInfo.FCI_EXT, ISOFileInfo.CHANNEL_SECURITY, -120, ISOFileInfo.DATA_BYTES2, ISOFileInfo.LCS_BYTE, ISOFileInfo.CHANNEL_SECURITY, ISOFileInfo.DATA_BYTES2, ISOFileInfo.SECURITY_ATTR_EXP, -124, -110, ISOFileInfo.CHANNEL_SECURITY, ISOFileInfo.FCI_EXT, -92, -126, ISOFileInfo.DATA_BYTES2, -107, -108, ISOFileInfo.DATA_BYTES2, -122, ISOFileInfo.LCS_BYTE, -124, ISOFileInfo.SECURITY_ATTR_EXP, -93, -93, ISOFileInfo.PROP_INFO, ISOFileInfo.LCS_BYTE, -93, ISOFileInfo.DATA_BYTES2, -122, -120, -94, -94, ISOFileInfo.A1, -120, ISOFileInfo.SECURITY_ATTR_COMPACT, ISOFileInfo.CHANNEL_SECURITY, ISOFileInfo.CHANNEL_SECURITY, -110}, objArr8);
String str4 = (String) objArr8[0];
Object[] objArr9 = new Object[1];
aB((char) (((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getResources().getString(R.string.recipients_group_counter).substring(36, 37).codePointAt(0) + 9857), new char[]{1043, 1328, 917, 28833, 36865}, new char[]{32891, 54990, 41407, 9766}, new char[]{0, 0, 0, 0}, ((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getResources().getString(R.string.auto_single_form_mailing_address_trok_format).substring(4, 10).codePointAt(2) - 1076441521, objArr9);
String str5 = (String) objArr9[0];
Object[] objArr10 = new Object[1];
aA(null, null, TextUtils.getOffsetAfter("", 0) + 127, new byte[]{ISOFileInfo.SECURITY_ATTR_EXP, -100, -103, -105, -103, ISOFileInfo.LCS_BYTE, ISOFileInfo.SECURITY_ATTR_EXP, -101, ISOFileInfo.DATA_BYTES2, -102, ISOFileInfo.LCS_BYTE, -102, -89, ISOFileInfo.LCS_BYTE, ISOFileInfo.SECURITY_ATTR_EXP, -107, ISOFileInfo.DATA_BYTES2, -89, -100, -100, -102, -105, -89, -107, ISOFileInfo.SECURITY_ATTR_EXP, -98, -106, -89, -98, -105, -104, ISOFileInfo.FILE_IDENTIFIER, -105, -102, ISOFileInfo.DATA_BYTES2, ISOFileInfo.SECURITY_ATTR_EXP}, 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(TextUtils.indexOf((CharSequence) "", '0', 0, 0) + 488, (ViewConfiguration.getKeyRepeatDelay() >> 16) + 5, (char) Color.blue(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, objArr11);
int i6 = p + 119;
y = i6 % 128;
if (i6 % 2 == 0) {
int i7 = 4 / 5;
}
} catch (Throwable th) {
Throwable cause = th.getCause();
if (cause == null) {
throw th;
}
throw cause;
}
}
}
super.onCreate(bundle);
setContentView(R.layout.2131558638);
ButterKnife.Dg_(this);
Z();
setTitle(R.string.customization_title);
getSupportActionBar().d(true);
this.f7533o = new UnselectedTileAdapter(this);
this.recyclerView.setLayoutManager(new GridLayoutManager(3, (byte) 0));
this.recyclerView.setAdapter(this.f7533o);
this.presenter.e((C4055bOk) this);
}
/* JADX WARN: Code restructure failed: missing block: B:10:0x006b, code lost:
return;
*/
/* JADX WARN: Code restructure failed: missing block: B:12:?, code lost:
return;
*/
/* JADX WARN: Code restructure failed: missing block: B:13:0x006c, code lost:
r4 = new o.C4056bOl(r1);
*/
/* JADX WARN: Code restructure failed: missing block: B:14:0x0073, code lost:
if (r2.f == 0) goto L25;
*/
/* JADX WARN: Code restructure failed: missing block: B:15:0x0075, code lost:
r1 = com.scb.phone.view.activity.landingpage.LifestyleCustomizationActivity.y + 89;
com.scb.phone.view.activity.landingpage.LifestyleCustomizationActivity.p = r1 % 128;
*/
/* JADX WARN: Code restructure failed: missing block: B:16:0x007e, code lost:
if ((r1 % 2) == 0) goto L24;
*/
/* JADX WARN: Code restructure failed: missing block: B:17:0x0081, code lost:
r4.e(r2.f);
*/
/* JADX WARN: Code restructure failed: missing block: B:18:0x0086, code lost:
r1 = com.scb.phone.view.activity.landingpage.LifestyleCustomizationActivity.y + 9;
com.scb.phone.view.activity.landingpage.LifestyleCustomizationActivity.p = r1 % 128;
*/
/* JADX WARN: Code restructure failed: missing block: B:19:0x008f, code lost:
if ((r1 % 2) == 0) goto L31;
*/
/* JADX WARN: Code restructure failed: missing block: B:20:0x0091, code lost:
r0 = 49 / 0;
*/
/* JADX WARN: Code restructure failed: missing block: B:21:0x0094, code lost:
return;
*/
/* JADX WARN: Code restructure failed: missing block: B:22:?, code lost:
return;
*/
/* JADX WARN: Code restructure failed: missing block: B:23:0x002c, code lost:
r1 = r6.presenter;
r2 = new o.C4054bOj();
*/
/* JADX WARN: Code restructure failed: missing block: B:24:0x0035, code lost:
if (r1.f == 0) goto L29;
*/
/* JADX WARN: Code restructure failed: missing block: B:25:0x0037, code lost:
r3 = com.scb.phone.view.activity.landingpage.LifestyleCustomizationActivity.y + 101;
com.scb.phone.view.activity.landingpage.LifestyleCustomizationActivity.p = r3 % 128;
r3 = r3 % 2;
r2.e(r1.f);
*/
/* JADX WARN: Code restructure failed: missing block: B:26:0x0045, code lost:
return;
*/
/* JADX WARN: Code restructure failed: missing block: B:27:?, code lost:
return;
*/
/* JADX WARN: Code restructure failed: missing block: B:29:0x002a, code lost:
if (r1.getBooleanExtra("EXTRA_IS_ERROR", false) != false) goto L9;
*/
/* JADX WARN: Code restructure failed: missing block: B:4:0x001c, code lost:
if (r1.getBooleanExtra("EXTRA_IS_ERROR", false) != false) goto L9;
*/
/* JADX WARN: Code restructure failed: missing block: B:5:0x0046, code lost:
r1 = r1.getParcelableArrayListExtra("EXTRA_UNSELECTED_TILES");
r2 = r6.presenter;
*/
/* JADX WARN: Code restructure failed: missing block: B:6:0x0052, code lost:
if (r1.isEmpty() == false) goto L19;
*/
/* JADX WARN: Code restructure failed: missing block: B:7:0x0054, code lost:
r1 = new o.C4053bOi();
*/
/* JADX WARN: Code restructure failed: missing block: B:8:0x005b, code lost:
if (r2.f == 0) goto L30;
*/
/* JADX WARN: Code restructure failed: missing block: B:9:0x005d, code lost:
r3 = com.scb.phone.view.activity.landingpage.LifestyleCustomizationActivity.p + 43;
com.scb.phone.view.activity.landingpage.LifestyleCustomizationActivity.y = r3 % 128;
r3 = r3 % 2;
r1.e(r2.f);
*/
@Override // o.dWX, 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 onStart() {
/*
r6 = this;
r0 = 2
int r1 = r0 % r0
int r1 = com.scb.phone.view.activity.landingpage.LifestyleCustomizationActivity.p
int r1 = r1 + 77
int r2 = r1 % 128
com.scb.phone.view.activity.landingpage.LifestyleCustomizationActivity.y = r2
int r1 = r1 % r0
java.lang.String r2 = "EXTRA_IS_ERROR"
r3 = 0
if (r1 != 0) goto L1f
super.onStart()
android.content.Intent r1 = r6.getIntent()
boolean r2 = r1.getBooleanExtra(r2, r3)
if (r2 == 0) goto L46
goto L2c
L1f:
super.onStart()
android.content.Intent r1 = r6.getIntent()
boolean r2 = r1.getBooleanExtra(r2, r3)
if (r2 == 0) goto L46
L2c:
o.bOk r1 = r6.presenter
o.bOj r2 = new o.bOj
r2.<init>()
T extends o.cYp r3 = r1.f
if (r3 == 0) goto L45
int r3 = com.scb.phone.view.activity.landingpage.LifestyleCustomizationActivity.y
int r3 = r3 + 101
int r4 = r3 % 128
com.scb.phone.view.activity.landingpage.LifestyleCustomizationActivity.p = r4
int r3 = r3 % r0
T extends o.cYp r0 = r1.f
r2.e(r0)
L45:
return
L46:
java.lang.String r2 = "EXTRA_UNSELECTED_TILES"
java.util.ArrayList r1 = r1.getParcelableArrayListExtra(r2)
o.bOk r2 = r6.presenter
boolean r4 = r1.isEmpty()
if (r4 == 0) goto L6c
o.bOi r1 = new o.bOi
r1.<init>()
T extends o.cYp r3 = r2.f
if (r3 == 0) goto L6b
int r3 = com.scb.phone.view.activity.landingpage.LifestyleCustomizationActivity.p
int r3 = r3 + 43
int r4 = r3 % 128
com.scb.phone.view.activity.landingpage.LifestyleCustomizationActivity.y = r4
int r3 = r3 % r0
T extends o.cYp r0 = r2.f
r1.e(r0)
L6b:
return
L6c:
o.bOl r4 = new o.bOl
r4.<init>(r1)
T extends o.cYp r1 = r2.f
if (r1 == 0) goto L86
int r1 = com.scb.phone.view.activity.landingpage.LifestyleCustomizationActivity.y
int r1 = r1 + 89
int r5 = r1 % 128
com.scb.phone.view.activity.landingpage.LifestyleCustomizationActivity.p = r5
int r1 = r1 % r0
if (r1 == 0) goto L81
goto L86
L81:
T extends o.cYp r1 = r2.f
r4.e(r1)
L86:
int r1 = com.scb.phone.view.activity.landingpage.LifestyleCustomizationActivity.y
int r1 = r1 + 9
int r2 = r1 % 128
com.scb.phone.view.activity.landingpage.LifestyleCustomizationActivity.p = r2
int r1 = r1 % r0
if (r1 == 0) goto L94
r0 = 49
int r0 = r0 / r3
L94:
return
*/
throw new UnsupportedOperationException("Method not decompiled: com.scb.phone.view.activity.landingpage.LifestyleCustomizationActivity.onStart():void");
}
@Override // com.scb.phone.view.activity.BaseActivity, com.scb.phone.view.activity.PreLoadCheckActivity, androidx.appcompat.app.AppCompatActivity, androidx.fragment.app.FragmentActivity, android.app.Activity
public void onDestroy() {
int i = 2 % 2;
int i2 = p + 27;
y = i2 % 128;
int i3 = i2 % 2;
super.onDestroy();
this.presenter.w_();
int i4 = y + 41;
p = i4 % 128;
int i5 = i4 % 2;
}
private static void aA(int[] iArr, char[] cArr, int i, byte[] bArr, Object[] objArr) {
int i2;
int length;
char[] cArr2;
int i3;
int i4 = 2 % 2;
C3614bBe c3614bBe = new C3614bBe();
char[] cArr3 = k;
if (cArr3 != null) {
int i5 = $10 + 121;
$11 = i5 % 128;
if (i5 % 2 == 0) {
length = cArr3.length;
cArr2 = new char[length];
i3 = 1;
} else {
length = cArr3.length;
cArr2 = new char[length];
i3 = 0;
}
while (i3 < length) {
try {
Object[] objArr2 = {Integer.valueOf(cArr3[i3])};
Object obj = xzZ.y.get(-950481649);
if (obj == null) {
Class cls = (Class) xzZ.c(337 - (ViewConfiguration.getFadingEdgeLength() >> 16), (ViewConfiguration.getTapTimeout() >> 16) + 5, (char) ((Process.getThreadPriority(0) + 20) >> 6));
byte b = (byte) 0;
byte b2 = b;
Object[] objArr3 = new Object[1];
aC(b, b2, b2, objArr3);
obj = cls.getMethod((String) objArr3[0], Integer.TYPE);
xzZ.y.put(-950481649, obj);
}
cArr2[i3] = ((Character) ((Method) obj).invoke(null, objArr2)).charValue();
i3++;
} catch (Throwable th) {
Throwable cause = th.getCause();
if (cause == null) {
throw th;
}
throw cause;
}
}
int i6 = $10 + 25;
$11 = i6 % 128;
int i7 = i6 % 2;
cArr3 = cArr2;
}
Object[] objArr4 = {Integer.valueOf(l)};
Object obj2 = xzZ.y.get(-1521625011);
if (obj2 == null) {
Class cls2 = (Class) xzZ.c(331 - AndroidCharacter.getMirror('0'), (ViewConfiguration.getKeyRepeatTimeout() >> 16) + 5, (char) ((ViewConfiguration.getDoubleTapTimeout() >> 16) + 39813));
byte b3 = (byte) 0;
Object[] objArr5 = new Object[1];
aC((byte) 57, b3, b3, objArr5);
obj2 = cls2.getMethod((String) objArr5[0], Integer.TYPE);
xzZ.y.put(-1521625011, obj2);
}
int intValue = ((Integer) ((Method) obj2).invoke(null, objArr4)).intValue();
if (t) {
c3614bBe.c = bArr.length;
char[] cArr4 = new char[c3614bBe.c];
c3614bBe.a = 0;
while (c3614bBe.a < c3614bBe.c) {
int i8 = $10 + 83;
$11 = i8 % 128;
int i9 = i8 % 2;
cArr4[c3614bBe.a] = (char) (cArr3[bArr[(c3614bBe.c - 1) - c3614bBe.a] + i] - intValue);
Object[] objArr6 = {c3614bBe, c3614bBe};
Object obj3 = xzZ.y.get(1779759091);
if (obj3 == null) {
obj3 = ((Class) xzZ.c(41 - (Process.getElapsedCpuTime() > 0L ? 1 : (Process.getElapsedCpuTime() == 0L ? 0 : -1)), 5 - View.resolveSize(0, 0), (char) (ViewConfiguration.getMaximumDrawingCacheSize() >> 24))).getMethod("D", Object.class, Object.class);
xzZ.y.put(1779759091, obj3);
}
((Method) obj3).invoke(null, objArr6);
}
objArr[0] = new String(cArr4);
return;
}
if (!m) {
c3614bBe.c = iArr.length;
char[] cArr5 = new char[c3614bBe.c];
c3614bBe.a = 0;
while (c3614bBe.a < c3614bBe.c) {
int i10 = $10 + 39;
$11 = i10 % 128;
if (i10 % 2 == 0) {
int i11 = c3614bBe.a;
int i12 = c3614bBe.c;
int i13 = c3614bBe.a;
cArr5[i11] = (char) (cArr3[iArr[0] * i] << intValue);
i2 = c3614bBe.a % 0;
} else {
cArr5[c3614bBe.a] = (char) (cArr3[iArr[(c3614bBe.c - 1) - c3614bBe.a] - i] - intValue);
i2 = c3614bBe.a + 1;
}
c3614bBe.a = i2;
}
objArr[0] = new String(cArr5);
return;
}
int i14 = $11 + 67;
$10 = i14 % 128;
int i15 = i14 % 2;
c3614bBe.c = cArr.length;
char[] cArr6 = new char[c3614bBe.c];
c3614bBe.a = 0;
while (c3614bBe.a < c3614bBe.c) {
int i16 = $10 + 5;
$11 = i16 % 128;
if (i16 % 2 == 0) {
cArr6[c3614bBe.a] = (char) (cArr3[cArr[(c3614bBe.c % 0) << c3614bBe.a] + i] >>> intValue);
Object[] objArr7 = {c3614bBe, c3614bBe};
Object obj4 = xzZ.y.get(1779759091);
if (obj4 == null) {
obj4 = ((Class) xzZ.c(TextUtils.lastIndexOf("", '0', 0) + 41, 6 - (SystemClock.currentThreadTimeMillis() > (-1L) ? 1 : (SystemClock.currentThreadTimeMillis() == (-1L) ? 0 : -1)), (char) ((Process.getThreadPriority(0) + 20) >> 6))).getMethod("D", Object.class, Object.class);
xzZ.y.put(1779759091, obj4);
}
((Method) obj4).invoke(null, objArr7);
} else {
cArr6[c3614bBe.a] = (char) (cArr3[cArr[(c3614bBe.c - 1) - c3614bBe.a] - i] - intValue);
Object[] objArr8 = {c3614bBe, c3614bBe};
Object obj5 = xzZ.y.get(1779759091);
if (obj5 == null) {
obj5 = ((Class) xzZ.c((ViewConfiguration.getScrollFriction() > BitmapDescriptorFactory.HUE_RED ? 1 : (ViewConfiguration.getScrollFriction() == BitmapDescriptorFactory.HUE_RED ? 0 : -1)) + 39, 6 - (SystemClock.elapsedRealtime() > 0L ? 1 : (SystemClock.elapsedRealtime() == 0L ? 0 : -1)), (char) ((-1) - TextUtils.indexOf((CharSequence) "", '0', 0, 0)))).getMethod("D", Object.class, Object.class);
xzZ.y.put(1779759091, obj5);
}
((Method) obj5).invoke(null, objArr8);
}
}
objArr[0] = new String(cArr6);
}
@Override // o.InterfaceC9442djn
public final void b() {
int i = 2 % 2;
int i2 = p + 33;
y = i2 % 128;
if (i2 % 2 == 0) {
this.normalStateContainer.setVisibility(124);
this.emptyStateContainer.setVisibility(0);
this.errorStateContainer.setVisibility(108);
} else {
this.normalStateContainer.setVisibility(8);
this.emptyStateContainer.setVisibility(0);
this.errorStateContainer.setVisibility(8);
}
int i3 = y + 75;
p = i3 % 128;
int i4 = i3 % 2;
}
@Override // o.InterfaceC9442djn
public final void e() {
int i = 2 % 2;
int i2 = y + 61;
p = i2 % 128;
int i3 = i2 % 2;
this.normalStateContainer.setVisibility(8);
this.emptyStateContainer.setVisibility(8);
this.errorStateContainer.setVisibility(0);
int i4 = p + 49;
y = i4 % 128;
if (i4 % 2 == 0) {
int i5 = 19 / 0;
}
}
@Override // o.InterfaceC9442djn
public final void c(List<C0914Rk> list) {
int i = 2 % 2;
int i2 = p + 13;
y = i2 % 128;
int i3 = i2 % 2;
UnselectedTileAdapter unselectedTileAdapter = this.f7533o;
unselectedTileAdapter.d.clear();
unselectedTileAdapter.d.addAll(list);
unselectedTileAdapter.notifyDataSetChanged();
int i4 = p + 105;
y = i4 % 128;
if (i4 % 2 == 0) {
throw null;
}
}
@Override // o.InterfaceC9442djn
public final void b(List<C0907Rf.Sts> list) {
int i = 2 % 2;
setResult(-1, new Intent().putParcelableArrayListExtra("EXTRA_STATIC_TILES", new ArrayList<>(list)));
finish();
int i2 = p + 81;
y = i2 % 128;
int i3 = i2 % 2;
}
@Override // o.InterfaceC9442djn
public final void d() {
int i = 2 % 2;
int i2 = y + 29;
p = i2 % 128;
int i3 = i2 % 2;
setResult(-1);
finish();
int i4 = p + 85;
y = i4 % 128;
if (i4 % 2 == 0) {
int i5 = 89 / 0;
}
}
@Override // com.scb.phone.view.adapter.landingpage.UnselectedTileAdapter.IeS
public final void e(List<C0914Rk> list) {
int i = 2 % 2;
int i2 = y + 53;
p = i2 % 128;
int i3 = i2 % 2;
this.addButton.setEnabled(!list.isEmpty());
int i4 = p + 17;
y = i4 % 128;
if (i4 % 2 == 0) {
int i5 = 34 / 0;
}
}
@OnClick
public void onAddClick() {
int i = 2 % 2;
final C4055bOk c4055bOk = this.presenter;
YKU yku = new YKU(this.f7533o.d());
List<Integer> list = (List) new YKU(yku.a, new wxK(yku.b, new InterfaceC1244Ytw() { // from class: o.bOn
@Override // o.InterfaceC1244Ytw
public final Object d(Object obj) {
return Integer.valueOf(((C0914Rk) obj).a);
}
})).a(new PRA.Sts(new PRA.AnonymousClass4(), new PRA.AnonymousClass8()));
ZI.IeS ieS = new ZI.IeS() { // from class: o.bOm
@Override // o.ZI.IeS
public final void e(Object obj) {
((InterfaceC9442djn) obj).y();
}
};
if (c4055bOk.f != 0) {
int i2 = y + 39;
int i3 = i2 % 128;
p = i3;
int i4 = i2 % 2;
int i5 = i3 + 79;
y = i5 % 128;
int i6 = i5 % 2;
ieS.e(c4055bOk.f);
}
final wMf wmf = c4055bOk.a;
wmf.d(wmf.b.e(list, true).flatMap(new fSS(wmf) { // from class: o.cbb
private wMf d;
@Override // o.fSS
public final Object a(Object obj) {
KJS kjs = this.d.c;
InterfaceC13661feY interfaceC13661feY = kjs.e;
C8064dAG a = kjs.b.a();
return interfaceC13661feY.c(true, (a == null || a.r == null) ? false : a.r.Y);
}
{
this.d = wmf;
}
}), new fSQ(c4055bOk) { // from class: o.bOq
private C4055bOk e;
@Override // o.fSQ
public final void c(Object obj) {
C4055bOk.c(this.e, (List) obj);
}
{
this.e = c4055bOk;
}
}, new fSQ(c4055bOk) { // from class: o.bOo
private C4055bOk e;
@Override // o.fSQ
public final void c(Object obj) {
C4055bOk.a(this.e, (Throwable) obj);
}
{
this.e = c4055bOk;
}
});
}
public static /* synthetic */ void aib_(DialogInterface dialogInterface) {
int i = 2 % 2;
int i2 = y + 43;
p = i2 % 128;
int i3 = i2 % 2;
Object obj = null;
dialogInterface.dismiss();
if (i3 != 0) {
obj.hashCode();
throw null;
}
int i4 = y + 69;
p = i4 % 128;
if (i4 % 2 == 0) {
return;
}
obj.hashCode();
throw null;
}
@OnClick
public void onResetClick() {
TextView textView;
int i;
int i2 = 2 % 2;
int i3 = y + 39;
p = i3 % 128;
int i4 = i3 % 2;
CustomDialog c = CustomDialog.b(this).c(R.string.customization_reset);
String string = getString(R.string.customization_reset_message);
if (gjJ.a(string)) {
int i5 = p + 77;
y = i5 % 128;
if (i5 % 2 == 0) {
textView = c.mTextTextView;
i = 1;
} else {
textView = c.mTextTextView;
i = 0;
}
textView.setVisibility(i);
c.mTextTextView.setText(string);
}
((CustomDialog) CustomDialog.e(new Object[]{c.aoT_(R.string.customization_reset_confirm, new DialogInterface.OnClickListener(this) { // from class: o.dXb
private LifestyleCustomizationActivity c;
@Override // android.content.DialogInterface.OnClickListener
public final void onClick(DialogInterface dialogInterface, int i6) {
LifestyleCustomizationActivity.ahY_(this.c, dialogInterface);
}
{
this.c = this;
}
}), Integer.valueOf(R.string.customization_reset_cancel), new DialogInterface.OnClickListener() { // from class: o.dXa
@Override // android.content.DialogInterface.OnClickListener
public final void onClick(DialogInterface dialogInterface, int i6) {
LifestyleCustomizationActivity.aib_(dialogInterface);
}
}})).show();
}
@Override // o.dWX, 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) {
int i2 = p + 33;
y = i2 % 128;
int i3 = i2 % 2;
Object[] objArr = new Object[1];
aA(null, null, ((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getPackageName().codePointAt(6) + 29, new byte[]{ISOFileInfo.FILE_IDENTIFIER, ISOFileInfo.DATA_BYTES2, ISOFileInfo.SECURITY_ATTR_EXP, -124, -110, -111, -112, ISOFileInfo.CHANNEL_SECURITY, -122, -113, -122, ISOFileInfo.CHANNEL_SECURITY, ISOFileInfo.LCS_BYTE, ISOFileInfo.ENV_TEMP_EF, ISOFileInfo.FCI_EXT, ISOFileInfo.SECURITY_ATTR_COMPACT, ISOFileInfo.SECURITY_ATTR_COMPACT, ISOFileInfo.DATA_BYTES2, ISOFileInfo.FCI_EXT, ISOFileInfo.FILE_IDENTIFIER, -122, ISOFileInfo.PROP_INFO, -124, ISOFileInfo.FILE_IDENTIFIER, -126, ISOFileInfo.DATA_BYTES2}, objArr);
Class<?> cls = Class.forName((String) objArr[0]);
Object[] objArr2 = new Object[1];
aA(null, null, ((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getResources().getString(R.string.your_new_pin).substring(8, 9).length() + 126, new byte[]{-126, ISOFileInfo.PROP_INFO, -122, ISOFileInfo.CHANNEL_SECURITY, ISOFileInfo.DATA_BYTES2, ISOFileInfo.LCS_BYTE, -122, -108, ISOFileInfo.SECURITY_ATTR_COMPACT, ISOFileInfo.SECURITY_ATTR_COMPACT, ISOFileInfo.ENV_TEMP_EF, ISOFileInfo.CHANNEL_SECURITY, -126, ISOFileInfo.SECURITY_ATTR_EXP, -124, -124, -109, ISOFileInfo.LCS_BYTE}, objArr2);
baseContext = (Context) cls.getMethod((String) objArr2[0], new Class[0]).invoke(null, null);
}
if (baseContext != null) {
baseContext = baseContext.getApplicationContext();
}
if (baseContext != null) {
int i4 = y + 75;
p = i4 % 128;
try {
if (i4 % 2 != 0) {
Object obj = xzZ.y.get(125943855);
if (obj == null) {
obj = ((Class) xzZ.c(ExpandableListView.getPackedPositionType(0L) + 492, (KeyEvent.getMaxKeyCode() >> 16) + 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.resolveSize(0, 0), 4 - Process.getGidForName(""), (char) (ViewConfiguration.getFadingEdgeLength() >> 16))).getMethod(KtaJsonExactionHelper.OBJECT, Context.class);
xzZ.y.put(1378719468, obj2);
}
((Method) obj2).invoke(invoke, objArr3);
int i5 = 87 / 0;
} else {
Object obj3 = xzZ.y.get(125943855);
if (obj3 == null) {
obj3 = ((Class) xzZ.c(View.combineMeasuredStates(0, 0) + 492, Process.getGidForName("") + 6, (char) (TextUtils.lastIndexOf("", '0', 0) + 1))).getMethod("a", null);
xzZ.y.put(125943855, obj3);
}
Object invoke2 = ((Method) obj3).invoke(null, null);
Object[] objArr4 = {baseContext};
Object obj4 = xzZ.y.get(1378719468);
if (obj4 == null) {
obj4 = ((Class) xzZ.c(486 - ExpandableListView.getPackedPositionChild(0L), TextUtils.indexOf((CharSequence) "", '0', 0, 0) + 6, (char) Color.red(0))).getMethod(KtaJsonExactionHelper.OBJECT, Context.class);
xzZ.y.put(1378719468, obj4);
}
((Method) obj4).invoke(invoke2, objArr4);
}
} catch (Throwable th) {
Throwable cause = th.getCause();
if (cause == null) {
throw th;
}
throw cause;
}
}
super.onResume();
}
@Override // o.dWX, 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 = p + 123;
y = i2 % 128;
int i3 = i2 % 2;
Context baseContext = getBaseContext();
if (baseContext == null) {
int i4 = y + 45;
p = i4 % 128;
int i5 = i4 % 2;
Object[] objArr = new Object[1];
aA(null, null, ((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getResources().getString(R.string.input_income_remarks).substring(31, 32).codePointAt(0) + 95, new byte[]{ISOFileInfo.FILE_IDENTIFIER, ISOFileInfo.DATA_BYTES2, ISOFileInfo.SECURITY_ATTR_EXP, -124, -110, -111, -112, ISOFileInfo.CHANNEL_SECURITY, -122, -113, -122, ISOFileInfo.CHANNEL_SECURITY, ISOFileInfo.LCS_BYTE, ISOFileInfo.ENV_TEMP_EF, ISOFileInfo.FCI_EXT, ISOFileInfo.SECURITY_ATTR_COMPACT, ISOFileInfo.SECURITY_ATTR_COMPACT, ISOFileInfo.DATA_BYTES2, ISOFileInfo.FCI_EXT, ISOFileInfo.FILE_IDENTIFIER, -122, ISOFileInfo.PROP_INFO, -124, ISOFileInfo.FILE_IDENTIFIER, -126, ISOFileInfo.DATA_BYTES2}, objArr);
Class<?> cls = Class.forName((String) objArr[0]);
Object[] objArr2 = new Object[1];
aA(null, null, ((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getApplicationInfo().targetSdkVersion + 93, new byte[]{-126, ISOFileInfo.PROP_INFO, -122, ISOFileInfo.CHANNEL_SECURITY, ISOFileInfo.DATA_BYTES2, ISOFileInfo.LCS_BYTE, -122, -108, ISOFileInfo.SECURITY_ATTR_COMPACT, ISOFileInfo.SECURITY_ATTR_COMPACT, ISOFileInfo.ENV_TEMP_EF, ISOFileInfo.CHANNEL_SECURITY, -126, ISOFileInfo.SECURITY_ATTR_EXP, -124, -124, -109, ISOFileInfo.LCS_BYTE}, 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(492 - (TypedValue.complexToFloat(0) > BitmapDescriptorFactory.HUE_RED ? 1 : (TypedValue.complexToFloat(0) == BitmapDescriptorFactory.HUE_RED ? 0 : -1)), (ViewConfiguration.getTapTimeout() >> 16) + 5, (char) (ViewConfiguration.getLongPressTimeout() >> 16))).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(488 - (ViewConfiguration.getZoomControlsTimeout() > 0L ? 1 : (ViewConfiguration.getZoomControlsTimeout() == 0L ? 0 : -1)), View.getDefaultSize(0, 0) + 5, (char) (ExpandableListView.getPackedPositionForGroup(0) > 0L ? 1 : (ExpandableListView.getPackedPositionForGroup(0) == 0L ? 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();
}
@Override // o.dWX, 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];
aA(null, null, 127 - View.MeasureSpec.makeMeasureSpec(0, 0), new byte[]{-120, -120, ISOFileInfo.SECURITY_ATTR_EXP, ISOFileInfo.LCS_BYTE, ISOFileInfo.PROP_INFO, -124, -119, ISOFileInfo.FCI_EXT, -120, ISOFileInfo.PROP_INFO, ISOFileInfo.FCI_EXT, ISOFileInfo.FILE_IDENTIFIER, -122, ISOFileInfo.PROP_INFO, -124, ISOFileInfo.FILE_IDENTIFIER, -126, ISOFileInfo.DATA_BYTES2}, objArr);
Class<?> cls = Class.forName((String) objArr[0]);
Object[] objArr2 = new Object[1];
aB((char) (56017 - TextUtils.getCapsMode("", 0, 0)), new char[]{40933, 17723, 32509, 65487, 18140}, new char[]{2408, 19841, 53578, 36314}, new char[]{0, 0, 0, 0}, 1246593290 + ExpandableListView.getPackedPositionChild(0L), 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 = y + 97;
p = i2 % 128;
int i3 = i2 % 2;
context2 = context.getApplicationContext();
int i4 = y + 123;
p = i4 % 128;
int i5 = i4 % 2;
} else {
context2 = context;
}
if (context2 != null) {
int i6 = p + 93;
y = i6 % 128;
int i7 = i6 % 2;
try {
Object obj = xzZ.y.get(125943855);
if (obj == null) {
obj = ((Class) xzZ.c(492 - TextUtils.indexOf("", ""), 6 - (Process.getElapsedCpuTime() > 0L ? 1 : (Process.getElapsedCpuTime() == 0L ? 0 : -1)), (char) ExpandableListView.getPackedPositionGroup(0L))).getMethod("a", null);
xzZ.y.put(125943855, obj);
}
Object invoke = ((Method) obj).invoke(null, null);
Object[] objArr3 = new Object[1];
aB((char) (MotionEvent.axisFromString("") + 1), new char[]{30693, 9053, 17610, 14048, 64960, 712, 31512, 40987, 31236, 63805, 5320, 3274, 19713, 23470, 19943, 52068, 5899, 47211, 15315, 27298, 32302, 49174, 46595, 13016, 11770, 21462, 57961, 41665, 43741, 14231, 33131, 57950, 20760, 55108, 49024, 33163, 37073, 2734, 22814, 30078, 43730, 38412, 59281, 7084, 36978, 56734, 56498, 47687}, new char[]{51009, 43194, 39178, 39263}, new char[]{0, 0, 0, 0}, (-1) - (ExpandableListView.getPackedPositionForChild(0, 0) > 0L ? 1 : (ExpandableListView.getPackedPositionForChild(0, 0) == 0L ? 0 : -1)), objArr3);
String str = (String) objArr3[0];
Object[] objArr4 = new Object[1];
aA(null, null, 127 - (ViewConfiguration.getTouchSlop() >> 8), new byte[]{ISOFileInfo.SECURITY_ATTR_EXP, ISOFileInfo.DATA_BYTES2, -107, -106, -97, -100, ISOFileInfo.LCS_BYTE, -97, -107, -103, -97, ISOFileInfo.LCS_BYTE, -101, ISOFileInfo.A0, -97, ISOFileInfo.FILE_IDENTIFIER, -107, -106, -100, -103, -106, ISOFileInfo.DATA_BYTES2, -107, -106, -107, -107, -97, -103, ISOFileInfo.DATA_BYTES2, -103, -101, -101, -97, -98, -104, -102, ISOFileInfo.LCS_BYTE, -98, -106, -99, -105, ISOFileInfo.DATA_BYTES2, -106, ISOFileInfo.LCS_BYTE, -102, -100, -105, -106, -100, -101, -106, -102, -106, -102, -103, ISOFileInfo.SECURITY_ATTR_EXP, -104, -105, -107, -106, ISOFileInfo.SECURITY_ATTR_EXP, -106, -107, ISOFileInfo.SECURITY_ATTR_EXP}, objArr4);
String str2 = (String) objArr4[0];
Object[] objArr5 = new Object[1];
aA(null, null, 128 - (SystemClock.uptimeMillis() > 0L ? 1 : (SystemClock.uptimeMillis() == 0L ? 0 : -1)), new byte[]{-101, ISOFileInfo.LCS_BYTE, -97, -103, ISOFileInfo.DATA_BYTES2, ISOFileInfo.A0, ISOFileInfo.DATA_BYTES2, -98, ISOFileInfo.A0, -98, -104, -106, -97, -102, ISOFileInfo.SECURITY_ATTR_EXP, -107, ISOFileInfo.SECURITY_ATTR_EXP, -106, ISOFileInfo.LCS_BYTE, ISOFileInfo.A0, -99, -103, -98, -103, -100, -100, -102, -103, -103, ISOFileInfo.DATA_BYTES2, -107, -105, ISOFileInfo.FILE_IDENTIFIER, -104, -106, -97, ISOFileInfo.SECURITY_ATTR_EXP, ISOFileInfo.A0, -97, ISOFileInfo.LCS_BYTE, -102, -101, -98, -100, -98, ISOFileInfo.A0, -107, ISOFileInfo.DATA_BYTES2, -97, -98, -105, -107, ISOFileInfo.SECURITY_ATTR_EXP, -99, -104, -102, ISOFileInfo.SECURITY_ATTR_EXP, ISOFileInfo.SECURITY_ATTR_EXP, -99, ISOFileInfo.DATA_BYTES2, -99, -98, -97, ISOFileInfo.DATA_BYTES2}, objArr5);
String str3 = (String) objArr5[0];
Object[] objArr6 = new Object[1];
aA(null, null, 127 - Color.green(0), new byte[]{-120, ISOFileInfo.CHANNEL_SECURITY, -126, ISOFileInfo.SECURITY_ATTR_EXP, -113, ISOFileInfo.SECURITY_ATTR_EXP, -94, -102, -113, -94, ISOFileInfo.CHANNEL_SECURITY, -120, ISOFileInfo.SECURITY_ATTR_EXP, ISOFileInfo.A5, -126, -122, -94, -122, ISOFileInfo.SECURITY_ATTR_COMPACT, ISOFileInfo.DATA_BYTES2, -94, -93, ISOFileInfo.PROP_INFO, ISOFileInfo.LCS_BYTE, ISOFileInfo.FCI_EXT, ISOFileInfo.SECURITY_ATTR_EXP, -124, ISOFileInfo.DATA_BYTES2, -109, -90, -120, ISOFileInfo.FILE_IDENTIFIER, -124, ISOFileInfo.DATA_BYTES2, -109, ISOFileInfo.A5, ISOFileInfo.FCI_EXT, ISOFileInfo.CHANNEL_SECURITY, -120, ISOFileInfo.DATA_BYTES2, ISOFileInfo.LCS_BYTE, ISOFileInfo.CHANNEL_SECURITY, ISOFileInfo.DATA_BYTES2, ISOFileInfo.SECURITY_ATTR_EXP, -124, -110, ISOFileInfo.CHANNEL_SECURITY, ISOFileInfo.FCI_EXT, -92, -126, ISOFileInfo.DATA_BYTES2, -107, -108, ISOFileInfo.DATA_BYTES2, -122, ISOFileInfo.LCS_BYTE, -124, ISOFileInfo.SECURITY_ATTR_EXP, -93, -93, ISOFileInfo.PROP_INFO, ISOFileInfo.LCS_BYTE, -93, ISOFileInfo.DATA_BYTES2, -122, -120, -94, -94, ISOFileInfo.A1, -120, ISOFileInfo.SECURITY_ATTR_COMPACT, ISOFileInfo.CHANNEL_SECURITY, ISOFileInfo.CHANNEL_SECURITY, -110}, objArr6);
String str4 = (String) objArr6[0];
Object[] objArr7 = new Object[1];
aB((char) (View.resolveSizeAndState(0, 0, 0) + 9889), new char[]{1043, 1328, 917, 28833, 36865}, new char[]{32891, 54990, 41407, 9766}, new char[]{0, 0, 0, 0}, (-1076441472) - View.getDefaultSize(0, 0), objArr7);
String str5 = (String) objArr7[0];
Object[] objArr8 = new Object[1];
aA(null, null, 127 - View.MeasureSpec.getMode(0), new byte[]{ISOFileInfo.SECURITY_ATTR_EXP, -100, -103, -105, -103, ISOFileInfo.LCS_BYTE, ISOFileInfo.SECURITY_ATTR_EXP, -101, ISOFileInfo.DATA_BYTES2, -102, ISOFileInfo.LCS_BYTE, -102, -89, ISOFileInfo.LCS_BYTE, ISOFileInfo.SECURITY_ATTR_EXP, -107, ISOFileInfo.DATA_BYTES2, -89, -100, -100, -102, -105, -89, -107, ISOFileInfo.SECURITY_ATTR_EXP, -98, -106, -89, -98, -105, -104, ISOFileInfo.FILE_IDENTIFIER, -105, -102, ISOFileInfo.DATA_BYTES2, ISOFileInfo.SECURITY_ATTR_EXP}, 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(View.MeasureSpec.makeMeasureSpec(0, 0) + 487, 5 - TextUtils.getOffsetBefore("", 0), (char) View.MeasureSpec.getSize(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);
} catch (Throwable th) {
Throwable cause = th.getCause();
if (cause == null) {
throw th;
}
throw cause;
}
}
}
}
public static /* synthetic */ void ahY_(LifestyleCustomizationActivity lifestyleCustomizationActivity, DialogInterface dialogInterface) {
int i = 2 % 2;
dialogInterface.dismiss();
C4055bOk c4055bOk = lifestyleCustomizationActivity.presenter;
if (c4055bOk.f != 0) {
int i2 = y + 111;
p = i2 % 128;
int i3 = i2 % 2;
c4055bOk.f.y();
}
c4055bOk.a.c();
wMf wmf = c4055bOk.a;
wmf.d(wmf.i, new C4055bOk.RVV(c4055bOk, (byte) 0));
int i4 = p + 69;
y = i4 % 128;
if (i4 % 2 != 0) {
return;
}
Object obj = null;
obj.hashCode();
throw null;
}
@Override // o.InterfaceC9442djn
public final void a() {
e(new Object[]{this}, 162281843, -162281843, ((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getApplicationInfo().targetSdkVersion - 1036754123);
}
public static Intent aia_(Activity activity) {
return (Intent) e(new Object[]{activity}, -1823246171, 1823246172, (int) System.currentTimeMillis());
}
}