what-the-bank/sources/com/scb/phone/view/activity/investment/scbs/AddAccountConsentActivity.java

828 lines
44 KiB
Java
Raw Permalink Normal View History

2024-07-27 18:17:47 +07:00
package com.scb.phone.view.activity.investment.scbs;
import android.content.Context;
import android.content.DialogInterface;
import android.content.Intent;
import android.graphics.Color;
import android.graphics.ImageFormat;
import android.media.AudioTrack;
import android.os.Bundle;
import android.os.Process;
import android.os.SystemClock;
import android.text.TextUtils;
import android.view.Gravity;
import android.view.KeyEvent;
import android.view.View;
import android.view.ViewConfiguration;
import android.widget.ExpandableListView;
import androidx.fragment.app.Fragment;
import butterknife.ButterKnife;
import com.google.android.gms.maps.model.BitmapDescriptorFactory;
import com.kofax.mobile.sdk._internal.impl.extraction.kta.KtaJsonExactionHelper;
import com.scb.phone.R;
import com.scb.phone.view.activity.debitatm.AddAccountOtpActivity;
import com.scb.phone.view.activity.investment.scbs.AddAccountConsentActivity;
import com.scb.phone.view.activity.profilemanagement.accounts.AddAccountsActivity;
import com.scb.phone.view.custom.common.CustomDialog;
import com.scb.phone.view.fragment.TermsAndConditionsFragment;
import java.lang.reflect.Method;
import o.AbstractActivityC8767dVa;
import o.AbstractC13482fbE;
import o.C0371Fd;
import o.C3768bGK;
import o.EX;
import o.GuL;
import o.InterfaceC12853fJD;
import o.InterfaceC13391fZD;
import o.InterfaceC9351diB;
import o.UJ;
import o.UN;
import o.gjJ;
import o.pug;
import o.xzZ;
import okhttp3.internal.http2.Http2Connection;
import org.bouncycastle.crypto.tls.CipherSuite;
/* loaded from: classes5.dex */
public class AddAccountConsentActivity extends AbstractActivityC8767dVa implements InterfaceC9351diB, InterfaceC12853fJD {
@InterfaceC13391fZD
public C3768bGK presenter;
private static final byte[] $$p = {70, -37, 38, -31};
private static final int $$q = CipherSuite.TLS_DH_DSS_WITH_CAMELLIA_256_CBC_SHA256;
private static int $10 = 0;
private static int $11 = 1;
private static int s = 0;
private static int q = 1;
private static char[] k = {36787, 59543, 16864, 47649, 4881, 35948, 58548, 24017, 46821, 12066, 34898, 57691, 22948, 45714, 11243, 33842, 64785, 22138, 36799, 59520, 16849, 47674, 4890, 36787, 59543, 16864, 47649, 4881, 35948, 58548, 24017, 46827, 12065, 34828, 57637, 22935, 45726, 11260, 33854, 64788, 22112, 52896, 10138, 32986, 63805, 21010, 52074, 9147, 40069, 23439, 15538, 38344, 28191, 50981, 22613, 12442, 35200, 25284, 64287, 23598, 13660, 36235, 26274, 65474, 20480, 10547, 33369, 36787, 59585, 16820, 47712, 4895, 35894, 58549, 23962, 46776, 12136, 34895, 57710, 22964, 45769, 11192, 33903, 64771, 22123, 52914, 10195, 32959, 63845, 21079, 52029, 9145, 40153, 62954, 28222, 51038, 8251, 39137, 61827, 27270, 49979, 15365, 38150, 3563, 26327, 57217, 14446, 37215, 2561, 25321, 56280, 13520, 44350, 1630, 32594, 55200, 12428, 43398, 635, 31576, 54284, 19696, 42377, 7818, 30496, 53258, 18778, 41459, 6869, 29659, 60528, 36794, 59533, 16880, 47651, 4877, 35903, 58623, 24016, 46841, 12088, 34845, 57702, 22965, 45714, 11237, 33850, 64775, 22139, 52919, 10122, 33007, 63801, 20994, 52078, 9140, 40074, 62882, 28207, 50958, 8319, 39101, 61830, 27334, 49978, 15365, 38208, 3498, 26315, 57303, 14378, 37131, 2627, 25272, 56216, 13511, 44328, 1545, 32581, 55207, 12487, 43479, 556, 31491, 54298, 19617, 42399, 7891, 30574, 53253, 18773, 41377, 6792, 29643, 60467, 17725, 48719, 5878, 36796, 59611, 16691, 47733, 4945, 35774, 58594, 4721, 30029, 56358, 10215, 36564};
private static long p = -6768186701272913671L;
private static long t = -8716991839905498533L;
/* renamed from: o, reason: collision with root package name */
private boolean f7486o = false;
private boolean m = false;
private int l = 0;
/* JADX WARN: Removed duplicated region for block: B:10:0x0026 */
/* JADX WARN: Removed duplicated region for block: B:7:0x001e */
/* JADX WARN: Unsupported multi-entry loop pattern (BACK_EDGE: B:10:0x0026 -> B:4:0x002b). Please report as a decompilation issue!!! */
/*
Code decompiled incorrectly, please refer to instructions dump.
To view partially-correct add '--show-bad-code' argument
*/
private static void aC(byte r7, byte r8, short r9, java.lang.Object[] r10) {
/*
int r9 = r9 * 2
int r9 = 3 - r9
byte[] r0 = com.scb.phone.view.activity.investment.scbs.AddAccountConsentActivity.$$p
int r8 = 121 - r8
int r7 = r7 * 4
int r7 = 1 - r7
byte[] r1 = new byte[r7]
r2 = 0
if (r0 != 0) goto L14
r3 = r9
r5 = r2
goto L2b
L14:
r3 = r2
L15:
byte r4 = (byte) r8
int r5 = r3 + 1
r1[r3] = r4
int r9 = r9 + 1
if (r5 != r7) goto L26
java.lang.String r7 = new java.lang.String
r7.<init>(r1, r2)
r10[r2] = r7
return
L26:
r3 = r0[r9]
r6 = r3
r3 = r9
r9 = r6
L2b:
int r8 = r8 + r9
r9 = r3
r3 = r5
goto L15
*/
throw new UnsupportedOperationException("Method not decompiled: com.scb.phone.view.activity.investment.scbs.AddAccountConsentActivity.aC(byte, byte, short, java.lang.Object[]):void");
}
public static /* synthetic */ Object b(Object[] objArr, int i, int i2, int i3) {
int i4 = (i * 678) + (i2 * (-676));
int i5 = ~i;
int i6 = ~i2;
int i7 = i4 + (i5 * 677) + ((i5 | i6) * (-677)) + ((~(i | i6)) * 677);
if (i7 == 1) {
int i8 = 2 % 2;
Fragment fragment = new Fragment();
int i9 = s + 61;
q = i9 % 128;
int i10 = i9 % 2;
return fragment;
}
if (i7 == 2) {
return c(objArr);
}
if (i7 != 3) {
DialogInterface dialogInterface = (DialogInterface) objArr[0];
int i11 = 2 % 2;
int i12 = q + 55;
s = i12 % 128;
int i13 = i12 % 2;
dialogInterface.dismiss();
int i14 = q + 53;
s = i14 % 128;
int i15 = i14 % 2;
return null;
}
AddAccountConsentActivity addAccountConsentActivity = (AddAccountConsentActivity) objArr[0];
int intValue = ((Number) objArr[1]).intValue();
UN un = (UN) objArr[2];
int i16 = 2 % 2;
Intent intent = new Intent();
intent.putExtra("KEY_CARDX_UNREGISTERED", un);
addAccountConsentActivity.setResult(intValue, intent);
addAccountConsentActivity.finish();
int i17 = s + 59;
q = i17 % 128;
int i18 = i17 % 2;
return null;
}
public static void a(Context context) {
int i = 2 % 2;
context.startActivity(new Intent(context, (Class<?>) AddAccountConsentActivity.class));
int i2 = s + 107;
q = i2 % 128;
int i3 = i2 % 2;
}
public static void d(Context context) {
int i = 2 % 2;
Intent intent = new Intent(context, (Class<?>) AddAccountConsentActivity.class);
intent.putExtra("KEY_IS_ON_BOARDING", true);
context.startActivity(intent);
int i2 = s + 51;
q = i2 % 128;
if (i2 % 2 == 0) {
throw null;
}
}
public static Intent ahx_(Context context, String str) {
int i = 2 % 2;
Intent intent = new Intent(context, (Class<?>) AddAccountConsentActivity.class);
intent.putExtra("KEY_IS_CARD_X", true);
intent.putExtra("KEY_TERM_AND_CON_URL", str);
int i2 = q + 27;
s = i2 % 128;
int i3 = i2 % 2;
return intent;
}
public static void e(Context context) {
int i = 2 % 2;
Intent intent = new Intent(context, (Class<?>) AddAccountConsentActivity.class);
intent.putExtra("KEY_IS_HML", true);
context.startActivity(intent);
int i2 = q + 25;
s = i2 % 128;
int i3 = i2 % 2;
}
private static void aB(char[] cArr, int i, Object[] objArr) {
Object obj;
int i2 = 2 % 2;
GuL guL = new GuL();
char[] a = GuL.a(t ^ (-7538262848231253921L), cArr, i);
int i3 = 4;
guL.a = 4;
while (true) {
obj = null;
if (guL.a >= a.length) {
break;
}
int i4 = $11 + 81;
$10 = i4 % 128;
int i5 = i4 % 2;
guL.c = guL.a - i3;
int i6 = guL.a;
try {
Object[] objArr2 = {Long.valueOf(a[guL.a] ^ a[guL.a % i3]), Long.valueOf(guL.c), Long.valueOf(t)};
Object obj2 = xzZ.y.get(428080616);
if (obj2 == null) {
Class cls = (Class) xzZ.c(TextUtils.indexOf("", "", 0) + 208, 6 - (Process.getElapsedCpuTime() > 0L ? 1 : (Process.getElapsedCpuTime() == 0L ? 0 : -1)), (char) (1706 - (ViewConfiguration.getMinimumFlingVelocity() >> 16)));
byte b = (byte) 0;
byte b2 = (byte) (b + 2);
Object[] objArr3 = new Object[1];
aC(b, b2, (byte) (b2 - 2), objArr3);
obj2 = cls.getMethod((String) objArr3[0], Long.TYPE, Long.TYPE, Long.TYPE);
xzZ.y.put(428080616, obj2);
}
a[i6] = ((Character) ((Method) obj2).invoke(null, objArr2)).charValue();
Object[] objArr4 = {guL, guL};
Object obj3 = xzZ.y.get(-1875914398);
if (obj3 == null) {
Class cls2 = (Class) xzZ.c((ViewConfiguration.getZoomControlsTimeout() > 0L ? 1 : (ViewConfiguration.getZoomControlsTimeout() == 0L ? 0 : -1)) + 391, 5 - (ViewConfiguration.getDoubleTapTimeout() >> 16), (char) Color.argb(0, 0, 0, 0));
byte b3 = (byte) 0;
byte b4 = b3;
Object[] objArr5 = new Object[1];
aC(b3, b4, b4, objArr5);
obj3 = cls2.getMethod((String) objArr5[0], Object.class, Object.class);
xzZ.y.put(-1875914398, obj3);
}
((Method) obj3).invoke(null, objArr4);
i3 = 4;
} catch (Throwable th) {
Throwable cause = th.getCause();
if (cause == null) {
throw th;
}
throw cause;
}
}
String str = new String(a, 4, a.length - 4);
int i7 = $10 + 31;
$11 = i7 % 128;
if (i7 % 2 != 0) {
objArr[0] = str;
} else {
obj.hashCode();
throw null;
}
}
@Override // com.scb.phone.view.activity.BaseActivityWithFragment
public final String L() {
int i = 2 % 2;
int i2 = q + 3;
s = i2 % 128;
int i3 = i2 % 2;
String string = getString(R.string.data_sharing_tc_action_bar_title);
int i4 = q + 51;
s = i4 % 128;
if (i4 % 2 == 0) {
return string;
}
Object obj = null;
obj.hashCode();
throw null;
}
/* JADX WARN: Removed duplicated region for block: B:28:0x0271 */
/* JADX WARN: Removed duplicated region for block: B:30:0x0272 */
/*
Code decompiled incorrectly, please refer to instructions dump.
To view partially-correct add '--show-bad-code' argument
*/
private static void ay(int r19, int r20, char r21, java.lang.Object[] r22) {
/*
Method dump skipped, instructions count: 635
To view this dump add '--comments-level debug' option
*/
throw new UnsupportedOperationException("Method not decompiled: com.scb.phone.view.activity.investment.scbs.AddAccountConsentActivity.ay(int, int, char, java.lang.Object[]):void");
}
@Override // o.AbstractActivityC8767dVa, com.scb.phone.view.activity.BaseActivityWithFragment, 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];
ay(ViewConfiguration.getKeyRepeatDelay() >> 16, ((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getApplicationInfo().targetSdkVersion - 16, (char) (((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getResources().getString(R.string.to_stay_actively_in_control_of_your_money_and_more_accounts_to_display_in_scb_easy_app).substring(78, 79).length() - 1), objArr);
Class<?> cls = Class.forName((String) objArr[0]);
Object[] objArr2 = new Object[1];
ay(18 - Color.alpha(0), ((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getPackageName().codePointAt(12) - 96, (char) (((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getPackageName().length() - 13), objArr2);
int intValue = ((Integer) cls.getDeclaredMethod((String) objArr2[0], new Class[0]).invoke(null, new Object[0])).intValue() % 100000;
if (intValue < 99000 || intValue > 99999) {
Context baseContext = getBaseContext();
if (baseContext == null) {
int i2 = q + 47;
s = i2 % 128;
int i3 = i2 % 2;
Object[] objArr3 = new Object[1];
ay(((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().getResources().getString(R.string.investment_discover_search_fund_hint_description).substring(49, 50).codePointAt(0) - 6, (char) (((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getResources().getString(R.string.common_ndid_select_idp_success_description_end).substring(0, 1).codePointAt(0) - 34), objArr3);
Class<?> cls2 = Class.forName((String) objArr3[0]);
Object[] objArr4 = new Object[1];
ay(((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getPackageName().length() + 36, ((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getResources().getString(R.string.auto_robo_advisor_landing_message).substring(20, 21).codePointAt(0) - 93, (char) ((AudioTrack.getMinVolume() > BitmapDescriptorFactory.HUE_RED ? 1 : (AudioTrack.getMinVolume() == BitmapDescriptorFactory.HUE_RED ? 0 : -1)) + 54334), objArr4);
baseContext = (Context) cls2.getMethod((String) objArr4[0], new Class[0]).invoke(null, null);
}
if (baseContext != null) {
baseContext = baseContext.getApplicationContext();
}
if (baseContext != null) {
int i4 = s + 109;
q = i4 % 128;
int i5 = i4 % 2;
try {
Object obj = xzZ.y.get(125943855);
if (obj == null) {
obj = ((Class) xzZ.c(493 - (ViewConfiguration.getScrollFriction() > BitmapDescriptorFactory.HUE_RED ? 1 : (ViewConfiguration.getScrollFriction() == BitmapDescriptorFactory.HUE_RED ? 0 : -1)), 5 - (ViewConfiguration.getDoubleTapTimeout() >> 16), (char) (KeyEvent.getMaxKeyCode() >> 16))).getMethod("a", null);
xzZ.y.put(125943855, obj);
}
Object invoke = ((Method) obj).invoke(null, null);
Object[] objArr5 = new Object[1];
aB(new char[]{36206, 50295, 36191, 60039, 14858, 9796, 11963, 40036, 1357, 44544, 42745, 5239, 40236, 13930, 16029, 35911, 5485, 48673, 46732, 1038, 44364, 50688, 3837, 64638, 9485, 19991, 34494, 29807, 48488, 54821, 7820, 60499, 13693, 24122, 38555, 25671, 52703, 59078, 60983, 56503, 17816, 28294, 26237, 21748, 56828, 63207, 65046, 52371, 21949, 32507, 30298, 17538}, ((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getResources().getString(R.string.error_do_not_have_deposit_paywise).substring(64, 65).codePointAt(0) - 32, objArr5);
String str = (String) objArr5[0];
Object[] objArr6 = new Object[1];
aB(new char[]{6637, 63046, 6536, 37357, 62038, 5152, 21971, 21567, 37323, 39984, 56769, 56435, 2472, 1111, 17911, 17484, 33263, 35908, 52706, 52315, 14747, 62518, 30100, 13352, 45534, 31780, 64980, 48190, 10686, 58388, 26037, 9305, 41391, 27659, 60837, 44050, 22874, 54517, 38224, 5307, 53576, 23786, 7447, 40104, 18811, 50304, 34084, 1228, 49512, 19651, 3427, 35976, 31049, 46266, 46403, 62637, 61790, 15530, 15616, 31976, 26933, 42177, 42292, 58498, 57643, 11472, 11636, 27855}, ((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getApplicationInfo().targetSdkVersion - 34, objArr6);
String str2 = (String) objArr6[0];
Object[] objArr7 = new Object[1];
ay(TextUtils.indexOf("", "", 0) + 67, ((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getResources().getString(R.string.easycash_decline_ncb_result_back).substring(0, 12).length() + 52, (char) (((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getPackageName().length() - 13), objArr7);
String str3 = (String) objArr7[0];
Object[] objArr8 = new Object[1];
ay(((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getPackageName().codePointAt(11) + 21, ((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getPackageName().codePointAt(3) + 28, (char) (1 - (SystemClock.elapsedRealtimeNanos() > 0L ? 1 : (SystemClock.elapsedRealtimeNanos() == 0L ? 0 : -1))), objArr8);
String str4 = (String) objArr8[0];
Object[] objArr9 = new Object[1];
ay(((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 - 29, (char) (KeyEvent.normalizeMetaState(0) + 40346), objArr9);
String str5 = (String) objArr9[0];
Object[] objArr10 = new Object[1];
aB(new char[]{22202, 58683, 22239, 24426, 57962, 1886, 39760, 17490, 57038, 36630, 4934, 52294, 18103, 5929, 35698, 21539, 52968, 40738, 870, 56420, 30411, 59214, 47887, 9287, 65160, 28426, 13137, 44059, 26344, 63292, 43824, 13415, 61181, 32554, 9073, 48163, 5646, 51082, 23507, 1155}, ((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getResources().getString(R.string.risk_level).substring(0, 1).codePointAt(0) - 40, 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(487 - (ExpandableListView.getPackedPositionForGroup(0) > 0L ? 1 : (ExpandableListView.getPackedPositionForGroup(0) == 0L ? 0 : -1)), 6 - (ViewConfiguration.getGlobalActionKeyTimeout() > 0L ? 1 : (ViewConfiguration.getGlobalActionKeyTimeout() == 0L ? 0 : -1)), (char) (ViewConfiguration.getEdgeSlop() >> 16))).getMethod("e", Context.class, String.class, String.class, String.class, String.class, Boolean.TYPE, String.class, String.class);
xzZ.y.put(1656189573, obj2);
}
((Method) obj2).invoke(invoke, objArr11);
} catch (Throwable th) {
Throwable cause = th.getCause();
if (cause == null) {
throw th;
}
throw cause;
}
}
}
super.onCreate(bundle);
setContentView(R.layout.2131558574);
ButterKnife.Dg_(this);
super.Z();
ac();
this.f7486o = getIntent().getBooleanExtra("KEY_IS_ON_BOARDING", false);
boolean booleanExtra = getIntent().getBooleanExtra("KEY_IS_CARD_X", false);
String stringExtra = getIntent().getStringExtra("KEY_TERM_AND_CON_URL");
this.presenter.e((C3768bGK) this);
this.presenter.d(this.f7486o, booleanExtra, stringExtra);
int i6 = q + 103;
s = i6 % 128;
if (i6 % 2 != 0) {
throw null;
}
}
@Override // com.scb.phone.view.activity.BaseActivityWithFragment, com.scb.phone.view.activity.BaseActivity
public final void Z() {
int i = 2 % 2;
int i2 = s + 123;
q = i2 % 128;
int i3 = i2 % 2;
super.Z();
ac();
int i4 = s + 27;
q = i4 % 128;
if (i4 % 2 == 0) {
int i5 = 71 / 0;
}
}
@Override // o.InterfaceC9351diB
public final void c(EX ex) {
int i = 2 % 2;
DialogInterface.OnClickListener onClickListener = new DialogInterface.OnClickListener(this) { // from class: o.dUU
private AddAccountConsentActivity a;
@Override // android.content.DialogInterface.OnClickListener
public final void onClick(DialogInterface dialogInterface, int i2) {
AddAccountConsentActivity.a(this.a);
}
{
this.a = this;
}
};
CustomDialog b = CustomDialog.b(this);
String str = ex.a;
if (gjJ.a(str)) {
int i2 = s + 95;
q = i2 % 128;
int i3 = i2 % 2;
b.mTitleTextView.setVisibility(0);
b.mTitleTextView.setText(str);
}
String str2 = ex.c;
if (gjJ.a(str2)) {
int i4 = q + 57;
s = i4 % 128;
int i5 = i4 % 2;
b.mTextTextView.setVisibility(0);
b.mTextTextView.setText(str2);
}
b.aoU_(ex.d, onClickListener).aoO_(ex.b, new DialogInterface.OnClickListener() { // from class: o.dUS
@Override // android.content.DialogInterface.OnClickListener
public final void onClick(DialogInterface dialogInterface, int i6) {
AddAccountConsentActivity.b(new Object[]{dialogInterface}, 1304975358, -1304975358, (int) System.currentTimeMillis());
}
}).show();
}
@Override // o.InterfaceC9652dno
public final void a(C0371Fd c0371Fd) {
AbstractC13482fbE a;
int i = 2 % 2;
int i2 = q + 89;
s = i2 % 128;
int i3 = i2 % 2;
TermsAndConditionsFragment a2 = TermsAndConditionsFragment.a(c0371Fd);
if (i3 != 0) {
a = getSupportFragmentManager().a();
a.b(R.id.container, a2, null, 5);
} else {
a = getSupportFragmentManager().a();
a.b(R.id.container, a2, null, 2);
}
a.b();
int i4 = q + 69;
s = i4 % 128;
if (i4 % 2 != 0) {
int i5 = 49 / 0;
}
}
@Override // o.InterfaceC9351diB
public final void e(boolean z, int i, UJ uj) {
int i2 = 2 % 2;
int i3 = q + 63;
s = i3 % 128;
int i4 = i3 % 2;
AddAccountsActivity.b(new Object[]{this, Boolean.valueOf(this.f7486o), Boolean.valueOf(z), Integer.valueOf(i), uj}, -323758634, 323758634, i);
int i5 = q + 85;
s = i5 % 128;
int i6 = i5 % 2;
}
@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 = q + 85;
s = i2 % 128;
int i3 = i2 % 2;
this.presenter.w_();
super.onDestroy();
int i4 = q + 31;
s = i4 % 128;
int i5 = i4 % 2;
}
@Override // o.InterfaceC12853fJD
public final void d(String str) {
int i = 2 % 2;
int i2 = s + 97;
q = i2 % 128;
int i3 = i2 % 2;
C3768bGK c3768bGK = this.presenter;
C3768bGK.d(new Object[]{c3768bGK, true}, -1238222318, 1238222320, System.identityHashCode(c3768bGK));
C3768bGK c3768bGK2 = this.presenter;
C3768bGK.d(new Object[]{c3768bGK2}, -273704881, 273704887, System.identityHashCode(c3768bGK2));
int i4 = q + 113;
s = i4 % 128;
int i5 = i4 % 2;
}
@Override // o.InterfaceC12853fJD
public final void e(String str) {
int i = 2 % 2;
int i2 = s + 95;
q = i2 % 128;
if (i2 % 2 == 0) {
C3768bGK c3768bGK = this.presenter;
C3768bGK.d(new Object[]{c3768bGK, false}, -1238222318, 1238222320, System.identityHashCode(c3768bGK));
C3768bGK c3768bGK2 = this.presenter;
C3768bGK.d(new Object[]{c3768bGK2}, 417453871, -417453871, System.identityHashCode(c3768bGK2));
} else {
C3768bGK c3768bGK3 = this.presenter;
C3768bGK.d(new Object[]{c3768bGK3, false}, -1238222318, 1238222320, System.identityHashCode(c3768bGK3));
C3768bGK c3768bGK4 = this.presenter;
C3768bGK.d(new Object[]{c3768bGK4}, 417453871, -417453871, System.identityHashCode(c3768bGK4));
}
int i3 = q + 49;
s = i3 % 128;
if (i3 % 2 == 0) {
return;
}
Object obj = null;
obj.hashCode();
throw null;
}
private static /* synthetic */ Object c(Object[] objArr) {
int i = 2 % 2;
((AddAccountConsentActivity) objArr[0]).c((String) objArr[1], new pug((String) objArr[2], (String) objArr[3]));
int i2 = s + 59;
q = i2 % 128;
if (i2 % 2 == 0) {
int i3 = 48 / 0;
}
return null;
}
@Override // o.InterfaceC9351diB
public final void c(String str) {
int i = 2 % 2;
int i2 = q + 101;
s = i2 % 128;
int i3 = i2 % 2;
d_(str);
int i4 = q + 13;
s = i4 % 128;
if (i4 % 2 != 0) {
int i5 = 13 / 0;
}
}
@Override // o.InterfaceC12828fIc
public final void h() {
int i = 2 % 2;
int i2 = s + 53;
q = i2 % 128;
int i3 = i2 % 2;
finish();
int i4 = s + 55;
q = i4 % 128;
int i5 = i4 % 2;
}
@Override // o.InterfaceC9351diB
public final void e(boolean z) {
int i = 2 % 2;
int i2 = q + 111;
s = i2 % 128;
int i3 = i2 % 2;
this.m = z;
this.l = 0;
startActivityForResult(AddAccountOtpActivity.aaP_(this, z), 1);
int i4 = s + 59;
q = i4 % 128;
if (i4 % 2 == 0) {
int i5 = 76 / 0;
}
}
@Override // com.scb.phone.view.activity.BaseActivity, com.scb.phone.view.activity.PreLoadCheckActivity, androidx.fragment.app.FragmentActivity, androidx.activity.ComponentActivity, android.app.Activity
public void onActivityResult(int i, int i2, Intent intent) {
int i3 = 2 % 2;
super.onActivityResult(i, i2, intent);
Object obj = null;
if (i == 1) {
int i4 = s + 1;
q = i4 % 128;
if (i4 % 2 == 0) {
throw null;
}
if (i2 == -1) {
AddAccountsActivity.b(new Object[]{this, Boolean.valueOf(this.f7486o), Boolean.valueOf(this.m), 0, (UJ) intent.getExtras().getParcelable("UNREGISTER_ACCOUNT_LIST")}, -323758634, 323758634, 0);
return;
}
}
if (i == 1 && i2 == 0) {
finish();
}
int i5 = s + 123;
q = i5 % 128;
if (i5 % 2 != 0) {
return;
}
obj.hashCode();
throw null;
}
@Override // o.AbstractActivityC8767dVa, com.scb.phone.view.activity.BaseActivityWithFragment, 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 = s + 93;
q = i2 % 128;
int i3 = i2 % 2;
Object[] objArr = new Object[1];
ay(((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().getResources().getString(R.string.remittance_mobile_desc).substring(67, 68).length() + 25, (char) (((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getPackageName().length() - 13), objArr);
Class<?> cls = Class.forName((String) objArr[0]);
Object[] objArr2 = new Object[1];
ay(((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getApplicationInfo().targetSdkVersion + 15, ((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getResources().getString(R.string.redemption_slip_filename).substring(0, 10).codePointAt(4) - 19, (char) (((byte) KeyEvent.getModifierMetaStateMask()) + 54335), objArr2);
baseContext = (Context) cls.getMethod((String) objArr2[0], new Class[0]).invoke(null, null);
}
if (baseContext != null) {
int i4 = s + 7;
q = i4 % 128;
if (i4 % 2 == 0) {
baseContext.getApplicationContext();
throw null;
}
baseContext = baseContext.getApplicationContext();
}
if (baseContext != null) {
int i5 = q + 49;
s = i5 % 128;
int i6 = i5 % 2;
try {
Object obj = xzZ.y.get(125943855);
if (obj == null) {
obj = ((Class) xzZ.c(View.MeasureSpec.getSize(0) + 492, 6 - (ViewConfiguration.getScrollFriction() > BitmapDescriptorFactory.HUE_RED ? 1 : (ViewConfiguration.getScrollFriction() == BitmapDescriptorFactory.HUE_RED ? 0 : -1)), (char) ((-1) - TextUtils.lastIndexOf("", '0', 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(1378719468);
if (obj2 == null) {
obj2 = ((Class) xzZ.c(487 - (KeyEvent.getMaxKeyCode() >> 16), 5 - TextUtils.getCapsMode("", 0, 0), (char) ((-1) - TextUtils.indexOf((CharSequence) "", '0')))).getMethod(KtaJsonExactionHelper.OBJECT, Context.class);
xzZ.y.put(1378719468, obj2);
}
((Method) obj2).invoke(invoke, objArr3);
} catch (Throwable th) {
Throwable cause = th.getCause();
if (cause == null) {
throw th;
}
throw cause;
}
}
super.onResume();
}
@Override // o.AbstractActivityC8767dVa, com.scb.phone.view.activity.BaseActivityWithFragment, 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;
Context baseContext = getBaseContext();
if (baseContext == null) {
int i2 = q + 3;
s = i2 % 128;
int i3 = i2 % 2;
Object[] objArr = new Object[1];
ay(((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getResources().getString(R.string.contact_info_mcmc_topup_document_receive_option_header).substring(0, 19).codePointAt(5) - 3611, ((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getApplicationInfo().targetSdkVersion - 8, (char) (Color.rgb(0, 0, 0) + Http2Connection.OKHTTP_CLIENT_WINDOW_SIZE), objArr);
Class<?> cls = Class.forName((String) objArr[0]);
Object[] objArr2 = new Object[1];
ay(49 - (ViewConfiguration.getDoubleTapTimeout() >> 16), 18 - KeyEvent.keyCodeFromString(""), (char) (((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getResources().getString(R.string.order_cheque_input_note).substring(26, 27).codePointAt(0) + 54302), objArr2);
baseContext = (Context) cls.getMethod((String) objArr2[0], new Class[0]).invoke(null, null);
}
if (baseContext != null) {
baseContext = baseContext.getApplicationContext();
int i4 = s + 53;
q = i4 % 128;
int i5 = i4 % 2;
}
if (baseContext != null) {
try {
Object obj = xzZ.y.get(125943855);
if (obj == null) {
obj = ((Class) xzZ.c(492 - (ViewConfiguration.getLongPressTimeout() >> 16), 5 - (ViewConfiguration.getJumpTapTimeout() >> 16), (char) ((SystemClock.elapsedRealtime() > 0L ? 1 : (SystemClock.elapsedRealtime() == 0L ? 0 : -1)) - 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 - TextUtils.indexOf("", "", 0, 0), Color.red(0) + 5, (char) KeyEvent.keyCodeFromString(""))).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.AbstractActivityC8767dVa, com.scb.phone.view.activity.BaseActivityWithFragment, 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];
ay(ViewConfiguration.getMinimumFlingVelocity() >> 16, 18 - (ViewConfiguration.getEdgeSlop() >> 16), (char) ((-1) - ImageFormat.getBitsPerPixel(0)), objArr);
Class<?> cls = Class.forName((String) objArr[0]);
Object[] objArr2 = new Object[1];
ay(TextUtils.indexOf((CharSequence) "", '0', 0) + 19, 5 - (ViewConfiguration.getScrollBarSize() >> 8), (char) TextUtils.getCapsMode("", 0, 0), objArr2);
int intValue = ((Integer) cls.getDeclaredMethod((String) objArr2[0], new Class[0]).invoke(null, new Object[0])).intValue() % 100000;
if (intValue >= 99000) {
int i2 = s + 47;
q = i2 % 128;
if (i2 % 2 == 0) {
throw null;
}
if (intValue <= 99999) {
return;
}
}
if (context != null) {
int i3 = s + 21;
q = i3 % 128;
int i4 = i3 % 2;
context2 = context.getApplicationContext();
} else {
context2 = context;
}
if (context2 != null) {
try {
Object obj = xzZ.y.get(125943855);
if (obj == null) {
obj = ((Class) xzZ.c(View.resolveSize(0, 0) + 492, 5 - (ViewConfiguration.getTouchSlop() >> 8), (char) (Process.myPid() >> 22))).getMethod("a", null);
xzZ.y.put(125943855, obj);
}
Object invoke = ((Method) obj).invoke(null, null);
Object[] objArr3 = new Object[1];
aB(new char[]{36206, 50295, 36191, 60039, 14858, 9796, 11963, 40036, 1357, 44544, 42745, 5239, 40236, 13930, 16029, 35911, 5485, 48673, 46732, 1038, 44364, 50688, 3837, 64638, 9485, 19991, 34494, 29807, 48488, 54821, 7820, 60499, 13693, 24122, 38555, 25671, 52703, 59078, 60983, 56503, 17816, 28294, 26237, 21748, 56828, 63207, 65046, 52371, 21949, 32507, 30298, 17538}, View.MeasureSpec.getMode(0), objArr3);
String str = (String) objArr3[0];
Object[] objArr4 = new Object[1];
aB(new char[]{6637, 63046, 6536, 37357, 62038, 5152, 21971, 21567, 37323, 39984, 56769, 56435, 2472, 1111, 17911, 17484, 33263, 35908, 52706, 52315, 14747, 62518, 30100, 13352, 45534, 31780, 64980, 48190, 10686, 58388, 26037, 9305, 41391, 27659, 60837, 44050, 22874, 54517, 38224, 5307, 53576, 23786, 7447, 40104, 18811, 50304, 34084, 1228, 49512, 19651, 3427, 35976, 31049, 46266, 46403, 62637, 61790, 15530, 15616, 31976, 26933, 42177, 42292, 58498, 57643, 11472, 11636, 27855}, View.getDefaultSize(0, 0), objArr4);
String str2 = (String) objArr4[0];
Object[] objArr5 = new Object[1];
ay(67 - (ViewConfiguration.getJumpTapTimeout() >> 16), View.MeasureSpec.getMode(0) + 64, (char) ((-1) - TextUtils.lastIndexOf("", '0', 0, 0)), objArr5);
String str3 = (String) objArr5[0];
Object[] objArr6 = new Object[1];
ay(TextUtils.indexOf((CharSequence) "", '0', 0) + CipherSuite.TLS_RSA_WITH_CAMELLIA_256_CBC_SHA, 73 - TextUtils.indexOf((CharSequence) "", '0', 0), (char) TextUtils.getOffsetBefore("", 0), objArr6);
String str4 = (String) objArr6[0];
Object[] objArr7 = new Object[1];
ay(206 - (ViewConfiguration.getZoomControlsTimeout() > 0L ? 1 : (ViewConfiguration.getZoomControlsTimeout() == 0L ? 0 : -1)), 5 - ExpandableListView.getPackedPositionGroup(0L), (char) (40346 - Gravity.getAbsoluteGravity(0, 0)), objArr7);
String str5 = (String) objArr7[0];
Object[] objArr8 = new Object[1];
aB(new char[]{22202, 58683, 22239, 24426, 57962, 1886, 39760, 17490, 57038, 36630, 4934, 52294, 18103, 5929, 35698, 21539, 52968, 40738, 870, 56420, 30411, 59214, 47887, 9287, 65160, 28426, 13137, 44059, 26344, 63292, 43824, 13415, 61181, 32554, 9073, 48163, 5646, 51082, 23507, 1155}, KeyEvent.getDeadChar(0, 0), objArr8);
Object[] objArr9 = {context2, str, str2, str3, str4, true, str5, (String) objArr8[0]};
Object obj2 = xzZ.y.get(1656189573);
if (obj2 == null) {
obj2 = ((Class) xzZ.c(TextUtils.getTrimmedLength("") + 487, (SystemClock.elapsedRealtime() > 0L ? 1 : (SystemClock.elapsedRealtime() == 0L ? 0 : -1)) + 4, (char) (ViewConfiguration.getLongPressTimeout() >> 16))).getMethod("e", Context.class, String.class, String.class, String.class, String.class, Boolean.TYPE, String.class, String.class);
xzZ.y.put(1656189573, obj2);
}
((Method) obj2).invoke(invoke, objArr9);
} catch (Throwable th) {
Throwable cause = th.getCause();
if (cause == null) {
throw th;
}
throw cause;
}
}
}
public static /* synthetic */ void a(AddAccountConsentActivity addAccountConsentActivity) {
int i = 2 % 2;
int i2 = s + 23;
q = i2 % 128;
int i3 = i2 % 2;
C3768bGK c3768bGK = addAccountConsentActivity.presenter;
if (i3 == 0) {
C3768bGK.d(new Object[]{c3768bGK}, 352521501, -352521498, System.identityHashCode(c3768bGK));
int i4 = 40 / 0;
} else {
C3768bGK.d(new Object[]{c3768bGK}, 352521501, -352521498, System.identityHashCode(c3768bGK));
}
int i5 = s + 57;
q = i5 % 128;
int i6 = i5 % 2;
}
@Override // o.AbstractActivityC8767dVa, com.scb.phone.view.activity.BaseActivityWithFragment, 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 + 7;
q = i2 % 128;
int i3 = i2 % 2;
super.onStart();
int i4 = q + 51;
s = i4 % 128;
if (i4 % 2 == 0) {
return;
}
Object obj = null;
obj.hashCode();
throw null;
}
@Override // o.InterfaceC9351diB
public final void a(String str, String str2, String str3) {
b(new Object[]{this, str, str2, str3}, -793316810, 793316812, ((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getPackageName().codePointAt(10) + 179520014);
}
@Override // o.InterfaceC9652dno
public final void A() {
int i = 2 % 2;
int i2 = q + 83;
s = i2 % 128;
int i3 = i2 % 2;
}
@Override // o.InterfaceC9351diB
public final void e(int i, UN un) {
b(new Object[]{this, Integer.valueOf(i), un}, 300722566, -300722563, i);
}
@Override // com.scb.phone.view.activity.BaseActivityWithFragment
public final Fragment M() {
return (Fragment) b(new Object[]{this}, 1699603460, -1699603459, System.identityHashCode(this));
}
}