what-the-bank/sources/com/scb/phone/view/activity/transferandpay/cardlessatm/CardlessAtmInfoActivity.java

789 lines
44 KiB
Java
Raw Permalink Normal View History

2024-07-27 18:17:47 +07:00
package com.scb.phone.view.activity.transferandpay.cardlessatm;
import android.content.Context;
import android.graphics.Color;
import android.graphics.PointF;
import android.graphics.drawable.Drawable;
import android.os.Bundle;
import android.os.Process;
import android.os.SystemClock;
import android.telephony.cdma.CdmaCellLocation;
import android.text.AndroidCharacter;
import android.text.TextUtils;
import android.util.TypedValue;
import android.view.Gravity;
import android.view.KeyEvent;
import android.view.MotionEvent;
import android.view.View;
import android.view.ViewConfiguration;
import android.view.ViewGroup;
import android.webkit.WebView;
import android.widget.ExpandableListView;
import android.widget.RelativeLayout;
import android.widget.TextView;
import androidx.appcompat.widget.Toolbar;
import com.google.android.gms.maps.model.BitmapDescriptorFactory;
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 o.C14957gcv;
import o.C16420oGW;
import o.C17242vDu;
import o.IRS;
import o.InterfaceC13391fZD;
import o.InterfaceC6642cYt;
import o.ZI;
import o.cSU;
import o.jTb;
import o.qeC;
import o.xzZ;
/* loaded from: classes5.dex */
public final class CardlessAtmInfoActivity extends Hilt_CardlessAtmInfoActivity implements InterfaceC6642cYt {
public static final RVV b;
private static char l;
private static char p;
private static char q;
private static char[] r;
private static char s;
private static char t;
private static int y;
@InterfaceC13391fZD
public cSU cardlessATMInfoPresenter;
private C17242vDu m;
/* renamed from: o, reason: collision with root package name */
private C16420oGW f7993o;
private static final byte[] $$g = {61, 7, ISO7816.INS_READ_RECORD_STAMPED, 119};
private static final int $$h = 215;
private static int $10 = 0;
private static int $11 = 1;
private static int w = 0;
/* 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:0x0029). 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 r5, byte r6, byte r7, java.lang.Object[] r8) {
/*
int r5 = 120 - r5
int r6 = r6 * 4
int r0 = 1 - r6
byte[] r1 = com.scb.phone.view.activity.transferandpay.cardlessatm.CardlessAtmInfoActivity.$$g
int r7 = r7 * 4
int r7 = 4 - r7
byte[] r0 = new byte[r0]
r2 = 0
int r6 = 0 - r6
if (r1 != 0) goto L17
r5 = r6
r3 = r7
r4 = r2
goto L29
L17:
r3 = r2
L18:
byte r4 = (byte) r5
r0[r3] = r4
int r4 = r3 + 1
if (r3 != r6) goto L27
java.lang.String r5 = new java.lang.String
r5.<init>(r0, r2)
r8[r2] = r5
return
L27:
r3 = r1[r7]
L29:
int r7 = r7 + 1
int r3 = -r3
int r5 = r5 + r3
r3 = r4
goto L18
*/
throw new UnsupportedOperationException("Method not decompiled: com.scb.phone.view.activity.transferandpay.cardlessatm.CardlessAtmInfoActivity.az(byte, byte, byte, java.lang.Object[]):void");
}
/* loaded from: classes5.dex */
public static final class RVV {
private RVV() {
}
public /* synthetic */ RVV(byte b) {
this();
}
}
@Override // com.scb.phone.view.activity.transferandpay.cardlessatm.Hilt_CardlessAtmInfoActivity, 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 onCreate(Bundle bundle) {
Method method;
int i = 2 % 2;
int i2 = y + 31;
w = i2 % 128;
int i3 = i2 % 2;
final cSU csu = null;
Object[] objArr = new Object[1];
ax(new char[]{8051, 10789, 54861, 21842, 46064, 28904, 52188, 56645, 50742, 16333, 2909, 13000, 2860, 57279, 17798, 19950, 40218, 42334}, ((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getResources().getString(R.string.hml_landing_info_item_2_business_owner).substring(17, 18).length() + 17, objArr);
Class<?> cls = Class.forName((String) objArr[0]);
Object[] objArr2 = new Object[1];
ax(new char[]{34250, 48945, 62227, 1757, 39314, 60317}, (ViewConfiguration.getScrollFriction() > BitmapDescriptorFactory.HUE_RED ? 1 : (ViewConfiguration.getScrollFriction() == BitmapDescriptorFactory.HUE_RED ? 0 : -1)) + 4, 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) {
int i4 = w + 67;
y = i4 % 128;
if (i4 % 2 == 0) {
Object[] objArr3 = new Object[1];
ax(new char[]{8051, 10789, 54861, 21842, 46064, 28904, 52188, 56645, 8930, 18771, 65267, 32633, 49276, 2297, 9885, 9644, 8817, 27196, 42972, 23992, 50069, 30055, 29093, 38043, 46439, 38096}, 76 / KeyEvent.normalizeMetaState(0), objArr3);
Class<?> cls2 = Class.forName((String) objArr3[0]);
Object[] objArr4 = new Object[1];
ax(new char[]{64113, 18691, 62823, 3950, 29194, 28870, 33583, 19142, 59201, 57729, 23416, 40637, 49857, 19930, 9885, 9644, 38468, 36059}, 83 >> (ViewConfiguration.getEdgeSlop() % 55), objArr4);
method = cls2.getMethod((String) objArr4[0], new Class[0]);
} else {
Object[] objArr5 = new Object[1];
ax(new char[]{8051, 10789, 54861, 21842, 46064, 28904, 52188, 56645, 8930, 18771, 65267, 32633, 49276, 2297, 9885, 9644, 8817, 27196, 42972, 23992, 50069, 30055, 29093, 38043, 46439, 38096}, 26 - KeyEvent.normalizeMetaState(0), objArr5);
Class<?> cls3 = Class.forName((String) objArr5[0]);
Object[] objArr6 = new Object[1];
ax(new char[]{64113, 18691, 62823, 3950, 29194, 28870, 33583, 19142, 59201, 57729, 23416, 40637, 49857, 19930, 9885, 9644, 38468, 36059}, (ViewConfiguration.getEdgeSlop() >> 16) + 18, objArr6);
method = cls3.getMethod((String) objArr6[0], new Class[0]);
}
baseContext = (Context) method.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(492 - (KeyEvent.getMaxKeyCode() >> 16), (CdmaCellLocation.convertQuartSecToDecDegrees(0) > 0.0d ? 1 : (CdmaCellLocation.convertQuartSecToDecDegrees(0) == 0.0d ? 0 : -1)) + 5, (char) TextUtils.indexOf("", "", 0))).getMethod("a", null);
xzZ.y.put(125943855, obj);
}
Object invoke = ((Method) obj).invoke(null, null);
Object[] objArr7 = new Object[1];
ay(new char[]{7, 19, 5, '\n', 23, 3, 11, 19, '\b', 0, 11, 15, 15, '\b', 19, 23, '\b', 15, 14, 20, 15, 3, 18, 1, 11, 4, 21, '\r', 3, '\b', 24, 5, 6, 14, 4, 14, 11, '\t', 13873, 13873, 15, 5, 1, '\r', 24, 20, 5, 1}, (byte) (57 - Gravity.getAbsoluteGravity(0, 0)), ((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getPackageName().codePointAt(5) - 51, objArr7);
String str = (String) objArr7[0];
Object[] objArr8 = new Object[1];
ay(new char[]{7, 6, 6, 11, 0, 6, 1, 4, 11, 16, 11, 0, 11, 0, 19, 7, 2, 1, 5, 14, 21, 3, 15, 1, 16, 3, 22, 24, '\r', 0, 22, 20, 13799, 13799, 16, 21, 14, 21, 13874, 13874, 0, 6, 21, 6, 14, 6, 0, 6, 21, 20, '\f', 19, 24, 20, '\n', 6, 20, 24, 14, 4, 0, 6, 21, 11}, (byte) (58 - (ViewConfiguration.getEdgeSlop() >> 16)), 'p' - AndroidCharacter.getMirror('0'), objArr8);
String str2 = (String) objArr8[0];
Object[] objArr9 = new Object[1];
ay(new char[]{19, 21, 23, 16, 17, 19, 13898, 13898, '\r', 0, 16, '\b', '\n', 5, 22, 20, 15, 6, 11, 24, 6, 24, 15, '\f', 24, 20, 11, '\t', 21, 4, 0, 23, 5, '\n', 21, 16, '\f', 11, 13814, 13814, 16, 1, '\r', 16, '\r', 24, 6, 11, 6, 7, 14, 20, 2, 4, 24, 11, 1, 21, 11, 19, 14, 21, 22, 18}, (byte) (75 - ExpandableListView.getPackedPositionGroup(0L)), ((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getPackageName().length() + 51, objArr9);
String str3 = (String) objArr9[0];
Object[] objArr10 = new Object[1];
ax(new char[]{38751, 36672, 33099, 13675, 288, 14579, 45395, 8742, 54230, 36619, 47596, 14581, 25885, 15579, 44529, 31881, 19243, 38781, 27952, 8902, 50263, 14707, 25715, 36676, 53120, 13644, 52452, 38007, 5035, 5762, 6940, 14227, 32229, 25418, 61827, 40603, 55075, 46845, 11748, 23335, 62293, 61799, 57414, 42043, 35606, 15911, 62293, 61799, 63650, 41157, 25885, 15579, 41433, 44282, 8930, 18771, 10081, 39151, 63699, 18950, 52473, 44172, 10738, 23857, 18767, 9777, 57647, 17243, 60845, 52845, 29194, 28870, 14885, 14873}, (-16777142) - Color.rgb(0, 0, 0), objArr10);
String str4 = (String) objArr10[0];
Object[] objArr11 = new Object[1];
ay(new char[]{4, 3, 22, 4, 13776}, (byte) (38 - (ViewConfiguration.getScrollDefaultDelay() >> 16)), ((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getPackageName().codePointAt(3) - 41, objArr11);
String str5 = (String) objArr11[0];
Object[] objArr12 = new Object[1];
ax(new char[]{6940, 14227, 63786, 58367, 46511, 28357, 17261, 47634, 6995, 33833, 33304, 10695, 6160, 57266, 47285, 13146, 58097, 1911, 43161, 31610, 56483, 11030, 5550, 46329, 12432, 21663, 45803, 17278, 38020, 27757, 20804, 51020, 41656, 17268, 21343, 25086}, ((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getPackageName().length() + 23, objArr12);
Object[] objArr13 = {baseContext, str, str2, str3, str4, true, str5, (String) objArr12[0]};
Object obj2 = xzZ.y.get(1656189573);
if (obj2 == null) {
obj2 = ((Class) xzZ.c(486 - ((byte) KeyEvent.getModifierMetaStateMask()), 5 - View.getDefaultSize(0, 0), (char) (TextUtils.indexOf((CharSequence) "", '0') + 1))).getMethod("e", Context.class, String.class, String.class, String.class, String.class, Boolean.TYPE, String.class, String.class);
xzZ.y.put(1656189573, obj2);
}
((Method) obj2).invoke(invoke, objArr13);
} catch (Throwable th) {
Throwable cause = th.getCause();
if (cause == null) {
throw th;
}
throw cause;
}
}
}
super.onCreate(bundle);
View inflate = getLayoutInflater().inflate(R.layout.2131558441, (ViewGroup) null, false);
WebView webView = (WebView) qeC.e(inflate, R.id.web_view_base);
if (webView == null) {
throw new NullPointerException("Missing required view with ID: ".concat(inflate.getResources().getResourceName(R.id.web_view_base)));
}
C17242vDu c17242vDu = new C17242vDu((RelativeLayout) inflate, webView);
int i5 = w + 107;
y = i5 % 128;
int i6 = i5 % 2;
C14957gcv.c(c17242vDu, "");
this.m = c17242vDu;
C16420oGW c = C16420oGW.c(c17242vDu.d);
C14957gcv.c(c, "");
this.f7993o = c;
C17242vDu c17242vDu2 = this.m;
if (c17242vDu2 == null) {
C14957gcv.a("");
c17242vDu2 = null;
}
setContentView(c17242vDu2.d);
C16420oGW c16420oGW = this.f7993o;
if (c16420oGW == null) {
int i7 = w + 45;
y = i7 % 128;
int i8 = i7 % 2;
C14957gcv.a("");
c16420oGW = null;
}
Toolbar toolbar = c16420oGW.a;
C16420oGW c16420oGW2 = this.f7993o;
if (c16420oGW2 == null) {
C14957gcv.a("");
c16420oGW2 = null;
}
super.amL_(toolbar, c16420oGW2.b);
ac();
setTitle(R.string.cardless_atm_title);
cSU csu2 = this.cardlessATMInfoPresenter;
if (csu2 != null) {
int i9 = y + 39;
w = i9 % 128;
if (i9 % 2 != 0) {
throw null;
}
csu = csu2;
} else {
C14957gcv.a("");
}
csu.e((cSU) this);
ZI.IeS ieS = new ZI.IeS(csu) { // from class: o.cSW
private cSU a;
@Override // o.ZI.IeS
public final void e(Object obj3) {
cSU.e(this.a, (InterfaceC6642cYt) obj3);
}
{
this.a = csu;
}
};
if (csu.f != 0) {
int i10 = y + 19;
w = i10 % 128;
int i11 = i10 % 2;
ieS.e(csu.f);
}
}
private static void ax(char[] cArr, int i, Object[] objArr) {
int i2;
int i3 = 2;
int i4 = 2 % 2;
jTb jtb = new jTb();
char[] cArr2 = new char[cArr.length];
int i5 = 0;
jtb.b = 0;
char[] cArr3 = new char[2];
while (jtb.b < cArr.length) {
int i6 = $10 + 13;
$11 = i6 % 128;
int i7 = i6 % i3;
cArr3[i5] = cArr[jtb.b];
cArr3[1] = cArr[jtb.b + 1];
int i8 = 58224;
int i9 = i5;
while (i9 < 16) {
int i10 = $11 + 19;
$10 = i10 % 128;
int i11 = i10 % i3;
char c = cArr3[1];
char c2 = cArr3[i5];
int i12 = (c2 + i8) ^ ((c2 << 4) + ((char) (q ^ 41718355337583039L)));
int i13 = c2 >>> 5;
try {
Object[] objArr2 = new Object[4];
objArr2[3] = Integer.valueOf(p);
objArr2[i3] = Integer.valueOf(i13);
objArr2[1] = Integer.valueOf(i12);
objArr2[i5] = Integer.valueOf(c);
Object obj = xzZ.y.get(597144044);
if (obj == null) {
Class cls = (Class) xzZ.c(412 - TextUtils.getOffsetAfter("", i5), 5 - (ExpandableListView.getPackedPositionForGroup(i5) > 0L ? 1 : (ExpandableListView.getPackedPositionForGroup(i5) == 0L ? 0 : -1)), (char) KeyEvent.keyCodeFromString(""));
byte b2 = (byte) i5;
Object[] objArr3 = new Object[1];
az((byte) 54, b2, b2, objArr3);
String str = (String) objArr3[i5];
Class<?>[] clsArr = new Class[4];
clsArr[i5] = Integer.TYPE;
clsArr[1] = Integer.TYPE;
clsArr[2] = Integer.TYPE;
clsArr[3] = Integer.TYPE;
obj = cls.getMethod(str, clsArr);
xzZ.y.put(597144044, obj);
}
char charValue = ((Character) ((Method) obj).invoke(null, objArr2)).charValue();
cArr3[1] = charValue;
char[] cArr4 = cArr3;
Object[] objArr4 = {Integer.valueOf(cArr3[i5]), Integer.valueOf((charValue + i8) ^ ((charValue << 4) + ((char) (l ^ 41718355337583039L)))), Integer.valueOf(charValue >>> 5), Integer.valueOf(t)};
Object obj2 = xzZ.y.get(597144044);
if (obj2 == null) {
Class cls2 = (Class) xzZ.c(TextUtils.indexOf("", "", 0) + 412, 6 - (SystemClock.currentThreadTimeMillis() > (-1L) ? 1 : (SystemClock.currentThreadTimeMillis() == (-1L) ? 0 : -1)), (char) View.MeasureSpec.getSize(0));
byte b3 = (byte) 0;
Object[] objArr5 = new Object[1];
az((byte) 54, b3, b3, objArr5);
obj2 = cls2.getMethod((String) objArr5[0], Integer.TYPE, Integer.TYPE, Integer.TYPE, Integer.TYPE);
xzZ.y.put(597144044, obj2);
}
cArr4[0] = ((Character) ((Method) obj2).invoke(null, objArr4)).charValue();
i8 -= 40503;
i9++;
cArr3 = cArr4;
i3 = 2;
i5 = 0;
} catch (Throwable th) {
Throwable cause = th.getCause();
if (cause == null) {
throw th;
}
throw cause;
}
}
char[] cArr5 = cArr3;
cArr2[jtb.b] = cArr5[0];
cArr2[jtb.b + 1] = cArr5[1];
Object[] objArr6 = {jtb, jtb};
Object obj3 = xzZ.y.get(943004485);
if (obj3 != null) {
i2 = 2;
} else {
Class cls3 = (Class) xzZ.c((ViewConfiguration.getMaximumDrawingCacheSize() >> 24) + 98, View.MeasureSpec.getSize(0) + 5, (char) (ViewConfiguration.getMinimumFlingVelocity() >> 16));
byte b4 = (byte) 0;
Object[] objArr7 = new Object[1];
az((byte) ($$h >>> 2), b4, b4, objArr7);
i2 = 2;
obj3 = cls3.getMethod((String) objArr7[0], Object.class, Object.class);
xzZ.y.put(943004485, obj3);
}
((Method) obj3).invoke(null, objArr6);
i3 = i2;
cArr3 = cArr5;
i5 = 0;
}
objArr[0] = new String(cArr2, 0, i);
}
@Override // o.InterfaceC6642cYt
public final void a(String str) {
int i = 2 % 2;
int i2 = w + 41;
y = i2 % 128;
int i3 = i2 % 2;
C14957gcv.e(str, "");
C17242vDu c17242vDu = this.m;
if (c17242vDu == null) {
C14957gcv.a("");
int i4 = w + 19;
y = i4 % 128;
int i5 = i4 % 2;
c17242vDu = null;
}
c17242vDu.b.loadDataWithBaseURL(null, getString(R.string.cardless_atm_web_view, str), "text/html", "utf-8", null);
}
@Override // com.scb.phone.view.activity.BaseActivity
public final void amL_(Toolbar toolbar, TextView textView) {
int i = 2 % 2;
int i2 = w + 11;
y = i2 % 128;
if (i2 % 2 != 0) {
super.amL_(toolbar, textView);
ac();
setTitle(R.string.cardless_atm_title);
int i3 = w + 49;
y = i3 % 128;
int i4 = i3 % 2;
return;
}
super.amL_(toolbar, textView);
ac();
setTitle(R.string.cardless_atm_title);
throw null;
}
@Override // com.scb.phone.view.activity.transferandpay.cardlessatm.Hilt_CardlessAtmInfoActivity, 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) {
int i2 = w + 27;
y = i2 % 128;
int i3 = i2 % 2;
Object[] objArr = new Object[1];
ax(new char[]{8051, 10789, 54861, 21842, 46064, 28904, 52188, 56645, 8930, 18771, 65267, 32633, 49276, 2297, 9885, 9644, 8817, 27196, 42972, 23992, 50069, 30055, 29093, 38043, 46439, 38096}, ((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getResources().getString(R.string.abc_menu_function_shortcut_label).substring(0, 9).codePointAt(6) - 85, objArr);
Class<?> cls = Class.forName((String) objArr[0]);
Object[] objArr2 = new Object[1];
ax(new char[]{64113, 18691, 62823, 3950, 29194, 28870, 33583, 19142, 59201, 57729, 23416, 40637, 49857, 19930, 9885, 9644, 38468, 36059}, ((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getApplicationInfo().targetSdkVersion - 16, objArr2);
baseContext = (Context) cls.getMethod((String) objArr2[0], new Class[0]).invoke(null, null);
}
if (baseContext != null) {
baseContext = baseContext.getApplicationContext();
}
if (baseContext != null) {
int i4 = w + 19;
y = i4 % 128;
try {
if (i4 % 2 == 0) {
Object obj2 = xzZ.y.get(125943855);
if (obj2 == null) {
obj2 = ((Class) xzZ.c((ViewConfiguration.getKeyRepeatDelay() >> 16) + 492, 5 - Color.argb(0, 0, 0, 0), (char) ((ExpandableListView.getPackedPositionForChild(0, 0) > 0L ? 1 : (ExpandableListView.getPackedPositionForChild(0, 0) == 0L ? 0 : -1)) + 1))).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((ViewConfiguration.getDoubleTapTimeout() >> 16) + 487, 5 - (TypedValue.complexToFraction(0, BitmapDescriptorFactory.HUE_RED, BitmapDescriptorFactory.HUE_RED) > BitmapDescriptorFactory.HUE_RED ? 1 : (TypedValue.complexToFraction(0, BitmapDescriptorFactory.HUE_RED, BitmapDescriptorFactory.HUE_RED) == BitmapDescriptorFactory.HUE_RED ? 0 : -1)), (char) KeyEvent.normalizeMetaState(0))).getMethod(KtaJsonExactionHelper.OBJECT, Context.class);
xzZ.y.put(1378719468, obj3);
}
((Method) obj3).invoke(invoke, objArr3);
obj.hashCode();
throw null;
}
Object obj4 = xzZ.y.get(125943855);
if (obj4 == null) {
obj4 = ((Class) xzZ.c(492 - (ViewConfiguration.getLongPressTimeout() >> 16), (ViewConfiguration.getScrollFriction() > BitmapDescriptorFactory.HUE_RED ? 1 : (ViewConfiguration.getScrollFriction() == BitmapDescriptorFactory.HUE_RED ? 0 : -1)) + 4, (char) TextUtils.getOffsetAfter("", 0))).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 - (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)), (Process.getElapsedCpuTime() > 0L ? 1 : (Process.getElapsedCpuTime() == 0L ? 0 : -1)) + 4, (char) (PointF.length(BitmapDescriptorFactory.HUE_RED, BitmapDescriptorFactory.HUE_RED) > BitmapDescriptorFactory.HUE_RED ? 1 : (PointF.length(BitmapDescriptorFactory.HUE_RED, BitmapDescriptorFactory.HUE_RED) == BitmapDescriptorFactory.HUE_RED ? 0 : -1)))).getMethod(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.transferandpay.cardlessatm.Hilt_CardlessAtmInfoActivity, 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 = w + 75;
y = i2 % 128;
if (i2 % 2 == 0) {
getBaseContext();
throw null;
}
Context baseContext = getBaseContext();
if (baseContext == null) {
int i3 = y + 15;
w = i3 % 128;
int i4 = i3 % 2;
Object[] objArr = new Object[1];
ax(new char[]{8051, 10789, 54861, 21842, 46064, 28904, 52188, 56645, 8930, 18771, 65267, 32633, 49276, 2297, 9885, 9644, 8817, 27196, 42972, 23992, 50069, 30055, 29093, 38043, 46439, 38096}, ((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];
ax(new char[]{64113, 18691, 62823, 3950, 29194, 28870, 33583, 19142, 59201, 57729, 23416, 40637, 49857, 19930, 9885, 9644, 38468, 36059}, ((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getResources().getString(R.string.common_ndid_select_idp_success_description_end).substring(0, 1).length() + 17, objArr2);
baseContext = (Context) cls.getMethod((String) objArr2[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(492 - (CdmaCellLocation.convertQuartSecToDecDegrees(0) > 0.0d ? 1 : (CdmaCellLocation.convertQuartSecToDecDegrees(0) == 0.0d ? 0 : -1)), 5 - (ViewConfiguration.getMaximumFlingVelocity() >> 16), (char) Color.alpha(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(488 - (ViewConfiguration.getScrollFriction() > BitmapDescriptorFactory.HUE_RED ? 1 : (ViewConfiguration.getScrollFriction() == BitmapDescriptorFactory.HUE_RED ? 0 : -1)), (ViewConfiguration.getMaximumFlingVelocity() >> 16) + 5, (char) (ViewConfiguration.getScrollBarSize() >> 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();
int i5 = y + 15;
w = i5 % 128;
int i6 = i5 % 2;
}
@Override // com.scb.phone.view.activity.transferandpay.cardlessatm.Hilt_CardlessAtmInfoActivity, 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 = y + 77;
w = i2 % 128;
int i3 = i2 % 2;
super.attachBaseContext(context);
Object[] objArr = new Object[1];
ax(new char[]{8051, 10789, 54861, 21842, 46064, 28904, 52188, 56645, 50742, 16333, 2909, 13000, 2860, 57279, 17798, 19950, 40218, 42334}, TextUtils.lastIndexOf("", '0') + 19, objArr);
Class<?> cls = Class.forName((String) objArr[0]);
Object[] objArr2 = new Object[1];
ax(new char[]{34250, 48945, 62227, 1757, 39314, 60317}, 6 - (Process.getElapsedCpuTime() > 0L ? 1 : (Process.getElapsedCpuTime() == 0L ? 0 : -1)), objArr2);
int intValue = ((Integer) cls.getDeclaredMethod((String) objArr2[0], new Class[0]).invoke(null, new Object[0])).intValue() % 100000;
if (intValue >= 99000) {
int i4 = y + 37;
w = i4 % 128;
if (i4 % 2 != 0) {
int i5 = 87 / 0;
if (intValue <= 99999) {
return;
}
} else if (intValue <= 99999) {
return;
}
}
Context applicationContext = context != null ? context.getApplicationContext() : context;
if (applicationContext != null) {
try {
Object obj = xzZ.y.get(125943855);
if (obj == null) {
obj = ((Class) xzZ.c(TextUtils.indexOf((CharSequence) "", '0', 0, 0) + 493, 5 - View.resolveSize(0, 0), (char) (ViewConfiguration.getScrollBarFadeDuration() >> 16))).getMethod("a", null);
xzZ.y.put(125943855, obj);
}
Object invoke = ((Method) obj).invoke(null, null);
Object[] objArr3 = new Object[1];
ay(new char[]{7, 19, 5, '\n', 23, 3, 11, 19, '\b', 0, 11, 15, 15, '\b', 19, 23, '\b', 15, 14, 20, 15, 3, 18, 1, 11, 4, 21, '\r', 3, '\b', 24, 5, 6, 14, 4, 14, 11, '\t', 13873, 13873, 15, 5, 1, '\r', 24, 20, 5, 1}, (byte) ((ViewConfiguration.getPressedStateDuration() >> 16) + 57), Color.blue(0) + 48, objArr3);
String str = (String) objArr3[0];
Object[] objArr4 = new Object[1];
ay(new char[]{7, 6, 6, 11, 0, 6, 1, 4, 11, 16, 11, 0, 11, 0, 19, 7, 2, 1, 5, 14, 21, 3, 15, 1, 16, 3, 22, 24, '\r', 0, 22, 20, 13799, 13799, 16, 21, 14, 21, 13874, 13874, 0, 6, 21, 6, 14, 6, 0, 6, 21, 20, '\f', 19, 24, 20, '\n', 6, 20, 24, 14, 4, 0, 6, 21, 11}, (byte) (Process.getGidForName("") + 59), (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)) + 64, objArr4);
String str2 = (String) objArr4[0];
Object[] objArr5 = new Object[1];
ay(new char[]{19, 21, 23, 16, 17, 19, 13898, 13898, '\r', 0, 16, '\b', '\n', 5, 22, 20, 15, 6, 11, 24, 6, 24, 15, '\f', 24, 20, 11, '\t', 21, 4, 0, 23, 5, '\n', 21, 16, '\f', 11, 13814, 13814, 16, 1, '\r', 16, '\r', 24, 6, 11, 6, 7, 14, 20, 2, 4, 24, 11, 1, 21, 11, 19, 14, 21, 22, 18}, (byte) ((ViewConfiguration.getScrollBarSize() >> 8) + 75), MotionEvent.axisFromString("") + 65, objArr5);
String str3 = (String) objArr5[0];
Object[] objArr6 = new Object[1];
ax(new char[]{38751, 36672, 33099, 13675, 288, 14579, 45395, 8742, 54230, 36619, 47596, 14581, 25885, 15579, 44529, 31881, 19243, 38781, 27952, 8902, 50263, 14707, 25715, 36676, 53120, 13644, 52452, 38007, 5035, 5762, 6940, 14227, 32229, 25418, 61827, 40603, 55075, 46845, 11748, 23335, 62293, 61799, 57414, 42043, 35606, 15911, 62293, 61799, 63650, 41157, 25885, 15579, 41433, 44282, 8930, 18771, 10081, 39151, 63699, 18950, 52473, 44172, 10738, 23857, 18767, 9777, 57647, 17243, 60845, 52845, 29194, 28870, 14885, 14873}, TextUtils.getOffsetBefore("", 0) + 74, objArr6);
String str4 = (String) objArr6[0];
Object[] objArr7 = new Object[1];
ay(new char[]{4, 3, 22, 4, 13776}, (byte) ((ViewConfiguration.getTouchSlop() >> 8) + 38), TextUtils.getTrimmedLength("") + 5, objArr7);
String str5 = (String) objArr7[0];
Object[] objArr8 = new Object[1];
ax(new char[]{6940, 14227, 63786, 58367, 46511, 28357, 17261, 47634, 6995, 33833, 33304, 10695, 6160, 57266, 47285, 13146, 58097, 1911, 43161, 31610, 56483, 11030, 5550, 46329, 12432, 21663, 45803, 17278, 38020, 27757, 20804, 51020, 41656, 17268, 21343, 25086}, TextUtils.lastIndexOf("", '0', 0) + 37, 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(KeyEvent.getDeadChar(0, 0) + 487, 5 - (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)), (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;
}
}
}
private static void ay(char[] cArr, byte b2, int i, Object[] objArr) {
int i2;
int i3;
int i4 = 2 % 2;
IRS irs = new IRS();
char[] cArr2 = r;
long j = 0;
int i5 = 6;
int i6 = 11;
int i7 = 1;
if (cArr2 != null) {
int i8 = $10 + 23;
$11 = i8 % 128;
int i9 = i8 % 2;
int length = cArr2.length;
char[] cArr3 = new char[length];
int i10 = 0;
while (i10 < length) {
try {
Object[] objArr2 = new Object[i7];
objArr2[0] = Integer.valueOf(cArr2[i10]);
Object obj = xzZ.y.get(-1987398494);
if (obj == null) {
Class cls = (Class) xzZ.c(298 - (Process.myTid() >> 22), ExpandableListView.getPackedPositionChild(j) + i5, (char) TextUtils.getOffsetBefore("", 0));
byte b3 = (byte) ($$h & i6);
byte b4 = (byte) (b3 - 3);
Object[] objArr3 = new Object[1];
az(b3, b4, b4, objArr3);
obj = cls.getMethod((String) objArr3[0], Integer.TYPE);
xzZ.y.put(-1987398494, obj);
}
cArr3[i10] = ((Character) ((Method) obj).invoke(null, objArr2)).charValue();
i10++;
j = 0;
i5 = 6;
i6 = 11;
i7 = 1;
} catch (Throwable th) {
Throwable cause = th.getCause();
if (cause == null) {
throw th;
}
throw cause;
}
}
cArr2 = cArr3;
}
Object[] objArr4 = {Integer.valueOf(s)};
Object obj2 = xzZ.y.get(-1987398494);
int i11 = 5;
if (obj2 == null) {
Class cls2 = (Class) xzZ.c(298 - Drawable.resolveOpacity(0, 0), 5 - (ViewConfiguration.getEdgeSlop() >> 16), (char) (1 - (SystemClock.elapsedRealtime() > 0L ? 1 : (SystemClock.elapsedRealtime() == 0L ? 0 : -1))));
byte b5 = (byte) ($$h & 11);
byte b6 = (byte) (b5 - 3);
Object[] objArr5 = new Object[1];
az(b5, b6, b6, objArr5);
obj2 = cls2.getMethod((String) objArr5[0], Integer.TYPE);
xzZ.y.put(-1987398494, obj2);
}
char charValue = ((Character) ((Method) obj2).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) {
int i12 = $11 + 113;
$10 = i12 % 128;
int i13 = i12 % 2;
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);
i3 = i11;
} else {
Object[] objArr6 = new Object[13];
objArr6[12] = irs;
objArr6[11] = Integer.valueOf(charValue);
objArr6[10] = irs;
objArr6[9] = irs;
objArr6[8] = Integer.valueOf(charValue);
objArr6[7] = irs;
objArr6[6] = irs;
objArr6[i11] = Integer.valueOf(charValue);
objArr6[4] = irs;
objArr6[3] = irs;
objArr6[2] = Integer.valueOf(charValue);
objArr6[1] = irs;
objArr6[0] = irs;
Object obj3 = xzZ.y.get(822107368);
if (obj3 == null) {
Class cls3 = (Class) xzZ.c(233 - TextUtils.getOffsetAfter("", 0), (TypedValue.complexToFloat(0) > BitmapDescriptorFactory.HUE_RED ? 1 : (TypedValue.complexToFloat(0) == BitmapDescriptorFactory.HUE_RED ? 0 : -1)) + i11, (char) (22024 - (TypedValue.complexToFloat(0) > BitmapDescriptorFactory.HUE_RED ? 1 : (TypedValue.complexToFloat(0) == BitmapDescriptorFactory.HUE_RED ? 0 : -1))));
byte b7 = (byte) 0;
byte b8 = b7;
Object[] objArr7 = new Object[1];
az(b7, b8, b8, objArr7);
obj3 = 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, obj3);
}
if (((Integer) ((Method) obj3).invoke(null, objArr6)).intValue() == irs.j) {
int i14 = $10 + 123;
$11 = i14 % 128;
int i15 = i14 % 2;
Object[] objArr8 = {irs, irs, Integer.valueOf(charValue), Integer.valueOf(charValue), irs, irs, Integer.valueOf(charValue), Integer.valueOf(charValue), irs, Integer.valueOf(charValue), irs};
Object obj4 = xzZ.y.get(-1152873385);
if (obj4 != null) {
i3 = 5;
} else {
Class cls4 = (Class) xzZ.c(327 - View.resolveSize(0, 0), 5 - (ViewConfiguration.getKeyRepeatTimeout() >> 16), (char) (ViewConfiguration.getMaximumFlingVelocity() >> 16));
byte b9 = (byte) ($$h & 10);
byte b10 = (byte) (b9 - 2);
Object[] objArr9 = new Object[1];
az(b9, b10, b10, objArr9);
String str = (String) objArr9[0];
i3 = 5;
obj4 = cls4.getMethod(str, 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, obj4);
}
int intValue = ((Integer) ((Method) obj4).invoke(null, objArr8)).intValue();
int i16 = (irs.d * charValue) + irs.j;
cArr4[irs.e] = cArr2[intValue];
cArr4[irs.e + 1] = cArr2[i16];
} else {
i3 = 5;
if (irs.a == irs.d) {
irs.f = ((irs.f + charValue) - 1) % charValue;
irs.j = ((irs.j + charValue) - 1) % charValue;
int i17 = (irs.a * charValue) + irs.f;
int i18 = (irs.d * charValue) + irs.j;
cArr4[irs.e] = cArr2[i17];
cArr4[irs.e + 1] = cArr2[i18];
} else {
int i19 = (irs.a * charValue) + irs.j;
int i20 = (irs.d * charValue) + irs.f;
cArr4[irs.e] = cArr2[i19];
cArr4[irs.e + 1] = cArr2[i20];
}
}
}
irs.e += 2;
i11 = i3;
}
}
for (int i21 = 0; i21 < i; i21++) {
int i22 = $11 + 53;
$10 = i22 % 128;
int i23 = i22 % 2;
cArr4[i21] = (char) (cArr4[i21] ^ 13722);
}
objArr[0] = new String(cArr4);
}
/* JADX INFO: Access modifiers changed from: private */
public static /* synthetic */ Object b(Object[] objArr) {
CardlessAtmInfoActivity cardlessAtmInfoActivity = (CardlessAtmInfoActivity) objArr[0];
int i = 2 % 2;
int i2 = w + 1;
y = i2 % 128;
int i3 = i2 % 2;
super.onStart();
if (i3 == 0) {
int i4 = 75 / 0;
}
int i5 = y + 55;
w = i5 % 128;
int i6 = i5 % 2;
return null;
}
static void g() {
l = (char) 2759;
t = (char) 61828;
q = (char) 8172;
p = (char) 15492;
r = new char[]{49031, 49029, 49053, 49034, 49052, 49105, 49110, 49051, 49050, 49026, 49025, 49030, 49049, 49048, 49109, 49055, 49106, 49028, 49024, 49041, 49111, 49027, 49054, 49104, 49035};
s = (char) 35372;
}
@Override // com.scb.phone.view.activity.transferandpay.cardlessatm.Hilt_CardlessAtmInfoActivity, 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 = ((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getApplicationInfo().targetSdkVersion - 1008571201;
b(new Object[]{this});
}
static {
y = 1;
g();
b = new RVV((byte) 0);
int i = w + 43;
y = i % 128;
int i2 = i % 2;
}
}