what-the-bank/sources/com/scb/phone/view/activity/mwpartner/MwOnboardInfoActivity.java

892 lines
40 KiB
Java

package com.scb.phone.view.activity.mwpartner;
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.net.Uri;
import android.os.Process;
import android.os.SystemClock;
import android.telephony.cdma.CdmaCellLocation;
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 android.widget.LinearLayout;
import android.widget.TextView;
import butterknife.BindView;
import butterknife.OnClick;
import com.google.android.gms.maps.model.BitmapDescriptorFactory;
import com.huawei.hms.support.api.entity.common.CommonConstant;
import com.pingan.ai.p;
import com.scb.phone.R;
import com.scb.phone.view.activity.mwpartner.MwOnboardInfoActivity;
import com.scb.phone.view.activity.partner.SCBUniversalWebViewActivity;
import com.scb.phone.view.activity.privacypolicy.ScbPrivacyPolicyActivity;
import java.lang.reflect.Method;
import java.util.Arrays;
import java.util.List;
import net.sf.scuba.smartcards.ISO7816;
import o.AbstractActivityC8878dYm;
import o.C10965eUa;
import o.C12914fKz;
import o.C4285bVl;
import o.C6583cXR;
import o.IRS;
import o.InterfaceC13169fSq;
import o.InterfaceC13391fZD;
import o.InterfaceC9409djG;
import o.Nhs;
import o.YpL;
import o.ZI;
import o.fSQ;
import o.fSS;
import o.guQ;
import o.pug;
import o.rzT;
import o.xzZ;
import org.jnbis.internal.NistHelper;
/* loaded from: classes5.dex */
public class MwOnboardInfoActivity extends AbstractActivityC8878dYm implements InterfaceC9409djG.LWm {
@BindView
LinearLayout llQualification;
@InterfaceC13391fZD
public C4285bVl presenter;
@BindView
TextView tvPrivacyConsent;
@BindView
TextView tvQualificationList;
private static final byte[] $$p = {97, ISO7816.INS_LOAD_KEY_FILE, 14, 49};
private static final int $$q = 1;
private static int $10 = 0;
private static int $11 = 1;
private static int s = 0;
private static int p = 1;
private static long m = 9051040786702654117L;
private static int k = 452713125;
/* renamed from: o, reason: collision with root package name */
private static char f7584o = 40285;
private static char[] l = {49031, 49035, 49044, 49110, 49127, 49027, 49109, 49053, 49029, 49090, 49118, 49112, 49088, 49040, 49052, 49055, 49106, 49051, 49098, 49041, 49138, 49026, 49042, 49054, 49108, 49116, 49117, 49034, 49093, 49091, 49119, 49094, 49105, 49104, 49028, 49111, 49114, 49115, 49048, 49089, 49043, 49095, 49030, 49033, 49050, 49049, 49024, 49045, 49025};
private static char q = 35374;
private static void aC(short s2, short s3, short s4, Object[] objArr) {
byte[] bArr = $$p;
int i = 120 - s4;
int i2 = 3 - (s2 * 4);
int i3 = s3 * 2;
byte[] bArr2 = new byte[i3 + 1];
int i4 = -1;
if (bArr == null) {
i4 = -1;
i = i2 + i3;
i2 = i2;
}
while (true) {
int i5 = i4 + 1;
bArr2[i5] = (byte) i;
int i6 = i2 + 1;
if (i5 == i3) {
objArr[0] = new String(bArr2, 0);
return;
} else {
i4 = i5;
i = bArr[i6] + i;
i2 = i6;
}
}
}
public static /* synthetic */ Object e(Object[] objArr, int i, int i2, int i3) {
boolean z = false;
MwOnboardInfoActivity mwOnboardInfoActivity = (MwOnboardInfoActivity) objArr[0];
final String str = (String) objArr[1];
int i4 = 2 % 2;
C4285bVl c4285bVl = mwOnboardInfoActivity.presenter;
ZI.IeS ieS = new ZI.IeS(str) { // from class: o.bVo
private String c;
@Override // o.ZI.IeS
public final void e(Object obj) {
((InterfaceC9409djG.LWm) obj).c(this.c);
}
{
this.c = str;
}
};
if (c4285bVl.f != 0) {
int i5 = s + 75;
p = i5 % 128;
int i6 = i5 % 2;
z = true;
} else {
int i7 = s + 83;
p = i7 % 128;
int i8 = i7 % 2;
}
if (!(!z)) {
ieS.e(c4285bVl.f);
}
return true;
}
public static Intent aiz_(Context context) {
int i = 2 % 2;
Intent intent = new Intent(context, (Class<?>) MwOnboardInfoActivity.class);
int i2 = p + 49;
s = i2 % 128;
int i3 = i2 % 2;
return intent;
}
private static void aA(char c, char[] cArr, char[] cArr2, char[] cArr3, int i, Object[] objArr) {
int i2 = 2 % 2;
Nhs nhs = new Nhs();
int length = cArr2.length;
char[] cArr4 = new char[length];
int length2 = cArr3.length;
char[] cArr5 = new char[length2];
System.arraycopy(cArr2, 0, cArr4, 0, length);
System.arraycopy(cArr3, 0, cArr5, 0, length2);
cArr4[0] = (char) (cArr4[0] ^ c);
cArr5[2] = (char) (cArr5[2] + ((char) i));
int length3 = cArr.length;
char[] cArr6 = new char[length3];
nhs.a = 0;
while (nhs.a < length3) {
int i3 = $11 + 39;
$10 = i3 % 128;
int i4 = i3 % 2;
try {
Object[] objArr2 = {nhs};
Object obj = xzZ.y.get(263693715);
if (obj == null) {
obj = ((Class) xzZ.c((ViewConfiguration.getDoubleTapTimeout() >> 16) + 45, (ViewConfiguration.getScrollFriction() > BitmapDescriptorFactory.HUE_RED ? 1 : (ViewConfiguration.getScrollFriction() == BitmapDescriptorFactory.HUE_RED ? 0 : -1)) + 4, (char) (ViewConfiguration.getEdgeSlop() >> 16))).getMethod("t", Object.class);
xzZ.y.put(263693715, obj);
}
int intValue = ((Integer) ((Method) obj).invoke(null, objArr2)).intValue();
Object[] objArr3 = {nhs};
Object obj2 = xzZ.y.get(-484664112);
if (obj2 == null) {
Class cls = (Class) xzZ.c(352 - (ViewConfiguration.getMaximumDrawingCacheSize() >> 24), 5 - (ViewConfiguration.getKeyRepeatDelay() >> 16), (char) (52129 - (AudioTrack.getMaxVolume() > BitmapDescriptorFactory.HUE_RED ? 1 : (AudioTrack.getMaxVolume() == BitmapDescriptorFactory.HUE_RED ? 0 : -1))));
byte b = (byte) ($$q - 1);
byte b2 = b;
Object[] objArr4 = new Object[1];
aC(b, b2, (byte) (b2 + 5), objArr4);
obj2 = cls.getMethod((String) objArr4[0], Object.class);
xzZ.y.put(-484664112, obj2);
}
int intValue2 = ((Integer) ((Method) obj2).invoke(null, objArr3)).intValue();
Object[] objArr5 = {nhs, Integer.valueOf(cArr4[nhs.a % 4] * 32718), Integer.valueOf(cArr5[intValue])};
Object obj3 = xzZ.y.get(430099516);
if (obj3 == null) {
obj3 = ((Class) xzZ.c((ViewConfiguration.getZoomControlsTimeout() > 0L ? 1 : (ViewConfiguration.getZoomControlsTimeout() == 0L ? 0 : -1)) + 747, 5 - Gravity.getAbsoluteGravity(0, 0), (char) Color.green(0))).getMethod(p.a, Object.class, Integer.TYPE, Integer.TYPE);
xzZ.y.put(430099516, obj3);
}
((Method) obj3).invoke(null, objArr5);
Object[] objArr6 = {Integer.valueOf(cArr4[intValue2] * 32718), Integer.valueOf(cArr5[intValue])};
Object obj4 = xzZ.y.get(1019894806);
if (obj4 == null) {
Class cls2 = (Class) xzZ.c(402 - (Process.myTid() >> 22), (AudioTrack.getMinVolume() > BitmapDescriptorFactory.HUE_RED ? 1 : (AudioTrack.getMinVolume() == BitmapDescriptorFactory.HUE_RED ? 0 : -1)) + 5, (char) ((ViewConfiguration.getTapTimeout() >> 16) + 21608));
byte b3 = (byte) ($$q - 1);
byte b4 = b3;
Object[] objArr7 = new Object[1];
aC(b3, b4, (byte) (b4 | 6), objArr7);
obj4 = cls2.getMethod((String) objArr7[0], Integer.TYPE, Integer.TYPE);
xzZ.y.put(1019894806, obj4);
}
cArr5[intValue2] = ((Character) ((Method) obj4).invoke(null, objArr6)).charValue();
cArr4[intValue2] = nhs.c;
cArr6[nhs.a] = (char) ((((cArr4[intValue2] ^ cArr[nhs.a]) ^ (m ^ 9051040786702654117L)) ^ ((int) (k ^ 9051040786702654117L))) ^ ((char) (f7584o ^ 9051040786702654117L)));
nhs.a++;
} catch (Throwable th) {
Throwable cause = th.getCause();
if (cause == null) {
throw th;
}
throw cause;
}
}
String str = new String(cArr6);
int i5 = $11 + 9;
$10 = i5 % 128;
if (i5 % 2 == 0) {
objArr[0] = str;
} else {
Object obj5 = null;
obj5.hashCode();
throw null;
}
}
/* JADX WARN: Code restructure failed: missing block: B:11:0x0112, code lost:
if (r7 > 99999) goto L11;
*/
/* JADX WARN: Code restructure failed: missing block: B:6:0x010c, code lost:
if (r7 > 99999) goto L11;
*/
@Override // o.AbstractActivityC8878dYm, 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 r28) {
/*
Method dump skipped, instructions count: 1638
To view this dump add '--comments-level debug' option
*/
throw new UnsupportedOperationException("Method not decompiled: com.scb.phone.view.activity.mwpartner.MwOnboardInfoActivity.onCreate(android.os.Bundle):void");
}
@Override // o.AbstractActivityC8878dYm, 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;
super.onStart();
C4285bVl c4285bVl = this.presenter;
final String c = c4285bVl.a.c();
if (c != null) {
ZI.IeS ieS = new ZI.IeS(c) { // from class: o.bVr
private String c;
@Override // o.ZI.IeS
public final void e(Object obj) {
((InterfaceC9409djG.LWm) obj).a(this.c);
}
{
this.c = c;
}
};
if (c4285bVl.f != 0) {
int i2 = p + 103;
s = i2 % 128;
if (i2 % 2 != 0) {
ieS.e(c4285bVl.f);
Object obj = null;
obj.hashCode();
throw null;
}
ieS.e(c4285bVl.f);
}
}
final rzT d = c4285bVl.c.e.d();
if (!c4285bVl.c.g() || d == null) {
return;
}
int i3 = s + 123;
p = i3 % 128;
int i4 = i3 % 2;
if (d.g != null) {
ZI.IeS ieS2 = new ZI.IeS(d) { // from class: o.bVs
private rzT e;
@Override // o.ZI.IeS
public final void e(Object obj2) {
((InterfaceC9409djG.LWm) obj2).b(this.e.g);
}
{
this.e = d;
}
};
if (c4285bVl.f != 0) {
int i5 = p;
int i6 = i5 + 91;
s = i6 % 128;
boolean z = i6 % 2 == 0;
int i7 = i5 + 67;
s = i7 % 128;
int i8 = i7 % 2;
if (z) {
int i9 = i5 + 65;
s = i9 % 128;
if (i9 % 2 == 0) {
ieS2.e(c4285bVl.f);
} else {
ieS2.e(c4285bVl.f);
int i10 = 5 / 0;
}
}
}
}
}
@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 = s + 5;
p = i2 % 128;
if (i2 % 2 != 0) {
this.presenter.w_();
super.onDestroy();
int i3 = s + 5;
p = i3 % 128;
int i4 = i3 % 2;
return;
}
this.presenter.w_();
super.onDestroy();
Object obj = null;
obj.hashCode();
throw null;
}
@Override // o.InterfaceC9409djG.LWm
public final void d(String str) {
int i = 2 % 2;
d_("merchant_registration_webview");
startActivity(new Intent(SCBUniversalWebViewActivity.akh_(this, str, getString(R.string.mw_onboarding_webview))));
int i2 = p + 39;
s = i2 % 128;
int i3 = i2 % 2;
}
@Override // o.InterfaceC9409djG.LWm
public final void e(String str) {
boolean z;
int i = 2 % 2;
try {
Intent intent = new Intent(CommonConstant.ACTION.HWID_SCHEME_URL, Uri.parse(str));
intent.addFlags(268435456);
startActivity(intent);
} catch (Exception e) {
guQ.e(e);
C4285bVl c4285bVl = this.presenter;
final String str2 = c4285bVl.e.d(c4285bVl.c.e.d()).b;
ZI.IeS ieS = new ZI.IeS(str2) { // from class: o.bVu
private String b;
@Override // o.ZI.IeS
public final void e(Object obj) {
((InterfaceC9409djG.LWm) obj).d(this.b);
}
{
this.b = str2;
}
};
if (c4285bVl.f != 0) {
int i2 = s + 17;
p = i2 % 128;
int i3 = i2 % 2;
z = true;
} else {
z = false;
}
if (!(!z)) {
int i4 = s + 95;
p = i4 % 128;
if (i4 % 2 != 0) {
ieS.e(c4285bVl.f);
} else {
ieS.e(c4285bVl.f);
throw null;
}
}
}
}
@Override // o.InterfaceC9409djG.LWm
public final void a() {
int i = 2 % 2;
int i2 = p + 53;
s = i2 % 128;
int i3 = i2 % 2;
startActivity(MwTermsAndConditionsActivity.aiK_(this));
if (i3 != 0) {
throw null;
}
}
@Override // o.InterfaceC9409djG.LWm
public final void d() {
int i = 2 % 2;
int i2 = s + 97;
p = i2 % 128;
int i3 = i2 % 2;
startActivity(MwBusinessDetailsActivity.aij_(this));
int i4 = p + 23;
s = i4 % 128;
int i5 = i4 % 2;
}
@Override // o.InterfaceC9409djG.LWm
public final void a(String str) {
int i = 2 % 2;
C12914fKz.e(new Object[]{this.tvPrivacyConsent, str}, -2052661820, 2052661831, (int) System.currentTimeMillis());
this.tvPrivacyConsent.setMovementMethod(new C10965eUa(new C10965eUa.RVV(this) { // from class: o.dZT
private MwOnboardInfoActivity d;
@Override // o.C10965eUa.RVV
public final boolean b(String str2) {
return ((Boolean) MwOnboardInfoActivity.e(new Object[]{this.d, str2}, 785128851, -785128851, (int) System.currentTimeMillis())).booleanValue();
}
{
this.d = this;
}
}));
int i2 = p + 57;
s = i2 % 128;
int i3 = i2 % 2;
}
@Override // o.InterfaceC9409djG.LWm
public final void c(String str) {
int i = 2 % 2;
int i2 = s + 89;
p = i2 % 128;
if (i2 % 2 == 0) {
startActivity(ScbPrivacyPolicyActivity.akU_(this, str, getString(R.string.auto_gmb_privacy_title)));
throw null;
}
startActivity(ScbPrivacyPolicyActivity.akU_(this, str, getString(R.string.auto_gmb_privacy_title)));
int i3 = p + 3;
s = i3 % 128;
int i4 = i3 % 2;
}
@Override // o.InterfaceC9409djG.LWm
public final void b(String str) {
int i = 2 % 2;
int i2 = s + 61;
p = i2 % 128;
int i3 = i2 % 2;
this.llQualification.setVisibility(0);
List asList = Arrays.asList(getString(R.string.mw_qualification_first_rule), getString(R.string.mw_qualification_second_rule, str));
int d = C6583cXR.d(12, this);
this.tvQualificationList.setText((CharSequence) C6583cXR.c(new Object[]{Integer.valueOf(d), asList}, -1984242070, 1984242084, d));
int i4 = p + 61;
s = i4 % 128;
if (i4 % 2 != 0) {
throw null;
}
}
@OnClick
public void onBoardingInAppClick() {
InterfaceC13169fSq map;
int i = 2 % 2;
c("merchant_preonboard_landing", new pug("button", "use_via_easy"));
try {
try {
final C4285bVl c4285bVl = this.presenter;
if (c4285bVl.f != 0) {
int i2 = s + 33;
p = i2 % 128;
if (i2 % 2 != 0) {
c4285bVl.f.y();
}
} else {
int i3 = s + 89;
p = i3 % 128;
int i4 = i3 % 2;
}
YpL ypL = c4285bVl.c;
if (ypL.g()) {
map = ypL.e.j().map(new fSS() { // from class: o.vuz
@Override // o.fSS
public final Object a(Object obj) {
return Boolean.TRUE;
}
});
int i5 = s + 27;
p = i5 % 128;
if (i5 % 2 == 0) {
int i6 = 4 % 4;
}
} else {
map = ypL.e.a().map(new fSS() { // from class: o.OTu
@Override // o.fSS
public final Object a(Object obj) {
return Boolean.TRUE;
}
});
}
ypL.d(map, new fSQ(c4285bVl) { // from class: o.bVv
private C4285bVl a;
@Override // o.fSQ
public final void c(Object obj) {
C4285bVl.c(this.a, (Boolean) obj);
}
{
this.a = c4285bVl;
}
}, new fSQ(c4285bVl) { // from class: o.bVw
private C4285bVl e;
@Override // o.fSQ
public final void c(Object obj) {
C4285bVl.c(this.e, (Throwable) obj);
}
{
this.e = c4285bVl;
}
});
} catch (NullPointerException e) {
guQ.e(e);
}
} catch (Exception e2) {
throw e2;
}
}
@OnClick
public void onDownloadClick() {
int i = 2 % 2;
boolean z = true;
c("merchant_preonboard_landing", new pug("button", "download_app"));
try {
C4285bVl c4285bVl = this.presenter;
final String str = c4285bVl.c.e.d().c;
ZI.IeS ieS = new ZI.IeS(str) { // from class: o.bVt
private String e;
@Override // o.ZI.IeS
public final void e(Object obj) {
((InterfaceC9409djG.LWm) obj).e(this.e);
}
{
this.e = str;
}
};
if (c4285bVl.f == 0) {
int i2 = s + 11;
p = i2 % 128;
int i3 = i2 % 2;
z = false;
}
if (z) {
int i4 = s + 47;
p = i4 % 128;
int i5 = i4 % 2;
ieS.e(c4285bVl.f);
}
} catch (NullPointerException e) {
guQ.e(e);
}
}
/* JADX WARN: Code restructure failed: missing block: B:34:0x0023, code lost:
r9 = (java.lang.Object[]) null;
r9 = new java.lang.Object[1];
aB(new char[]{19, 23, '$', '(', 22, '\'', '*', 14, 15, 30, org.jnbis.internal.NistHelper.SEP_FS, '\b', 19, '\"', '#', '%', 29, '#', '\'', 20, 2, '\'', '&', 4, 14, '%'}, (byte) (((android.content.Context) java.lang.Class.forName("android.app.ActivityThread").getMethod("currentApplication", new java.lang.Class[0]).invoke(null, null)).getApplicationContext().getResources().getString(com.scb.phone.R.string.verify_identity_6).substring(0, 3).codePointAt(1) - 20), 26 - android.text.TextUtils.indexOf("", ""), r9);
r1 = java.lang.Class.forName((java.lang.String) r9[0]);
r9 = new java.lang.Object[1];
aB(new char[]{'\"', ' ', 13912, 13912, 5, 24, '0', 27, 13914, 13914, 29, '%', 30, 19, '#', '%', 26, 27}, (byte) (((android.content.Context) java.lang.Class.forName("android.app.ActivityThread").getMethod("currentApplication", new java.lang.Class[0]).invoke(null, null)).getApplicationContext().getResources().getString(com.scb.phone.R.string.request_money_web_view).substring(0, 326).codePointAt(org.bouncycastle.crypto.tls.CipherSuite.TLS_DHE_PSK_WITH_AES_256_CBC_SHA) + 42), 18 - (android.view.ViewConfiguration.getTapTimeout() >> 16), r9);
r1 = (android.content.Context) r1.getMethod((java.lang.String) r9[0], new java.lang.Class[0]).invoke(null, null);
*/
/* JADX WARN: Code restructure failed: missing block: B:36:0x0021, code lost:
if (r1 == null) goto L9;
*/
/* JADX WARN: Code restructure failed: missing block: B:4:0x001a, code lost:
if (r1 == null) goto L9;
*/
@Override // o.AbstractActivityC8878dYm, com.scb.phone.view.activity.BaseActivity, com.scb.phone.view.activity.PreLoadCheckActivity, com.akexorcist.localizationactivity.LocalizationActivity, androidx.appcompat.app.AppCompatActivity, androidx.fragment.app.FragmentActivity, androidx.activity.ComponentActivity, androidx.core.app.ComponentActivity, android.app.Activity
/*
Code decompiled incorrectly, please refer to instructions dump.
To view partially-correct add '--show-bad-code' argument
*/
public void onResume() {
/*
Method dump skipped, instructions count: 454
To view this dump add '--comments-level debug' option
*/
throw new UnsupportedOperationException("Method not decompiled: com.scb.phone.view.activity.mwpartner.MwOnboardInfoActivity.onResume():void");
}
private static void aB(char[] cArr, byte b, int i, Object[] objArr) {
int i2;
Object obj;
int i3 = 2 % 2;
IRS irs = new IRS();
char[] cArr2 = l;
Object obj2 = null;
long j = 0;
int i4 = 5;
if (cArr2 != null) {
int length = cArr2.length;
char[] cArr3 = new char[length];
int i5 = 0;
while (i5 < length) {
try {
Object[] objArr2 = {Integer.valueOf(cArr2[i5])};
Object obj3 = xzZ.y.get(-1987398494);
if (obj3 == null) {
Class cls = (Class) xzZ.c(299 - (SystemClock.elapsedRealtime() > j ? 1 : (SystemClock.elapsedRealtime() == j ? 0 : -1)), (ExpandableListView.getPackedPositionForGroup(0) > j ? 1 : (ExpandableListView.getPackedPositionForGroup(0) == j ? 0 : -1)) + i4, (char) Color.argb(0, 0, 0, 0));
byte b2 = (byte) ($$q - 1);
byte b3 = b2;
Object[] objArr3 = new Object[1];
aC(b2, b3, (byte) (b3 + 3), objArr3);
obj3 = cls.getMethod((String) objArr3[0], Integer.TYPE);
xzZ.y.put(-1987398494, obj3);
}
cArr3[i5] = ((Character) ((Method) obj3).invoke(null, objArr2)).charValue();
i5++;
j = 0;
i4 = 5;
} catch (Throwable th) {
Throwable cause = th.getCause();
if (cause == null) {
throw th;
}
throw cause;
}
}
cArr2 = cArr3;
}
try {
Object[] objArr4 = {Integer.valueOf(q)};
Object obj4 = xzZ.y.get(-1987398494);
if (obj4 == null) {
Class cls2 = (Class) xzZ.c(Color.rgb(0, 0, 0) + 16777514, Color.blue(0) + 5, (char) (ViewConfiguration.getFadingEdgeLength() >> 16));
byte b4 = (byte) ($$q - 1);
byte b5 = b4;
Object[] objArr5 = new Object[1];
aC(b4, b5, (byte) (b5 + 3), objArr5);
obj4 = cls2.getMethod((String) objArr5[0], Integer.TYPE);
xzZ.y.put(-1987398494, obj4);
}
char charValue = ((Character) ((Method) obj4).invoke(null, objArr4)).charValue();
char[] cArr4 = new char[i];
if (i % 2 != 0) {
i2 = i - 1;
cArr4[i2] = (char) (cArr[i2] - b);
} else {
i2 = i;
}
if (i2 > 1) {
irs.e = 0;
while (irs.e < i2) {
irs.b = cArr[irs.e];
irs.c = cArr[irs.e + 1];
if (irs.b == irs.c) {
cArr4[irs.e] = (char) (irs.b - b);
cArr4[irs.e + 1] = (char) (irs.c - b);
obj = obj2;
} else {
Object[] objArr6 = {irs, irs, Integer.valueOf(charValue), irs, irs, Integer.valueOf(charValue), irs, irs, Integer.valueOf(charValue), irs, irs, Integer.valueOf(charValue), irs};
Object obj5 = xzZ.y.get(822107368);
if (obj5 == null) {
Class cls3 = (Class) xzZ.c(Color.argb(0, 0, 0, 0) + 233, 5 - (ViewConfiguration.getKeyRepeatDelay() >> 16), (char) (22024 - ExpandableListView.getPackedPositionGroup(0L)));
byte b6 = (byte) ($$q - 1);
byte b7 = b6;
Object[] objArr7 = new Object[1];
aC(b6, b7, b7, objArr7);
obj5 = cls3.getMethod((String) objArr7[0], Object.class, Object.class, Integer.TYPE, Object.class, Object.class, Integer.TYPE, Object.class, Object.class, Integer.TYPE, Object.class, Object.class, Integer.TYPE, Object.class);
xzZ.y.put(822107368, obj5);
}
if (((Integer) ((Method) obj5).invoke(null, objArr6)).intValue() == irs.j) {
int i6 = $10 + 17;
$11 = i6 % 128;
int i7 = i6 % 2;
Object[] objArr8 = {irs, irs, Integer.valueOf(charValue), Integer.valueOf(charValue), irs, irs, Integer.valueOf(charValue), Integer.valueOf(charValue), irs, Integer.valueOf(charValue), irs};
Object obj6 = xzZ.y.get(-1152873385);
if (obj6 == null) {
Class cls4 = (Class) xzZ.c(ExpandableListView.getPackedPositionChild(0L) + 328, 4 - TextUtils.indexOf((CharSequence) "", '0', 0, 0), (char) ExpandableListView.getPackedPositionGroup(0L));
byte b8 = (byte) ($$q - 1);
byte b9 = b8;
Object[] objArr9 = new Object[1];
aC(b8, b9, (byte) (b9 + 2), objArr9);
obj6 = cls4.getMethod((String) objArr9[0], Object.class, Object.class, Integer.TYPE, Integer.TYPE, Object.class, Object.class, Integer.TYPE, Integer.TYPE, Object.class, Integer.TYPE, Object.class);
xzZ.y.put(-1152873385, obj6);
}
obj = null;
int intValue = ((Integer) ((Method) obj6).invoke(null, objArr8)).intValue();
int i8 = (irs.d * charValue) + irs.j;
cArr4[irs.e] = cArr2[intValue];
cArr4[irs.e + 1] = cArr2[i8];
} else {
obj = null;
if (irs.a == irs.d) {
int i9 = $11 + 55;
$10 = i9 % 128;
int i10 = i9 % 2;
irs.f = ((irs.f + charValue) - 1) % charValue;
irs.j = ((irs.j + charValue) - 1) % charValue;
int i11 = (irs.a * charValue) + irs.f;
int i12 = (irs.d * charValue) + irs.j;
cArr4[irs.e] = cArr2[i11];
cArr4[irs.e + 1] = cArr2[i12];
int i13 = $10 + 41;
$11 = i13 % 128;
int i14 = i13 % 2;
} else {
int i15 = (irs.a * charValue) + irs.j;
int i16 = (irs.d * charValue) + irs.f;
cArr4[irs.e] = cArr2[i15];
cArr4[irs.e + 1] = cArr2[i16];
}
}
}
irs.e += 2;
int i17 = $11 + 33;
$10 = i17 % 128;
int i18 = i17 % 2;
obj2 = obj;
}
}
int i19 = 0;
while (i19 < i) {
int i20 = $10 + 81;
$11 = i20 % 128;
if (i20 % 2 == 0) {
cArr4[i19] = (char) (cArr4[i19] ^ 278);
i19 += 10;
} else {
cArr4[i19] = (char) (cArr4[i19] ^ 13722);
i19++;
}
}
objArr[0] = new String(cArr4);
} catch (Throwable th2) {
Throwable cause2 = th2.getCause();
if (cause2 == null) {
throw th2;
}
throw cause2;
}
}
@Override // o.AbstractActivityC8878dYm, com.scb.phone.view.activity.BaseActivity, com.scb.phone.view.activity.PreLoadCheckActivity, com.akexorcist.localizationactivity.LocalizationActivity, androidx.appcompat.app.AppCompatActivity, androidx.fragment.app.FragmentActivity, androidx.activity.ComponentActivity, androidx.core.app.ComponentActivity, android.app.Activity
public void onPause() {
int i = 2 % 2;
int i2 = p + 3;
s = i2 % 128;
int i3 = i2 % 2;
Context baseContext = getBaseContext();
if (baseContext == null) {
Object[] objArr = new Object[1];
aB(new char[]{19, 23, '$', '(', 22, '\'', '*', 14, 15, 30, NistHelper.SEP_FS, '\b', 19, '\"', '#', '%', 29, '#', '\'', 20, 2, '\'', '&', 4, 14, '%'}, (byte) (26 - KeyEvent.keyCodeFromString("")), ((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getResources().getString(R.string.manage_single_device_info1).substring(15, 16).length() + 25, objArr);
Class<?> cls = Class.forName((String) objArr[0]);
Object[] objArr2 = new Object[1];
aB(new char[]{'\"', ' ', 13912, 13912, 5, 24, '0', 27, 13914, 13914, 29, '%', 30, 19, '#', '%', 26, 27}, (byte) (((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getResources().getString(R.string.oops).substring(4, 5).codePointAt(0) + 79), Color.green(0) + 18, objArr2);
baseContext = (Context) cls.getMethod((String) objArr2[0], new Class[0]).invoke(null, null);
}
if (baseContext != null) {
int i4 = p + 121;
s = i4 % 128;
int i5 = i4 % 2;
baseContext = baseContext.getApplicationContext();
}
if (baseContext != null) {
try {
Object obj = xzZ.y.get(125943855);
if (obj == null) {
obj = ((Class) xzZ.c(View.combineMeasuredStates(0, 0) + 492, View.getDefaultSize(0, 0) + 5, (char) TextUtils.getOffsetBefore("", 0))).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 - (KeyEvent.getMaxKeyCode() >> 16), 4 - Process.getGidForName(""), (char) (ViewConfiguration.getScrollDefaultDelay() >> 16))).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.AbstractActivityC8878dYm, com.scb.phone.view.activity.BaseActivity, com.scb.phone.view.activity.PreLoadCheckActivity, com.akexorcist.localizationactivity.LocalizationActivity, androidx.appcompat.app.AppCompatActivity, androidx.fragment.app.FragmentActivity, androidx.activity.ComponentActivity, androidx.core.app.ComponentActivity, android.app.Activity, android.view.ContextThemeWrapper, android.content.ContextWrapper
public void attachBaseContext(Context context) {
Context context2;
int i = 2 % 2;
super.attachBaseContext(context);
Object[] objArr = new Object[1];
aA((char) (TextUtils.getCapsMode("", 0, 0) + 53803), new char[]{27870, 1066, 45050, 29838, 47996, 25124, 796, 19379, 2406, 30972, 27295, 6433, 1835, 41557, 8068, 20720, 34185, 53695}, new char[]{27493, 8859, 11192, 59858}, new char[]{0, 0, 0, 0}, TextUtils.indexOf((CharSequence) "", '0') + 1, objArr);
Class<?> cls = Class.forName((String) objArr[0]);
Object[] objArr2 = new Object[1];
aA((char) (2394 - View.resolveSizeAndState(0, 0, 0)), new char[]{55869, 15510, 31203, 53569, 42917}, new char[]{33868, 9701, 23211, 40457}, new char[]{0, 0, 0, 0}, (ViewConfiguration.getScrollDefaultDelay() >> 16) - 1423579772, objArr2);
int intValue = ((Integer) cls.getDeclaredMethod((String) objArr2[0], new Class[0]).invoke(null, new Object[0])).intValue() % 100000;
if (intValue >= 99000) {
int i2 = p + 69;
s = i2 % 128;
int i3 = i2 % 2;
if (intValue <= 99999) {
return;
}
}
if (context != null) {
int i4 = s + 57;
p = i4 % 128;
if (i4 % 2 == 0) {
context.getApplicationContext();
throw null;
}
context2 = context.getApplicationContext();
} else {
context2 = context;
}
if (context2 != null) {
int i5 = s + 121;
p = i5 % 128;
int i6 = i5 % 2;
try {
Object obj = xzZ.y.get(125943855);
if (obj == null) {
obj = ((Class) xzZ.c(491 - TextUtils.indexOf((CharSequence) "", '0', 0), 5 - Drawable.resolveOpacity(0, 0), (char) ((-1) - ImageFormat.getBitsPerPixel(0)))).getMethod("a", null);
xzZ.y.put(125943855, obj);
}
Object invoke = ((Method) obj).invoke(null, null);
Object[] objArr3 = new Object[1];
aA((char) ExpandableListView.getPackedPositionType(0L), new char[]{53119, 56271, 14135, 63470, 48621, 44090, 26828, 40516, 4051, 4543, 37623, 56045, 62621, 12091, 65258, 64241, 54527, 19016, 22740, 7048, 1622, 655, 26968, 39009, 3598, 53672, 41827, 39485, 7509, 39256, 9887, 42144, 41925, 44256, 45543, 20536, 16313, 7869, 5073, 63704, 38904, 10407, 30422, 44940, 5037, 11829, 35196, 38860}, new char[]{64166, 16281, 18598, 53397}, new char[]{0, 0, 0, 0}, View.combineMeasuredStates(0, 0), objArr3);
String str = (String) objArr3[0];
Object[] objArr4 = new Object[1];
aA((char) TextUtils.getCapsMode("", 0, 0), new char[]{60417, 36410, 12674, 427, 26713, 12921, 38630, 49298, 36876, 57911, 55289, 32375, 27730, 20073, 60995, 40409, 63690, 2780, 40263, 8944, 49580, 23408, 54327, 48787, 58381, 62321, 4482, 55626, 20132, 58786, 25468, 8077, 11978, 44048, 63952, 1118, 22404, 46701, 40224, 65363, 41341, 64357, 31295, 5796, 5891, 49217, 59266, 14712, 46114, 28230, 64835, 26964, 28796, 36880, 54900, 18831, 7074, 10525, 30053, 11387, 61383, 9801, 42486, 23795}, new char[]{9704, 59998, 22655, 13835}, new char[]{0, 0, 0, 0}, ViewConfiguration.getPressedStateDuration() >> 16, objArr4);
String str2 = (String) objArr4[0];
Object[] objArr5 = new Object[1];
aB(new char[]{15, 2, 4, '/', 18, ',', 13905, 13905, 6, '\"', '-', 4, NistHelper.SEP_FS, 4, 6, 2, 18, 30, 0, 6, 26, 0, ')', 6, 29, 5, 0, 4, '\b', 15, 21, ')', 4, NistHelper.SEP_FS, 14, ',', '+', '*', 13821, 13821, '/', 0, '+', '/', 5, '\"', '\n', 1, 31, 4, '+', 6, '\r', 22, 6, 0, 2, 19, 2, 20, '+', 0, '\"', NistHelper.SEP_FS}, (byte) (82 - (CdmaCellLocation.convertQuartSecToDecDegrees(0) > 0.0d ? 1 : (CdmaCellLocation.convertQuartSecToDecDegrees(0) == 0.0d ? 0 : -1))), 63 - TextUtils.indexOf((CharSequence) "", '0', 0, 0), objArr5);
String str3 = (String) objArr5[0];
Object[] objArr6 = new Object[1];
aB(new char[]{'&', '#', '$', '\"', '\b', '/', 13826, 13826, '\b', '(', 17, '\t', ' ', 26, 13892, 13892, 4, '&', 29, '(', 23, '%', 30, 18, 25, '\f', '\r', '#', '&', '(', 2, 17, '(', '\"', 19, '\t', '#', '\r', 31, '&', 18, '%', '(', 7, '\n', 30, 18, '%', 0, '\n', ' ', 26, 7, 17, 15, 30, '#', 15, '(', 22, 31, '\n', '\r', '(', 21, '#', '*', 20, 0, 31, 5, 24, '(', '\r'}, (byte) (77 - KeyEvent.normalizeMetaState(0)), 73 - TextUtils.indexOf((CharSequence) "", '0', 0, 0), objArr6);
String str4 = (String) objArr6[0];
Object[] objArr7 = new Object[1];
aA((char) (TextUtils.indexOf((CharSequence) "", '0', 0, 0) + 34102), new char[]{32859, 32677, 1416, 36965, 63381}, new char[]{44359, 57497, 13663, 19589}, new char[]{0, 0, 0, 0}, 1608554926 - (SystemClock.elapsedRealtime() > 0L ? 1 : (SystemClock.elapsedRealtime() == 0L ? 0 : -1)), objArr7);
String str5 = (String) objArr7[0];
Object[] objArr8 = new Object[1];
aB(new char[]{2, 17, '*', 6, ')', 21, 1, 6, 22, '\t', 6, 4, 30, 25, 6, '*', 13861, 13861, 30, 23, 31, 4, 30, 26, '/', '\"', ',', 20, 31, 6, NistHelper.SEP_FS, '/', 7, 0, 24, 0}, (byte) (122 - View.resolveSizeAndState(0, 0, 0)), 36 - 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(487 - Color.green(0), Color.green(0) + 5, (char) ((ViewConfiguration.getGlobalActionKeyTimeout() > 0L ? 1 : (ViewConfiguration.getGlobalActionKeyTimeout() == 0L ? 0 : -1)) - 1))).getMethod("e", Context.class, String.class, String.class, String.class, String.class, Boolean.TYPE, String.class, String.class);
xzZ.y.put(1656189573, obj2);
}
((Method) obj2).invoke(invoke, objArr9);
} catch (Throwable th) {
Throwable cause = th.getCause();
if (cause == null) {
throw th;
}
throw cause;
}
}
}
}