what-the-bank/sources/com/scb/phone/view/activity/ccsof/CcSofCreditCardOnlyActivity...

925 lines
45 KiB
Java

package com.scb.phone.view.activity.ccsof;
import android.content.Context;
import android.content.Intent;
import android.graphics.Color;
import android.graphics.ImageFormat;
import android.graphics.PointF;
import android.media.AudioTrack;
import android.os.Process;
import android.os.SystemClock;
import android.telephony.cdma.CdmaCellLocation;
import android.text.TextUtils;
import android.view.KeyEvent;
import android.view.MotionEvent;
import android.view.View;
import android.view.ViewConfiguration;
import android.widget.ExpandableListView;
import android.widget.TextView;
import androidx.fragment.app.Fragment;
import com.google.android.gms.maps.model.BitmapDescriptorFactory;
import com.google.android.material.tabs.TabLayout;
import com.google.common.base.Ascii;
import com.kofax.mobile.sdk._internal.impl.extraction.kta.KtaJsonExactionHelper;
import com.scb.phone.R;
import com.scb.phone.view.fragment.ccsof.CcSofCreditCardOnlyFragment;
import com.scb.phone.view.fragment.pointx.PointXPointPurchaseFragment;
import com.scb.phone.view.fragment.pointx.PointXPurchaseInputFragment;
import java.lang.reflect.Method;
import net.sf.scuba.smartcards.ISOFileInfo;
import o.C12020eqN;
import o.C1203Xy;
import o.C14957gcv;
import o.C3614bBe;
import o.C7073chR;
import o.HR;
import o.IRS;
import o.InterfaceC13391fZD;
import o.InterfaceC9464dkI;
import o.TS;
import o.YY;
import o.xzZ;
import o.yRS;
import okhttp3.internal.http2.Http2Connection;
import org.jnbis.internal.NistHelper;
/* loaded from: classes4.dex */
public final class CcSofCreditCardOnlyActivity extends Hilt_CcSofCreditCardOnlyActivity implements InterfaceC9464dkI.Sts {
public static final Sts b;
private static char[] m;
/* renamed from: o, reason: collision with root package name */
private static char f6713o;
private static char[] p;
private static int q;
private static boolean r;
private static int s;
private static boolean t;
private PointXPointPurchaseFragment.HBt l;
@InterfaceC13391fZD
public C7073chR presenter;
private static final byte[] $$g = {74, -120, -98, -119};
private static final int $$h = 35;
private static int $10 = 0;
private static int $11 = 1;
private static int w = 1;
/* JADX WARN: Removed duplicated region for block: B:10:0x0024 */
/* JADX WARN: Removed duplicated region for block: B:7:0x001c */
/* JADX WARN: Unsupported multi-entry loop pattern (BACK_EDGE: B:10:0x0024 -> B:4:0x002b). 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(byte r7, short r8, short r9, java.lang.Object[] r10) {
/*
byte[] r0 = com.scb.phone.view.activity.ccsof.CcSofCreditCardOnlyActivity.$$g
int r8 = r8 * 3
int r8 = r8 + 1
int r9 = r9 * 2
int r9 = 3 - r9
int r7 = r7 + 65
byte[] r1 = new byte[r8]
r2 = 0
if (r0 != 0) goto L14
r3 = r9
r4 = r2
goto L2b
L14:
r3 = r2
L15:
int r4 = r3 + 1
byte r5 = (byte) r7
r1[r3] = r5
if (r4 != r8) goto L24
java.lang.String r7 = new java.lang.String
r7.<init>(r1, r2)
r10[r2] = r7
return
L24:
int r9 = r9 + 1
r3 = r0[r9]
r6 = r3
r3 = r9
r9 = r6
L2b:
int r7 = r7 + r9
r9 = r3
r3 = r4
goto L15
*/
throw new UnsupportedOperationException("Method not decompiled: com.scb.phone.view.activity.ccsof.CcSofCreditCardOnlyActivity.az(byte, short, short, java.lang.Object[]):void");
}
public static /* synthetic */ Object d(Object[] objArr, int i, int i2, int i3) {
int i4 = ~i;
int i5 = ~(i4 | i2);
int i6 = ~i3;
int i7 = (i * 55) + (i2 * (-107)) + ((i5 | (~(i6 | i2))) * (-108));
int i8 = ~(i4 | i3);
int i9 = ~((~i2) | i);
int i10 = i7 + (((~(i | i6)) | i8 | i9) * 54) + ((i3 | i9) * 54);
return i10 != 1 ? i10 != 2 ? b(objArr) : c(objArr) : e(objArr);
}
private static /* synthetic */ Object e(Object[] objArr) {
CcSofCreditCardOnlyActivity ccSofCreditCardOnlyActivity = (CcSofCreditCardOnlyActivity) objArr[0];
int i = 2 % 2;
int i2 = w + 29;
int i3 = i2 % 128;
s = i3;
int i4 = i2 % 2;
PointXPointPurchaseFragment.HBt hBt = ccSofCreditCardOnlyActivity.l;
int i5 = i3 + 93;
w = i5 % 128;
int i6 = i5 % 2;
return hBt;
}
/* loaded from: classes4.dex */
public static final class LWm implements TabLayout.IeS {
private CcSofCreditCardOnlyActivity b;
@Override // com.google.android.material.tabs.TabLayout.Sts
public final void a(TabLayout.RVV rvv) {
}
@Override // com.google.android.material.tabs.TabLayout.Sts
public final void d(TabLayout.RVV rvv) {
}
LWm(CcSofCreditCardOnlyActivity ccSofCreditCardOnlyActivity) {
this.b = ccSofCreditCardOnlyActivity;
}
@Override // com.google.android.material.tabs.TabLayout.Sts
public final void e(TabLayout.RVV rvv) {
PointXPointPurchaseFragment.HBt hBt;
if (rvv != null) {
CcSofCreditCardOnlyActivity ccSofCreditCardOnlyActivity = this.b;
if (C14957gcv.b((Object) rvv.f, (Object) ccSofCreditCardOnlyActivity.getString(R.string.point_x_points))) {
C7073chR c7073chR = ccSofCreditCardOnlyActivity.presenter;
if (c7073chR == null) {
C14957gcv.a("");
c7073chR = null;
}
if (!c7073chR.e.d() || (hBt = (PointXPointPurchaseFragment.HBt) CcSofCreditCardOnlyActivity.d(new Object[]{ccSofCreditCardOnlyActivity}, -803842640, 803842641, (int) System.currentTimeMillis())) == null) {
return;
}
hBt.e();
}
}
}
}
/* JADX WARN: Code restructure failed: missing block: B:29:0x0405, code lost:
if (o.gdZ.a("CCFA", (java.lang.String) o.C14881gav.e((java.util.List) r3), true) != false) goto L65;
*/
@Override // com.scb.phone.view.activity.ccsof.Hilt_CcSofCreditCardOnlyActivity, com.scb.phone.view.activity.partner.PartnerCommonInputActivity, 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 final void onCreate(android.os.Bundle r26) {
/*
Method dump skipped, instructions count: 1554
To view this dump add '--comments-level debug' option
*/
throw new UnsupportedOperationException("Method not decompiled: com.scb.phone.view.activity.ccsof.CcSofCreditCardOnlyActivity.onCreate(android.os.Bundle):void");
}
/* loaded from: classes4.dex */
public static final class Sts {
private Sts() {
}
public /* synthetic */ Sts(byte b) {
this();
}
}
@Override // com.scb.phone.view.activity.partner.PartnerCommonInputActivity
public final String j() {
int i = 2 % 2;
int i2 = w + 79;
s = i2 % 128;
if (i2 % 2 == 0) {
String string = getString(R.string.auto_ccsof_input_header);
C14957gcv.c((Object) string, "");
return string;
}
String string2 = getString(R.string.auto_ccsof_input_header);
C14957gcv.c((Object) string2, "");
int i3 = 81 / 0;
return string2;
}
private static void ay(int[] iArr, char[] cArr, int i, byte[] bArr, Object[] objArr) {
int i2 = 2 % 2;
C3614bBe c3614bBe = new C3614bBe();
char[] cArr2 = p;
long j = 0;
int i3 = 0;
if (cArr2 != null) {
int length = cArr2.length;
char[] cArr3 = new char[length];
int i4 = 0;
while (i4 < length) {
try {
Object[] objArr2 = new Object[1];
objArr2[i3] = Integer.valueOf(cArr2[i4]);
Object obj = xzZ.y.get(-950481649);
if (obj == null) {
Class cls = (Class) xzZ.c(View.combineMeasuredStates(i3, i3) + 337, TextUtils.getOffsetBefore("", i3) + 5, (char) ((-1) - ExpandableListView.getPackedPositionChild(j)));
byte b2 = (byte) i3;
byte b3 = b2;
Object[] objArr3 = new Object[1];
az(b2, b3, b3, objArr3);
obj = cls.getMethod((String) objArr3[0], Integer.TYPE);
xzZ.y.put(-950481649, obj);
}
cArr3[i4] = ((Character) ((Method) obj).invoke(null, objArr2)).charValue();
i4++;
j = 0;
i3 = 0;
} catch (Throwable th) {
Throwable cause = th.getCause();
if (cause == null) {
throw th;
}
throw cause;
}
}
int i5 = $11 + 123;
$10 = i5 % 128;
int i6 = i5 % 2;
cArr2 = cArr3;
}
Object[] objArr4 = {Integer.valueOf(q)};
Object obj2 = xzZ.y.get(-1521625011);
if (obj2 == null) {
Class cls2 = (Class) xzZ.c((ViewConfiguration.getKeyRepeatTimeout() >> 16) + 283, (AudioTrack.getMinVolume() > BitmapDescriptorFactory.HUE_RED ? 1 : (AudioTrack.getMinVolume() == BitmapDescriptorFactory.HUE_RED ? 0 : -1)) + 5, (char) (39813 - ExpandableListView.getPackedPositionType(0L)));
byte b4 = (byte) 0;
Object[] objArr5 = new Object[1];
az((byte) 57, b4, b4, objArr5);
obj2 = cls2.getMethod((String) objArr5[0], Integer.TYPE);
xzZ.y.put(-1521625011, obj2);
}
int intValue = ((Integer) ((Method) obj2).invoke(null, objArr4)).intValue();
if (t) {
c3614bBe.c = bArr.length;
char[] cArr4 = new char[c3614bBe.c];
c3614bBe.a = 0;
while (c3614bBe.a < c3614bBe.c) {
int i7 = $11 + 7;
$10 = i7 % 128;
int i8 = i7 % 2;
cArr4[c3614bBe.a] = (char) (cArr2[bArr[(c3614bBe.c - 1) - c3614bBe.a] + i] - intValue);
Object[] objArr6 = {c3614bBe, c3614bBe};
Object obj3 = xzZ.y.get(1779759091);
if (obj3 == null) {
obj3 = ((Class) xzZ.c(39 - (ExpandableListView.getPackedPositionForChild(0, 0) > 0L ? 1 : (ExpandableListView.getPackedPositionForChild(0, 0) == 0L ? 0 : -1)), View.resolveSize(0, 0) + 5, (char) (TextUtils.indexOf((CharSequence) "", '0', 0, 0) + 1))).getMethod("D", Object.class, Object.class);
xzZ.y.put(1779759091, obj3);
}
((Method) obj3).invoke(null, objArr6);
}
objArr[0] = new String(cArr4);
return;
}
int i9 = 0;
if (!(!r)) {
c3614bBe.c = cArr.length;
char[] cArr5 = new char[c3614bBe.c];
c3614bBe.a = 0;
while (c3614bBe.a < c3614bBe.c) {
cArr5[c3614bBe.a] = (char) (cArr2[cArr[(c3614bBe.c - 1) - c3614bBe.a] - i] - intValue);
Object[] objArr7 = {c3614bBe, c3614bBe};
Object obj4 = xzZ.y.get(1779759091);
if (obj4 == null) {
obj4 = ((Class) xzZ.c((ViewConfiguration.getScrollBarFadeDuration() >> 16) + 40, 5 - KeyEvent.normalizeMetaState(0), (char) (ExpandableListView.getPackedPositionForGroup(0) > 0L ? 1 : (ExpandableListView.getPackedPositionForGroup(0) == 0L ? 0 : -1)))).getMethod("D", Object.class, Object.class);
xzZ.y.put(1779759091, obj4);
}
((Method) obj4).invoke(null, objArr7);
}
String str = new String(cArr5);
int i10 = $10 + 13;
$11 = i10 % 128;
if (i10 % 2 != 0) {
objArr[0] = str;
return;
} else {
int i11 = 32 / 0;
objArr[0] = str;
return;
}
}
c3614bBe.c = iArr.length;
char[] cArr6 = new char[c3614bBe.c];
while (true) {
c3614bBe.a = i9;
if (c3614bBe.a >= c3614bBe.c) {
objArr[0] = new String(cArr6);
return;
} else {
cArr6[c3614bBe.a] = (char) (cArr2[iArr[(c3614bBe.c - 1) - c3614bBe.a] - i] - intValue);
i9 = c3614bBe.a + 1;
}
}
}
private static /* synthetic */ Object b(Object[] objArr) {
CcSofCreditCardOnlyActivity ccSofCreditCardOnlyActivity = (CcSofCreditCardOnlyActivity) objArr[0];
HR hr = (HR) objArr[1];
String str = (String) objArr[2];
int i = 2 % 2;
C14957gcv.e(hr, "");
C12020eqN c12020eqN = new C12020eqN();
c12020eqN.a = ccSofCreditCardOnlyActivity.getString(R.string.auto_ccsof_tab_cards);
CcSofCreditCardOnlyFragment.LWm lWm = CcSofCreditCardOnlyFragment.c;
c12020eqN.d = CcSofCreditCardOnlyFragment.LWm.a(hr, str, ccSofCreditCardOnlyActivity.l());
C14957gcv.c(c12020eqN, "");
ccSofCreditCardOnlyActivity.d(c12020eqN);
int i2 = s + 37;
w = i2 % 128;
if (i2 % 2 != 0) {
return null;
}
throw null;
}
@Override // o.InterfaceC9464dkI.Sts
public final void d(C1203Xy c1203Xy, TS ts, String str, boolean z, String[] strArr, String str2, HR hr) {
PointXPurchaseInputFragment b2;
int i = 2 % 2;
int i2 = w + 23;
s = i2 % 128;
int i3 = i2 % 2;
C14957gcv.e(str, "");
C14957gcv.e(strArr, "");
C14957gcv.e(hr, "");
if (c1203Xy != null) {
C12020eqN c12020eqN = new C12020eqN();
c12020eqN.a = getString(R.string.point_x_points);
PointXPurchaseInputFragment.LWm lWm = PointXPurchaseInputFragment.d;
b2 = PointXPurchaseInputFragment.LWm.b(c1203Xy, ts, str, (r18 & 8) != 0 ? false : z, strArr, str2, (r18 & 64) != 0 ? null : null, (r18 & 128) != 0 ? null : hr);
c12020eqN.d = b2;
C14957gcv.c(c12020eqN, "");
d(c12020eqN);
int i4 = s + 19;
w = i4 % 128;
if (i4 % 2 == 0) {
int i5 = 4 % 2;
}
}
}
@Override // o.InterfaceC9464dkI.Sts
public final void d() {
int i = 2 % 2;
TabLayout tabLayout = this.tabLayout;
View view = null;
if (tabLayout == null) {
C14957gcv.a("");
tabLayout = null;
}
TabLayout tabLayout2 = tabLayout;
C14957gcv.e(tabLayout2, "");
tabLayout2.setVisibility(8);
TextView textView = this.tvSourceLabel;
if (textView != null) {
int i2 = w + 79;
s = i2 % 128;
if (i2 % 2 != 0) {
throw null;
}
} else {
C14957gcv.a("");
textView = null;
}
TextView textView2 = textView;
C14957gcv.e(textView2, "");
textView2.setVisibility(0);
View view2 = this.separatorTop;
if (view2 != null) {
int i3 = s + 63;
w = i3 % 128;
if (i3 % 2 == 0) {
view.hashCode();
throw null;
}
} else {
C14957gcv.a("");
view2 = null;
}
C14957gcv.e(view2, "");
view2.setVisibility(8);
View view3 = this.separatorBottom;
if (view3 != null) {
int i4 = s + 61;
w = i4 % 128;
if (i4 % 2 == 0) {
view.hashCode();
throw null;
}
view = view3;
} else {
C14957gcv.a("");
}
C14957gcv.e(view, "");
view.setVisibility(8);
}
@Override // com.scb.phone.view.activity.partner.PartnerCommonInputActivity, o.InterfaceC9466dkK.LWm
public final void a() {
int i = 2 % 2;
int i2 = s + 63;
w = i2 % 128;
int i3 = i2 % 2;
super.a();
TextView textView = this.tvSourceLabel;
if (textView != null) {
int i4 = s + 67;
w = i4 % 128;
if (i4 % 2 == 0) {
int i5 = 79 / 0;
}
} else {
C14957gcv.a("");
textView = null;
}
TextView textView2 = textView;
C14957gcv.e(textView2, "");
textView2.setVisibility(0);
}
private final YY l() {
YY yy;
int i = 2 % 2;
Intent intent = getIntent();
C14957gcv.c(intent, "");
int intExtra = intent.getIntExtra("com.scb.phone.EXTRA_PAYMENT_FLOW_TYPE", -1);
if (intExtra >= 0) {
yy = YY.values()[intExtra];
} else {
int i2 = w + 49;
s = i2 % 128;
if (i2 % 2 != 0) {
int i3 = 4 / 2;
}
yy = null;
}
YY yy2 = yy;
if (yy2 != null) {
return yy2;
}
YY yy3 = YY.NORMAL;
int i4 = w + 97;
s = i4 % 128;
int i5 = i4 % 2;
return yy3;
}
private static /* synthetic */ Object c(Object[] objArr) {
CcSofCreditCardOnlyActivity ccSofCreditCardOnlyActivity = (CcSofCreditCardOnlyActivity) objArr[0];
int i = 2 % 2;
int i2 = s;
int i3 = i2 + 19;
w = i3 % 128;
int i4 = i3 % 2;
C7073chR c7073chR = ccSofCreditCardOnlyActivity.presenter;
if (c7073chR != null) {
int i5 = i2 + 53;
w = i5 % 128;
int i6 = i5 % 2;
} else {
C14957gcv.a("");
c7073chR = null;
}
c7073chR.w_();
super.onDestroy();
return null;
}
private static void ax(char[] cArr, byte b2, int i, Object[] objArr) {
int i2;
Object obj;
int i3 = 2 % 2;
IRS irs = new IRS();
char[] cArr2 = m;
int i4 = 52;
Object obj2 = null;
if (cArr2 != null) {
int i5 = $11;
int i6 = i5 + 23;
$10 = i6 % 128;
int i7 = i6 % 2;
int length = cArr2.length;
char[] cArr3 = new char[length];
int i8 = i5 + 27;
$10 = i8 % 128;
int i9 = i8 % 2;
int i10 = 0;
while (i10 < length) {
try {
Object[] objArr2 = {Integer.valueOf(cArr2[i10])};
Object obj3 = xzZ.y.get(-1987398494);
if (obj3 == null) {
Class cls = (Class) xzZ.c(View.combineMeasuredStates(0, 0) + 298, 4 - TextUtils.indexOf((CharSequence) "", '0', 0, 0), (char) (ViewConfiguration.getMaximumFlingVelocity() >> 16));
byte b3 = (byte) 0;
Object[] objArr3 = new Object[1];
az((byte) i4, b3, b3, objArr3);
obj3 = cls.getMethod((String) objArr3[0], Integer.TYPE);
xzZ.y.put(-1987398494, obj3);
}
cArr3[i10] = ((Character) ((Method) obj3).invoke(null, objArr2)).charValue();
i10++;
i4 = 52;
} catch (Throwable th) {
Throwable cause = th.getCause();
if (cause == null) {
throw th;
}
throw cause;
}
}
cArr2 = cArr3;
}
Object[] objArr4 = {Integer.valueOf(f6713o)};
Object obj4 = xzZ.y.get(-1987398494);
if (obj4 == null) {
Class cls2 = (Class) xzZ.c(298 - (ViewConfiguration.getScrollDefaultDelay() >> 16), (ViewConfiguration.getMinimumFlingVelocity() >> 16) + 5, (char) Color.alpha(0));
byte b4 = (byte) 0;
Object[] objArr5 = new Object[1];
az((byte) 52, b4, b4, 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] - b2);
} 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 - b2);
cArr4[irs.e + 1] = (char) (irs.c - b2);
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(233 - (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)), View.getDefaultSize(0, 0) + 5, (char) (22024 - (ViewConfiguration.getKeyRepeatTimeout() >> 16)));
byte b5 = (byte) 0;
Object[] objArr7 = new Object[1];
az((byte) ($$h | 20), b5, b5, 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) {
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(View.MeasureSpec.makeMeasureSpec(0, 0) + 327, ExpandableListView.getPackedPositionGroup(0L) + 5, (char) (Color.rgb(0, 0, 0) + Http2Connection.OKHTTP_CLIENT_WINDOW_SIZE));
byte b6 = (byte) 0;
Object[] objArr9 = new Object[1];
az((byte) 53, b6, b6, 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 i11 = (irs.d * charValue) + irs.j;
cArr4[irs.e] = cArr2[intValue];
cArr4[irs.e + 1] = cArr2[i11];
} else {
obj = null;
if (irs.a == irs.d) {
int i12 = $10 + 107;
$11 = i12 % 128;
int i13 = i12 % 2;
irs.f = ((irs.f + charValue) - 1) % charValue;
irs.j = ((irs.j + charValue) - 1) % charValue;
int i14 = (irs.a * charValue) + irs.f;
int i15 = (irs.d * charValue) + irs.j;
cArr4[irs.e] = cArr2[i14];
cArr4[irs.e + 1] = cArr2[i15];
} else {
int i16 = (irs.a * charValue) + irs.j;
int i17 = (irs.d * charValue) + irs.f;
cArr4[irs.e] = cArr2[i16];
cArr4[irs.e + 1] = cArr2[i17];
}
}
}
irs.e += 2;
obj2 = obj;
}
}
for (int i18 = 0; i18 < i; i18++) {
cArr4[i18] = (char) (cArr4[i18] ^ 13722);
}
objArr[0] = new String(cArr4);
}
@Override // com.scb.phone.view.activity.ccsof.Hilt_CcSofCreditCardOnlyActivity, com.scb.phone.view.activity.partner.PartnerCommonInputActivity, 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 final void onResume() {
int i = 2 % 2;
Context baseContext = getBaseContext();
Object obj = null;
if (baseContext == null) {
Object[] objArr = new Object[1];
ay(null, null, 128 - (ViewConfiguration.getZoomControlsTimeout() > 0L ? 1 : (ViewConfiguration.getZoomControlsTimeout() == 0L ? 0 : -1)), new byte[]{ISOFileInfo.PROP_INFO, -122, -110, -120, -111, -112, -126, ISOFileInfo.CHANNEL_SECURITY, -124, -113, -124, ISOFileInfo.CHANNEL_SECURITY, ISOFileInfo.ENV_TEMP_EF, ISOFileInfo.SECURITY_ATTR_COMPACT, ISOFileInfo.LCS_BYTE, ISOFileInfo.SECURITY_ATTR_EXP, ISOFileInfo.SECURITY_ATTR_EXP, -122, ISOFileInfo.LCS_BYTE, ISOFileInfo.PROP_INFO, -124, -119, -120, ISOFileInfo.PROP_INFO, ISOFileInfo.FCI_EXT, -122}, objArr);
Class<?> cls = Class.forName((String) objArr[0]);
Object[] objArr2 = new Object[1];
ay(null, null, ((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getResources().getString(R.string.investment_information_footer).substring(212, 213).length() + 126, new byte[]{ISOFileInfo.FCI_EXT, -119, -124, ISOFileInfo.CHANNEL_SECURITY, -122, ISOFileInfo.ENV_TEMP_EF, -124, -108, ISOFileInfo.SECURITY_ATTR_EXP, ISOFileInfo.SECURITY_ATTR_EXP, ISOFileInfo.SECURITY_ATTR_COMPACT, ISOFileInfo.CHANNEL_SECURITY, ISOFileInfo.FCI_EXT, -110, -120, -120, -109, ISOFileInfo.ENV_TEMP_EF}, objArr2);
baseContext = (Context) cls.getMethod((String) objArr2[0], new Class[0]).invoke(null, null);
}
if (baseContext != null) {
int i2 = s + 83;
w = i2 % 128;
if (i2 % 2 == 0) {
baseContext.getApplicationContext();
obj.hashCode();
throw null;
}
baseContext = baseContext.getApplicationContext();
}
if (baseContext != null) {
int i3 = s + 73;
w = i3 % 128;
try {
if (i3 % 2 == 0) {
Object obj2 = xzZ.y.get(125943855);
if (obj2 == null) {
obj2 = ((Class) xzZ.c(492 - (ViewConfiguration.getMaximumFlingVelocity() >> 16), (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)) + 5, (char) Color.alpha(0))).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(ImageFormat.getBitsPerPixel(0) + 488, 6 - (Process.getElapsedCpuTime() > 0L ? 1 : (Process.getElapsedCpuTime() == 0L ? 0 : -1)), (char) (ViewConfiguration.getDoubleTapTimeout() >> 16))).getMethod(KtaJsonExactionHelper.OBJECT, Context.class);
xzZ.y.put(1378719468, obj3);
}
((Method) obj3).invoke(invoke, objArr3);
obj.hashCode();
throw null;
}
Object obj4 = xzZ.y.get(125943855);
if (obj4 == null) {
obj4 = ((Class) xzZ.c(492 - KeyEvent.keyCodeFromString(""), (ViewConfiguration.getFadingEdgeLength() >> 16) + 5, (char) (1 - (SystemClock.uptimeMillis() > 0L ? 1 : (SystemClock.uptimeMillis() == 0L ? 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.getDoubleTapTimeout() >> 16), 5 - (ExpandableListView.getPackedPositionForGroup(0) > 0L ? 1 : (ExpandableListView.getPackedPositionForGroup(0) == 0L ? 0 : -1)), (char) (1 - (SystemClock.uptimeMillis() > 0L ? 1 : (SystemClock.uptimeMillis() == 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();
}
@Override // com.scb.phone.view.activity.ccsof.Hilt_CcSofCreditCardOnlyActivity, com.scb.phone.view.activity.partner.PartnerCommonInputActivity, 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 final void onPause() {
int i = 2 % 2;
Context baseContext = getBaseContext();
if (baseContext == null) {
int i2 = s + 79;
w = i2 % 128;
int i3 = i2 % 2;
Object[] objArr = new Object[1];
ay(null, null, ((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getResources().getString(R.string.hml_ota_info_second_title).substring(7, 8).codePointAt(0) + 95, new byte[]{ISOFileInfo.PROP_INFO, -122, -110, -120, -111, -112, -126, ISOFileInfo.CHANNEL_SECURITY, -124, -113, -124, ISOFileInfo.CHANNEL_SECURITY, ISOFileInfo.ENV_TEMP_EF, ISOFileInfo.SECURITY_ATTR_COMPACT, ISOFileInfo.LCS_BYTE, ISOFileInfo.SECURITY_ATTR_EXP, ISOFileInfo.SECURITY_ATTR_EXP, -122, ISOFileInfo.LCS_BYTE, ISOFileInfo.PROP_INFO, -124, -119, -120, ISOFileInfo.PROP_INFO, ISOFileInfo.FCI_EXT, -122}, objArr);
Class<?> cls = Class.forName((String) objArr[0]);
Object[] objArr2 = new Object[1];
ay(null, null, TextUtils.indexOf((CharSequence) "", '0', 0) + 128, new byte[]{ISOFileInfo.FCI_EXT, -119, -124, ISOFileInfo.CHANNEL_SECURITY, -122, ISOFileInfo.ENV_TEMP_EF, -124, -108, ISOFileInfo.SECURITY_ATTR_EXP, ISOFileInfo.SECURITY_ATTR_EXP, ISOFileInfo.SECURITY_ATTR_COMPACT, ISOFileInfo.CHANNEL_SECURITY, ISOFileInfo.FCI_EXT, -110, -120, -120, -109, ISOFileInfo.ENV_TEMP_EF}, objArr2);
baseContext = (Context) cls.getMethod((String) objArr2[0], new Class[0]).invoke(null, null);
int i4 = w + 9;
s = i4 % 128;
int i5 = i4 % 2;
}
if (baseContext != null) {
baseContext = baseContext.getApplicationContext();
int i6 = w + 37;
s = i6 % 128;
int i7 = i6 % 2;
}
if (baseContext != null) {
int i8 = w + 29;
s = i8 % 128;
int i9 = i8 % 2;
try {
Object obj = xzZ.y.get(125943855);
if (obj == null) {
obj = ((Class) xzZ.c((ViewConfiguration.getGlobalActionKeyTimeout() > 0L ? 1 : (ViewConfiguration.getGlobalActionKeyTimeout() == 0L ? 0 : -1)) + 491, Color.green(0) + 5, (char) (Color.rgb(0, 0, 0) + Http2Connection.OKHTTP_CLIENT_WINDOW_SIZE))).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.normalizeMetaState(0), 6 - (AudioTrack.getMaxVolume() > BitmapDescriptorFactory.HUE_RED ? 1 : (AudioTrack.getMaxVolume() == BitmapDescriptorFactory.HUE_RED ? 0 : -1)), (char) (ExpandableListView.getPackedPositionForGroup(0) > 0L ? 1 : (ExpandableListView.getPackedPositionForGroup(0) == 0L ? 0 : -1)))).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 // com.scb.phone.view.activity.ccsof.Hilt_CcSofCreditCardOnlyActivity, com.scb.phone.view.activity.partner.PartnerCommonInputActivity, 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 final void attachBaseContext(Context context) {
Context context2;
int i = 2 % 2;
super.attachBaseContext(context);
Object[] objArr = new Object[1];
ax(new char[]{'\n', 15, '\"', 25, 29, 20, ' ', '#', 24, 14, '#', NistHelper.SEP_FS, 29, 27, '\f', 25, 13893, 13893}, (byte) (91 - TextUtils.indexOf((CharSequence) "", '0', 0)), 18 - (ViewConfiguration.getTapTimeout() >> 16), objArr);
Class<?> cls = Class.forName((String) objArr[0]);
Object[] objArr2 = new Object[1];
ay(null, null, (CdmaCellLocation.convertQuartSecToDecDegrees(0) > 0.0d ? 1 : (CdmaCellLocation.convertQuartSecToDecDegrees(0) == 0.0d ? 0 : -1)) + 127, new byte[]{ISOFileInfo.PROP_INFO, -124, ISOFileInfo.FILE_IDENTIFIER, -126, ISOFileInfo.DATA_BYTES2}, 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 = w + 81;
s = i2 % 128;
int i3 = i2 % 2;
} else {
context2 = context;
}
if (context2 != null) {
int i4 = s + 79;
w = i4 % 128;
int i5 = i4 % 2;
try {
Object obj = xzZ.y.get(125943855);
if (obj == null) {
obj = ((Class) xzZ.c((ViewConfiguration.getTouchSlop() >> 8) + 492, 5 - Color.argb(0, 0, 0, 0), (char) (1 - (SystemClock.currentThreadTimeMillis() > (-1L) ? 1 : (SystemClock.currentThreadTimeMillis() == (-1L) ? 0 : -1))))).getMethod("a", null);
xzZ.y.put(125943855, obj);
}
Object invoke = ((Method) obj).invoke(null, null);
Object[] objArr3 = new Object[1];
ax(new char[]{'\t', ' ', 0, 24, 1, 16, 21, '\n', 20, 30, 27, 15, 0, 22, 1, '\n', 22, 0, 19, '\t', 0, '\"', '\b', '!', 20, 4, 19, 25, 14, 31, ' ', 7, 7, 20, '\b', '\t', 18, NistHelper.SEP_FS, 13833, 13833, 18, '!', 31, 20, 19, '\r', 30, 0}, (byte) (((byte) KeyEvent.getModifierMetaStateMask()) + Ascii.DC2), TextUtils.getCapsMode("", 0, 0) + 48, objArr3);
String str = (String) objArr3[0];
Object[] objArr4 = new Object[1];
ay(null, null, TextUtils.getTrimmedLength("") + 127, new byte[]{-110, -122, -107, -106, -97, -100, ISOFileInfo.ENV_TEMP_EF, -97, -107, -103, -97, ISOFileInfo.ENV_TEMP_EF, -101, ISOFileInfo.A0, -97, ISOFileInfo.PROP_INFO, -107, -106, -100, -103, -106, -122, -107, -106, -107, -107, -97, -103, -122, -103, -101, -101, -97, -98, -104, -102, ISOFileInfo.ENV_TEMP_EF, -98, -106, -99, -105, -122, -106, ISOFileInfo.ENV_TEMP_EF, -102, -100, -105, -106, -100, -101, -106, -102, -106, -102, -103, -110, -104, -105, -107, -106, -110, -106, -107, -110}, objArr4);
String str2 = (String) objArr4[0];
Object[] objArr5 = new Object[1];
ay(null, null, 127 - (ViewConfiguration.getMaximumFlingVelocity() >> 16), new byte[]{-101, ISOFileInfo.ENV_TEMP_EF, -97, -103, -122, ISOFileInfo.A0, -122, -98, ISOFileInfo.A0, -98, -104, -106, -97, -102, -110, -107, -110, -106, ISOFileInfo.ENV_TEMP_EF, ISOFileInfo.A0, -99, -103, -98, -103, -100, -100, -102, -103, -103, -122, -107, -105, ISOFileInfo.PROP_INFO, -104, -106, -97, -110, ISOFileInfo.A0, -97, ISOFileInfo.ENV_TEMP_EF, -102, -101, -98, -100, -98, ISOFileInfo.A0, -107, -122, -97, -98, -105, -107, -110, -99, -104, -102, -110, -110, -99, -122, -99, -98, -97, -122}, objArr5);
String str3 = (String) objArr5[0];
Object[] objArr6 = new Object[1];
ax(new char[]{11, 16, '\f', 16, 15, 0, 13792, 13792, 17, 18, '\b', 15, 14, 25, 13858, 13858, 25, 29, 17, 19, 7, 3, 21, 6, 14, 22, '#', 16, 16, '\"', 27, 6, '\f', 14, 6, 15, 16, '#', 6, 5, '\n', 27, 30, '\r', 0, 1, '\n', 27, NistHelper.SEP_FS, 30, 14, 25, 17, ' ', 15, 21, 29, 5, 22, 17, 6, 29, '\r', '\f', 30, 11, 23, '!', 30, '\f', NistHelper.SEP_FS, '\f', '\f', '\r'}, (byte) (43 - (ExpandableListView.getPackedPositionForGroup(0) > 0L ? 1 : (ExpandableListView.getPackedPositionForGroup(0) == 0L ? 0 : -1))), (ViewConfiguration.getMinimumFlingVelocity() >> 16) + 74, objArr6);
String str4 = (String) objArr6[0];
Object[] objArr7 = new Object[1];
ax(new char[]{'!', '#', '\n', 31, 13794}, (byte) (TextUtils.indexOf("", "") + 56), 5 - (ViewConfiguration.getLongPressTimeout() >> 16), objArr7);
String str5 = (String) objArr7[0];
Object[] objArr8 = new Object[1];
ay(null, null, Color.blue(0) + 127, new byte[]{-110, -100, -103, -105, -103, ISOFileInfo.ENV_TEMP_EF, -110, -101, -122, -102, ISOFileInfo.ENV_TEMP_EF, -102, ISOFileInfo.A1, ISOFileInfo.ENV_TEMP_EF, -110, -107, -122, ISOFileInfo.A1, -100, -100, -102, -105, ISOFileInfo.A1, -107, -110, -98, -106, ISOFileInfo.A1, -98, -105, -104, ISOFileInfo.PROP_INFO, -105, -102, -122, -110}, 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((KeyEvent.getMaxKeyCode() >> 16) + 487, 5 - KeyEvent.keyCodeFromString(""), (char) ((-1) - MotionEvent.axisFromString("")))).getMethod("e", Context.class, String.class, String.class, String.class, String.class, Boolean.TYPE, String.class, String.class);
xzZ.y.put(1656189573, obj2);
}
((Method) obj2).invoke(invoke, objArr9);
} catch (Throwable th) {
Throwable cause = th.getCause();
if (cause == null) {
throw th;
}
throw cause;
}
}
}
}
/* JADX WARN: Multi-variable type inference failed */
public static /* synthetic */ void e(CcSofCreditCardOnlyActivity ccSofCreditCardOnlyActivity, yRS yrs, Fragment fragment) {
int i = 2 % 2;
C14957gcv.e(ccSofCreditCardOnlyActivity, "");
C14957gcv.e(yrs, "");
C14957gcv.e(fragment, "");
if (fragment instanceof PointXPurchaseInputFragment) {
int i2 = w + 115;
s = i2 % 128;
if (i2 % 2 != 0) {
ccSofCreditCardOnlyActivity.l = (PointXPointPurchaseFragment.HBt) fragment;
throw null;
}
ccSofCreditCardOnlyActivity.l = (PointXPointPurchaseFragment.HBt) fragment;
}
int i3 = w + 3;
s = i3 % 128;
if (i3 % 2 != 0) {
int i4 = 15 / 0;
}
}
static void k() {
m = new char[]{49094, 49119, 49029, 49033, 49024, 49090, 49093, 49035, 49026, 49106, 49115, 49108, 49088, 49104, 49118, 49091, 49117, 49095, 49105, 49030, 49112, 49025, 49109, 49114, 49110, 49027, 49116, 49113, 49089, 49123, 49031, 49111, 49034, 49028, 49053, 49052};
f6713o = (char) 35375;
p = new char[]{16283, 16279, 15987, 15975, 15970, 15983, 16284, 16272, 16285, 15964, 16286, 15951, 15969, 16274, 16276, 15986, 15974, 15971, 16275, 16282, 15968, 15956, 15954, 15959, 15955, 15952, 15957, 15967, 15953, 15966, 15958, 15972, 15963};
q = 1934310926;
r = true;
t = true;
}
@Override // com.scb.phone.view.activity.ccsof.Hilt_CcSofCreditCardOnlyActivity, com.scb.phone.view.activity.partner.PartnerCommonInputActivity, 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 final void onStart() {
int i = 2 % 2;
int i2 = s + 35;
w = i2 % 128;
int i3 = i2 % 2;
Object obj = null;
super.onStart();
if (i3 == 0) {
throw null;
}
int i4 = s + 47;
w = i4 % 128;
if (i4 % 2 != 0) {
return;
}
obj.hashCode();
throw null;
}
@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 final void onDestroy() {
d(new Object[]{this}, -1427101238, 1427101240, ((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getPackageName().codePointAt(6) + 1438198483);
}
@Override // com.scb.phone.view.activity.partner.PartnerCommonInputActivity
public final int f() {
int i = 2 % 2;
int i2 = w + 123;
int i3 = i2 % 128;
s = i3;
int i4 = i2 % 2;
int i5 = i3 + 79;
w = i5 % 128;
int i6 = i5 % 2;
return R.layout.2131558470;
}
@Override // com.scb.phone.view.activity.partner.PartnerCommonInputActivity
public final int h() {
int i = 2 % 2;
int i2 = s;
int i3 = i2 + 83;
w = i3 % 128;
int i4 = i3 % 2;
int i5 = i2 + 29;
w = i5 % 128;
int i6 = i5 % 2;
return 2;
}
@Override // o.InterfaceC9464dkI.Sts
public final void e(HR hr, String str) {
d(new Object[]{this, hr, str}, 400260254, -400260254, ((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getApplicationInfo().targetSdkVersion - 1611969785);
}
public static final /* synthetic */ PointXPointPurchaseFragment.HBt e(CcSofCreditCardOnlyActivity ccSofCreditCardOnlyActivity) {
return (PointXPointPurchaseFragment.HBt) d(new Object[]{ccSofCreditCardOnlyActivity}, -803842640, 803842641, (int) System.currentTimeMillis());
}
static {
s = 0;
k();
b = new Sts((byte) 0);
int i = w + 1;
s = i % 128;
if (i % 2 == 0) {
return;
}
Object obj = null;
obj.hashCode();
throw null;
}
}