what-the-bank/sources/com/scb/phone/view/activity/chequemanagement/chequestatus/ChequeStatusActivity.java

742 lines
46 KiB
Java

package com.scb.phone.view.activity.chequemanagement.chequestatus;
import android.content.Context;
import android.graphics.Color;
import android.graphics.ImageFormat;
import android.graphics.PointF;
import android.graphics.drawable.Drawable;
import android.media.AudioTrack;
import android.os.Bundle;
import android.os.Process;
import android.os.SystemClock;
import android.text.AndroidCharacter;
import android.text.TextUtils;
import android.view.Gravity;
import android.view.KeyEvent;
import android.view.MotionEvent;
import android.view.View;
import android.view.ViewConfiguration;
import android.widget.ExpandableListView;
import androidx.viewpager.widget.ViewPager;
import butterknife.BindView;
import butterknife.ButterKnife;
import com.google.android.gms.maps.model.BitmapDescriptorFactory;
import com.google.android.material.tabs.TabLayout;
import com.google.common.base.Ascii;
import com.google.common.primitives.SignedBytes;
import com.kofax.mobile.sdk._internal.impl.extraction.kta.KtaJsonExactionHelper;
import com.scb.phone.R;
import java.lang.reflect.Method;
import net.sf.scuba.smartcards.ISO7816;
import net.sf.scuba.smartcards.ISOFileInfo;
import o.AbstractActivityC10197dyI;
import o.C12142esd;
import o.C3454axp;
import o.DFY;
import o.InterfaceC13391fZD;
import o.Say;
import o.cYE;
import o.pug;
import o.xzZ;
import org.bouncycastle.crypto.signers.PSSSigner;
import org.jmrtd.lds.CVCAFile;
import org.jnbis.internal.NistHelper;
/* loaded from: classes4.dex */
public class ChequeStatusActivity extends AbstractActivityC10197dyI implements ViewPager.ojQ, cYE.Sts {
private static short[] s;
@InterfaceC13391fZD
public C3454axp presenter;
@BindView
protected TabLayout tabLayout;
@BindView
protected ViewPager tabPager;
private static final byte[] $$g = {Ascii.EM, 93, 57, -22};
private static final int $$h = 13;
private static int $10 = 0;
private static int $11 = 1;
private static int p = 0;
private static int q = 1;
private static int m = -2016248234;
private static int l = 1406017114;
private static int k = -964841404;
/* renamed from: o, reason: collision with root package name */
private static byte[] f6731o = {-73, -71, -75, 67, 74, -107, -107, 12, ISO7816.INS_READ_RECORD2, -10, 125, 76, 77, 74, -71, 65, -70, 32, ISO7816.INS_ENVELOPE, 58, -63, 19, -22, -19, 63, -17, Ascii.DC2, 16, ISO7816.INS_PUT_DATA, Ascii.SYN, -20, -21, -17, ISO7816.INS_MSE, -60, 57, -63, 61, ISO7816.INS_ENVELOPE, 63, ISO7816.INS_ENVELOPE, 55, ISO7816.INS_ENVELOPE, -18, Ascii.DC4, -23, 16, 62, -59, -22, 62, ISO7816.INS_GET_RESPONSE, 61, ISO7816.INS_GET_RESPONSE, Ascii.SYN, 56, -18, Ascii.DC4, -20, -33, 62, -63, Ascii.DC2, -23, -69, CVCAFile.CAR_TAG, 77, ISOFileInfo.AB, 85, 114, -71, -8, 3, -1, 69, 74, -70, -67, 65, 126, -126, -67, 75, 118, -122, -70, 72, 113, ISOFileInfo.ENV_TEMP_EF, -73, 85, -88, SignedBytes.MAX_POWER_OF_TWO, -70, 75, ISO7816.INS_READ_RECORD_STAMPED, 85, -88, 74, 125, -2, 69, 86, -70, ISOFileInfo.AB, 87, -72, -73, 78, ISO7816.INS_READ_BINARY, 2, ISOFileInfo.FCI_EXT, -71, 73, -69, -78, 79, PSSSigner.TRAILER_IMPLICIT, CVCAFile.CAR_TAG, -75, 73, PSSSigner.TRAILER_IMPLICIT, ISO7816.INS_REHABILITATE_CHV, -70, 72, -78, 72, PSSSigner.TRAILER_IMPLICIT, -78, 0, ISO7816.INS_REHABILITATE_CHV, ISO7816.INS_READ_BINARY2, ISOFileInfo.FILE_IDENTIFIER, 71, -72, ISO7816.INS_REHABILITATE_CHV, 72, -73, 67, -65, SignedBytes.MAX_POWER_OF_TWO, 89, -111, 108, -110, -65, -109, 67, -69, CVCAFile.CAR_TAG, -94, 92, 104, -89, -109, 110, 108, 89, -111, 109, -110, -109, 106, -90, -112, 88, -105, ISOFileInfo.FMD_BYTE, -112, -111, -106, -72, 93, ISOFileInfo.FCI_BYTE, PSSSigner.TRAILER_IMPLICIT, -111, Ascii.NAK, Ascii.NAK, Ascii.NAK, Ascii.NAK, Ascii.NAK};
private static char[] t = {49104, 49108, 49093, 48169, 49127, 49111, 49114, 49027, 49024, 49115, 49119, 49126, 48168, 49138, 49117, 49034, 49095, 49118, 49109, 49025, 49031, 49091, 49028, 49030, 49035, 49098, 49089, 49107, 49110, 49029, 49053, 49105, 49026, 49094, 49106, 49116};
private static char r = 35375;
/* JADX WARN: Removed duplicated region for block: B:10:0x0027 */
/* JADX WARN: Removed duplicated region for block: B:7:0x001f */
/* JADX WARN: Unsupported multi-entry loop pattern (BACK_EDGE: B:10:0x0027 -> B:4:0x002f). Please report as a decompilation issue!!! */
/*
Code decompiled incorrectly, please refer to instructions dump.
To view partially-correct add '--show-bad-code' argument
*/
private static void az(int r6, byte r7, short r8, java.lang.Object[] r9) {
/*
int r6 = r6 + 108
byte[] r0 = com.scb.phone.view.activity.chequemanagement.chequestatus.ChequeStatusActivity.$$g
int r7 = r7 * 4
int r1 = 1 - r7
int r8 = r8 * 3
int r8 = 3 - r8
byte[] r1 = new byte[r1]
r2 = 0
int r7 = 0 - r7
if (r0 != 0) goto L17
r6 = r7
r3 = r8
r4 = r2
goto L2f
L17:
r3 = r2
L18:
byte r4 = (byte) r6
r1[r3] = r4
int r8 = r8 + 1
if (r3 != r7) goto L27
java.lang.String r6 = new java.lang.String
r6.<init>(r1, r2)
r9[r2] = r6
return
L27:
int r3 = r3 + 1
r4 = r0[r8]
r5 = r3
r3 = r8
r8 = r4
r4 = r5
L2f:
int r8 = -r8
int r6 = r6 + r8
r8 = r3
r3 = r4
goto L18
*/
throw new UnsupportedOperationException("Method not decompiled: com.scb.phone.view.activity.chequemanagement.chequestatus.ChequeStatusActivity.az(int, byte, short, java.lang.Object[]):void");
}
@Override // o.AbstractActivityC10197dyI, com.scb.phone.view.activity.BaseActivity, com.scb.phone.view.activity.PreLoadCheckActivity, com.akexorcist.localizationactivity.LocalizationActivity, androidx.appcompat.app.AppCompatActivity, androidx.fragment.app.FragmentActivity, androidx.activity.ComponentActivity, androidx.core.app.ComponentActivity, android.app.Activity
public void onCreate(Bundle bundle) {
int i = 2 % 2;
int i2 = p + 11;
q = i2 % 128;
int i3 = i2 % 2;
byte b = 0;
Object[] objArr = new Object[1];
ax((short) (((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getResources().getString(R.string.banking_withdrawal_generate_qr_title).substring(8, 9).codePointAt(0) - 32), 736337854 - (Process.getElapsedCpuTime() > 0L ? 1 : (Process.getElapsedCpuTime() == 0L ? 0 : -1)), ((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getResources().getString(R.string.auto_debit_card_confirm_change_pin_popup_message).substring(21, 22).codePointAt(0) - 93, 1783386608 + ((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getResources().getString(R.string.landing_quantity).substring(0, 9).codePointAt(4), (byte) ((-94) - Color.blue(0)), objArr);
Class<?> cls = Class.forName((String) objArr[0]);
Object[] objArr2 = new Object[1];
ay(new char[]{'\r', 29, 6, 7, 13901}, (byte) (((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getResources().getString(R.string.to_other_scb_accounts).substring(15, 16).length() + 78), ((byte) KeyEvent.getModifierMetaStateMask()) + 6, objArr2);
int intValue = ((Integer) cls.getDeclaredMethod((String) objArr2[0], new Class[0]).invoke(null, new Object[0])).intValue() % 100000;
if (intValue < 99000 || intValue > 99999) {
Context baseContext = getBaseContext();
if (baseContext == null) {
Object[] objArr3 = new Object[1];
ay(new char[]{' ', 16, 2, 29, 30, 11, 0, '#', '!', 22, 18, '!', '\f', 1, '\f', '\n', 0, '\b', '\r', NistHelper.SEP_FS, 3, '\n', 27, 29, '#', 4}, (byte) (38 - ImageFormat.getBitsPerPixel(0)), ((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getResources().getString(R.string.credit_card_message_all_m_card).substring(15, 16).codePointAt(0) - 6, objArr3);
Class<?> cls2 = Class.forName((String) objArr3[0]);
Object[] objArr4 = new Object[1];
ay(new char[]{3, 30, 13891, 13891, 26, 16, 17, 14, 13893, 13893, 11, 7, 4, 30, '\f', '\n', ' ', 17}, (byte) (((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getApplicationInfo().targetSdkVersion + 57), ((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getPackageName().codePointAt(4) - 97, objArr4);
baseContext = (Context) cls2.getMethod((String) objArr4[0], new Class[0]).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(Process.getGidForName("") + 493, 5 - View.resolveSizeAndState(0, 0, 0), (char) (ViewConfiguration.getJumpTapTimeout() >> 16))).getMethod("a", null);
xzZ.y.put(125943855, obj);
}
Object invoke = ((Method) obj).invoke(null, null);
Object[] objArr5 = new Object[1];
ax((short) (((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getPackageName().length() - 13), ((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getResources().getString(R.string.auto_partnership_landing_being_redirected_external_description).substring(8, 9).length() + 736337869, ((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getPackageName().codePointAt(1) - 142, ((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getPackageName().codePointAt(8) + 1783386480, (byte) (((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getPackageName().codePointAt(11) - 116), objArr5);
String str = (String) objArr5[0];
Object[] objArr6 = new Object[1];
ay(new char[]{25, '\"', 24, 29, 25, '#', 21, 14, 29, 22, 23, 25, 23, 25, 20, '\"', 26, 23, 31, 20, 5, 24, ' ', 22, 11, 26, 6, 1, 21, '\r', 6, 25, 13743, 13743, 22, '#', 18, 29, 13818, 13818, 25, '#', '#', NistHelper.SEP_FS, 20, '#', 25, '#', 0, 29, 19, 23, 6, 30, 19, '#', 30, 6, 30, 26, 25, '#', 4, '\"'}, (byte) (((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getApplicationInfo().targetSdkVersion - 32), ((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getResources().getString(R.string.auto_p2p_tap_menu).substring(0, 9).codePointAt(7) - 33, objArr6);
String str2 = (String) objArr6[0];
Object[] objArr7 = new Object[1];
ay(new char[]{30, NistHelper.SEP_FS, '\b', '\t', ' ', '\n', 13931, 13931, 21, '\r', '\n', 26, ' ', 19, 6, 25, '#', ' ', 19, 6, 31, '\b', 23, 20, 6, 30, 22, 24, 25, 24, 17, 3, 19, ' ', '#', 22, 18, 20, 13847, 13847, 19, 11, 20, 11, 24, 6, 24, 29, '\"', 25, 18, 25, 27, 17, 6, 19, '\n', 31, 22, 30, 18, 29, 4, 18}, (byte) (108 - (Process.myPid() >> 22)), 64 - (ViewConfiguration.getMaximumFlingVelocity() >> 16), objArr7);
String str3 = (String) objArr7[0];
Object[] objArr8 = new Object[1];
ax((short) (((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getApplicationInfo().targetSdkVersion - 34), 736337917 - ((Process.getThreadPriority(0) + 20) >> 6), ((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getPackageName().codePointAt(10) - 116, ((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getResources().getString(R.string.section).substring(7, 10).length() + 1783386644, (byte) (((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getResources().getString(R.string.remittance_input_mobile_hint).substring(0, 10).codePointAt(7) - 7), objArr8);
String str4 = (String) objArr8[0];
Object[] objArr9 = new Object[1];
ax((short) (((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getResources().getString(R.string.prepaid_travel_conversion_landing_sell_amount_to).substring(18, 19).length() - 1), ((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getResources().getString(R.string.quick_prompt_pay_require_pin).substring(12, 13).length() + 736337989, ((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getResources().getString(R.string.holding_by_post).substring(40, 41).length() - 75, (ViewConfiguration.getScrollBarFadeDuration() >> 16) + 1783386600, (byte) (((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getResources().getString(R.string.banking_withdraw_qr_return_to_account_message).substring(42, 43).length() - 97), objArr9);
String str5 = (String) objArr9[0];
Object[] objArr10 = new Object[1];
ax((short) (((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getApplicationInfo().targetSdkVersion - 34), 736337994 - (ViewConfiguration.getScrollBarSize() >> 8), ((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getApplicationInfo().targetSdkVersion - 77, ((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getPackageName().codePointAt(2) + 1783386535, (byte) (((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getApplicationInfo().targetSdkVersion + 86), objArr10);
Object[] objArr11 = {baseContext, str, str2, str3, str4, true, str5, (String) objArr10[0]};
Object obj2 = xzZ.y.get(1656189573);
if (obj2 == null) {
obj2 = ((Class) xzZ.c(488 - (SystemClock.currentThreadTimeMillis() > (-1L) ? 1 : (SystemClock.currentThreadTimeMillis() == (-1L) ? 0 : -1)), 5 - View.resolveSizeAndState(0, 0, 0), (char) Drawable.resolveOpacity(0, 0))).getMethod("e", Context.class, String.class, String.class, String.class, String.class, Boolean.TYPE, String.class, String.class);
xzZ.y.put(1656189573, obj2);
}
((Method) obj2).invoke(invoke, objArr11);
int i4 = p + 75;
q = i4 % 128;
int i5 = i4 % 2;
} catch (Throwable th) {
Throwable cause = th.getCause();
if (cause == null) {
throw th;
}
throw cause;
}
}
}
super.onCreate(bundle);
setContentView(R.layout.2131558479);
ButterKnife.Dg_(this);
this.presenter.e((C3454axp) this);
C3454axp c3454axp = this.presenter;
if (c3454axp.f != 0) {
int i6 = q + 115;
p = i6 % 128;
if (i6 % 2 != 0) {
c3454axp.f.y();
int i7 = 17 / 0;
} else {
c3454axp.f.y();
}
}
c3454axp.c.b("DISPLAY_RECEIVE_CHEQUE");
Say say = c3454axp.c;
say.d(say.i, new C3454axp.LWm(c3454axp, b));
super.Z();
setTitle(R.string.cheque_status_title);
ac();
}
@Override // com.scb.phone.view.activity.BaseActivity
public final void Z() {
int i = 2 % 2;
int i2 = p + 97;
q = i2 % 128;
int i3 = i2 % 2;
super.Z();
setTitle(R.string.cheque_status_title);
ac();
int i4 = p + 75;
q = i4 % 128;
if (i4 % 2 == 0) {
int i5 = 61 / 0;
}
}
@Override // o.cYE.Sts
public final void a(int i, int i2) {
int i3 = 2 % 2;
this.tabPager.setAdapter(new C12142esd(getSupportFragmentManager(), this, i, i2));
this.tabPager.setOffscreenPageLimit(2);
this.tabLayout.setupWithViewPager(this.tabPager);
this.tabPager.addOnPageChangeListener(this);
this.tabPager.setCurrentItem(1);
int i4 = p + 37;
q = i4 % 128;
int i5 = i4 % 2;
}
@Override // androidx.viewpager.widget.ViewPager.ojQ
public void onPageSelected(int i) {
String str;
int i2 = 2 % 2;
if (i != 0) {
int i3 = p + 57;
q = i3 % 128;
str = (i3 % 2 != 0 ? i == 1 : i == 0) ? "paid" : "";
} else {
int i4 = q + 17;
p = i4 % 128;
int i5 = i4 % 2;
str = "received";
}
c("chqstatus_landing", new pug("chqstatus_type", str));
}
@Override // o.AbstractActivityC10197dyI, com.scb.phone.view.activity.BaseActivity, com.scb.phone.view.activity.PreLoadCheckActivity, com.akexorcist.localizationactivity.LocalizationActivity, androidx.appcompat.app.AppCompatActivity, androidx.fragment.app.FragmentActivity, androidx.activity.ComponentActivity, androidx.core.app.ComponentActivity, android.app.Activity
public void onResume() {
int i = 2 % 2;
int i2 = q + 99;
p = i2 % 128;
Object obj = null;
if (i2 % 2 != 0) {
getBaseContext();
obj.hashCode();
throw null;
}
Context baseContext = getBaseContext();
if (baseContext == null) {
Object[] objArr = new Object[1];
ay(new char[]{' ', 16, 2, 29, 30, 11, 0, '#', '!', 22, 18, '!', '\f', 1, '\f', '\n', 0, '\b', '\r', NistHelper.SEP_FS, 3, '\n', 27, 29, '#', 4}, (byte) (((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getPackageName().codePointAt(10) - 72), ((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getApplicationInfo().targetSdkVersion - 8, objArr);
Class<?> cls = Class.forName((String) objArr[0]);
Object[] objArr2 = new Object[1];
ay(new char[]{3, 30, 13891, 13891, 26, 16, 17, 14, 13893, 13893, 11, 7, 4, 30, '\f', '\n', ' ', 17}, (byte) (((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getResources().getString(R.string.merchant_terminal_label).substring(0, 11).codePointAt(4) - 14), TextUtils.getTrimmedLength("") + 18, objArr2);
baseContext = (Context) cls.getMethod((String) objArr2[0], new Class[0]).invoke(null, null);
}
if (baseContext != null) {
int i3 = q + 57;
p = i3 % 128;
if (i3 % 2 != 0) {
baseContext.getApplicationContext();
obj.hashCode();
throw null;
}
baseContext = baseContext.getApplicationContext();
int i4 = p + 7;
q = i4 % 128;
int i5 = i4 % 2;
}
if (baseContext != null) {
try {
Object obj2 = xzZ.y.get(125943855);
if (obj2 == null) {
obj2 = ((Class) xzZ.c(492 - (AudioTrack.getMinVolume() > BitmapDescriptorFactory.HUE_RED ? 1 : (AudioTrack.getMinVolume() == BitmapDescriptorFactory.HUE_RED ? 0 : -1)), 5 - (ViewConfiguration.getJumpTapTimeout() >> 16), (char) (ViewConfiguration.getScrollDefaultDelay() >> 16))).getMethod("a", null);
xzZ.y.put(125943855, obj2);
}
Object invoke = ((Method) obj2).invoke(null, null);
Object[] objArr3 = {baseContext};
Object obj3 = xzZ.y.get(1378719468);
if (obj3 == null) {
obj3 = ((Class) xzZ.c(487 - (ViewConfiguration.getJumpTapTimeout() >> 16), 5 - (ViewConfiguration.getFadingEdgeLength() >> 16), (char) (ExpandableListView.getPackedPositionForGroup(0) > 0L ? 1 : (ExpandableListView.getPackedPositionForGroup(0) == 0L ? 0 : -1)))).getMethod(KtaJsonExactionHelper.OBJECT, Context.class);
xzZ.y.put(1378719468, obj3);
}
((Method) obj3).invoke(invoke, objArr3);
} catch (Throwable th) {
Throwable cause = th.getCause();
if (cause == null) {
throw th;
}
throw cause;
}
}
super.onResume();
int i6 = p + 79;
q = i6 % 128;
int i7 = i6 % 2;
}
private static void ax(short s2, int i, int i2, int i3, byte b, Object[] objArr) {
boolean z;
int i4 = 2 % 2;
DFY dfy = new DFY();
StringBuilder sb = new StringBuilder();
try {
Object[] objArr2 = {Integer.valueOf(i2), Integer.valueOf(l)};
Object obj = xzZ.y.get(-2092856797);
if (obj == null) {
Class cls = (Class) xzZ.c(TextUtils.indexOf("", "", 0) + 337, TextUtils.getOffsetAfter("", 0) + 5, (char) View.resolveSize(0, 0));
byte b2 = (byte) 2;
byte b3 = (byte) (b2 - 2);
Object[] objArr3 = new Object[1];
az(b2, b3, b3, objArr3);
obj = cls.getMethod((String) objArr3[0], Integer.TYPE, Integer.TYPE);
xzZ.y.put(-2092856797, obj);
}
int intValue = ((Integer) ((Method) obj).invoke(null, objArr2)).intValue();
int i5 = intValue == -1 ? 1 : 0;
if (i5 != 0) {
int i6 = $10 + 67;
int i7 = i6 % 128;
$11 = i7;
int i8 = i6 % 2;
byte[] bArr = f6731o;
if (bArr != null) {
int i9 = i7 + 7;
$10 = i9 % 128;
int i10 = i9 % 2;
int length = bArr.length;
byte[] bArr2 = new byte[length];
for (int i11 = 0; i11 < length; i11++) {
Object[] objArr4 = {Integer.valueOf(bArr[i11])};
Object obj2 = xzZ.y.get(-1648115392);
if (obj2 == null) {
Class cls2 = (Class) xzZ.c(60 - View.combineMeasuredStates(0, 0), ExpandableListView.getPackedPositionGroup(0L) + 5, (char) Gravity.getAbsoluteGravity(0, 0));
byte b4 = (byte) 0;
byte b5 = b4;
Object[] objArr5 = new Object[1];
az(b4, b5, b5, objArr5);
obj2 = cls2.getMethod((String) objArr5[0], Integer.TYPE);
xzZ.y.put(-1648115392, obj2);
}
bArr2[i11] = ((Byte) ((Method) obj2).invoke(null, objArr4)).byteValue();
}
bArr = bArr2;
}
if (bArr != null) {
byte[] bArr3 = f6731o;
Object[] objArr6 = {Integer.valueOf(i), Integer.valueOf(m)};
Object obj3 = xzZ.y.get(-2092856797);
if (obj3 == null) {
Class cls3 = (Class) xzZ.c(337 - (AudioTrack.getMinVolume() > BitmapDescriptorFactory.HUE_RED ? 1 : (AudioTrack.getMinVolume() == BitmapDescriptorFactory.HUE_RED ? 0 : -1)), (ViewConfiguration.getJumpTapTimeout() >> 16) + 5, (char) (ViewConfiguration.getWindowTouchSlop() >> 8));
byte b6 = (byte) 2;
byte b7 = (byte) (b6 - 2);
Object[] objArr7 = new Object[1];
az(b6, b7, b7, objArr7);
obj3 = cls3.getMethod((String) objArr7[0], Integer.TYPE, Integer.TYPE);
xzZ.y.put(-2092856797, obj3);
}
intValue = (byte) (((byte) (bArr3[((Integer) ((Method) obj3).invoke(null, objArr6)).intValue()] ^ (-7303220121662775787L))) + ((int) (l ^ (-7303220121662775787L))));
} else {
intValue = (short) (((short) (s[i + ((int) (m ^ (-7303220121662775787L)))] ^ (-7303220121662775787L))) + ((int) (l ^ (-7303220121662775787L))));
}
}
if (intValue > 0) {
int i12 = $10 + 115;
$11 = i12 % 128;
int i13 = i12 % 2;
dfy.c = ((i + intValue) - 2) + ((int) (m ^ (-7303220121662775787L))) + i5;
try {
Object[] objArr8 = {dfy, Integer.valueOf(i3), Integer.valueOf(k), sb};
Object obj4 = xzZ.y.get(1546973421);
if (obj4 == null) {
obj4 = ((Class) xzZ.c(747 - TextUtils.indexOf((CharSequence) "", '0', 0), TextUtils.getTrimmedLength("") + 5, (char) ((-1) - TextUtils.indexOf((CharSequence) "", '0', 0)))).getMethod("q", Object.class, Integer.TYPE, Integer.TYPE, Object.class);
xzZ.y.put(1546973421, obj4);
}
((StringBuilder) ((Method) obj4).invoke(null, objArr8)).append(dfy.a);
dfy.e = dfy.a;
byte[] bArr4 = f6731o;
if (bArr4 != null) {
int length2 = bArr4.length;
byte[] bArr5 = new byte[length2];
for (int i14 = 0; i14 < length2; i14++) {
int i15 = $10 + 89;
$11 = i15 % 128;
int i16 = i15 % 2;
bArr5[i14] = (byte) (bArr4[i14] ^ (-7303220121662775787L));
}
bArr4 = bArr5;
}
if (bArr4 != null) {
int i17 = $11 + 95;
$10 = i17 % 128;
int i18 = i17 % 2;
z = true;
} else {
z = false;
}
dfy.d = 1;
while (dfy.d < intValue) {
int i19 = $10 + 41;
$11 = i19 % 128;
int i20 = i19 % 2;
if (z) {
byte[] bArr6 = f6731o;
dfy.c = dfy.c - 1;
dfy.a = (char) (dfy.e + (((byte) (((byte) (bArr6[r8] ^ (-7303220121662775787L))) + s2)) ^ b));
} else {
short[] sArr = s;
dfy.c = dfy.c - 1;
dfy.a = (char) (dfy.e + (((short) (((short) (sArr[r8] ^ (-7303220121662775787L))) + s2)) ^ b));
}
sb.append(dfy.a);
dfy.e = dfy.a;
dfy.d++;
}
} catch (Throwable th) {
Throwable cause = th.getCause();
if (cause == null) {
throw th;
}
throw cause;
}
}
objArr[0] = sb.toString();
} catch (Throwable th2) {
Throwable cause2 = th2.getCause();
if (cause2 == null) {
throw th2;
}
throw cause2;
}
}
@Override // o.AbstractActivityC10197dyI, 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 = q + 73;
p = i2 % 128;
int i3 = i2 % 2;
Context baseContext = getBaseContext();
if (baseContext == null) {
Object[] objArr = new Object[1];
ay(new char[]{' ', 16, 2, 29, 30, 11, 0, '#', '!', 22, 18, '!', '\f', 1, '\f', '\n', 0, '\b', '\r', NistHelper.SEP_FS, 3, '\n', 27, 29, '#', 4}, (byte) (((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getResources().getString(R.string.idp_selected_account_limit).substring(0, 4).codePointAt(2) - 76), MotionEvent.axisFromString("") + 27, objArr);
Class<?> cls = Class.forName((String) objArr[0]);
Object[] objArr2 = new Object[1];
ay(new char[]{3, 30, 13891, 13891, 26, 16, 17, 14, 13893, 13893, 11, 7, 4, 30, '\f', '\n', ' ', 17}, (byte) (Drawable.resolveOpacity(0, 0) + 91), Color.rgb(0, 0, 0) + 16777234, objArr2);
baseContext = (Context) cls.getMethod((String) objArr2[0], new Class[0]).invoke(null, null);
int i4 = q + 7;
p = i4 % 128;
int i5 = i4 % 2;
}
if (baseContext != null) {
baseContext = baseContext.getApplicationContext();
}
if (baseContext != null) {
int i6 = p + 27;
q = i6 % 128;
int i7 = i6 % 2;
try {
Object obj = xzZ.y.get(125943855);
if (obj == null) {
obj = ((Class) xzZ.c((SystemClock.currentThreadTimeMillis() > (-1L) ? 1 : (SystemClock.currentThreadTimeMillis() == (-1L) ? 0 : -1)) + 491, 5 - (ViewConfiguration.getTouchSlop() >> 8), (char) View.combineMeasuredStates(0, 0))).getMethod("a", null);
xzZ.y.put(125943855, obj);
}
Object invoke = ((Method) obj).invoke(null, null);
Object[] objArr3 = {baseContext};
Object obj2 = xzZ.y.get(1633456013);
if (obj2 == null) {
obj2 = ((Class) xzZ.c(487 - Color.red(0), (ViewConfiguration.getScrollFriction() > BitmapDescriptorFactory.HUE_RED ? 1 : (ViewConfiguration.getScrollFriction() == BitmapDescriptorFactory.HUE_RED ? 0 : -1)) + 4, (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();
int i8 = p + 123;
q = i8 % 128;
if (i8 % 2 == 0) {
int i9 = 51 / 0;
}
}
/* JADX WARN: Code restructure failed: missing block: B:37:0x0125, code lost:
if (r2.b == r2.c) goto L37;
*/
/* JADX WARN: Code restructure failed: missing block: B:39:0x0187, code lost:
r7 = new java.lang.Object[]{r2, r2, java.lang.Integer.valueOf(r1), r2, r2, java.lang.Integer.valueOf(r1), r2, r2, java.lang.Integer.valueOf(r1), r2, r2, java.lang.Integer.valueOf(r1), r2};
r10 = o.xzZ.y.get(822107368);
*/
/* JADX WARN: Code restructure failed: missing block: B:40:0x01d5, code lost:
if (r10 == null) goto L49;
*/
/* JADX WARN: Code restructure failed: missing block: B:44:0x0263, code lost:
if (((java.lang.Integer) ((java.lang.reflect.Method) r10).invoke(null, r7)).intValue() != r2.j) goto L60;
*/
/* JADX WARN: Code restructure failed: missing block: B:46:0x0267, code lost:
r7 = new java.lang.Object[]{r2, r2, java.lang.Integer.valueOf(r1), java.lang.Integer.valueOf(r1), r2, r2, java.lang.Integer.valueOf(r1), java.lang.Integer.valueOf(r1), r2, java.lang.Integer.valueOf(r1), r2};
r6 = o.xzZ.y.get(-1152873385);
*/
/* JADX WARN: Code restructure failed: missing block: B:47:0x02a6, code lost:
if (r6 == null) goto L57;
*/
/* JADX WARN: Code restructure failed: missing block: B:49:0x031d, code lost:
r6 = ((java.lang.Integer) ((java.lang.reflect.Method) r6).invoke(null, r7)).intValue();
*/
/* JADX WARN: Code restructure failed: missing block: B:50:0x032a, code lost:
r7 = (r2.d * r1) + r2.j;
r4[r2.e] = r3[r6];
r4[r2.e + 1] = r3[r7];
*/
/* JADX WARN: Code restructure failed: missing block: B:52:0x0391, code lost:
r2.e += 2;
*/
/* JADX WARN: Code restructure failed: missing block: B:53:0x02aa, code lost:
r6 = (java.lang.Class) o.xzZ.c((android.os.SystemClock.elapsedRealtimeNanos() > 0 ? 1 : (android.os.SystemClock.elapsedRealtimeNanos() == 0 ? 0 : -1)) + 326, (android.view.ViewConfiguration.getEdgeSlop() >> 16) + 5, (char) android.view.View.MeasureSpec.getMode(0));
r11 = (byte) 0;
r12 = new java.lang.Object[1];
az((byte) (com.scb.phone.view.activity.chequemanagement.chequestatus.ChequeStatusActivity.$$h - 3), r11, r11, r12);
r6 = r6.getMethod((java.lang.String) r12[0], java.lang.Object.class, java.lang.Object.class, java.lang.Integer.TYPE, java.lang.Integer.TYPE, java.lang.Object.class, java.lang.Object.class, java.lang.Integer.TYPE, java.lang.Integer.TYPE, java.lang.Object.class, java.lang.Integer.TYPE, java.lang.Object.class);
o.xzZ.y.put(-1152873385, r6);
*/
/* JADX WARN: Code restructure failed: missing block: B:55:0x0344, code lost:
if (r2.a != r2.d) goto L63;
*/
/* JADX WARN: Code restructure failed: missing block: B:56:0x0346, code lost:
r6 = com.scb.phone.view.activity.chequemanagement.chequestatus.ChequeStatusActivity.$11 + 37;
com.scb.phone.view.activity.chequemanagement.chequestatus.ChequeStatusActivity.$10 = r6 % 128;
r6 = r6 % 2;
r2.f = ((r2.f + r1) - 1) % r1;
r2.j = ((r2.j + r1) - 1) % r1;
r6 = (r2.a * r1) + r2.f;
r7 = (r2.d * r1) + r2.j;
r4[r2.e] = r3[r6];
r4[r2.e + 1] = r3[r7];
*/
/* JADX WARN: Code restructure failed: missing block: B:58:0x0378, code lost:
r6 = (r2.a * r1) + r2.j;
r7 = (r2.d * r1) + r2.f;
r4[r2.e] = r3[r6];
r4[r2.e + 1] = r3[r7];
*/
/* JADX WARN: Code restructure failed: missing block: B:60:0x01d8, code lost:
r10 = (java.lang.Class) o.xzZ.c(233 - (android.view.ViewConfiguration.getTapTimeout() >> 16), 5 - android.graphics.Color.alpha(0), (char) (22024 - (android.view.ViewConfiguration.getMinimumFlingVelocity() >> 16)));
r13 = (byte) 0;
r14 = new java.lang.Object[1];
az((byte) (com.scb.phone.view.activity.chequemanagement.chequestatus.ChequeStatusActivity.$$h - 1), r13, r13, r14);
r10 = r10.getMethod((java.lang.String) r14[0], java.lang.Object.class, java.lang.Object.class, java.lang.Integer.TYPE, java.lang.Object.class, java.lang.Object.class, java.lang.Integer.TYPE, java.lang.Object.class, java.lang.Object.class, java.lang.Integer.TYPE, java.lang.Object.class, java.lang.Object.class, java.lang.Integer.TYPE, java.lang.Object.class);
o.xzZ.y.put(822107368, r10);
*/
/* JADX WARN: Code restructure failed: missing block: B:62:0x013b, code lost:
r6 = com.scb.phone.view.activity.chequemanagement.chequestatus.ChequeStatusActivity.$10 + 29;
com.scb.phone.view.activity.chequemanagement.chequestatus.ChequeStatusActivity.$11 = r6 % 128;
*/
/* JADX WARN: Code restructure failed: missing block: B:63:0x0145, code lost:
if ((r6 % 2) != 0) goto L40;
*/
/* JADX WARN: Code restructure failed: missing block: B:64:0x0147, code lost:
r4[r2.e] = (char) (r2.b >> r25);
r4[r2.e + 1] = (char) (r2.c >> r25);
*/
/* JADX WARN: Code restructure failed: missing block: B:65:0x016e, code lost:
r6 = com.scb.phone.view.activity.chequemanagement.chequestatus.ChequeStatusActivity.$10 + 77;
com.scb.phone.view.activity.chequemanagement.chequestatus.ChequeStatusActivity.$11 = r6 % 128;
*/
/* JADX WARN: Code restructure failed: missing block: B:66:0x0178, code lost:
if ((r6 % 2) != 0) goto L44;
*/
/* JADX WARN: Code restructure failed: missing block: B:67:0x017a, code lost:
r6 = 5 % 4;
*/
/* JADX WARN: Code restructure failed: missing block: B:71:0x015b, code lost:
r4[r2.e] = (char) (r2.b - r25);
r4[r2.e + 1] = (char) (r2.c - r25);
*/
/* JADX WARN: Code restructure failed: missing block: B:73:0x0139, code lost:
if (r2.b == r2.c) goto L37;
*/
/*
Code decompiled incorrectly, please refer to instructions dump.
To view partially-correct add '--show-bad-code' argument
*/
private static void ay(char[] r24, byte r25, int r26, java.lang.Object[] r27) {
/*
Method dump skipped, instructions count: 983
To view this dump add '--comments-level debug' option
*/
throw new UnsupportedOperationException("Method not decompiled: com.scb.phone.view.activity.chequemanagement.chequestatus.ChequeStatusActivity.ay(char[], byte, int, java.lang.Object[]):void");
}
@Override // o.AbstractActivityC10197dyI, 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];
ax((short) (ViewConfiguration.getScrollBarFadeDuration() >> 16), 736337853 - ExpandableListView.getPackedPositionType(0L), (-60) - (ViewConfiguration.getGlobalActionKeyTimeout() > 0L ? 1 : (ViewConfiguration.getGlobalActionKeyTimeout() == 0L ? 0 : -1)), 1783386640 - (ViewConfiguration.getEdgeSlop() >> 16), (byte) ((-94) - KeyEvent.getDeadChar(0, 0)), objArr);
Class<?> cls = Class.forName((String) objArr[0]);
Object[] objArr2 = new Object[1];
ay(new char[]{'\r', 29, 6, 7, 13901}, (byte) (TextUtils.lastIndexOf("", '0', 0, 0) + 80), 5 - TextUtils.getTrimmedLength(""), 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) {
context2 = context.getApplicationContext();
int i2 = q + 113;
p = i2 % 128;
int i3 = i2 % 2;
} else {
context2 = context;
}
if (context2 != null) {
int i4 = q + 87;
p = i4 % 128;
int i5 = i4 % 2;
try {
Object obj = xzZ.y.get(125943855);
if (obj == null) {
obj = ((Class) xzZ.c((ViewConfiguration.getZoomControlsTimeout() > 0L ? 1 : (ViewConfiguration.getZoomControlsTimeout() == 0L ? 0 : -1)) + 491, 5 - (ViewConfiguration.getWindowTouchSlop() >> 8), (char) Color.argb(0, 0, 0, 0))).getMethod("a", null);
xzZ.y.put(125943855, obj);
}
Object invoke = ((Method) obj).invoke(null, null);
Object[] objArr3 = new Object[1];
ax((short) (ViewConfiguration.getTapTimeout() >> 16), (ViewConfiguration.getGlobalActionKeyTimeout() > 0L ? 1 : (ViewConfiguration.getGlobalActionKeyTimeout() == 0L ? 0 : -1)) + 736337869, (-31) - View.getDefaultSize(0, 0), 1783386592 - Drawable.resolveOpacity(0, 0), (byte) ((-16777222) - Color.rgb(0, 0, 0)), objArr3);
String str = (String) objArr3[0];
Object[] objArr4 = new Object[1];
ay(new char[]{25, '\"', 24, 29, 25, '#', 21, 14, 29, 22, 23, 25, 23, 25, 20, '\"', 26, 23, 31, 20, 5, 24, ' ', 22, 11, 26, 6, 1, 21, '\r', 6, 25, 13743, 13743, 22, '#', 18, 29, 13818, 13818, 25, '#', '#', NistHelper.SEP_FS, 20, '#', 25, '#', 0, 29, 19, 23, 6, 30, 19, '#', 30, 6, 30, 26, 25, '#', 4, '\"'}, (byte) ((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)) + 2), 'p' - AndroidCharacter.getMirror('0'), objArr4);
String str2 = (String) objArr4[0];
Object[] objArr5 = new Object[1];
ay(new char[]{30, NistHelper.SEP_FS, '\b', '\t', ' ', '\n', 13931, 13931, 21, '\r', '\n', 26, ' ', 19, 6, 25, '#', ' ', 19, 6, 31, '\b', 23, 20, 6, 30, 22, 24, 25, 24, 17, 3, 19, ' ', '#', 22, 18, 20, 13847, 13847, 19, 11, 20, 11, 24, 6, 24, 29, '\"', 25, 18, 25, 27, 17, 6, 19, '\n', 31, 22, 30, 18, 29, 4, 18}, (byte) (108 - (ViewConfiguration.getMaximumFlingVelocity() >> 16)), (Process.myTid() >> 22) + 64, objArr5);
String str3 = (String) objArr5[0];
Object[] objArr6 = new Object[1];
ax((short) TextUtils.indexOf("", ""), 736337917 - (ViewConfiguration.getWindowTouchSlop() >> 8), View.resolveSize(0, 0) - 5, 1783386647 - Color.blue(0), (byte) (81 - Color.argb(0, 0, 0, 0)), objArr6);
String str4 = (String) objArr6[0];
Object[] objArr7 = new Object[1];
ax((short) Gravity.getAbsoluteGravity(0, 0), 736337989 - ImageFormat.getBitsPerPixel(0), KeyEvent.keyCodeFromString("") - 74, 1783386599 - TextUtils.lastIndexOf("", '0', 0, 0), (byte) (TextUtils.indexOf((CharSequence) "", '0', 0, 0) - 95), objArr7);
String str5 = (String) objArr7[0];
Object[] objArr8 = new Object[1];
ax((short) (TextUtils.indexOf((CharSequence) "", '0') + 1), 41082 - AndroidCharacter.getMirror('0'), (ViewConfiguration.getFadingEdgeLength() >> 16) - 43, 1783386645 - (ViewConfiguration.getScrollFriction() > BitmapDescriptorFactory.HUE_RED ? 1 : (ViewConfiguration.getScrollFriction() == BitmapDescriptorFactory.HUE_RED ? 0 : -1)), (byte) ((ViewConfiguration.getMaximumFlingVelocity() >> 16) + 120), 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(((byte) KeyEvent.getModifierMetaStateMask()) + 488, (ViewConfiguration.getLongPressTimeout() >> 16) + 5, (char) (ViewConfiguration.getKeyRepeatTimeout() >> 16))).getMethod("e", Context.class, String.class, String.class, String.class, String.class, Boolean.TYPE, String.class, String.class);
xzZ.y.put(1656189573, obj2);
}
((Method) obj2).invoke(invoke, objArr9);
} catch (Throwable th) {
Throwable cause = th.getCause();
if (cause == null) {
throw th;
}
throw cause;
}
}
}
}
@Override // o.AbstractActivityC10197dyI, 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 + 7;
q = i2 % 128;
int i3 = i2 % 2;
super.onStart();
int i4 = p + 19;
q = i4 % 128;
if (i4 % 2 != 0) {
return;
}
Object obj = null;
obj.hashCode();
throw null;
}
@Override // androidx.viewpager.widget.ViewPager.ojQ
public void onPageScrolled(int i, float f, int i2) {
int i3 = 2 % 2;
int i4 = p + 1;
q = i4 % 128;
int i5 = i4 % 2;
}
@Override // androidx.viewpager.widget.ViewPager.ojQ
public void onPageScrollStateChanged(int i) {
int i2 = 2 % 2;
int i3 = q + 105;
p = i3 % 128;
int i4 = i3 % 2;
}
}