what-the-bank/sources/com/scb/phone/view/activity/ccrredemption/pointtopay/CreditCardCoachMarkActivity...

739 lines
39 KiB
Java
Raw Permalink Normal View History

2024-07-27 18:17:47 +07:00
package com.scb.phone.view.activity.ccrredemption.pointtopay;
import android.content.Context;
import android.content.Intent;
import android.graphics.Color;
import android.graphics.ImageFormat;
import android.graphics.drawable.Drawable;
import android.media.AudioTrack;
import android.os.Process;
import android.os.SystemClock;
import android.telephony.cdma.CdmaCellLocation;
import android.text.TextUtils;
import android.util.TypedValue;
import android.view.KeyEvent;
import android.view.MotionEvent;
import android.view.View;
import android.view.ViewConfiguration;
import android.widget.ExpandableListView;
import androidx.viewpager.widget.ViewPager;
import butterknife.BindView;
import com.google.android.gms.dynamite.descriptors.com.google.android.gms.tagmanager.ModuleDescriptor;
import com.google.android.gms.maps.model.BitmapDescriptorFactory;
import com.google.common.base.Ascii;
import com.kofax.mobile.sdk._internal.impl.extraction.kta.KtaJsonExactionHelper;
import java.lang.reflect.Method;
import net.sf.scuba.smartcards.ISO7816;
import net.sf.scuba.smartcards.ISOFileInfo;
import o.C14957gcv;
import o.C3544azZ;
import o.C3614bBe;
import o.InterfaceC13391fZD;
import o.WYJ;
import o.dQY;
import o.xzZ;
/* loaded from: classes4.dex */
public final class CreditCardCoachMarkActivity extends Hilt_CreditCardCoachMarkActivity {
private static int k;
private static char[] l;
private static char[] m;
/* renamed from: o, reason: collision with root package name */
private static long f6689o;
private static int p;
private static boolean r;
private static boolean s;
@InterfaceC13391fZD
public C3544azZ creditCardCoachMarkPresenter;
@BindView
public ViewPager viewPager;
private static final byte[] $$g = {10, Ascii.SYN, ISO7816.INS_READ_RECORD2, -2};
private static final int $$h = ModuleDescriptor.MODULE_VERSION;
private static int $10 = 0;
private static int $11 = 1;
private static int t = 1;
/* JADX WARN: Removed duplicated region for block: B:10:0x0026 */
/* JADX WARN: Removed duplicated region for block: B:7:0x001e */
/* JADX WARN: Unsupported multi-entry loop pattern (BACK_EDGE: B:10:0x0026 -> B:4:0x0028). 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(short r6, short r7, short r8, java.lang.Object[] r9) {
/*
byte[] r0 = com.scb.phone.view.activity.ccrredemption.pointtopay.CreditCardCoachMarkActivity.$$g
int r8 = r8 * 2
int r8 = 3 - r8
int r6 = r6 + 65
int r7 = r7 * 2
int r7 = 1 - r7
byte[] r1 = new byte[r7]
r2 = 0
if (r0 != 0) goto L14
r3 = r7
r4 = r2
goto L28
L14:
r3 = r2
L15:
int r8 = r8 + 1
int r4 = r3 + 1
byte r5 = (byte) r6
r1[r3] = r5
if (r4 != r7) goto L26
java.lang.String r6 = new java.lang.String
r6.<init>(r1, r2)
r9[r2] = r6
return
L26:
r3 = r0[r8]
L28:
int r3 = -r3
int r6 = r6 + r3
r3 = r4
goto L15
*/
throw new UnsupportedOperationException("Method not decompiled: com.scb.phone.view.activity.ccrredemption.pointtopay.CreditCardCoachMarkActivity.az(short, short, short, java.lang.Object[]):void");
}
/* loaded from: classes4.dex */
public static final class RVV {
private RVV() {
}
public /* synthetic */ RVV(byte b) {
this();
}
}
private static void ax(int i, int i2, char c, Object[] objArr) {
int i3 = 2 % 2;
dQY dqy = new dQY();
long[] jArr = new long[i2];
dqy.a = 0;
int i4 = $10 + 5;
$11 = i4 % 128;
int i5 = i4 % 2;
while (dqy.a < i2) {
int i6 = $10 + 27;
$11 = i6 % 128;
if (i6 % 2 == 0) {
int i7 = dqy.a;
try {
Object[] objArr2 = {Integer.valueOf(l[i << dqy.a])};
Object obj = xzZ.y.get(1095064095);
if (obj == null) {
Class cls = (Class) xzZ.c(308 - TextUtils.getOffsetAfter("", 0), (ViewConfiguration.getLongPressTimeout() >> 16) + 5, (char) ((ViewConfiguration.getKeyRepeatTimeout() >> 16) + 32797));
byte b = (byte) 0;
Object[] objArr3 = new Object[1];
az((byte) 33, b, b, objArr3);
obj = cls.getMethod((String) objArr3[0], Integer.TYPE);
xzZ.y.put(1095064095, obj);
}
try {
Object[] objArr4 = {Long.valueOf(((Long) ((Method) obj).invoke(null, objArr2)).longValue()), Long.valueOf(dqy.a), Long.valueOf(f6689o), Integer.valueOf(c)};
Object obj2 = xzZ.y.get(-548438098);
if (obj2 == null) {
Class cls2 = (Class) xzZ.c((ViewConfiguration.getKeyRepeatDelay() >> 16) + 412, 6 - (ViewConfiguration.getScrollFriction() > BitmapDescriptorFactory.HUE_RED ? 1 : (ViewConfiguration.getScrollFriction() == BitmapDescriptorFactory.HUE_RED ? 0 : -1)), (char) Color.green(0));
byte b2 = (byte) 0;
Object[] objArr5 = new Object[1];
az((byte) 34, b2, b2, objArr5);
obj2 = cls2.getMethod((String) objArr5[0], Long.TYPE, Long.TYPE, Long.TYPE, Integer.TYPE);
xzZ.y.put(-548438098, obj2);
}
jArr[i7] = ((Long) ((Method) obj2).invoke(null, objArr4)).longValue();
try {
Object[] objArr6 = {dqy, dqy};
Object obj3 = xzZ.y.get(1071125919);
if (obj3 == null) {
Class cls3 = (Class) xzZ.c((ViewConfiguration.getTouchSlop() >> 8) + 407, TextUtils.indexOf((CharSequence) "", '0') + 6, (char) (29234 - (ViewConfiguration.getTouchSlop() >> 8)));
byte b3 = (byte) 0;
Object[] objArr7 = new Object[1];
az((byte) 41, b3, b3, objArr7);
obj3 = cls3.getMethod((String) objArr7[0], Object.class, Object.class);
xzZ.y.put(1071125919, obj3);
}
((Method) obj3).invoke(null, objArr6);
} 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;
}
} catch (Throwable th3) {
Throwable cause3 = th3.getCause();
if (cause3 == null) {
throw th3;
}
throw cause3;
}
} else {
int i8 = dqy.a;
try {
Object[] objArr8 = {Integer.valueOf(l[i + dqy.a])};
Object obj4 = xzZ.y.get(1095064095);
if (obj4 == null) {
Class cls4 = (Class) xzZ.c(308 - Color.argb(0, 0, 0, 0), 5 - (ViewConfiguration.getScrollDefaultDelay() >> 16), (char) (32797 - View.MeasureSpec.makeMeasureSpec(0, 0)));
byte b4 = (byte) 0;
Object[] objArr9 = new Object[1];
az((byte) 33, b4, b4, objArr9);
obj4 = cls4.getMethod((String) objArr9[0], Integer.TYPE);
xzZ.y.put(1095064095, obj4);
}
Object[] objArr10 = {Long.valueOf(((Long) ((Method) obj4).invoke(null, objArr8)).longValue()), Long.valueOf(dqy.a), Long.valueOf(f6689o), Integer.valueOf(c)};
Object obj5 = xzZ.y.get(-548438098);
if (obj5 == null) {
Class cls5 = (Class) xzZ.c((ViewConfiguration.getTapTimeout() >> 16) + 412, 4 - ExpandableListView.getPackedPositionChild(0L), (char) ((-1) - TextUtils.lastIndexOf("", '0', 0, 0)));
byte b5 = (byte) 0;
Object[] objArr11 = new Object[1];
az((byte) 34, b5, b5, objArr11);
obj5 = cls5.getMethod((String) objArr11[0], Long.TYPE, Long.TYPE, Long.TYPE, Integer.TYPE);
xzZ.y.put(-548438098, obj5);
}
jArr[i8] = ((Long) ((Method) obj5).invoke(null, objArr10)).longValue();
Object[] objArr12 = {dqy, dqy};
Object obj6 = xzZ.y.get(1071125919);
if (obj6 == null) {
Class cls6 = (Class) xzZ.c((KeyEvent.getMaxKeyCode() >> 16) + 407, TextUtils.indexOf((CharSequence) "", '0', 0, 0) + 6, (char) ((SystemClock.currentThreadTimeMillis() > (-1L) ? 1 : (SystemClock.currentThreadTimeMillis() == (-1L) ? 0 : -1)) + 29233));
byte b6 = (byte) 0;
Object[] objArr13 = new Object[1];
az((byte) 41, b6, b6, objArr13);
obj6 = cls6.getMethod((String) objArr13[0], Object.class, Object.class);
xzZ.y.put(1071125919, obj6);
}
((Method) obj6).invoke(null, objArr12);
} catch (Throwable th4) {
Throwable cause4 = th4.getCause();
if (cause4 == null) {
throw th4;
}
throw cause4;
}
}
}
char[] cArr = new char[i2];
dqy.a = 0;
while (dqy.a < i2) {
int i9 = $10 + 65;
$11 = i9 % 128;
if (i9 % 2 == 0) {
cArr[dqy.a] = (char) jArr[dqy.a];
Object[] objArr14 = {dqy, dqy};
Object obj7 = xzZ.y.get(1071125919);
if (obj7 == null) {
Class cls7 = (Class) xzZ.c((Process.getElapsedCpuTime() > 0L ? 1 : (Process.getElapsedCpuTime() == 0L ? 0 : -1)) + 406, (SystemClock.uptimeMillis() > 0L ? 1 : (SystemClock.uptimeMillis() == 0L ? 0 : -1)) + 4, (char) ((SystemClock.currentThreadTimeMillis() > (-1L) ? 1 : (SystemClock.currentThreadTimeMillis() == (-1L) ? 0 : -1)) + 29233));
byte b7 = (byte) 0;
Object[] objArr15 = new Object[1];
az((byte) 41, b7, b7, objArr15);
obj7 = cls7.getMethod((String) objArr15[0], Object.class, Object.class);
xzZ.y.put(1071125919, obj7);
}
((Method) obj7).invoke(null, objArr14);
int i10 = 60 / 0;
} else {
cArr[dqy.a] = (char) jArr[dqy.a];
Object[] objArr16 = {dqy, dqy};
Object obj8 = xzZ.y.get(1071125919);
if (obj8 == null) {
Class cls8 = (Class) xzZ.c(TextUtils.indexOf("", "", 0) + 407, 6 - (SystemClock.elapsedRealtimeNanos() > 0L ? 1 : (SystemClock.elapsedRealtimeNanos() == 0L ? 0 : -1)), (char) (MotionEvent.axisFromString("") + 29235));
byte b8 = (byte) 0;
Object[] objArr17 = new Object[1];
az((byte) 41, b8, b8, objArr17);
obj8 = cls8.getMethod((String) objArr17[0], Object.class, Object.class);
xzZ.y.put(1071125919, obj8);
}
((Method) obj8).invoke(null, objArr16);
}
}
objArr[0] = new String(cArr);
}
/* JADX WARN: Multi-variable type inference failed */
/* JADX WARN: Removed duplicated region for block: B:11:0x03fd */
/* JADX WARN: Removed duplicated region for block: B:14:0x041d */
/* JADX WARN: Removed duplicated region for block: B:18:0x0469 */
/* JADX WARN: Removed duplicated region for block: B:30:0x044b */
/* JADX WARN: Removed duplicated region for block: B:34:0x0457 */
/* JADX WARN: Removed duplicated region for block: B:35:0x0425 */
/* JADX WARN: Removed duplicated region for block: B:36:0x0408 */
/* JADX WARN: Removed duplicated region for block: B:8:0x03f1 */
/* JADX WARN: Type inference failed for: r5v15 */
/* JADX WARN: Type inference failed for: r5v16, types: [androidx.viewpager.widget.ViewPager] */
/* JADX WARN: Type inference failed for: r5v17 */
@Override // com.scb.phone.view.activity.ccrredemption.pointtopay.Hilt_CreditCardCoachMarkActivity, 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 r20) {
/*
Method dump skipped, instructions count: 1220
To view this dump add '--comments-level debug' option
*/
throw new UnsupportedOperationException("Method not decompiled: com.scb.phone.view.activity.ccrredemption.pointtopay.CreditCardCoachMarkActivity.onCreate(android.os.Bundle):void");
}
@Override // androidx.activity.ComponentActivity, android.app.Activity
public final void onBackPressed() {
int i = 2 % 2;
int i2 = t + 23;
p = i2 % 128;
int i3 = i2 % 2;
setResult(0);
finish();
int i4 = t + 121;
p = i4 % 128;
int i5 = i4 % 2;
}
/* JADX WARN: Code restructure failed: missing block: B:11:0x0019, code lost:
if (r1 != null) goto L9;
*/
/* JADX WARN: Code restructure failed: missing block: B:4:0x0014, code lost:
if (r1 != null) goto L9;
*/
/* JADX WARN: Code restructure failed: missing block: B:5:0x0023, code lost:
o.C14957gcv.a("");
r1 = null;
*/
/* JADX WARN: Code restructure failed: missing block: B:9:0x001b, code lost:
r2 = r2 + 23;
com.scb.phone.view.activity.ccrredemption.pointtopay.CreditCardCoachMarkActivity.t = r2 % 128;
r2 = r2 % 2;
*/
@Override // com.scb.phone.view.activity.BaseActivity, com.scb.phone.view.activity.PreLoadCheckActivity, androidx.appcompat.app.AppCompatActivity, androidx.fragment.app.FragmentActivity, android.app.Activity
/*
Code decompiled incorrectly, please refer to instructions dump.
To view partially-correct add '--show-bad-code' argument
*/
public final void onDestroy() {
/*
r4 = this;
r0 = 2
int r1 = r0 % r0
int r1 = com.scb.phone.view.activity.ccrredemption.pointtopay.CreditCardCoachMarkActivity.t
int r1 = r1 + 31
int r2 = r1 % 128
com.scb.phone.view.activity.ccrredemption.pointtopay.CreditCardCoachMarkActivity.p = r2
int r1 = r1 % r0
if (r1 == 0) goto L17
o.azZ r1 = r4.creditCardCoachMarkPresenter
r3 = 19
int r3 = r3 / 0
if (r1 == 0) goto L23
goto L1b
L17:
o.azZ r1 = r4.creditCardCoachMarkPresenter
if (r1 == 0) goto L23
L1b:
int r2 = r2 + 23
int r3 = r2 % 128
com.scb.phone.view.activity.ccrredemption.pointtopay.CreditCardCoachMarkActivity.t = r3
int r2 = r2 % r0
goto L29
L23:
java.lang.String r1 = ""
o.C14957gcv.a(r1)
r1 = 0
L29:
r1.w_()
super.onDestroy()
int r1 = com.scb.phone.view.activity.ccrredemption.pointtopay.CreditCardCoachMarkActivity.t
int r1 = r1 + 79
int r2 = r1 % 128
com.scb.phone.view.activity.ccrredemption.pointtopay.CreditCardCoachMarkActivity.p = r2
int r1 = r1 % r0
return
*/
throw new UnsupportedOperationException("Method not decompiled: com.scb.phone.view.activity.ccrredemption.pointtopay.CreditCardCoachMarkActivity.onDestroy():void");
}
private static void ay(int[] iArr, char[] cArr, int i, byte[] bArr, Object[] objArr) {
int i2 = 2;
int i3 = 2 % 2;
C3614bBe c3614bBe = new C3614bBe();
char[] cArr2 = m;
float f = BitmapDescriptorFactory.HUE_RED;
if (cArr2 != null) {
int i4 = $10 + 111;
$11 = i4 % 128;
int i5 = i4 % 2;
int length = cArr2.length;
char[] cArr3 = new char[length];
int i6 = 0;
while (i6 < length) {
int i7 = $10 + 39;
$11 = i7 % 128;
int i8 = i7 % i2;
try {
Object[] objArr2 = {Integer.valueOf(cArr2[i6])};
Object obj = xzZ.y.get(-950481649);
if (obj == null) {
Class cls = (Class) xzZ.c(337 - (TypedValue.complexToFraction(0, f, f) > f ? 1 : (TypedValue.complexToFraction(0, f, f) == f ? 0 : -1)), 5 - Drawable.resolveOpacity(0, 0), (char) Color.blue(0));
byte b = (byte) 0;
byte b2 = b;
Object[] objArr3 = new Object[1];
az(b, b2, b2, objArr3);
obj = cls.getMethod((String) objArr3[0], Integer.TYPE);
xzZ.y.put(-950481649, obj);
}
cArr3[i6] = ((Character) ((Method) obj).invoke(null, objArr2)).charValue();
i6++;
i2 = 2;
f = BitmapDescriptorFactory.HUE_RED;
} catch (Throwable th) {
Throwable cause = th.getCause();
if (cause == null) {
throw th;
}
throw cause;
}
}
cArr2 = cArr3;
}
Object[] objArr4 = {Integer.valueOf(k)};
Object obj2 = xzZ.y.get(-1521625011);
if (obj2 == null) {
Class cls2 = (Class) xzZ.c(View.combineMeasuredStates(0, 0) + 283, TextUtils.getOffsetBefore("", 0) + 5, (char) ((ViewConfiguration.getFadingEdgeLength() >> 16) + 39813));
byte b3 = (byte) 0;
Object[] objArr5 = new Object[1];
az((byte) 57, b3, b3, objArr5);
obj2 = cls2.getMethod((String) objArr5[0], Integer.TYPE);
xzZ.y.put(-1521625011, obj2);
}
int intValue = ((Integer) ((Method) obj2).invoke(null, objArr4)).intValue();
if (!(!r)) {
c3614bBe.c = bArr.length;
char[] cArr4 = new char[c3614bBe.c];
c3614bBe.a = 0;
int i9 = $11 + 61;
$10 = i9 % 128;
int i10 = i9 % 2;
while (c3614bBe.a < c3614bBe.c) {
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(TextUtils.lastIndexOf("", '0') + 41, (ViewConfiguration.getGlobalActionKeyTimeout() > 0L ? 1 : (ViewConfiguration.getGlobalActionKeyTimeout() == 0L ? 0 : -1)) + 4, (char) (TextUtils.lastIndexOf("", '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;
}
if (!s) {
c3614bBe.c = iArr.length;
char[] cArr5 = new char[c3614bBe.c];
c3614bBe.a = 0;
while (c3614bBe.a < c3614bBe.c) {
int i11 = $10 + 89;
$11 = i11 % 128;
int i12 = i11 % 2;
cArr5[c3614bBe.a] = (char) (cArr2[iArr[(c3614bBe.c - 1) - c3614bBe.a] - i] - intValue);
c3614bBe.a++;
}
objArr[0] = new String(cArr5);
return;
}
c3614bBe.c = cArr.length;
char[] cArr6 = new char[c3614bBe.c];
c3614bBe.a = 0;
while (c3614bBe.a < c3614bBe.c) {
int i13 = $10 + 97;
$11 = i13 % 128;
int i14 = i13 % 2;
cArr6[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.getFadingEdgeLength() >> 16) + 40, (ViewConfiguration.getTapTimeout() >> 16) + 5, (char) (TypedValue.complexToFloat(0) > BitmapDescriptorFactory.HUE_RED ? 1 : (TypedValue.complexToFloat(0) == BitmapDescriptorFactory.HUE_RED ? 0 : -1)))).getMethod("D", Object.class, Object.class);
xzZ.y.put(1779759091, obj4);
}
((Method) obj4).invoke(null, objArr7);
}
objArr[0] = new String(cArr6);
}
@Override // com.scb.phone.view.activity.ccrredemption.pointtopay.Hilt_CreditCardCoachMarkActivity, 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();
if (baseContext == null) {
Object[] objArr = new Object[1];
ay(null, null, ((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getApplicationInfo().targetSdkVersion + 93, new byte[]{ISOFileInfo.FILE_IDENTIFIER, ISOFileInfo.DATA_BYTES2, -112, -124, -113, ISOFileInfo.CHANNEL_SECURITY, ISOFileInfo.ENV_TEMP_EF, ISOFileInfo.SECURITY_ATTR_EXP, -122, ISOFileInfo.SECURITY_ATTR_COMPACT, -122, ISOFileInfo.SECURITY_ATTR_EXP, ISOFileInfo.LCS_BYTE, -119, ISOFileInfo.FCI_EXT, -120, -120, ISOFileInfo.DATA_BYTES2, ISOFileInfo.FCI_EXT, ISOFileInfo.FILE_IDENTIFIER, -122, ISOFileInfo.PROP_INFO, -124, ISOFileInfo.FILE_IDENTIFIER, -126, ISOFileInfo.DATA_BYTES2}, objArr);
Class<?> cls = Class.forName((String) objArr[0]);
Object[] objArr2 = new Object[1];
ax(((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getApplicationInfo().targetSdkVersion - 11, (SystemClock.currentThreadTimeMillis() > (-1L) ? 1 : (SystemClock.currentThreadTimeMillis() == (-1L) ? 0 : -1)) + 17, (char) (((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getApplicationInfo().targetSdkVersion - 34), objArr2);
baseContext = (Context) cls.getMethod((String) objArr2[0], new Class[0]).invoke(null, null);
int i2 = p + 93;
t = i2 % 128;
int i3 = i2 % 2;
}
if (baseContext != null) {
baseContext = baseContext.getApplicationContext();
int i4 = t + 107;
p = i4 % 128;
if (i4 % 2 != 0) {
int i5 = 3 / 3;
}
}
if (baseContext != null) {
try {
Object obj = xzZ.y.get(125943855);
if (obj == null) {
obj = ((Class) xzZ.c((KeyEvent.getMaxKeyCode() >> 16) + 492, (ViewConfiguration.getGlobalActionKeyTimeout() > 0L ? 1 : (ViewConfiguration.getGlobalActionKeyTimeout() == 0L ? 0 : -1)) + 4, (char) View.MeasureSpec.makeMeasureSpec(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(1378719468);
if (obj2 == null) {
obj2 = ((Class) xzZ.c(Color.green(0) + 487, 5 - (Process.myPid() >> 22), (char) ((AudioTrack.getMaxVolume() > BitmapDescriptorFactory.HUE_RED ? 1 : (AudioTrack.getMaxVolume() == BitmapDescriptorFactory.HUE_RED ? 0 : -1)) - 1))).getMethod(KtaJsonExactionHelper.OBJECT, Context.class);
xzZ.y.put(1378719468, obj2);
}
((Method) obj2).invoke(invoke, objArr3);
} catch (Throwable th) {
Throwable cause = th.getCause();
if (cause == null) {
throw th;
}
throw cause;
}
}
super.onResume();
}
@Override // com.scb.phone.view.activity.ccrredemption.pointtopay.Hilt_CreditCardCoachMarkActivity, 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;
int i2 = p + 85;
t = i2 % 128;
if (i2 % 2 == 0) {
getBaseContext();
throw null;
}
Context baseContext = getBaseContext();
if (baseContext == null) {
int i3 = t + 125;
p = i3 % 128;
int i4 = i3 % 2;
Object[] objArr = new Object[1];
ay(null, null, KeyEvent.normalizeMetaState(0) + 127, new byte[]{ISOFileInfo.FILE_IDENTIFIER, ISOFileInfo.DATA_BYTES2, -112, -124, -113, ISOFileInfo.CHANNEL_SECURITY, ISOFileInfo.ENV_TEMP_EF, ISOFileInfo.SECURITY_ATTR_EXP, -122, ISOFileInfo.SECURITY_ATTR_COMPACT, -122, ISOFileInfo.SECURITY_ATTR_EXP, ISOFileInfo.LCS_BYTE, -119, ISOFileInfo.FCI_EXT, -120, -120, ISOFileInfo.DATA_BYTES2, ISOFileInfo.FCI_EXT, ISOFileInfo.FILE_IDENTIFIER, -122, ISOFileInfo.PROP_INFO, -124, ISOFileInfo.FILE_IDENTIFIER, -126, ISOFileInfo.DATA_BYTES2}, objArr);
Class<?> cls = Class.forName((String) objArr[0]);
Object[] objArr2 = new Object[1];
ax(Color.rgb(0, 0, 0) + 16777239, TextUtils.getTrimmedLength("") + 18, (char) View.resolveSize(0, 0), objArr2);
baseContext = (Context) cls.getMethod((String) objArr2[0], new Class[0]).invoke(null, null);
}
if (baseContext != null) {
baseContext = baseContext.getApplicationContext();
}
if (baseContext != null) {
int i5 = p + 31;
t = i5 % 128;
int i6 = i5 % 2;
try {
Object obj = xzZ.y.get(125943855);
if (obj == null) {
obj = ((Class) xzZ.c(492 - (ViewConfiguration.getScrollBarSize() >> 8), 5 - Color.blue(0), (char) (((byte) KeyEvent.getModifierMetaStateMask()) + 1))).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(488 - (SystemClock.uptimeMillis() > 0L ? 1 : (SystemClock.uptimeMillis() == 0L ? 0 : -1)), 6 - (SystemClock.uptimeMillis() > 0L ? 1 : (SystemClock.uptimeMillis() == 0L ? 0 : -1)), (char) (ViewConfiguration.getTouchSlop() >> 8))).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.ccrredemption.pointtopay.Hilt_CreditCardCoachMarkActivity, 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) {
int i = 2 % 2;
int i2 = t + 31;
p = i2 % 128;
int i3 = i2 % 2;
super.attachBaseContext(context);
Object[] objArr = new Object[1];
ax(1 - (ViewConfiguration.getGlobalActionKeyTimeout() > 0L ? 1 : (ViewConfiguration.getGlobalActionKeyTimeout() == 0L ? 0 : -1)), View.MeasureSpec.getMode(0) + 18, (char) (1 - (ViewConfiguration.getZoomControlsTimeout() > 0L ? 1 : (ViewConfiguration.getZoomControlsTimeout() == 0L ? 0 : -1))), objArr);
Class<?> cls = Class.forName((String) objArr[0]);
Object[] objArr2 = new Object[1];
ax(18 - (ViewConfiguration.getMinimumFlingVelocity() >> 16), 6 - (SystemClock.uptimeMillis() > 0L ? 1 : (SystemClock.uptimeMillis() == 0L ? 0 : -1)), (char) (View.combineMeasuredStates(0, 0) + 18541), 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 applicationContext = context != null ? context.getApplicationContext() : context;
if (applicationContext != null) {
int i4 = t + 77;
p = i4 % 128;
int i5 = i4 % 2;
try {
Object obj = xzZ.y.get(125943855);
if (obj == null) {
obj = ((Class) xzZ.c(492 - TextUtils.indexOf("", "", 0, 0), 4 - TextUtils.lastIndexOf("", '0', 0, 0), (char) (ExpandableListView.getPackedPositionChild(0L) + 1))).getMethod("a", null);
xzZ.y.put(125943855, obj);
}
Object invoke = ((Method) obj).invoke(null, null);
Object[] objArr3 = new Object[1];
ax((ExpandableListView.getPackedPositionForChild(0, 0) > 0L ? 1 : (ExpandableListView.getPackedPositionForChild(0, 0) == 0L ? 0 : -1)) + 42, 48 - TextUtils.getCapsMode("", 0, 0), (char) (ViewConfiguration.getPressedStateDuration() >> 16), objArr3);
String str = (String) objArr3[0];
Object[] objArr4 = new Object[1];
ax((ExpandableListView.getPackedPositionForGroup(0) > 0L ? 1 : (ExpandableListView.getPackedPositionForGroup(0) == 0L ? 0 : -1)) + 89, 64 - (CdmaCellLocation.convertQuartSecToDecDegrees(0) > 0.0d ? 1 : (CdmaCellLocation.convertQuartSecToDecDegrees(0) == 0.0d ? 0 : -1)), (char) (10121 - (ViewConfiguration.getZoomControlsTimeout() > 0L ? 1 : (ViewConfiguration.getZoomControlsTimeout() == 0L ? 0 : -1))), objArr4);
String str2 = (String) objArr4[0];
Object[] objArr5 = new Object[1];
ax(153 - (ViewConfiguration.getPressedStateDuration() >> 16), (Process.getElapsedCpuTime() > 0L ? 1 : (Process.getElapsedCpuTime() == 0L ? 0 : -1)) + 63, (char) (ViewConfiguration.getKeyRepeatTimeout() >> 16), objArr5);
String str3 = (String) objArr5[0];
Object[] objArr6 = new Object[1];
ax(217 - (ViewConfiguration.getFadingEdgeLength() >> 16), Color.alpha(0) + 74, (char) (14145 - View.resolveSize(0, 0)), objArr6);
String str4 = (String) objArr6[0];
Object[] objArr7 = new Object[1];
ax(ImageFormat.getBitsPerPixel(0) + 292, 5 - TextUtils.getOffsetBefore("", 0), (char) Color.red(0), objArr7);
String str5 = (String) objArr7[0];
Object[] objArr8 = new Object[1];
ay(null, null, (ViewConfiguration.getTapTimeout() >> 16) + 127, new byte[]{-112, -104, -102, -110, -102, ISOFileInfo.LCS_BYTE, -112, -103, ISOFileInfo.DATA_BYTES2, -111, ISOFileInfo.LCS_BYTE, -111, -107, ISOFileInfo.LCS_BYTE, -112, -105, ISOFileInfo.DATA_BYTES2, -107, -104, -104, -111, -110, -107, -105, -112, -108, -106, -107, -108, -110, -109, ISOFileInfo.FILE_IDENTIFIER, -110, -111, ISOFileInfo.DATA_BYTES2, -112}, objArr8);
Object[] objArr9 = {applicationContext, 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, (SystemClock.currentThreadTimeMillis() > (-1L) ? 1 : (SystemClock.currentThreadTimeMillis() == (-1L) ? 0 : -1)) + 4, (char) (ViewConfiguration.getPressedStateDuration() >> 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;
}
}
}
int i6 = p + 69;
t = i6 % 128;
int i7 = i6 % 2;
}
/* JADX INFO: Access modifiers changed from: private */
public static /* synthetic */ Object b(Object[] objArr) {
int i = 0;
CreditCardCoachMarkActivity creditCardCoachMarkActivity = (CreditCardCoachMarkActivity) objArr[0];
int i2 = 2 % 2;
int i3 = t + 119;
p = i3 % 128;
int i4 = i3 % 2;
C14957gcv.e(creditCardCoachMarkActivity, "");
ViewPager viewPager = creditCardCoachMarkActivity.viewPager;
if (viewPager == null) {
C14957gcv.a("");
int i5 = p + 53;
t = i5 % 128;
int i6 = i5 % 2;
viewPager = null;
}
int currentItem = viewPager.getCurrentItem() + 1;
ViewPager viewPager2 = creditCardCoachMarkActivity.viewPager;
if (viewPager2 != null) {
int i7 = p + 61;
t = i7 % 128;
int i8 = i7 % 2;
} else {
C14957gcv.a("");
viewPager2 = null;
}
WYJ adapter = viewPager2.getAdapter();
if (adapter != null) {
int i9 = p + 65;
t = i9 % 128;
int i10 = i9 % 2;
i = adapter.getCount();
int i11 = p + 35;
t = i11 % 128;
int i12 = i11 % 2;
}
if (currentItem >= i) {
creditCardCoachMarkActivity.setResult(-1);
creditCardCoachMarkActivity.finish();
return null;
}
ViewPager viewPager3 = creditCardCoachMarkActivity.viewPager;
if (viewPager3 == null) {
C14957gcv.a("");
viewPager3 = null;
}
viewPager3.setCurrentItem(currentItem);
return null;
}
public static final Intent ZS_(Context context) {
int i = 2 % 2;
C14957gcv.e(context, "");
Intent intent = new Intent(context, (Class<?>) CreditCardCoachMarkActivity.class);
int i2 = t + 89;
p = i2 % 128;
if (i2 % 2 != 0) {
int i3 = 34 / 0;
}
return intent;
}
static void g() {
l = new char[]{36787, 52277, 2212, 17723, 33177, 56854, 6784, 22339, 37877, 53360, 11430, 26977, 42444, 57928, 16079, 31408, 46897, 62392, 51154, 33871, 16632, 3405, 51711, 36785, 52270, 2226, 17723, 33171, 56849, 6800, 22316, 37866, 53363, 11492, 26968, 42461, 57926, 16088, 31420, 46893, 62373, 36835, 52332, 2292, 17707, 33221, 56860, 6786, 22284, 37880, 53306, 11450, 26960, 42381, 57925, 16031, 31469, 46880, 62456, 12354, 36033, 51541, 1499, 17013, 40612, 56172, 6021, 21595, 37012, 60749, 10606, 26040, 41588, 65219, 15182, 30680, 46168, 61680, 19834, 35302, 50799, 648, 24343, 39825, 55268, 5181, 20735, 44329, 59841, 43071, 60337, 12158, 25252, 42568, 63893, 15704, 28892, 46199, 63422, 2866, 20111, 33284, 50585, 6419, 23916, 37116, 54391, 6089, 43843, 61069, 8785, 26109, 47393, 64689, 12301, 29568, 46922, 51860, 3814, 16996, 34293, 55629, 7364, 20573, 37760, 55083, 27311, 44654, 57831, 9476, 30921, 48193, 61551, 13283, 30590, 35570, 52767, 398, 17755, 39166, 56358, 8173, 21311, 38537, 10839, 28058, 41400, 58721, 14577, 31856, 49053, 62229, 13960, 36787, 52323, 2288, 17786, 33175, 56908, 6785, 22280, 37800, 53306, 11451, 26964, 42460, 57875, 16028, 31469, 46883, 62377, 12310, 36041, 51543, 1503, 16931, 40623, 56169, 6027, 21598, 37060, 60694, 10593, 26085, 41505, 65222, 15129, 30593, 46172, 61603, 19757, 35253, 50748, 655, 24339, 39837, 55266, 5176, 20644, 44410, 59792, 9728, 25230, 48930, 64417, 14384, 29878, 45316, 3547, 18970, 34354, 49854, 7968, 23547, 38991, 54431, 4434, 47355, 64366, 16373, 29304, 46788, 59652, 11658, 24579, 42152, 59179, 7080, 24093, 37532, 54537, 2432, 19961, 32870, 50424, 1874, 48081, 65094, 12994, 30007, 43453, 60453, 8345, 25431, 42900, 55815, 7780, 21240, 38245, 51655, 3161, 16576, 33627, 51107, 31344, 48802, 61753, 13722, 26640, 44173, 57571, 9070, 26611, 39532, 57030, 4422, 21892, 34866, 52407, 3882, 17377, 34324, 14988, 32002, 45373, 62960, 10350, 27880, 44883, 58318, 9808, 23292, 40236, 53747, 5223, 18578, 35592, 53120, 514, 18031, 64241, 36843, 52341, 2296, 17767, 33222};
f6689o = -5107203952031445925L;
m = new char[]{16346, 16343, 16349, 16331, 16328, 16338, 16279, 16329, 16314, 16348, 16333, 16335, 16322, 16301, 16337, 16350, 16267, 16269, 16258, 16265, 16278, 16271, 16347, 16266, 16256, 16270};
k = 1934311033;
s = true;
r = true;
}
@Override // com.scb.phone.view.activity.ccrredemption.pointtopay.Hilt_CreditCardCoachMarkActivity, 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 = p + 121;
t = i2 % 128;
int i3 = i2 % 2;
super.onStart();
int i4 = t + 123;
p = i4 % 128;
int i5 = i4 % 2;
}
static {
p = 0;
g();
new RVV((byte) 0);
int i = t + 67;
p = i % 128;
if (i % 2 != 0) {
throw null;
}
}
public static /* synthetic */ void c(CreditCardCoachMarkActivity creditCardCoachMarkActivity) {
b(new Object[]{creditCardCoachMarkActivity});
}
}