what-the-bank/sources/com/scb/phone/view/activity/requesttopay/RequestToPayActivity.java

814 lines
41 KiB
Java
Raw Permalink Normal View History

2024-07-27 18:17:47 +07:00
package com.scb.phone.view.activity.requesttopay;
import android.content.Context;
import android.content.Intent;
import android.graphics.Color;
import android.graphics.PointF;
import android.graphics.drawable.Drawable;
import android.media.AudioTrack;
import android.os.Process;
import android.os.SystemClock;
import android.text.TextUtils;
import android.util.TypedValue;
import android.view.KeyEvent;
import android.view.Menu;
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.pingan.ai.p;
import com.scb.phone.R;
import com.scb.phone.view.fragment.requesttopay.RequestToPayLandingFragment;
import com.scb.phone.view.fragment.requesttopay.RequirePromptPayFragment;
import com.scb.phone.view.fragment.requesttopay.RequireRequestToPayFragment;
import java.lang.reflect.Method;
import o.AbstractActivityC11744elC;
import o.AbstractC13482fbE;
import o.CeT;
import o.InterfaceC13391fZD;
import o.Nhs;
import o.Tlu;
import o.bSS;
import o.cZT;
import o.dCK;
import o.fSJ;
import o.guQ;
import o.nMh;
import o.pwE;
import o.xzZ;
import o.zUI;
import org.bouncycastle.crypto.tls.CipherSuite;
/* loaded from: classes5.dex */
public class RequestToPayActivity extends AbstractActivityC11744elC implements cZT.HBt {
private String l;
private boolean m;
@InterfaceC13391fZD
public bSS moneyActionPresenter;
/* renamed from: o, reason: collision with root package name */
private fSJ f7903o;
private static final byte[] $$p = {57, -60, 61, 103};
private static final int $$q = 82;
private static int $10 = 0;
private static int $11 = 1;
private static int p = 0;
private static int q = 1;
private static int k = 2015661577;
private static long r = 9051040786702654117L;
private static int s = 452713125;
private static char t = 11897;
/* JADX WARN: Removed duplicated region for block: B:10:0x0023 */
/* JADX WARN: Removed duplicated region for block: B:7:0x001b */
/* JADX WARN: Unsupported multi-entry loop pattern (BACK_EDGE: B:10:0x0023 -> B:4:0x002c). Please report as a decompilation issue!!! */
/*
Code decompiled incorrectly, please refer to instructions dump.
To view partially-correct add '--show-bad-code' argument
*/
private static void aC(short r6, int r7, int r8, java.lang.Object[] r9) {
/*
int r7 = r7 + 69
byte[] r0 = com.scb.phone.view.activity.requesttopay.RequestToPayActivity.$$p
int r8 = r8 * 4
int r1 = r8 + 1
int r6 = r6 + 4
byte[] r1 = new byte[r1]
r2 = 0
if (r0 != 0) goto L13
r7 = r6
r3 = r8
r4 = r2
goto L2c
L13:
r3 = r2
L14:
byte r4 = (byte) r7
int r6 = r6 + 1
r1[r3] = r4
if (r3 != r8) goto L23
java.lang.String r6 = new java.lang.String
r6.<init>(r1, r2)
r9[r2] = r6
return
L23:
int r3 = r3 + 1
r4 = r0[r6]
r5 = r7
r7 = r6
r6 = r4
r4 = r3
r3 = r5
L2c:
int r6 = -r6
int r6 = r6 + r3
r3 = r4
r5 = r7
r7 = r6
r6 = r5
goto L14
*/
throw new UnsupportedOperationException("Method not decompiled: com.scb.phone.view.activity.requesttopay.RequestToPayActivity.aC(short, int, int, java.lang.Object[]):void");
}
public static void b(Context context, String str) {
int i = 2 % 2;
Intent intent = new Intent(context, (Class<?>) RequestToPayActivity.class);
intent.putExtra("source", str);
context.startActivity(intent);
int i2 = p + 25;
q = i2 % 128;
if (i2 % 2 != 0) {
return;
}
Object obj = null;
obj.hashCode();
throw null;
}
public static Intent alF_(Context context, String str) {
int i = 2 % 2;
Intent intent = new Intent(context, (Class<?>) RequestToPayActivity.class);
intent.putExtra("source", str);
int i2 = p + 19;
q = i2 % 128;
int i3 = i2 % 2;
return intent;
}
private static void aB(char c, char[] cArr, char[] cArr2, char[] cArr3, int i, Object[] objArr) {
int i2;
int i3 = 2;
int i4 = 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 i5 = $10 + 51;
$11 = i5 % 128;
int i6 = i5 % i3;
try {
Object[] objArr2 = {nhs};
Object obj = xzZ.y.get(263693715);
if (obj == null) {
obj = ((Class) xzZ.c((AudioTrack.getMaxVolume() > BitmapDescriptorFactory.HUE_RED ? 1 : (AudioTrack.getMaxVolume() == BitmapDescriptorFactory.HUE_RED ? 0 : -1)) + 44, (ViewConfiguration.getScrollBarFadeDuration() >> 16) + 5, (char) (1 - (SystemClock.uptimeMillis() > 0L ? 1 : (SystemClock.uptimeMillis() == 0L ? 0 : -1))))).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((TypedValue.complexToFloat(0) > BitmapDescriptorFactory.HUE_RED ? 1 : (TypedValue.complexToFloat(0) == BitmapDescriptorFactory.HUE_RED ? 0 : -1)) + 352, 4 - TextUtils.lastIndexOf("", '0'), (char) (Drawable.resolveOpacity(0, 0) + 52128));
byte b = (byte) (-1);
Object[] objArr4 = new Object[1];
aC(b, (byte) (b & 46), (byte) 0, 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(748 - View.MeasureSpec.makeMeasureSpec(0, 0), TextUtils.indexOf("", "") + 5, (char) (PointF.length(BitmapDescriptorFactory.HUE_RED, BitmapDescriptorFactory.HUE_RED) > BitmapDescriptorFactory.HUE_RED ? 1 : (PointF.length(BitmapDescriptorFactory.HUE_RED, BitmapDescriptorFactory.HUE_RED) == BitmapDescriptorFactory.HUE_RED ? 0 : -1)))).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) {
i2 = 2;
} else {
Class cls2 = (Class) xzZ.c((AudioTrack.getMinVolume() > BitmapDescriptorFactory.HUE_RED ? 1 : (AudioTrack.getMinVolume() == BitmapDescriptorFactory.HUE_RED ? 0 : -1)) + 402, 5 - TextUtils.getCapsMode("", 0, 0), (char) (View.MeasureSpec.getMode(0) + 21608));
byte b2 = (byte) (-1);
Object[] objArr7 = new Object[1];
aC(b2, (byte) (b2 & 45), (byte) 0, objArr7);
i2 = 2;
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) ((((cArr[nhs.a] ^ cArr4[intValue2]) ^ (r ^ 9051040786702654117L)) ^ ((int) (s ^ 9051040786702654117L))) ^ ((char) (t ^ 9051040786702654117L)));
nhs.a++;
int i7 = $11 + 91;
$10 = i7 % 128;
int i8 = i7 % 2;
i3 = i2;
} catch (Throwable th) {
Throwable cause = th.getCause();
if (cause == null) {
throw th;
}
throw cause;
}
}
objArr[0] = new String(cArr6);
}
private static void aA(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) {
int i5 = $10 + 123;
$11 = i5 % 128;
int i6 = i5 % 2;
zui.c = cArr[zui.d];
cArr2[zui.d] = (char) (i2 + zui.c);
int i7 = zui.d;
try {
Object[] objArr2 = {Integer.valueOf(cArr2[i7]), Integer.valueOf(k)};
Object obj = xzZ.y.get(880493502);
if (obj == null) {
Class cls = (Class) xzZ.c(143 - Drawable.resolveOpacity(0, 0), 7 - (ViewConfiguration.getScrollDefaultDelay() >> 16), (char) (TextUtils.lastIndexOf("", '0', 0) + 1));
byte b = (byte) (-1);
byte b2 = (byte) (b + 1);
Object[] objArr3 = new Object[1];
aC(b, b2, b2, objArr3);
obj = cls.getMethod((String) objArr3[0], Integer.TYPE, Integer.TYPE);
xzZ.y.put(880493502, obj);
}
cArr2[i7] = ((Character) ((Method) obj).invoke(null, objArr2)).charValue();
try {
Object[] objArr4 = {zui, zui};
Object obj2 = xzZ.y.get(1294990079);
if (obj2 == null) {
Class cls2 = (Class) xzZ.c((ViewConfiguration.getTapTimeout() >> 16) + 342, (AudioTrack.getMaxVolume() > BitmapDescriptorFactory.HUE_RED ? 1 : (AudioTrack.getMaxVolume() == BitmapDescriptorFactory.HUE_RED ? 0 : -1)) + 4, (char) (ViewConfiguration.getMinimumFlingVelocity() >> 16));
byte b3 = (byte) (-1);
Object[] objArr5 = new Object[1];
aC(b3, (byte) (b3 & 7), (byte) 0, 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;
}
} catch (Throwable th2) {
Throwable cause2 = th2.getCause();
if (cause2 == null) {
throw th2;
}
throw cause2;
}
}
if (i3 > 0) {
int i8 = $11 + 15;
$10 = i8 % 128;
int i9 = i8 % 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);
}
if (z) {
char[] cArr4 = new char[i];
zui.d = 0;
while (zui.d < i) {
cArr4[zui.d] = cArr2[(i - zui.d) - 1];
try {
Object[] objArr6 = {zui, zui};
Object obj3 = xzZ.y.get(1294990079);
if (obj3 == null) {
Class cls3 = (Class) xzZ.c(View.resolveSizeAndState(0, 0, 0) + 342, View.MeasureSpec.getMode(0) + 5, (char) ((-16777216) - Color.rgb(0, 0, 0)));
byte b4 = (byte) (-1);
Object[] objArr7 = new Object[1];
aC(b4, (byte) (b4 & 7), (byte) 0, objArr7);
obj3 = cls3.getMethod((String) objArr7[0], Object.class, Object.class);
xzZ.y.put(1294990079, obj3);
}
((Method) obj3).invoke(null, objArr6);
} catch (Throwable th3) {
Throwable cause3 = th3.getCause();
if (cause3 == null) {
throw th3;
}
throw cause3;
}
}
cArr2 = cArr4;
}
objArr[0] = new String(cArr2);
}
/* JADX INFO: Access modifiers changed from: package-private */
/* renamed from: com.scb.phone.view.activity.requesttopay.RequestToPayActivity$3, reason: invalid class name */
/* loaded from: classes5.dex */
public static /* synthetic */ class AnonymousClass3 {
static final int[] c;
static {
int[] iArr = new int[CeT.values().length];
c = iArr;
try {
iArr[CeT.NO_PROMPTPAY.ordinal()] = 1;
} catch (NoSuchFieldError unused) {
}
try {
c[CeT.NO_RTP.ordinal()] = 2;
} catch (NoSuchFieldError unused2) {
}
try {
c[CeT.HAVE_PROMPTPAY_WITH_RTP.ordinal()] = 3;
} catch (NoSuchFieldError unused3) {
}
}
}
/* JADX WARN: Code restructure failed: missing block: B:6:0x0130, code lost:
if (r6 > 99999) goto L10;
*/
/* JADX WARN: Removed duplicated region for block: B:16:0x052d */
@Override // o.AbstractActivityC11744elC, 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 r22) {
/*
Method dump skipped, instructions count: 1902
To view this dump add '--comments-level debug' option
*/
throw new UnsupportedOperationException("Method not decompiled: com.scb.phone.view.activity.requesttopay.RequestToPayActivity.onCreate(android.os.Bundle):void");
}
@Override // com.scb.phone.view.activity.BaseActivity
public final void Z() {
pwE pwe;
int c;
int i = 2 % 2;
int i2 = p + 49;
q = i2 % 128;
if (i2 % 2 == 0) {
super.Z();
ac();
p(getString(R.string.request_money_new));
pwe = this.i;
c = this.i.c() | 120;
} else {
super.Z();
ac();
p(getString(R.string.request_money_new));
pwe = this.i;
c = this.i.c() | 16;
}
pwe.d(c);
this.i.f();
int i3 = p + 65;
q = i3 % 128;
if (i3 % 2 != 0) {
return;
}
Object obj = null;
obj.hashCode();
throw null;
}
@Override // com.scb.phone.view.activity.BaseActivity, android.app.Activity
public boolean onCreateOptionsMenu(Menu menu) {
int i = 2 % 2;
int i2 = p + 51;
q = i2 % 128;
int i3 = i2 % 2;
super.onCreateOptionsMenu(menu);
getMenuInflater().inflate(R.menu.2131689481, menu);
Drawable pI_ = Tlu.pI_(menu.findItem(R.id.menu_action_request_money).getIcon());
Tlu.pE_(pI_, nMh.getColor(this, R.color.f14042131100912));
menu.findItem(R.id.menu_action_request_money).setIcon(pI_);
int i4 = q + 61;
p = i4 % 128;
int i5 = i4 % 2;
return true;
}
/* JADX WARN: Code restructure failed: missing block: B:10:0x0027, code lost:
startActivity(new android.content.Intent(r4, (java.lang.Class<?>) com.scb.phone.view.activity.requesttopay.RequestToPayInfoActivity.class));
r5 = com.scb.phone.view.activity.requesttopay.RequestToPayActivity.p + 123;
com.scb.phone.view.activity.requesttopay.RequestToPayActivity.q = r5 % 128;
r5 = r5 % 2;
*/
/* JADX WARN: Code restructure failed: missing block: B:11:0x0056, code lost:
r5 = com.scb.phone.view.activity.requesttopay.RequestToPayActivity.p + 117;
com.scb.phone.view.activity.requesttopay.RequestToPayActivity.q = r5 % 128;
r5 = r5 % 2;
*/
/* JADX WARN: Code restructure failed: missing block: B:12:0x005f, code lost:
return true;
*/
/* JADX WARN: Code restructure failed: missing block: B:13:0x003b, code lost:
r4.m = true;
r5 = new android.content.Intent("com.scb.phone/BROADCAST_END_REQUEST_MONEY_TUTORIAL");
o.C14957gcv.e(r4, "");
o.C14957gcv.e(r5, "");
o.C0198BcN.d(r4).zE_(r5);
*/
/* JADX WARN: Code restructure failed: missing block: B:15:0x0020, code lost:
if (r5.getItemId() == com.scb.phone.R.id.menu_action_request_money) goto L9;
*/
/* JADX WARN: Code restructure failed: missing block: B:4:0x0019, code lost:
if (r5.getItemId() == com.scb.phone.R.id.menu_action_request_money) goto L9;
*/
/* JADX WARN: Code restructure failed: missing block: B:5:0x0060, code lost:
r5 = super.onOptionsItemSelected(r5);
r1 = com.scb.phone.view.activity.requesttopay.RequestToPayActivity.q + 119;
com.scb.phone.view.activity.requesttopay.RequestToPayActivity.p = r1 % 128;
r1 = r1 % 2;
*/
/* JADX WARN: Code restructure failed: missing block: B:6:0x006d, code lost:
return r5;
*/
/* JADX WARN: Code restructure failed: missing block: B:9:0x0025, code lost:
if (r4.m == false) goto L12;
*/
@Override // com.scb.phone.view.activity.BaseActivity, android.app.Activity
/*
Code decompiled incorrectly, please refer to instructions dump.
To view partially-correct add '--show-bad-code' argument
*/
public boolean onOptionsItemSelected(android.view.MenuItem r5) {
/*
r4 = this;
r0 = 2
int r1 = r0 % r0
int r1 = com.scb.phone.view.activity.requesttopay.RequestToPayActivity.p
int r1 = r1 + 63
int r2 = r1 % 128
com.scb.phone.view.activity.requesttopay.RequestToPayActivity.q = r2
int r1 = r1 % r0
r2 = 2131365524(0x7f0a0e94, float:1.8350916E38)
if (r1 != 0) goto L1c
int r1 = r5.getItemId()
r3 = 31
int r3 = r3 / 0
if (r1 != r2) goto L60
goto L22
L1c:
int r1 = r5.getItemId()
if (r1 != r2) goto L60
L22:
boolean r5 = r4.m
r1 = 1
if (r5 == 0) goto L3b
android.content.Intent r5 = new android.content.Intent
java.lang.Class<com.scb.phone.view.activity.requesttopay.RequestToPayInfoActivity> r2 = com.scb.phone.view.activity.requesttopay.RequestToPayInfoActivity.class
r5.<init>(r4, r2)
r4.startActivity(r5)
int r5 = com.scb.phone.view.activity.requesttopay.RequestToPayActivity.p
int r5 = r5 + 123
int r2 = r5 % 128
com.scb.phone.view.activity.requesttopay.RequestToPayActivity.q = r2
int r5 = r5 % r0
goto L56
L3b:
r4.m = r1
android.content.Intent r5 = new android.content.Intent
java.lang.String r2 = "com.scb.phone/BROADCAST_END_REQUEST_MONEY_TUTORIAL"
r5.<init>(r2)
java.lang.String r2 = ""
o.C14957gcv.e(r4, r2)
o.C14957gcv.e(r5, r2)
r2 = r4
android.content.Context r2 = (android.content.Context) r2
o.BcN r2 = o.C0198BcN.d(r2)
r2.zE_(r5)
L56:
int r5 = com.scb.phone.view.activity.requesttopay.RequestToPayActivity.p
int r5 = r5 + 117
int r2 = r5 % 128
com.scb.phone.view.activity.requesttopay.RequestToPayActivity.q = r2
int r5 = r5 % r0
return r1
L60:
boolean r5 = super.onOptionsItemSelected(r5)
int r1 = com.scb.phone.view.activity.requesttopay.RequestToPayActivity.q
int r1 = r1 + 119
int r2 = r1 % 128
com.scb.phone.view.activity.requesttopay.RequestToPayActivity.p = r2
int r1 = r1 % r0
return r5
*/
throw new UnsupportedOperationException("Method not decompiled: com.scb.phone.view.activity.requesttopay.RequestToPayActivity.onOptionsItemSelected(android.view.MenuItem):boolean");
}
private void c(CeT ceT, boolean z) {
int i;
int i2 = 2 % 2;
AbstractC13482fbE a = getSupportFragmentManager().a();
int i3 = AnonymousClass3.c[ceT.ordinal()];
if (i3 != 1) {
int i4 = p + 69;
q = i4 % 128;
int i5 = i4 % 2;
if (i3 != 2) {
if (i3 == 3) {
a.b(R.id.fragment_container, RequestToPayLandingFragment.a(z, this.l), null, 2);
}
a.b();
} else {
a.b(R.id.fragment_container, RequireRequestToPayFragment.b(z, dCK.REQUEST_MONEY), null, 2);
i = p + 83;
q = i % 128;
}
} else {
a.b(R.id.fragment_container, RequirePromptPayFragment.e(z, dCK.REQUEST_MONEY), null, 2);
i = q + 99;
p = i % 128;
}
int i6 = i % 2;
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 = p + 5;
q = i2 % 128;
Object obj = null;
if (i2 % 2 == 0) {
obj.hashCode();
throw null;
}
fSJ fsj = this.f7903o;
if (fsj != null && !fsj.isDisposed()) {
int i3 = p + 93;
q = i3 % 128;
if (i3 % 2 == 0) {
this.f7903o.dispose();
obj.hashCode();
throw null;
}
this.f7903o.dispose();
}
setResult(-1);
super.onDestroy();
}
/* JADX INFO: Access modifiers changed from: private */
public static /* synthetic */ Object d(Object[] objArr) {
RequestToPayActivity requestToPayActivity = (RequestToPayActivity) objArr[0];
CeT ceT = (CeT) objArr[1];
boolean booleanValue = ((Boolean) objArr[2]).booleanValue();
int i = 2 % 2;
int i2 = q + 73;
p = i2 % 128;
if (i2 % 2 != 0) {
requestToPayActivity.m = booleanValue;
} else {
requestToPayActivity.m = !booleanValue;
}
requestToPayActivity.c(ceT, booleanValue);
int i3 = p + 73;
q = i3 % 128;
if (i3 % 2 != 0) {
return null;
}
throw null;
}
@Override // o.AbstractActivityC11744elC, com.scb.phone.view.activity.BaseActivity, com.scb.phone.view.activity.PreLoadCheckActivity, com.akexorcist.localizationactivity.LocalizationActivity, androidx.appcompat.app.AppCompatActivity, androidx.fragment.app.FragmentActivity, androidx.activity.ComponentActivity, androidx.core.app.ComponentActivity, android.app.Activity
public void onResume() {
int i = 2 % 2;
Context baseContext = getBaseContext();
Object obj = null;
if (baseContext == null) {
Object[] objArr = new Object[1];
aB((char) (((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getResources().getString(R.string.registration_eng).substring(0, 3).length() + 19170), new char[]{20372, 56026, 39997, 40552, 36131, 21265, 34165, 17996, 15946, 20442, 14205, 36116, 60762, 64762, 16174, 4470, 55080, 18168, 57879, 29524, 35879, 57203, 31614, 49620, 47206, 39380}, new char[]{59115, 14021, 58819, 35658}, new char[]{0, 0, 0, 0}, ((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getPackageName().codePointAt(8) - 112, objArr);
Class<?> cls = Class.forName((String) objArr[0]);
Object[] objArr2 = new Object[1];
aB((char) (((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getResources().getString(R.string.single_form_omnibus_select_account_deposit_title).substring(CipherSuite.TLS_DHE_PSK_WITH_AES_128_CBC_SHA, CipherSuite.TLS_DHE_PSK_WITH_AES_256_CBC_SHA).length() + 64342), new char[]{20200, 1844, 14745, 21273, 25637, 55823, 32564, 33971, 16010, 48577, 37610, 56198, 29152, 28364, 28906, 7573, 20011, 23306}, new char[]{36922, 24450, 22385, 55035}, new char[]{0, 0, 0, 0}, ((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getResources().getString(R.string.pin_strength_error).substring(47, 50).length() - 3, objArr2);
baseContext = (Context) cls.getMethod((String) objArr2[0], new Class[0]).invoke(null, null);
}
if (baseContext != null) {
baseContext = baseContext.getApplicationContext();
}
if (baseContext != null) {
int i2 = p + 101;
q = i2 % 128;
try {
if (i2 % 2 == 0) {
Object obj2 = xzZ.y.get(125943855);
if (obj2 == null) {
obj2 = ((Class) xzZ.c((Process.myPid() >> 22) + 492, (ExpandableListView.getPackedPositionForGroup(0) > 0L ? 1 : (ExpandableListView.getPackedPositionForGroup(0) == 0L ? 0 : -1)) + 5, (char) (ViewConfiguration.getScrollBarSize() >> 8))).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((-16776729) - Color.rgb(0, 0, 0), 5 - View.MeasureSpec.makeMeasureSpec(0, 0), (char) Color.red(0))).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((ViewConfiguration.getGlobalActionKeyTimeout() > 0L ? 1 : (ViewConfiguration.getGlobalActionKeyTimeout() == 0L ? 0 : -1)) + 491, (ViewConfiguration.getScrollDefaultDelay() >> 16) + 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)))).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(487 - (ViewConfiguration.getKeyRepeatTimeout() >> 16), 5 - (KeyEvent.getMaxKeyCode() >> 16), (char) (1 - (ViewConfiguration.getZoomControlsTimeout() > 0L ? 1 : (ViewConfiguration.getZoomControlsTimeout() == 0L ? 0 : -1))))).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();
int i3 = p + 9;
q = i3 % 128;
if (i3 % 2 == 0) {
int i4 = 92 / 0;
}
}
/* JADX WARN: Code restructure failed: missing block: B:39:0x0025, code lost:
r14 = (java.lang.Object[]) null;
r14 = new java.lang.Object[1];
aB((char) ((android.os.SystemClock.elapsedRealtimeNanos() > 0 ? 1 : (android.os.SystemClock.elapsedRealtimeNanos() == 0 ? 0 : -1)) + 19172), new char[]{20372, 56026, 39997, 40552, 36131, 21265, 34165, 17996, 15946, 20442, 14205, 36116, 60762, 64762, 16174, 4470, 55080, 18168, 57879, 29524, 35879, 57203, 31614, 49620, 47206, 39380}, new char[]{59115, 14021, 58819, 35658}, new char[]{0, 0, 0, 0}, ((android.content.Context) java.lang.Class.forName("android.app.ActivityThread").getMethod("currentApplication", new java.lang.Class[0]).invoke(null, null)).getApplicationContext().getPackageName().codePointAt(1) - 111, r14);
r9 = java.lang.Class.forName((java.lang.String) r14[0]);
r1 = new java.lang.Object[1];
aB((char) (64343 - (android.widget.ExpandableListView.getPackedPositionForGroup(0) > 0 ? 1 : (android.widget.ExpandableListView.getPackedPositionForGroup(0) == 0 ? 0 : -1))), new char[]{20200, 1844, 14745, 21273, 25637, 55823, 32564, 33971, 16010, 48577, 37610, 56198, 29152, 28364, 28906, 7573, 20011, 23306}, new char[]{36922, 24450, 22385, 55035}, new char[]{0, 0, 0, 0}, ((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.hml_outcome_pending_inquiries_no_aip).substring(53, 57).codePointAt(1) - 55, r1);
r1 = (android.content.Context) r9.getMethod((java.lang.String) r1[0], new java.lang.Class[0]).invoke(null, null);
r2 = com.scb.phone.view.activity.requesttopay.RequestToPayActivity.q + 39;
com.scb.phone.view.activity.requesttopay.RequestToPayActivity.p = r2 % 128;
r2 = r2 % 2;
*/
/* JADX WARN: Code restructure failed: missing block: B:41:0x0023, code lost:
if (r1 == null) goto L9;
*/
/* JADX WARN: Code restructure failed: missing block: B:4:0x001c, code lost:
if (r1 == null) goto L9;
*/
@Override // o.AbstractActivityC11744elC, 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 onPause() {
/*
Method dump skipped, instructions count: 620
To view this dump add '--comments-level debug' option
*/
throw new UnsupportedOperationException("Method not decompiled: com.scb.phone.view.activity.requesttopay.RequestToPayActivity.onPause():void");
}
@Override // o.AbstractActivityC11744elC, 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(17 - TextUtils.lastIndexOf("", '0', 0, 0), new char[]{11, 1, 15, '\f', 6, 1, 65483, '\f', 16, 65483, 65517, 15, '\f', 0, 2, 16, 16, 65534}, 144 - ((byte) KeyEvent.getModifierMetaStateMask()), false, 16 - TextUtils.indexOf((CharSequence) "", '0'), objArr);
Class<?> cls = Class.forName((String) objArr[0]);
Object[] objArr2 = new Object[1];
aA(TextUtils.getCapsMode("", 0, 0) + 5, new char[]{1, 65517, 17, 5, 65532}, Color.argb(0, 0, 0, 0) + CipherSuite.TLS_RSA_WITH_SEED_CBC_SHA, true, 3 - TextUtils.lastIndexOf("", '0', 0), objArr2);
int intValue = ((Integer) cls.getDeclaredMethod((String) objArr2[0], new Class[0]).invoke(null, new Object[0])).intValue() % 100000;
if (intValue < 99000 || intValue > 99999) {
if (context != null) {
int i2 = p + 73;
q = i2 % 128;
if (i2 % 2 == 0) {
context2 = context.getApplicationContext();
int i3 = 2 / 0;
} else {
context2 = context.getApplicationContext();
}
int i4 = q + 55;
p = i4 % 128;
int i5 = i4 % 2;
} else {
context2 = context;
}
if (context2 != null) {
try {
Object obj = xzZ.y.get(125943855);
if (obj == null) {
obj = ((Class) xzZ.c(492 - View.MeasureSpec.getSize(0), (SystemClock.uptimeMillis() > 0L ? 1 : (SystemClock.uptimeMillis() == 0L ? 0 : -1)) + 4, (char) ((-1) - ExpandableListView.getPackedPositionChild(0L)))).getMethod("a", null);
xzZ.y.put(125943855, obj);
}
Object invoke = ((Method) obj).invoke(null, null);
Object[] objArr3 = new Object[1];
aB((char) (1 - (ViewConfiguration.getZoomControlsTimeout() > 0L ? 1 : (ViewConfiguration.getZoomControlsTimeout() == 0L ? 0 : -1))), new char[]{56038, 43446, 48165, 28153, 15854, 30709, 65534, 12994, 7459, 49748, 43833, 44330, 47930, 39106, 48229, 46334, 50709, 54769, 9723, 11512, 19523, 57211, 45641, 17945, 35413, 22300, 36187, 60660, 20885, 22868, 56451, 47606, 707, 65516, 6411, 36588, 29118, 3515, 6792, 19159, 57912, 50721, 56890, 63585, 63894, 46555, 22962, 64799}, new char[]{40804, 227, 44387, 4748}, new char[]{0, 0, 0, 0}, Process.myPid() >> 22, objArr3);
String str = (String) objArr3[0];
Object[] objArr4 = new Object[1];
aB((char) (1 - (SystemClock.elapsedRealtime() > 0L ? 1 : (SystemClock.elapsedRealtime() == 0L ? 0 : -1))), new char[]{10522, 36083, 14603, 61544, 41467, 60355, 14668, 34571, 40716, 37875, 20978, 59388, 48811, 48209, 30303, 33509, 36282, 11204, 42305, 14558, 59263, 34132, 1862, 41930, 37746, 43086, 43849, 1121, 46422, 49573, 28616, 36475, 55485, 54736, 4183, 20087, 42144, 12252, 1757, 39099, 3368, 15743, 65240, 55610, 17948, 3787, 31762, 7699, 19693, 10668, 26875, 60196, 24365, 20915, 13061, 54680, 25482, 23009, 7494, 61193, 32343, 26725, 33929, 54715}, new char[]{15403, 49227, 12330, 19974}, new char[]{0, 0, 0, 0}, TextUtils.indexOf("", "", 0), objArr4);
String str2 = (String) objArr4[0];
Object[] objArr5 = new Object[1];
aB((char) Color.argb(0, 0, 0, 0), new char[]{20486, 1166, 64526, 22823, 6167, 28262, 10497, 46555, 456, 25101, 23624, 62224, 1556, 43280, 42180, 40129, 11505, 3556, 32532, 41412, 2059, 40272, 61914, 44028, 19499, 2467, 9734, 42348, 17134, 26697, 57174, 49819, 43984, 37634, 41689, 22659, 63728, 36812, 10692, 41124, 29185, 13981, 34210, 44188, 58799, 12284, 12847, 40517, 45623, 60912, 18758, 52053, 9516, 33779, 53045, 14855, 60440, 41604, 13690, 48659, 53193, 24907, 20200, 1301}, new char[]{44162, 4136, 54019, 8290}, new char[]{0, 0, 0, 0}, View.resolveSize(0, 0), objArr5);
String str3 = (String) objArr5[0];
Object[] objArr6 = new Object[1];
aB((char) ((Process.getElapsedCpuTime() > 0L ? 1 : (Process.getElapsedCpuTime() == 0L ? 0 : -1)) - 1), new char[]{41263, 63173, 1079, 43737, 34176, 55094, 51575, 57735, 46790, 42970, 8019, 13290, 39953, 30407, 59865, 52385, 57017, 28687, 40258, 6928, 636, 58055, 40734, 2773, 27439, 24347, 11547, 11368, 47508, 22614, 39122, 30646, 3720, 23300, 35613, 11280, 12809, 15268, 6680, 41926, 41041, 19161, 3011, 65502, 9170, 46914, 23559, 41210, 38657, 16271, 10022, 63654, 42486, 13178, 31544, 50933, 1110, 7372, 54250, 50982, 17532, 45028, 36452, 37283, 7105, 60739, 55047, 2048, 23398, 61820, 22392, 25758, 43470, 55667}, new char[]{27360, 55377, 53975, 44227}, new char[]{0, 0, 0, 0}, TextUtils.getOffsetBefore("", 0), objArr6);
String str4 = (String) objArr6[0];
Object[] objArr7 = new Object[1];
aA((ViewConfiguration.getKeyRepeatTimeout() >> 16) + 5, new char[]{65534, 7, 65532, 6, 65532}, 96 - KeyEvent.keyCodeFromString(""), false, (ViewConfiguration.getGlobalActionKeyTimeout() > 0L ? 1 : (ViewConfiguration.getGlobalActionKeyTimeout() == 0L ? 0 : -1)), objArr7);
String str5 = (String) objArr7[0];
Object[] objArr8 = new Object[1];
aB((char) (TextUtils.lastIndexOf("", '0') + 1), new char[]{56156, 15171, 49273, 41931, 5802, 38985, 64105, 38774, 56536, 54787, 1802, 14334, 1306, 7698, 15332, 13488, 33409, 39748, 46595, 30168, 48249, 48638, 17953, 31250, 25022, 28186, 63355, 36522, 5307, 60802, 50453, 22223, 10477, 8570, 18125, 63760}, new char[]{28217, 13309, 13252, 47921}, new char[]{0, 0, 0, 0}, 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(View.combineMeasuredStates(0, 0) + 487, 5 - (AudioTrack.getMinVolume() > BitmapDescriptorFactory.HUE_RED ? 1 : (AudioTrack.getMinVolume() == BitmapDescriptorFactory.HUE_RED ? 0 : -1)), (char) ((Process.getThreadPriority(0) + 20) >> 6))).getMethod("e", Context.class, String.class, String.class, String.class, String.class, Boolean.TYPE, String.class, String.class);
xzZ.y.put(1656189573, obj2);
}
((Method) obj2).invoke(invoke, objArr9);
} catch (Throwable th) {
Throwable cause = th.getCause();
if (cause == null) {
throw th;
}
throw cause;
}
}
}
}
public static /* synthetic */ void e(RequestToPayActivity requestToPayActivity) {
int i = 2 % 2;
int i2 = q + 17;
int i3 = i2 % 128;
p = i3;
int i4 = i2 % 2;
requestToPayActivity.m = true;
int i5 = i3 + 47;
q = i5 % 128;
int i6 = i5 % 2;
}
@Override // o.AbstractActivityC11744elC, 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 = p + 119;
q = i2 % 128;
int i3 = i2 % 2;
super.onStart();
int i4 = q + 83;
p = i4 % 128;
if (i4 % 2 != 0) {
throw null;
}
}
@Override // o.cZT.HBt
public final void a(CeT ceT, boolean z) {
Object[] objArr = {this, ceT, Boolean.valueOf(z)};
int i = ((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getApplicationInfo().targetSdkVersion - 1042277485;
d(objArr);
}
public static /* synthetic */ void e(Throwable th) {
int i = 2 % 2;
int i2 = p + 45;
q = i2 % 128;
int i3 = i2 % 2;
guQ.a(th);
int i4 = p + 117;
q = i4 % 128;
if (i4 % 2 != 0) {
return;
}
Object obj = null;
obj.hashCode();
throw null;
}
}