what-the-bank/sources/com/scb/phone/view/activity/etb/EtbActivity.java

819 lines
38 KiB
Java
Raw Permalink Normal View History

2024-07-27 18:17:47 +07:00
package com.scb.phone.view.activity.etb;
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.telephony.cdma.CdmaCellLocation;
import android.text.TextUtils;
import android.util.TypedValue;
import android.view.KeyEvent;
import android.view.MenuItem;
import android.view.MotionEvent;
import android.view.View;
import android.view.ViewConfiguration;
import android.widget.ExpandableListView;
import android.widget.TextView;
import androidx.fragment.app.Fragment;
import butterknife.BindView;
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.BaseActivity;
import com.scb.phone.view.activity.etb.EtbActivity;
import com.scb.phone.view.custom.common.ProgressStateBar;
import com.scb.phone.view.fragment.etb.EtbPersonalInformationFragment;
import com.scb.phone.view.fragment.etb.EtbReviewInformationFragment;
import java.lang.reflect.Method;
import net.sf.scuba.smartcards.ISOFileInfo;
import o.AbstractActivityC8498dMz;
import o.C0698Mn;
import o.C0714Mx;
import o.InterfaceC12818fIA;
import o.InterfaceC8477dMe;
import o.InterfaceC9713dpA;
import o.TVH;
import o.jTb;
import o.xzZ;
import okhttp3.internal.http2.Http2Connection;
/* loaded from: classes4.dex */
public class EtbActivity extends AbstractActivityC8498dMz implements InterfaceC12818fIA, InterfaceC8477dMe, InterfaceC9713dpA {
private C0698Mn k;
private C0714Mx m;
@BindView
ProgressStateBar progressStateBar;
private static final byte[] $$g = {40, 9, -20, ISOFileInfo.AB};
private static final int $$h = 67;
private static int $10 = 0;
private static int $11 = 1;
private static int t = 0;
private static int p = 1;
/* renamed from: o, reason: collision with root package name */
private static char f7138o = 30124;
private static char l = 36586;
private static char s = 36940;
private static char r = 20635;
private static char[] q = {39995, 40044, 40034, 40032, 40059, 40039, 40045, 40002, 40012, 40035, 40059, 40004, 39996, 40025, 40032, 40037, 40036, 40036, 40037, 40061, 40045, 40021, 40038, 40032, 40040, 40041, 39994, 40039, 40056, 40057, 40032, 40034, 40058, 40017, 40019, 40059, 40037, 40033, 40045, 40041, 40033, 40037, 40039, 40037, 39952, 40007, 40042, 40040, 40046, 40040, 40007, 40006, 40006, 40007, 40000, 39997, 40004, 40006, 39992, 39999, 39999, 39999, 39997, 39999, 39992, 39998, 39993, 39994, 40001, 40007, 40000, 40001, 39992, 39999, 39992, 40002, 40001, 39998, 39999, 39999, 39996, 39996, 39997, 40000, 40000, 39997, 40006, 40041, 40007, 40007, 40042, 40000, 39998, 39992, 39992, 40007, 40040, 40005, 40004, 40005, 40006, 40006, 39997, 40000, 40006, 40006, 40001, 39999, 39955, 39972, 39992, 39992, 39992, 40007, 40092, 40054, 40044, 40075, 40073, 40033, 40045, 40041, 40046, 40044, 40053, 40092, 40048, 40047, 40044, 40046, 40046, 40040, 40048, 40094, 40092, 40083, 40055, 40040, 40053, 40053, 40054, 40075, 40073, 40083, 40075, 40035, 40035, 40044, 40052};
private static void az(int i, int i2, byte b, Object[] objArr) {
int i3 = (i * 4) + 4;
int i4 = i2 * 3;
byte[] bArr = $$g;
int i5 = b + 66;
byte[] bArr2 = new byte[i4 + 1];
int i6 = -1;
if (bArr == null) {
i3++;
i5 = i4 + (-i3);
}
while (true) {
i6++;
bArr2[i6] = (byte) i5;
if (i6 == i4) {
objArr[0] = new String(bArr2, 0);
return;
} else {
byte b2 = bArr[i3];
i3++;
i5 += -b2;
}
}
}
/* JADX INFO: Access modifiers changed from: private */
public static /* synthetic */ Object b(Object[] objArr) {
Context context = (Context) objArr[0];
String str = (String) objArr[1];
String str2 = (String) objArr[2];
String str3 = (String) objArr[3];
int i = 2 % 2;
Intent intent = new Intent(context, (Class<?>) EtbActivity.class);
intent.putExtra("EXTRA_ACCOUNT_TYPE", str);
intent.putExtra("EXTRA_PRODUCT_CODDE", str2);
intent.putExtra("EXTRA_OPEN_FLAG", str3);
int i2 = t + 29;
p = i2 % 128;
if (i2 % 2 != 0) {
return intent;
}
throw null;
}
@Override // o.InterfaceC12818fIA
public final void h() {
int i = 2 % 2;
int i2 = p + 35;
t = i2 % 128;
int i3 = i2 % 2;
d((EtbActivity) EtbPersonalInformationFragment.a(this.k, this.m));
int i4 = p + 69;
t = i4 % 128;
if (i4 % 2 != 0) {
throw null;
}
}
private static void ax(char[] cArr, int i, Object[] objArr) {
int i2 = 2 % 2;
jTb jtb = new jTb();
char[] cArr2 = new char[cArr.length];
int i3 = 0;
jtb.b = 0;
char[] cArr3 = new char[2];
while (jtb.b < cArr.length) {
int i4 = $10 + 125;
$11 = i4 % 128;
int i5 = 58224;
if (i4 % 2 == 0) {
cArr3[1] = cArr[jtb.b];
cArr3[i3] = cArr[jtb.b];
} else {
cArr3[i3] = cArr[jtb.b];
cArr3[1] = cArr[jtb.b + 1];
}
int i6 = i3;
while (i6 < 16) {
int i7 = $11 + 73;
$10 = i7 % 128;
int i8 = i7 % 2;
char c = cArr3[1];
char c2 = cArr3[i3];
char[] cArr4 = cArr3;
try {
Object[] objArr2 = {Integer.valueOf(c), Integer.valueOf((c2 + i5) ^ ((c2 << 4) + ((char) (s ^ 41718355337583039L)))), Integer.valueOf(c2 >>> 5), Integer.valueOf(r)};
Object obj = xzZ.y.get(597144044);
if (obj == null) {
Class cls = (Class) xzZ.c(413 - (SystemClock.currentThreadTimeMillis() > (-1L) ? 1 : (SystemClock.currentThreadTimeMillis() == (-1L) ? 0 : -1)), 5 - View.MeasureSpec.getMode(0), (char) (ViewConfiguration.getKeyRepeatTimeout() >> 16));
byte b = (byte) 0;
byte b2 = b;
Object[] objArr3 = new Object[1];
az(b, b2, b2, objArr3);
obj = cls.getMethod((String) objArr3[0], Integer.TYPE, Integer.TYPE, Integer.TYPE, Integer.TYPE);
xzZ.y.put(597144044, obj);
}
char charValue = ((Character) ((Method) obj).invoke(null, objArr2)).charValue();
cArr4[1] = charValue;
Object[] objArr4 = {Integer.valueOf(cArr4[0]), Integer.valueOf((charValue + i5) ^ ((charValue << 4) + ((char) (f7138o ^ 41718355337583039L)))), Integer.valueOf(charValue >>> 5), Integer.valueOf(l)};
Object obj2 = xzZ.y.get(597144044);
if (obj2 == null) {
Class cls2 = (Class) xzZ.c(412 - (AudioTrack.getMinVolume() > BitmapDescriptorFactory.HUE_RED ? 1 : (AudioTrack.getMinVolume() == BitmapDescriptorFactory.HUE_RED ? 0 : -1)), KeyEvent.keyCodeFromString("") + 5, (char) (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)));
byte b3 = (byte) 0;
byte b4 = b3;
Object[] objArr5 = new Object[1];
az(b3, b4, b4, objArr5);
obj2 = cls2.getMethod((String) objArr5[0], Integer.TYPE, Integer.TYPE, Integer.TYPE, Integer.TYPE);
xzZ.y.put(597144044, obj2);
}
cArr4[0] = ((Character) ((Method) obj2).invoke(null, objArr4)).charValue();
i5 -= 40503;
i6++;
cArr3 = cArr4;
i3 = 0;
} catch (Throwable th) {
Throwable cause = th.getCause();
if (cause == null) {
throw th;
}
throw cause;
}
}
char[] cArr5 = cArr3;
cArr2[jtb.b] = cArr5[0];
cArr2[jtb.b + 1] = cArr5[1];
Object[] objArr6 = {jtb, jtb};
Object obj3 = xzZ.y.get(943004485);
if (obj3 == null) {
Class cls3 = (Class) xzZ.c(98 - (ViewConfiguration.getKeyRepeatDelay() >> 16), 4 - TextUtils.lastIndexOf("", '0', 0, 0), (char) (ExpandableListView.getPackedPositionForGroup(0) > 0L ? 1 : (ExpandableListView.getPackedPositionForGroup(0) == 0L ? 0 : -1)));
byte b5 = (byte) 0;
byte b6 = b5;
Object[] objArr7 = new Object[1];
az(b5, b6, (byte) (b6 + 1), objArr7);
obj3 = cls3.getMethod((String) objArr7[0], Object.class, Object.class);
xzZ.y.put(943004485, obj3);
}
((Method) obj3).invoke(null, objArr6);
cArr3 = cArr5;
i3 = 0;
}
objArr[0] = new String(cArr2, 0, i);
}
/* JADX WARN: Code restructure failed: missing block: B:4:0x00af, code lost:
if (r3 > 99999) goto L6;
*/
@Override // o.AbstractActivityC8498dMz, 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 r20) {
/*
Method dump skipped, instructions count: 1078
To view this dump add '--comments-level debug' option
*/
throw new UnsupportedOperationException("Method not decompiled: com.scb.phone.view.activity.etb.EtbActivity.onCreate(android.os.Bundle):void");
}
@Override // com.scb.phone.view.activity.BaseActivity
public final void Z() {
int i = 2 % 2;
int i2 = t + 15;
p = i2 % 128;
int i3 = i2 % 2;
super.Z();
ac();
this.i.d(this.i.c() | 16);
this.i.f();
int i4 = p + 7;
t = i4 % 128;
int i5 = i4 % 2;
}
@Override // com.scb.phone.view.activity.BaseActivity, android.app.Activity
public boolean onOptionsItemSelected(MenuItem menuItem) {
int i = 2 % 2;
int i2 = t + 69;
p = i2 % 128;
if (i2 % 2 != 0) {
if (menuItem.getItemId() != 16908332) {
return super.onOptionsItemSelected(menuItem);
}
onBackPressed();
int i3 = p + 117;
t = i3 % 128;
int i4 = i3 % 2;
return true;
}
menuItem.getItemId();
throw null;
}
/* JADX WARN: Code restructure failed: missing block: B:18:0x0078, code lost:
if ((r1.getChildFragmentManager().findFragmentById(com.scb.phone.R.id.fatca_containner) instanceof com.scb.phone.view.fragment.ntb.fatca.FatcaQuestionnaireFragment) != false) goto L14;
*/
/* JADX WARN: Code restructure failed: missing block: B:19:0x00a5, code lost:
r1.h();
*/
/* JADX WARN: Code restructure failed: missing block: B:20:0x0089, code lost:
r1 = r1.getChildFragmentManager();
((java.lang.Boolean) o.yRS.c(new java.lang.Object[]{r1}, 1273581602, -1273581599, java.lang.System.identityHashCode(r1))).booleanValue();
*/
/* JADX WARN: Code restructure failed: missing block: B:22:0x0087, code lost:
if ((r1.getChildFragmentManager().findFragmentById(com.scb.phone.R.id.fatca_containner) instanceof com.scb.phone.view.fragment.ntb.fatca.FatcaQuestionnaireFragment) != false) goto L14;
*/
@Override // 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 onBackPressed() {
/*
r8 = this;
r0 = 2
int r1 = r0 % r0
o.yRS r1 = r8.getSupportFragmentManager()
r2 = 2131362782(0x7f0a03de, float:1.8345354E38)
androidx.fragment.app.Fragment r1 = r1.findFragmentById(r2)
boolean r3 = r1 instanceof com.scb.phone.view.fragment.etb.EtbPersonalInformationFragment
r4 = 0
if (r3 == 0) goto L57
com.scb.phone.view.fragment.etb.EtbPersonalInformationFragment r1 = (com.scb.phone.view.fragment.etb.EtbPersonalInformationFragment) r1
android.content.Context r3 = r1.getContext()
com.scb.phone.view.custom.common.CustomDialog r3 = com.scb.phone.view.custom.common.CustomDialog.b(r3)
r5 = 2131959002(0x7f131cda, float:1.9554632E38)
com.scb.phone.view.custom.common.CustomDialog r3 = r3.c(r5)
r5 = 2131959001(0x7f131cd9, float:1.955463E38)
com.scb.phone.view.custom.common.CustomDialog r3 = r3.d(r5)
o.eYF r5 = new o.eYF
r5.<init>()
r6 = 2131959010(0x7f131ce2, float:1.9554648E38)
java.lang.Integer r7 = java.lang.Integer.valueOf(r6)
java.lang.Object[] r3 = new java.lang.Object[]{r3, r7, r5}
r5 = -95769672(0xfffffffffa4aabb8, float:-2.630817E35)
r7 = 95769672(0x5b55448, float:1.7052118E-35)
java.lang.Object r3 = com.scb.phone.view.custom.common.CustomDialog.a(r3, r5, r7, r6)
com.scb.phone.view.custom.common.CustomDialog r3 = (com.scb.phone.view.custom.common.CustomDialog) r3
o.eYE r5 = new o.eYE
r5.<init>(r1)
r1 = 2131959000(0x7f131cd8, float:1.9554628E38)
com.scb.phone.view.custom.common.CustomDialog r1 = r3.aoT_(r1, r5)
r1.show()
goto Lac
L57:
boolean r3 = r1 instanceof com.scb.phone.view.fragment.ntb.fatca.FatcaLandingQuestionFragment
if (r3 == 0) goto La9
int r3 = com.scb.phone.view.activity.etb.EtbActivity.t
int r3 = r3 + 123
int r5 = r3 % 128
com.scb.phone.view.activity.etb.EtbActivity.p = r5
int r3 = r3 % r0
r5 = 2131363553(0x7f0a06e1, float:1.8346918E38)
if (r3 != 0) goto L7b
com.scb.phone.view.fragment.ntb.fatca.FatcaLandingQuestionFragment r1 = (com.scb.phone.view.fragment.ntb.fatca.FatcaLandingQuestionFragment) r1
o.yRS r3 = r1.getChildFragmentManager()
androidx.fragment.app.Fragment r3 = r3.findFragmentById(r5)
boolean r3 = r3 instanceof com.scb.phone.view.fragment.ntb.fatca.FatcaQuestionnaireFragment
r5 = 52
int r5 = r5 / r4
if (r3 == 0) goto La5
goto L89
L7b:
com.scb.phone.view.fragment.ntb.fatca.FatcaLandingQuestionFragment r1 = (com.scb.phone.view.fragment.ntb.fatca.FatcaLandingQuestionFragment) r1
o.yRS r3 = r1.getChildFragmentManager()
androidx.fragment.app.Fragment r3 = r3.findFragmentById(r5)
boolean r3 = r3 instanceof com.scb.phone.view.fragment.ntb.fatca.FatcaQuestionnaireFragment
if (r3 == 0) goto La5
L89:
o.yRS r1 = r1.getChildFragmentManager()
java.lang.Object[] r3 = new java.lang.Object[]{r1}
int r1 = java.lang.System.identityHashCode(r1)
r5 = 1273581602(0x4be95022, float:3.0580804E7)
r6 = -1273581599(0xffffffffb416afe1, float:-1.4033823E-7)
java.lang.Object r1 = o.yRS.c(r3, r5, r6, r1)
java.lang.Boolean r1 = (java.lang.Boolean) r1
r1.booleanValue()
goto Lac
La5:
r1.h()
goto Lac
La9:
super.onBackPressed()
Lac:
o.yRS r1 = r8.getSupportFragmentManager()
androidx.fragment.app.Fragment r1 = r1.findFragmentById(r2)
boolean r2 = r1 instanceof com.scb.phone.view.fragment.etb.BreadcrumbFragment
if (r2 == 0) goto Ld1
int r2 = com.scb.phone.view.activity.etb.EtbActivity.p
int r2 = r2 + 35
int r3 = r2 % 128
com.scb.phone.view.activity.etb.EtbActivity.t = r3
int r2 = r2 % r0
com.scb.phone.view.fragment.etb.BreadcrumbFragment r1 = (com.scb.phone.view.fragment.etb.BreadcrumbFragment) r1
o.dpA r0 = r1.k
if (r0 == 0) goto Ld1
r0.c(r1)
android.view.View r0 = r1.getView()
r0.setVisibility(r4)
Ld1:
return
*/
throw new UnsupportedOperationException("Method not decompiled: com.scb.phone.view.activity.etb.EtbActivity.onBackPressed():void");
}
@Override // o.InterfaceC9713dpA
public final InterfaceC9713dpA.LWm p() {
int i = 2 % 2;
InterfaceC9713dpA.LWm lWm = new InterfaceC9713dpA.LWm(this) { // from class: o.dMj
private EtbActivity c;
@Override // o.InterfaceC9713dpA.LWm
public final void a(String str) {
EtbActivity etbActivity = this.c;
TextView textView = ((BaseActivity) etbActivity).h;
if (textView != null) {
textView.setText(str);
return;
}
TextView textView2 = etbActivity.mActionBarTitle;
if (textView2 != null) {
textView2.setText(str);
}
}
{
this.c = this;
}
};
int i2 = p + 67;
t = i2 % 128;
if (i2 % 2 == 0) {
return lWm;
}
Object obj = null;
obj.hashCode();
throw null;
}
@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;
int i4 = t + 89;
p = i4 % 128;
int i5 = i4 % 2;
super.onActivityResult(i, i2, intent);
Fragment findFragmentById = getSupportFragmentManager().findFragmentById(R.id.container);
if (!(!(findFragmentById instanceof EtbReviewInformationFragment))) {
findFragmentById.onActivityResult(i, i2, intent);
int i6 = p + 83;
t = i6 % 128;
int i7 = i6 % 2;
}
}
private static void ay(int[] iArr, boolean z, byte[] bArr, Object[] objArr) {
int i;
char[] cArr;
char[] cArr2;
int i2 = 2 % 2;
TVH tvh = new TVH();
int i3 = 0;
int i4 = iArr[0];
int i5 = 1;
int i6 = iArr[1];
int i7 = iArr[2];
int i8 = iArr[3];
char[] cArr3 = q;
long j = 0;
if (cArr3 != null) {
int i9 = $11 + 61;
$10 = i9 % 128;
int i10 = i9 % 2;
int length = cArr3.length;
char[] cArr4 = new char[length];
int i11 = 0;
while (i11 < length) {
try {
Object[] objArr2 = new Object[i5];
objArr2[i3] = Integer.valueOf(cArr3[i11]);
Object obj = xzZ.y.get(1645349359);
if (obj != null) {
cArr2 = cArr3;
} else {
Class cls = (Class) xzZ.c(223 - (ViewConfiguration.getTapTimeout() >> 16), (ExpandableListView.getPackedPositionForGroup(i3) > j ? 1 : (ExpandableListView.getPackedPositionForGroup(i3) == j ? 0 : -1)) + 5, (char) ((ViewConfiguration.getTouchSlop() >> 8) + 41977));
byte b = (byte) i3;
byte b2 = b;
cArr2 = cArr3;
Object[] objArr3 = new Object[1];
az(b, b2, (byte) (b2 + 5), objArr3);
obj = cls.getMethod((String) objArr3[0], Integer.TYPE);
xzZ.y.put(1645349359, obj);
}
cArr4[i11] = ((Character) ((Method) obj).invoke(null, objArr2)).charValue();
i11++;
cArr3 = cArr2;
i3 = 0;
i5 = 1;
j = 0;
} catch (Throwable th) {
Throwable cause = th.getCause();
if (cause == null) {
throw th;
}
throw cause;
}
}
cArr3 = cArr4;
}
char[] cArr5 = new char[i6];
System.arraycopy(cArr3, i4, cArr5, 0, i6);
if (bArr != null) {
char[] cArr6 = new char[i6];
tvh.c = 0;
char c = 0;
while (tvh.c < i6) {
if (bArr[tvh.c] == 1) {
int i12 = tvh.c;
Object[] objArr4 = {Integer.valueOf(cArr5[tvh.c]), Integer.valueOf(c)};
Object obj2 = xzZ.y.get(850398076);
if (obj2 == null) {
obj2 = ((Class) xzZ.c((ViewConfiguration.getFadingEdgeLength() >> 16) + 502, MotionEvent.axisFromString("") + 6, (char) (TextUtils.indexOf((CharSequence) "", '0', 0, 0) + 55))).getMethod("F", Integer.TYPE, Integer.TYPE);
xzZ.y.put(850398076, obj2);
}
cArr6[i12] = ((Character) ((Method) obj2).invoke(null, objArr4)).charValue();
} else {
int i13 = tvh.c;
Object[] objArr5 = {Integer.valueOf(cArr5[tvh.c]), Integer.valueOf(c)};
Object obj3 = xzZ.y.get(1084521042);
if (obj3 == null) {
obj3 = ((Class) xzZ.c(15 - Drawable.resolveOpacity(0, 0), 5 - ExpandableListView.getPackedPositionType(0L), (char) (ExpandableListView.getPackedPositionChild(0L) + 58135))).getMethod("H", Integer.TYPE, Integer.TYPE);
xzZ.y.put(1084521042, obj3);
}
cArr6[i13] = ((Character) ((Method) obj3).invoke(null, objArr5)).charValue();
}
c = cArr6[tvh.c];
Object[] objArr6 = {tvh, tvh};
Object obj4 = xzZ.y.get(1698744941);
if (obj4 == null) {
Class cls2 = (Class) xzZ.c(402 - ExpandableListView.getPackedPositionType(0L), Color.alpha(0) + 5, (char) ((CdmaCellLocation.convertQuartSecToDecDegrees(0) > 0.0d ? 1 : (CdmaCellLocation.convertQuartSecToDecDegrees(0) == 0.0d ? 0 : -1)) + 21608));
byte b3 = (byte) 0;
byte b4 = b3;
Object[] objArr7 = new Object[1];
az(b3, b4, (byte) (b4 | 7), objArr7);
obj4 = cls2.getMethod((String) objArr7[0], Object.class, Object.class);
xzZ.y.put(1698744941, obj4);
}
((Method) obj4).invoke(null, objArr6);
}
cArr5 = cArr6;
}
if (i8 > 0) {
char[] cArr7 = new char[i6];
System.arraycopy(cArr5, 0, cArr7, 0, i6);
int i14 = i6 - i8;
System.arraycopy(cArr7, 0, cArr5, i14, i8);
System.arraycopy(cArr7, i8, cArr5, 0, i14);
}
if (z) {
int i15 = $11 + 67;
$10 = i15 % 128;
if (i15 % 2 != 0) {
cArr = new char[i6];
i = 1;
tvh.c = 1;
} else {
i = 1;
cArr = new char[i6];
tvh.c = 0;
}
while (tvh.c < i6) {
cArr[tvh.c] = cArr5[(i6 - tvh.c) - i];
tvh.c += i;
i = 1;
}
cArr5 = cArr;
}
if (i7 > 0) {
int i16 = $11 + 37;
$10 = i16 % 128;
int i17 = i16 % 2;
tvh.c = 0;
while (tvh.c < i6) {
int i18 = $10 + 91;
$11 = i18 % 128;
if (i18 % 2 == 0) {
cArr5[tvh.c] = (char) (cArr5[tvh.c] << iArr[5]);
tvh.c = tvh.c;
} else {
cArr5[tvh.c] = (char) (cArr5[tvh.c] - iArr[2]);
tvh.c++;
}
int i19 = $11 + 79;
$10 = i19 % 128;
int i20 = i19 % 2;
}
}
objArr[0] = new String(cArr5);
}
@Override // o.AbstractActivityC8498dMz, 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() {
Method method;
int i = 2 % 2;
int i2 = p + 71;
t = i2 % 128;
int i3 = i2 % 2;
Context baseContext = getBaseContext();
if (baseContext == null) {
int i4 = p + 67;
t = i4 % 128;
if (i4 % 2 != 0) {
Object[] objArr = new Object[1];
ay(new int[]{0, 26, 0, 0}, false, new byte[]{1, 1, 0, 0, 1, 0, 1, 0, 1, 1, 0, 0, 1, 0, 1, 1, 1, 1, 1, 1, 1, 0, 0, 1, 0, 1}, objArr);
Class<?> cls = Class.forName((String) objArr[0]);
Object[] objArr2 = new Object[1];
ay(new int[]{26, 18, 0, 0}, true, new byte[]{1, 0, 1, 0, 1, 1, 0, 1, 1, 0, 0, 1, 0, 0, 1, 1, 0, 1}, objArr2);
method = cls.getMethod((String) objArr2[0], new Class[1]);
} else {
Object[] objArr3 = new Object[1];
ay(new int[]{0, 26, 0, 0}, false, new byte[]{1, 1, 0, 0, 1, 0, 1, 0, 1, 1, 0, 0, 1, 0, 1, 1, 1, 1, 1, 1, 1, 0, 0, 1, 0, 1}, objArr3);
Class<?> cls2 = Class.forName((String) objArr3[0]);
Object[] objArr4 = new Object[1];
ay(new int[]{26, 18, 0, 0}, false, new byte[]{1, 0, 1, 0, 1, 1, 0, 1, 1, 0, 0, 1, 0, 0, 1, 1, 0, 1}, objArr4);
method = cls2.getMethod((String) objArr4[0], new Class[0]);
}
baseContext = (Context) method.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(View.MeasureSpec.getSize(0) + 492, 4 - TextUtils.lastIndexOf("", '0', 0, 0), (char) (ExpandableListView.getPackedPositionChild(0L) + 1))).getMethod("a", null);
xzZ.y.put(125943855, obj);
}
Object invoke = ((Method) obj).invoke(null, null);
Object[] objArr5 = {baseContext};
Object obj2 = xzZ.y.get(1378719468);
if (obj2 == null) {
obj2 = ((Class) xzZ.c(487 - (TypedValue.complexToFloat(0) > BitmapDescriptorFactory.HUE_RED ? 1 : (TypedValue.complexToFloat(0) == BitmapDescriptorFactory.HUE_RED ? 0 : -1)), (ViewConfiguration.getTouchSlop() >> 8) + 5, (char) ((SystemClock.elapsedRealtimeNanos() > 0L ? 1 : (SystemClock.elapsedRealtimeNanos() == 0L ? 0 : -1)) - 1))).getMethod(KtaJsonExactionHelper.OBJECT, Context.class);
xzZ.y.put(1378719468, obj2);
}
((Method) obj2).invoke(invoke, objArr5);
} catch (Throwable th) {
Throwable cause = th.getCause();
if (cause == null) {
throw th;
}
throw cause;
}
}
super.onResume();
}
@Override // o.AbstractActivityC8498dMz, 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();
Object obj = null;
if (baseContext == null) {
int i2 = t + 1;
p = i2 % 128;
int i3 = i2 % 2;
Object[] objArr = new Object[1];
ay(new int[]{0, 26, 0, 0}, false, new byte[]{1, 1, 0, 0, 1, 0, 1, 0, 1, 1, 0, 0, 1, 0, 1, 1, 1, 1, 1, 1, 1, 0, 0, 1, 0, 1}, objArr);
Class<?> cls = Class.forName((String) objArr[0]);
Object[] objArr2 = new Object[1];
ay(new int[]{26, 18, 0, 0}, false, new byte[]{1, 0, 1, 0, 1, 1, 0, 1, 1, 0, 0, 1, 0, 0, 1, 1, 0, 1}, objArr2);
baseContext = (Context) cls.getMethod((String) objArr2[0], new Class[0]).invoke(null, null);
}
if (baseContext != null) {
int i4 = t + 19;
p = i4 % 128;
if (i4 % 2 == 0) {
baseContext.getApplicationContext();
obj.hashCode();
throw null;
}
baseContext = baseContext.getApplicationContext();
}
if (baseContext != null) {
int i5 = t + 23;
p = i5 % 128;
int i6 = i5 % 2;
try {
Object obj2 = xzZ.y.get(125943855);
if (obj2 == null) {
obj2 = ((Class) xzZ.c(TextUtils.indexOf((CharSequence) "", '0', 0) + 493, View.MeasureSpec.makeMeasureSpec(0, 0) + 5, (char) (Color.rgb(0, 0, 0) + Http2Connection.OKHTTP_CLIENT_WINDOW_SIZE))).getMethod("a", null);
xzZ.y.put(125943855, obj2);
}
Object invoke = ((Method) obj2).invoke(null, null);
Object[] objArr3 = {baseContext};
Object obj3 = xzZ.y.get(1633456013);
if (obj3 == null) {
obj3 = ((Class) xzZ.c(486 - TextUtils.lastIndexOf("", '0'), (CdmaCellLocation.convertQuartSecToDecDegrees(0) > 0.0d ? 1 : (CdmaCellLocation.convertQuartSecToDecDegrees(0) == 0.0d ? 0 : -1)) + 5, (char) ((-1) - MotionEvent.axisFromString("")))).getMethod("c", Context.class);
xzZ.y.put(1633456013, obj3);
}
((Method) obj3).invoke(invoke, objArr3);
} catch (Throwable th) {
Throwable cause = th.getCause();
if (cause == null) {
throw th;
}
throw cause;
}
}
super.onPause();
int i7 = t + 27;
p = i7 % 128;
int i8 = i7 % 2;
}
@Override // o.AbstractActivityC8498dMz, 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 = p + 53;
t = i2 % 128;
int i3 = i2 % 2;
super.attachBaseContext(context);
Object[] objArr = new Object[1];
ax(new char[]{24862, 56583, 37239, 62796, 11707, 34087, 12356, 12998, 57158, 775, 25448, 1266, 39707, 25259, 3610, 31990, 62780, 61729}, View.combineMeasuredStates(0, 0) + 18, objArr);
Class<?> cls = Class.forName((String) objArr[0]);
Object[] objArr2 = new Object[1];
ax(new char[]{3702, 1159, 55132, 12887, 12613, 7808}, (ExpandableListView.getPackedPositionForGroup(0) > 0L ? 1 : (ExpandableListView.getPackedPositionForGroup(0) == 0L ? 0 : -1)) + 5, objArr2);
int intValue = ((Integer) cls.getDeclaredMethod((String) objArr2[0], new Class[0]).invoke(null, new Object[0])).intValue() % 100000;
if (intValue >= 99000) {
int i4 = p + 87;
t = i4 % 128;
int i5 = i4 % 2;
if (intValue <= 99999) {
return;
}
}
if (context != null) {
int i6 = p + 9;
t = i6 % 128;
int i7 = i6 % 2;
context2 = context.getApplicationContext();
} else {
context2 = context;
}
if (context2 != null) {
int i8 = t + 111;
p = i8 % 128;
int i9 = i8 % 2;
try {
Object obj = xzZ.y.get(125943855);
if (obj == null) {
obj = ((Class) xzZ.c(492 - View.MeasureSpec.getMode(0), (ViewConfiguration.getMinimumFlingVelocity() >> 16) + 5, (char) (Process.myTid() >> 22))).getMethod("a", null);
xzZ.y.put(125943855, obj);
}
Object invoke = ((Method) obj).invoke(null, null);
Object[] objArr3 = new Object[1];
ax(new char[]{31998, 34885, 16747, 62740, 15542, 11738, 40526, 13908, 7426, 12408, 40588, 31326, 59299, 59703, 36069, 11785, 59950, 60146, 22766, 42383, 11710, 26132, 63877, 40329, 33516, 60593, 16224, 33352, 56799, 62991, 30975, 3989, 27859, 29775, 30892, 33658, 65273, 40705, 52399, 34361, 30112, 9276, 58892, 56400, 9546, 32147, 44307, 12489}, ImageFormat.getBitsPerPixel(0) + 49, objArr3);
String str = (String) objArr3[0];
Object[] objArr4 = new Object[1];
ay(new int[]{44, 64, 0, 4}, false, new byte[]{0, 0, 1, 0, 0, 1, 0, 1, 1, 0, 0, 1, 0, 0, 1, 0, 0, 0, 1, 0, 1, 0, 1, 1, 1, 1, 1, 1, 1, 1, 0, 1, 1, 1, 1, 0, 1, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1, 1, 1, 0, 1, 0, 0, 0, 0, 1, 0, 1, 1, 1, 0, 1, 0, 1}, objArr4);
String str2 = (String) objArr4[0];
Object[] objArr5 = new Object[1];
ax(new char[]{29370, 27414, 40549, 18453, 36581, 34815, 64432, 46966, 11446, 39816, 48828, 10569, 22568, 47316, 39267, 15786, 43024, 63934, 35432, 24497, 47501, 30702, 27025, 19300, 9546, 32147, 65273, 40705, 65439, 60899, 53175, 30892, 16747, 62740, 48334, 33405, 38094, 32366, 9106, 50327, 50177, 37692, 18600, 47285, 32476, 50313, 55790, 59074, 64025, 47913, 22766, 42383, 50108, 40870, 43655, 22280, 35785, 16808, 40526, 13908, 59120, 8443, 54982, 27895}, 64 - TextUtils.getCapsMode("", 0, 0), objArr5);
String str3 = (String) objArr5[0];
Object[] objArr6 = new Object[1];
ax(new char[]{40656, 30665, 46713, 27594, 38769, 1129, 41190, 45833, 29085, 10056, 8828, 33282, 14230, '\'', 21372, 34755, 41545, 55596, 45380, 40064, 27446, 38292, 42080, 48518, 41730, 12532, 19643, 55477, 13339, 37851, 35424, 52968, 13206, 34799, 28745, 10346, 56718, 30090, 10781, 52940, 54508, 21334, 35921, 3448, 26403, 14397, 54508, 21334, 22131, 29964, 14230, '\'', 27505, 64991, 28519, 26626, 60169, 52104, 31623, 26776, 28782, 47524, 14435, 22478, 17553, 14452, 20856, 28867, 40417, 54227, 36013, 22236, 42586, 33095}, 74 - (ViewConfiguration.getJumpTapTimeout() >> 16), objArr6);
String str4 = (String) objArr6[0];
Object[] objArr7 = new Object[1];
ay(new int[]{108, 5, 0, 5}, true, new byte[]{0, 0, 0, 0, 1}, objArr7);
String str5 = (String) objArr7[0];
Object[] objArr8 = new Object[1];
ay(new int[]{113, 36, 52, 0}, false, new byte[]{1, 0, 1, 0, 0, 1, 1, 0, 1, 1, 0, 1, 1, 1, 1, 0, 1, 0, 0, 0, 1, 1, 0, 0, 1, 1, 1, 1, 0, 0, 0, 0, 1, 1, 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(487 - (ViewConfiguration.getJumpTapTimeout() >> 16), ((Process.getThreadPriority(0) + 20) >> 6) + 5, (char) TextUtils.indexOf("", ""))).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.AbstractActivityC8498dMz, 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 + 21;
p = i2 % 128;
int i3 = i2 % 2;
super.onStart();
int i4 = t + 67;
p = i4 % 128;
if (i4 % 2 == 0) {
throw null;
}
}
@Override // o.InterfaceC8477dMe
public final void b(C0698Mn c0698Mn, C0714Mx c0714Mx) {
int i = 2 % 2;
int i2 = t + 33;
int i3 = i2 % 128;
p = i3;
int i4 = i2 % 2;
this.k = c0698Mn;
this.m = c0714Mx;
int i5 = i3 + 121;
t = i5 % 128;
if (i5 % 2 != 0) {
throw null;
}
}
@Override // o.InterfaceC12818fIA
public final void f() {
int i = 2 % 2;
int i2 = p + 89;
t = i2 % 128;
if (i2 % 2 != 0) {
int i3 = 79 / 0;
}
}
@Override // o.InterfaceC9713dpA
public final ProgressStateBar t() {
int i = 2 % 2;
int i2 = t;
int i3 = i2 + 25;
p = i3 % 128;
int i4 = i3 % 2;
ProgressStateBar progressStateBar = this.progressStateBar;
int i5 = i2 + 43;
p = i5 % 128;
int i6 = i5 % 2;
return progressStateBar;
}
public static Intent afj_(Context context, String str, String str2, String str3) {
Object[] objArr = {context, str, str2, str3};
return (Intent) b(objArr);
}
}