what-the-bank/sources/com/scb/phone/view/activity/easycash/EasycashLandingActivity.java

860 lines
42 KiB
Java
Raw Permalink Normal View History

2024-07-27 18:17:47 +07:00
package com.scb.phone.view.activity.easycash;
import android.content.Context;
import android.content.Intent;
import android.graphics.Color;
import android.graphics.ImageFormat;
import android.graphics.drawable.Drawable;
import android.media.AudioTrack;
import android.os.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 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.prelogin.PinLoginActivity;
import com.scb.phone.view.fragment.easycash.landing.EasycashLandingEmptyFragment;
import com.scb.phone.view.fragment.easycash.landing.EasycashLandingProductsFragment;
import java.lang.reflect.Method;
import o.AbstractC13482fbE;
import o.C0593Kf;
import o.C0652Lk;
import o.C0657Lo;
import o.C0659Lp;
import o.C0663Lq;
import o.C2112aXk;
import o.InterfaceC13391fZD;
import o.InterfaceC6621cYR;
import o.Lld;
import o.dJO;
import o.jTb;
import o.xzZ;
import o.zUI;
import org.bouncycastle.crypto.tls.CipherSuite;
import org.jnbis.internal.NistHelper;
/* loaded from: classes4.dex */
public class EasycashLandingActivity extends dJO implements InterfaceC6621cYR.zJl {
private boolean b = false;
@InterfaceC13391fZD
public C2112aXk easycashLandingPresenter;
private EasycashLandingProductsFragment l;
@InterfaceC13391fZD
public Lld tracker;
private static final byte[] $$g = {46, -23, 1, -23};
private static final int $$h = CipherSuite.TLS_DH_anon_WITH_CAMELLIA_128_CBC_SHA256;
private static int $10 = 0;
private static int $11 = 1;
private static int q = 0;
private static int t = 1;
/* renamed from: o, reason: collision with root package name */
private static int f7062o = 2015661661;
private static char k = 51330;
private static char m = 13005;
private static char p = 19305;
private static char s = 54571;
/* 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:0x0026). 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(short r6, short r7, int r8, java.lang.Object[] r9) {
/*
int r7 = r7 + 66
byte[] r0 = com.scb.phone.view.activity.easycash.EasycashLandingActivity.$$g
int r6 = r6 * 3
int r6 = r6 + 1
int r8 = r8 * 2
int r8 = 4 - r8
byte[] r1 = new byte[r6]
r2 = 0
if (r0 != 0) goto L14
r3 = r8
r4 = r2
goto L26
L14:
r3 = r2
L15:
int r4 = r3 + 1
byte r5 = (byte) r7
r1[r3] = r5
if (r4 != r6) goto L24
java.lang.String r6 = new java.lang.String
r6.<init>(r1, r2)
r9[r2] = r6
return
L24:
r3 = r0[r8]
L26:
int r8 = r8 + 1
int r7 = r7 + r3
r3 = r4
goto L15
*/
throw new UnsupportedOperationException("Method not decompiled: com.scb.phone.view.activity.easycash.EasycashLandingActivity.az(short, short, int, java.lang.Object[]):void");
}
public static /* synthetic */ Object d(Object[] objArr, int i, int i2, int i3) {
EasycashLandingActivity easycashLandingActivity = (EasycashLandingActivity) objArr[0];
C0659Lp c0659Lp = (C0659Lp) objArr[1];
boolean booleanValue = ((Boolean) objArr[2]).booleanValue();
int i4 = 2 % 2;
int i5 = t + 91;
q = i5 % 128;
int i6 = i5 % 2;
easycashLandingActivity.l = EasycashLandingProductsFragment.c(c0659Lp, booleanValue);
AbstractC13482fbE a = easycashLandingActivity.getSupportFragmentManager().a();
a.b(R.id.container, easycashLandingActivity.l, null, 2);
a.b();
int i7 = t + 11;
q = i7 % 128;
int i8 = i7 % 2;
return null;
}
public static Intent aes_(Context context, C0657Lo c0657Lo, C0593Kf c0593Kf, C0652Lk c0652Lk, String str, String str2) {
int i = 2 % 2;
Intent intent = new Intent(context, (Class<?>) EasycashLandingActivity.class);
intent.addFlags(603979776);
intent.putExtra("com.scb.phone.EXTRA_REFRESH", false);
intent.putExtra("com.scb.phone.EXTRA_DEEPLINK", true);
intent.putExtra("com.scb.phone.view.activity.easycash.EXTRA_LENDING_TILE", c0657Lo);
intent.putExtra("com.scb.phone.view.activity.easycash.EXTRA_INTRODUCTION", c0593Kf);
intent.putExtra("staffId1", c0652Lk.b);
intent.putExtra("staffId2", c0652Lk.a);
intent.putExtra("entryPoint", str);
intent.putExtra("product_type", str2);
int i2 = t + 27;
q = i2 % 128;
if (i2 % 2 != 0) {
int i3 = 28 / 0;
}
return intent;
}
public static void c(Context context) {
int i = 2 % 2;
context.startActivity(new Intent(context, (Class<?>) EasycashLandingActivity.class).addFlags(603979776).putExtra("com.scb.phone.EXTRA_REFRESH", true).putExtra("com.scb.phone.EXTRA_DEEPLINK", false));
int i2 = q + 95;
t = i2 % 128;
if (i2 % 2 != 0) {
return;
}
Object obj = null;
obj.hashCode();
throw null;
}
private static void ay(char[] cArr, int i, Object[] objArr) {
int i2;
int i3 = 2;
int i4 = 2 % 2;
jTb jtb = new jTb();
char[] cArr2 = new char[cArr.length];
int i5 = 0;
jtb.b = 0;
char[] cArr3 = new char[2];
while (jtb.b < cArr.length) {
int i6 = $11 + 97;
$10 = i6 % 128;
int i7 = 58224;
if (i6 % i3 != 0) {
cArr3[i5] = cArr[jtb.b];
cArr3[1] = cArr[jtb.b];
i2 = 1;
} else {
cArr3[i5] = cArr[jtb.b];
cArr3[1] = cArr[jtb.b + 1];
i2 = i5;
}
while (i2 < 16) {
int i8 = $11 + 7;
$10 = i8 % 128;
int i9 = i8 % i3;
char c = cArr3[1];
char c2 = cArr3[i5];
char[] cArr4 = cArr3;
int i10 = (c2 + i7) ^ ((c2 << 4) + ((char) (p ^ 41718355337583039L)));
int i11 = c2 >>> 5;
try {
Object[] objArr2 = new Object[4];
objArr2[3] = Integer.valueOf(s);
objArr2[i3] = Integer.valueOf(i11);
objArr2[1] = Integer.valueOf(i10);
objArr2[0] = Integer.valueOf(c);
Object obj = xzZ.y.get(597144044);
if (obj == null) {
Class cls = (Class) xzZ.c(412 - View.MeasureSpec.getSize(0), View.MeasureSpec.getSize(0) + 5, (char) View.combineMeasuredStates(0, 0));
byte b = (byte) ($$g[i3] - 1);
byte b2 = b;
Object[] objArr3 = new Object[1];
az(b, b2, b2, objArr3);
String str = (String) objArr3[0];
Class<?>[] clsArr = new Class[4];
clsArr[0] = Integer.TYPE;
clsArr[1] = Integer.TYPE;
clsArr[i3] = 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();
cArr4[1] = charValue;
jTb jtb2 = jtb;
Object[] objArr4 = {Integer.valueOf(cArr4[0]), Integer.valueOf((charValue + i7) ^ ((charValue << 4) + ((char) (k ^ 41718355337583039L)))), Integer.valueOf(charValue >>> 5), Integer.valueOf(m)};
Object obj2 = xzZ.y.get(597144044);
if (obj2 == null) {
Class cls2 = (Class) xzZ.c(412 - TextUtils.indexOf("", "", 0, 0), '5' - AndroidCharacter.getMirror('0'), (char) (1 - (ViewConfiguration.getScrollFriction() > BitmapDescriptorFactory.HUE_RED ? 1 : (ViewConfiguration.getScrollFriction() == BitmapDescriptorFactory.HUE_RED ? 0 : -1))));
byte b3 = (byte) ($$g[2] - 1);
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();
i7 -= 40503;
i2++;
cArr3 = cArr4;
jtb = jtb2;
i3 = 2;
i5 = 0;
} catch (Throwable th) {
Throwable cause = th.getCause();
if (cause == null) {
throw th;
}
throw cause;
}
}
jTb jtb3 = jtb;
char[] cArr5 = cArr3;
cArr2[jtb3.b] = cArr5[0];
cArr2[jtb3.b + 1] = cArr5[1];
Object[] objArr6 = {jtb3, jtb3};
Object obj3 = xzZ.y.get(943004485);
if (obj3 == null) {
Class cls3 = (Class) xzZ.c(98 - TextUtils.indexOf("", "", 0), 6 - (SystemClock.currentThreadTimeMillis() > (-1L) ? 1 : (SystemClock.currentThreadTimeMillis() == (-1L) ? 0 : -1)), (char) (ViewConfiguration.getEdgeSlop() >> 16));
byte b5 = $$g[2];
byte b6 = (byte) (b5 - 1);
byte b7 = b5;
Object[] objArr7 = new Object[1];
az(b6, b7, (byte) (b7 - 1), objArr7);
obj3 = cls3.getMethod((String) objArr7[0], Object.class, Object.class);
xzZ.y.put(943004485, obj3);
}
((Method) obj3).invoke(null, objArr6);
jtb = jtb3;
cArr3 = cArr5;
i3 = 2;
i5 = 0;
}
String str2 = new String(cArr2, 0, i);
int i12 = $10 + 45;
$11 = i12 % 128;
if (i12 % 2 != 0) {
objArr[0] = str2;
} else {
Object obj4 = null;
obj4.hashCode();
throw null;
}
}
private static void ax(int i, char[] cArr, int i2, boolean z, int i3, Object[] objArr) {
int i4 = 2 % 2;
zUI zui = new zUI();
char[] cArr2 = new char[i];
zui.d = 0;
while (zui.d < i) {
zui.c = cArr[zui.d];
cArr2[zui.d] = (char) (i2 + zui.c);
int i5 = zui.d;
try {
Object[] objArr2 = {Integer.valueOf(cArr2[i5]), Integer.valueOf(f7062o)};
Object obj = xzZ.y.get(880493502);
if (obj == null) {
Class cls = (Class) xzZ.c(143 - View.combineMeasuredStates(0, 0), 7 - (ViewConfiguration.getJumpTapTimeout() >> 16), (char) (1 - (SystemClock.uptimeMillis() > 0L ? 1 : (SystemClock.uptimeMillis() == 0L ? 0 : -1))));
byte b = (byte) ($$g[2] - 1);
byte b2 = (byte) (b + 3);
Object[] objArr3 = new Object[1];
az(b, b2, (byte) (b2 - 3), objArr3);
obj = cls.getMethod((String) objArr3[0], Integer.TYPE, Integer.TYPE);
xzZ.y.put(880493502, obj);
}
cArr2[i5] = ((Character) ((Method) obj).invoke(null, objArr2)).charValue();
Object[] objArr4 = {zui, zui};
Object obj2 = xzZ.y.get(1294990079);
if (obj2 == null) {
Class cls2 = (Class) xzZ.c(342 - Gravity.getAbsoluteGravity(0, 0), (ViewConfiguration.getMaximumDrawingCacheSize() >> 24) + 5, (char) Drawable.resolveOpacity(0, 0));
byte b3 = $$g[2];
byte b4 = (byte) (b3 - 1);
Object[] objArr5 = new Object[1];
az(b4, (byte) (b4 | 10), (byte) (b3 - 1), objArr5);
obj2 = cls2.getMethod((String) objArr5[0], Object.class, Object.class);
xzZ.y.put(1294990079, obj2);
}
((Method) obj2).invoke(null, objArr4);
} catch (Throwable th) {
Throwable cause = th.getCause();
if (cause == null) {
throw th;
}
throw cause;
}
}
if (i3 > 0) {
int i6 = $11 + 69;
$10 = i6 % 128;
int i7 = i6 % 2;
zui.a = i3;
char[] cArr3 = new char[i];
System.arraycopy(cArr2, 0, cArr3, 0, i);
System.arraycopy(cArr3, 0, cArr2, i - zui.a, zui.a);
System.arraycopy(cArr3, zui.a, cArr2, 0, i - zui.a);
int i8 = $10 + 59;
$11 = i8 % 128;
if (i8 % 2 == 0) {
int i9 = 3 % 4;
}
}
if (z) {
int i10 = $10 + 65;
$11 = i10 % 128;
int i11 = i10 % 2;
char[] cArr4 = new char[i];
zui.d = 0;
while (zui.d < i) {
int i12 = $11 + 63;
$10 = i12 % 128;
if (i12 % 2 != 0) {
cArr4[zui.d] = cArr2[(i >>> zui.d) + 1];
Object[] objArr6 = {zui, zui};
Object obj3 = xzZ.y.get(1294990079);
if (obj3 == null) {
Class cls3 = (Class) xzZ.c((AudioTrack.getMaxVolume() > BitmapDescriptorFactory.HUE_RED ? 1 : (AudioTrack.getMaxVolume() == BitmapDescriptorFactory.HUE_RED ? 0 : -1)) + 341, (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) (1 - (SystemClock.elapsedRealtime() > 0L ? 1 : (SystemClock.elapsedRealtime() == 0L ? 0 : -1))));
byte b5 = $$g[2];
byte b6 = (byte) (b5 - 1);
Object[] objArr7 = new Object[1];
az(b6, (byte) (b6 | 10), (byte) (b5 - 1), objArr7);
obj3 = cls3.getMethod((String) objArr7[0], Object.class, Object.class);
xzZ.y.put(1294990079, obj3);
}
((Method) obj3).invoke(null, objArr6);
} else {
cArr4[zui.d] = cArr2[(i - zui.d) - 1];
try {
Object[] objArr8 = {zui, zui};
Object obj4 = xzZ.y.get(1294990079);
if (obj4 == null) {
Class cls4 = (Class) xzZ.c(342 - View.MeasureSpec.getSize(0), TextUtils.indexOf((CharSequence) "", '0', 0) + 6, (char) KeyEvent.keyCodeFromString(""));
byte b7 = $$g[2];
byte b8 = (byte) (b7 - 1);
Object[] objArr9 = new Object[1];
az(b8, (byte) (b8 | 10), (byte) (b7 - 1), objArr9);
obj4 = cls4.getMethod((String) objArr9[0], Object.class, Object.class);
xzZ.y.put(1294990079, obj4);
}
((Method) obj4).invoke(null, objArr8);
} catch (Throwable th2) {
Throwable cause2 = th2.getCause();
if (cause2 == null) {
throw th2;
}
throw cause2;
}
}
}
cArr2 = cArr4;
}
objArr[0] = new String(cArr2);
}
/* JADX WARN: Code restructure failed: missing block: B:6:0x00d3, code lost:
if (r8 > 99999) goto L10;
*/
@Override // o.dJO, 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 onCreate(android.os.Bundle r26) {
/*
Method dump skipped, instructions count: 1648
To view this dump add '--comments-level debug' option
*/
throw new UnsupportedOperationException("Method not decompiled: com.scb.phone.view.activity.easycash.EasycashLandingActivity.onCreate(android.os.Bundle):void");
}
@Override // o.InterfaceC6621cYR.zJl
public final void b() {
int i = 2 % 2;
startActivityForResult(new Intent(this, (Class<?>) PinLoginActivity.class), 7134);
ae();
int i2 = q + 29;
t = i2 % 128;
if (i2 % 2 == 0) {
throw null;
}
}
@Override // com.scb.phone.view.activity.BaseActivity, androidx.activity.ComponentActivity, android.app.Activity
public void onNewIntent(Intent intent) {
int i = 2 % 2;
int i2 = t + 23;
q = i2 % 128;
if (i2 % 2 != 0) {
super.onNewIntent(intent);
setIntent(intent);
int i3 = 85 / 0;
if (this.l == null) {
return;
}
} else {
super.onNewIntent(intent);
setIntent(intent);
if (this.l == null) {
return;
}
}
int i4 = t + 81;
q = i4 % 128;
int i5 = i4 % 2;
getSupportFragmentManager().a().e(this.l).b();
}
@Override // o.dJO, 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;
int i2 = q + 87;
t = i2 % 128;
int i3 = i2 % 2;
Context baseContext = getBaseContext();
Object obj = null;
if (baseContext == null) {
Object[] objArr = new Object[1];
ax(26 - (AudioTrack.getMinVolume() > BitmapDescriptorFactory.HUE_RED ? 1 : (AudioTrack.getMinVolume() == BitmapDescriptorFactory.HUE_RED ? 0 : -1)), new char[]{1, 6, '\f', 15, 1, 11, 65534, 1, 65534, 2, 15, 5, 65521, 22, 17, 6, 19, 6, 17, 0, 65502, 65483, '\r', '\r', 65534, 65483}, ((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getPackageName().codePointAt(5) + 122, true, ((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getResources().getString(R.string.hml_business_owner_industry_about_steps).substring(0, 2).length() + 5, 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().getPackageName().length() + 5, new char[]{5, 65535, '\n', 65527, 65529, 65535, 2, 6, 6, 65495, '\n', 4, 65531, '\b', '\b', 11, 65529, 4}, ((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getApplicationInfo().targetSdkVersion + CipherSuite.TLS_DH_RSA_WITH_CAMELLIA_256_CBC_SHA256, true, 18 - (SystemClock.elapsedRealtime() > 0L ? 1 : (SystemClock.elapsedRealtime() == 0L ? 0 : -1)), 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 = t + 73;
q = i4 % 128;
try {
if (i4 % 2 != 0) {
Object obj2 = xzZ.y.get(125943855);
if (obj2 == null) {
obj2 = ((Class) xzZ.c(492 - View.resolveSize(0, 0), 5 - Color.alpha(0), (char) ((ExpandableListView.getPackedPositionForChild(0, 0) > 0L ? 1 : (ExpandableListView.getPackedPositionForChild(0, 0) == 0L ? 0 : -1)) + 1))).getMethod("a", null);
xzZ.y.put(125943855, obj2);
}
Object invoke = ((Method) obj2).invoke(null, null);
Object[] objArr3 = {baseContext};
Object obj3 = xzZ.y.get(1378719468);
if (obj3 == null) {
obj3 = ((Class) xzZ.c(487 - View.MeasureSpec.getSize(0), (ViewConfiguration.getPressedStateDuration() >> 16) + 5, (char) (1 - (AudioTrack.getMaxVolume() > BitmapDescriptorFactory.HUE_RED ? 1 : (AudioTrack.getMaxVolume() == BitmapDescriptorFactory.HUE_RED ? 0 : -1))))).getMethod(KtaJsonExactionHelper.OBJECT, Context.class);
xzZ.y.put(1378719468, obj3);
}
((Method) obj3).invoke(invoke, objArr3);
obj.hashCode();
throw null;
}
Object obj4 = xzZ.y.get(125943855);
if (obj4 == null) {
obj4 = ((Class) xzZ.c(492 - (ViewConfiguration.getMaximumDrawingCacheSize() >> 24), 4 - ImageFormat.getBitsPerPixel(0), (char) Color.argb(0, 0, 0, 0))).getMethod("a", null);
xzZ.y.put(125943855, obj4);
}
Object invoke2 = ((Method) obj4).invoke(null, null);
Object[] objArr4 = {baseContext};
Object obj5 = xzZ.y.get(1378719468);
if (obj5 == null) {
obj5 = ((Class) xzZ.c(486 - ExpandableListView.getPackedPositionChild(0L), TextUtils.getOffsetBefore("", 0) + 5, (char) View.MeasureSpec.getSize(0))).getMethod(KtaJsonExactionHelper.OBJECT, Context.class);
xzZ.y.put(1378719468, obj5);
}
((Method) obj5).invoke(invoke2, objArr4);
} catch (Throwable th) {
Throwable cause = th.getCause();
if (cause == null) {
throw th;
}
throw cause;
}
}
super.onResume();
if (!(!getIntent().getBooleanExtra("com.scb.phone.EXTRA_REFRESH", false))) {
int i5 = q + 81;
t = i5 % 128;
int i6 = i5 % 2;
this.easycashLandingPresenter.e(X(), z_());
getIntent().putExtra("com.scb.phone.EXTRA_REFRESH", false);
return;
}
if (this.b) {
int i7 = t + 97;
q = i7 % 128;
int i8 = i7 % 2;
this.easycashLandingPresenter.a();
this.b = false;
}
}
@Override // com.scb.phone.view.activity.BaseActivity
public final void Z() {
int i = 2 % 2;
int i2 = t + 31;
q = i2 % 128;
int i3 = i2 % 2;
super.Z();
setTitle(R.string.easycash_scb_easy_cash);
ac();
int i4 = q + 57;
t = i4 % 128;
if (i4 % 2 != 0) {
return;
}
Object obj = null;
obj.hashCode();
throw null;
}
/* JADX WARN: Code restructure failed: missing block: B:10:0x0052, code lost:
finish();
*/
/* JADX WARN: Code restructure failed: missing block: B:11:?, code lost:
return;
*/
/* JADX WARN: Code restructure failed: missing block: B:13:?, code lost:
return;
*/
/* JADX WARN: Code restructure failed: missing block: B:15:0x0057, code lost:
throw null;
*/
/* JADX WARN: Code restructure failed: missing block: B:16:0x0058, code lost:
return;
*/
/* JADX WARN: Code restructure failed: missing block: B:17:0x001e, code lost:
r4 = com.scb.phone.view.activity.easycash.EasycashLandingActivity.t;
r6 = r4 + 91;
com.scb.phone.view.activity.easycash.EasycashLandingActivity.q = r6 % 128;
r6 = r6 % 2;
*/
/* JADX WARN: Code restructure failed: missing block: B:18:0x0027, code lost:
if (r5 != (-1)) goto L13;
*/
/* JADX WARN: Code restructure failed: missing block: B:19:0x0029, code lost:
r4 = r4 + 93;
com.scb.phone.view.activity.easycash.EasycashLandingActivity.q = r4 % 128;
r4 = r4 % 2;
r3.b = true;
*/
/* JADX WARN: Code restructure failed: missing block: B:20:0x0033, code lost:
return;
*/
/* JADX WARN: Code restructure failed: missing block: B:21:0x0034, code lost:
finish();
*/
/* JADX WARN: Code restructure failed: missing block: B:22:0x0037, code lost:
return;
*/
/* JADX WARN: Code restructure failed: missing block: B:24:0x001c, code lost:
if (r4 == 7134) goto L9;
*/
/* JADX WARN: Code restructure failed: missing block: B:4:0x0014, code lost:
if (r4 == 27867) goto L9;
*/
/* JADX WARN: Code restructure failed: missing block: B:6:0x0043, code lost:
if (getIntent().getBooleanExtra("com.scb.phone.EXTRA_DEEPLINK", false) == false) goto L23;
*/
/* JADX WARN: Code restructure failed: missing block: B:7:0x0045, code lost:
r4 = com.scb.phone.view.activity.easycash.EasycashLandingActivity.q + 3;
com.scb.phone.view.activity.easycash.EasycashLandingActivity.t = r4 % 128;
*/
/* JADX WARN: Code restructure failed: missing block: B:8:0x004e, code lost:
if ((r4 % 2) == 0) goto L21;
*/
/* JADX WARN: Code restructure failed: missing block: B:9:0x0050, code lost:
if (r5 != (-1)) goto L24;
*/
@Override // com.scb.phone.view.activity.BaseActivity, com.scb.phone.view.activity.PreLoadCheckActivity, androidx.fragment.app.FragmentActivity, androidx.activity.ComponentActivity, android.app.Activity
/*
Code decompiled incorrectly, please refer to instructions dump.
To view partially-correct add '--show-bad-code' argument
*/
public void onActivityResult(int r4, int r5, android.content.Intent r6) {
/*
r3 = this;
r0 = 2
int r1 = r0 % r0
int r1 = com.scb.phone.view.activity.easycash.EasycashLandingActivity.t
int r1 = r1 + 55
int r2 = r1 % 128
com.scb.phone.view.activity.easycash.EasycashLandingActivity.q = r2
int r1 = r1 % r0
r2 = -1
if (r1 == 0) goto L17
super.onActivityResult(r4, r5, r6)
r6 = 27867(0x6cdb, float:3.905E-41)
if (r4 != r6) goto L38
goto L1e
L17:
super.onActivityResult(r4, r5, r6)
r6 = 7134(0x1bde, float:9.997E-42)
if (r4 != r6) goto L38
L1e:
int r4 = com.scb.phone.view.activity.easycash.EasycashLandingActivity.t
int r6 = r4 + 91
int r1 = r6 % 128
com.scb.phone.view.activity.easycash.EasycashLandingActivity.q = r1
int r6 = r6 % r0
if (r5 != r2) goto L34
int r4 = r4 + 93
int r5 = r4 % 128
com.scb.phone.view.activity.easycash.EasycashLandingActivity.q = r5
int r4 = r4 % r0
r4 = 1
r3.b = r4
return
L34:
r3.finish()
return
L38:
android.content.Intent r4 = r3.getIntent()
java.lang.String r6 = "com.scb.phone.EXTRA_DEEPLINK"
r1 = 0
boolean r4 = r4.getBooleanExtra(r6, r1)
if (r4 == 0) goto L58
int r4 = com.scb.phone.view.activity.easycash.EasycashLandingActivity.q
int r4 = r4 + 3
int r6 = r4 % 128
com.scb.phone.view.activity.easycash.EasycashLandingActivity.t = r6
int r4 = r4 % r0
if (r4 == 0) goto L56
if (r5 != r2) goto L58
r3.finish()
goto L58
L56:
r4 = 0
throw r4
L58:
return
*/
throw new UnsupportedOperationException("Method not decompiled: com.scb.phone.view.activity.easycash.EasycashLandingActivity.onActivityResult(int, int, android.content.Intent):void");
}
@Override // o.InterfaceC6621cYR.zJl
public final void d(C0663Lq c0663Lq, boolean z) {
EasycashLandingEmptyFragment e;
AbstractC13482fbE a;
int i = 2;
int i2 = 2 % 2;
int i3 = q + 3;
t = i3 % 128;
if (i3 % 2 == 0) {
e = EasycashLandingEmptyFragment.e(c0663Lq, z);
a = getSupportFragmentManager().a();
i = 5;
} else {
e = EasycashLandingEmptyFragment.e(c0663Lq, z);
a = getSupportFragmentManager().a();
}
a.b(R.id.container, e, null, i);
a.b();
}
@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 + 13;
t = i2 % 128;
int i3 = i2 % 2;
this.tracker.b();
this.easycashLandingPresenter.w_();
super.onDestroy();
int i4 = t + 113;
q = i4 % 128;
int i5 = i4 % 2;
}
@Override // o.dJO, 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 = t + 45;
q = i2 % 128;
int i3 = i2 % 2;
Object[] objArr = new Object[1];
ax(((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getResources().getString(R.string.banking_deposits_generate_qr_title).substring(8, 9).length() + 25, new char[]{1, 6, '\f', 15, 1, 11, 65534, 1, 65534, 2, 15, 5, 65521, 22, 17, 6, 19, 6, 17, 0, 65502, 65483, '\r', '\r', 65534, 65483}, ((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).codePointAt(0) + CipherSuite.TLS_DHE_DSS_WITH_CAMELLIA_128_CBC_SHA256, true, ((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).length() + 6, 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().getPackageName().length() + 5, new char[]{5, 65535, '\n', 65527, 65529, 65535, 2, 6, 6, 65495, '\n', 4, 65531, '\b', '\b', 11, 65529, 4}, ((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getResources().getString(R.string.number_of_purchases).substring(0, 3).codePointAt(1) + 113, true, ((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getResources().getString(R.string.edit_address_remark).substring(11, 12).codePointAt(0) - 15, objArr2);
baseContext = (Context) cls.getMethod((String) objArr2[0], new Class[0]).invoke(null, null);
int i4 = q + 35;
t = i4 % 128;
if (i4 % 2 == 0) {
int i5 = 2 / 3;
}
}
if (baseContext != null) {
baseContext = baseContext.getApplicationContext();
}
if (baseContext != null) {
int i6 = t + 79;
q = i6 % 128;
int i7 = i6 % 2;
try {
Object obj = xzZ.y.get(125943855);
if (obj == null) {
obj = ((Class) xzZ.c(492 - View.combineMeasuredStates(0, 0), (SystemClock.elapsedRealtime() > 0L ? 1 : (SystemClock.elapsedRealtime() == 0L ? 0 : -1)) + 4, (char) ((-1) - MotionEvent.axisFromString("")))).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.getTouchSlop() >> 8), 5 - View.resolveSize(0, 0), (char) Color.argb(0, 0, 0, 0))).getMethod("c", Context.class);
xzZ.y.put(1633456013, obj2);
}
((Method) obj2).invoke(invoke, objArr3);
} catch (Throwable th) {
Throwable cause = th.getCause();
if (cause == null) {
throw th;
}
throw cause;
}
}
super.onPause();
}
@Override // o.dJO, 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;
int i2 = t + 103;
q = i2 % 128;
int i3 = i2 % 2;
super.attachBaseContext(context);
Object[] objArr = new Object[1];
ax((SystemClock.elapsedRealtimeNanos() > 0L ? 1 : (SystemClock.elapsedRealtimeNanos() == 0L ? 0 : -1)) + 17, new char[]{16, 2, 0, '\f', 15, 65517, 65483, 16, '\f', 65483, 1, 6, '\f', 15, 1, 11, 65534, 16}, 221 - (ViewConfiguration.getScrollBarSize() >> 8), true, 17 - ExpandableListView.getPackedPositionGroup(0L), objArr);
Class<?> cls = Class.forName((String) objArr[0]);
Object[] objArr2 = new Object[1];
ay(new char[]{62597, 3739, 30341, 64280, 51062, 55428}, Color.alpha(0) + 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) {
if (context != null) {
int i4 = q + 63;
t = i4 % 128;
int i5 = i4 % 2;
context2 = context.getApplicationContext();
} else {
context2 = context;
}
if (context2 != null) {
int i6 = q + 33;
t = i6 % 128;
int i7 = i6 % 2;
try {
Object obj = xzZ.y.get(125943855);
if (obj == null) {
obj = ((Class) xzZ.c(491 - Process.getGidForName(""), (Process.myPid() >> 22) + 5, (char) View.MeasureSpec.getSize(0))).getMethod("a", null);
xzZ.y.put(125943855, obj);
}
Object invoke = ((Method) obj).invoke(null, null);
Object[] objArr3 = new Object[1];
ay(new char[]{44736, 14739, 55145, 18324, 47348, 18248, 39027, 54368, 10326, 33633, 43847, 18664, 57716, 61768, 42070, 23896, 35476, 19819, 65122, 46535, 26967, 3652, 52766, 7947, 14124, 25880, 12261, 4660, 40603, 279, 14414, 49144, 35216, 22535, 51464, 36585, 56775, 36678, 9383, 37825, 64394, 65046, 20310, 2699, 59868, 44150, 56600, 33558}, ((Process.getThreadPriority(0) + 20) >> 6) + 48, objArr3);
String str = (String) objArr3[0];
Object[] objArr4 = new Object[1];
ay(new char[]{25360, 53484, 1838, 5605, 46739, 45466, 47045, 18698, 23481, 18712, 11568, 28616, 11568, 28616, 25158, 45692, 35880, 26741, 23203, 48421, 44305, 49358, 1269, 49803, 4167, 31009, 53096, 35443, 61867, 40817, 61360, 28942, 62354, 42536, 31042, 58184, 3565, 9837, 9383, 37825, 46739, 45466, 24715, 16323, 28967, 3861, 46739, 45466, 56354, 41164, 22122, 899, 59868, 44150, 13344, 52933, 23436, 31028, 45420, 53267, 46739, 45466, 44580, 3413}, 63 - (ExpandableListView.getPackedPositionForChild(0, 0) > 0L ? 1 : (ExpandableListView.getPackedPositionForChild(0, 0) == 0L ? 0 : -1)), objArr4);
String str2 = (String) objArr4[0];
Object[] objArr5 = new Object[1];
ax(64 - TextUtils.indexOf("", ""), new char[]{31, 65520, 29, ' ', 65517, 65519, 65514, 65519, 65515, 65515, 65516, 65519, 65519, 27, NistHelper.SEP_FS, 65518, 30, 65523, 65520, 65522, 31, ' ', 65522, 29, 65516, 65521, 65514, 65515, 65514, ' ', NistHelper.SEP_FS, 27, 65522, 65514, 65518, NistHelper.SEP_FS, 31, 65517, 65523, 65516, 31, 31, 65517, 27, 65517, 65514, 65522, 27, 65521, 29, 65522, 65519, 27, ' ', 27, 65514, ' ', 65514, 65523, 65520, 65522, 65516, 31, NistHelper.SEP_FS}, 191 - TextUtils.indexOf((CharSequence) "", '0', 0, 0), true, (ViewConfiguration.getPressedStateDuration() >> 16) + 48, objArr5);
String str3 = (String) objArr5[0];
Object[] objArr6 = new Object[1];
ay(new char[]{30835, 6547, 20819, 48942, 57169, 41771, 28020, 44510, 24668, 24903, 29823, 27924, 17956, 62863, 15137, 3236, 3186, 55473, 10327, 10134, 53038, 11301, 16897, 44932, 6235, 5089, 4860, 37461, 54906, 16227, 54261, 43161, 62732, 6602, 61559, 17877, 10214, 22976, 41411, 48295, 47027, 1737, 9118, 42258, 1502, 6712, 47027, 1737, 58482, 63531, 17956, 62863, 17616, 35058, 52807, 21494, 23717, 12991, 36311, 25955, 51441, 13136, 34048, 15434, 9864, 20047, 52053, 49173, 1497, 43768, 19475, 41306, 62280, 3925}, 74 - (ViewConfiguration.getLongPressTimeout() >> 16), objArr6);
String str4 = (String) objArr6[0];
Object[] objArr7 = new Object[1];
ax(6 - (Process.getElapsedCpuTime() > 0L ? 1 : (Process.getElapsedCpuTime() == 0L ? 0 : -1)), new char[]{65532, 6, 65532, 7, 65534}, 172 - ExpandableListView.getPackedPositionGroup(0L), true, (ViewConfiguration.getZoomControlsTimeout() > 0L ? 1 : (ViewConfiguration.getZoomControlsTimeout() == 0L ? 0 : -1)) + 3, objArr7);
String str5 = (String) objArr7[0];
Object[] objArr8 = new Object[1];
ay(new char[]{54261, 43161, 64394, 65046, 39980, 3014, 39170, 29832, 45035, 13075, 17585, 33637, 28327, 60496, 28363, 37693, 39702, 8480, 54321, 49196, 15310, 15590, 55443, 42666, 54445, 48947, 43847, 18664, 12942, 60242, 12261, 4660, 24311, 36999, 31202, 62558}, TextUtils.getTrimmedLength("") + 36, 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(486 - TextUtils.indexOf((CharSequence) "", '0', 0, 0), 6 - (SystemClock.currentThreadTimeMillis() > (-1L) ? 1 : (SystemClock.currentThreadTimeMillis() == (-1L) ? 0 : -1)), (char) ((-1) - MotionEvent.axisFromString("")))).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;
}
}
}
}
@Override // o.dJO, 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 = t + 89;
q = i2 % 128;
int i3 = i2 % 2;
Object obj = null;
super.onStart();
if (i3 != 0) {
throw null;
}
int i4 = q + 17;
t = i4 % 128;
if (i4 % 2 != 0) {
return;
}
obj.hashCode();
throw null;
}
@Override // o.InterfaceC6621cYR.zJl
public final void d(C0659Lp c0659Lp, boolean z) {
d(new Object[]{this, c0659Lp, Boolean.valueOf(z)}, 1340405767, -1340405767, ((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getApplicationInfo().targetSdkVersion - 1146703121);
}
}