what-the-bank/sources/com/scb/phone/view/activity/bankingagent/Hilt_ServiceAtBankingAgentC...

673 lines
40 KiB
Java
Raw Normal View History

2024-07-27 18:17:47 +07:00
package com.scb.phone.view.activity.bankingagent;
import android.content.Context;
import android.graphics.Color;
import android.graphics.ImageFormat;
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.View;
import android.view.ViewConfiguration;
import android.widget.ExpandableListView;
import com.google.android.gms.maps.model.BitmapDescriptorFactory;
import com.kofax.mobile.sdk._internal.impl.extraction.kta.KtaJsonExactionHelper;
import com.scb.phone.R;
import com.scb.phone.view.activity.BaseActivity;
import java.lang.reflect.Method;
import o.C13068fPo;
import o.C13073fPt;
import o.InterfaceC17278vUG;
import o.InterfaceC9893dsV;
import o.TVH;
import o.VLM;
import o.dQY;
import o.fOV;
import o.fPA;
import o.xzZ;
import org.bouncycastle.crypto.tls.CipherSuite;
/* loaded from: classes4.dex */
public abstract class Hilt_ServiceAtBankingAgentCoachMarkActivity extends BaseActivity implements fPA {
private volatile C13073fPt k;
private static final byte[] $$g = {119, 73, 35, -58};
private static final int $$h = 83;
private static int $10 = 0;
private static int $11 = 1;
private static int t = 0;
private static int p = 1;
private static char[] m = {39995, 40044, 40034, 40032, 40059, 40039, 40045, 40002, 40005, 40058, 40027, 39988, 40042, 40059, 40034, 40047, 40039, 40056, 39993, 40040, 40007, 40006, 40006, 40007, 40000, 39997, 40004, 40006, 39992, 39999, 39999, 39999, 39997, 39999, 39992, 39998, 39993, 39994, 40001, 40007, 40000, 40001, 39992, 39999, 39992, 40002, 40001, 39998, 39999, 39999, 39996, 39996, 39997, 40000, 40000, 39997, 40006, 40041, 40007, 40007, 40042, 40000, 39998, 39992, 39992, 40007, 40040, 40005, 40004, 40005, 40006, 40006, 39997, 40000, 40006, 40006, 40001, 39999, 39996, 40007, 40042, 40040, 40006, 40087, 40081, 40081, 40080, 40082, 40082, 40080, 40086, 40120, 40130, 40120, 40127, 40125, 40084, 40084, 40125, 40134, 40124, 40126, 40121, 40087, 40080, 40083, 40083, 40120, 40135, 40130, 40127, 40087, 40081, 40120, 40128, 40127, 40085, 40086, 40120, 40134, 40127, 40121, 40121, 40082, 40087, 40127, 40127, 40126, 40126, 40085, 40120, 40128, 40128, 40123, 40120, 40120, 40087, 40084, 40084, 40086, 40120, 40128, 40128, 40126, 40127, 40135, 40059, 40144, 40157, 40179, 40222, 40199, 40197, 40196, 40219, 40222, 40223, 40219, 40217, 40218, 40198, 40199, 40198, 40197, 40195, 40197, 40216, 40184, 40179, 40222, 40223, 40217, 40193, 40218, 40217, 40194, 40218, 40209, 40179, 40186, 40222, 40217, 40219, 40217, 40217, 40210, 40209, 40217, 40219, 40217, 40187, 40164, 40219, 40222, 40190, 40164, 40196, 40216, 40184, 40184, 40217, 40218, 40198, 40216, 40209, 40179, 40178, 40176, 40156, 40186, 40223, 40223, 40219, 40211, 40209, 40223, 40222, 40208, 40210, 40211, 39955, 39972, 39992, 39992, 39992};
private static char[] l = {12012, 57892, 46956, 18556, 7573, 5135, 55516, 36274, 29320, 10097, 5195, 55586, 36420, 29423, 10146, 5254, 55604, 36479, 29473, 8210, 5347, 55768, 36507, 29538, 8259, 5386, 55818, 36596, 29647, 8367, 5494, 29388, 48646, 60261, 5193, 16826, 29325, 49139, 59626, 5183, 16739, 29275, 49074, 59548, 5602, 18131, 29218, 48896, 59485, 36835, 17209, 5726, 59684, 48273, 36861, 17052, 5559, 59728, 48215, 36728, 17095, 5553, 59548, 48105, 36622, 17008, 5501, 59544, 48062, 36561, 16874, 5467, 59439, 47892, 36504, 16873, 5331, 59297, 47879, 36478, 16711, 5219, 59323, 47826, 36343, 16708, 5243, 59160, 47668, 36224, 16602, 5107, 59155, 47713, 36166, 16447, 4994, 36791, 17263, 5720, 59762, 48326, 36775, 17102, 5606, 59679, 48216, 36730, 17091, 5600, 59603, 48110, 36612, 16931, 5503, 59527, 48103, 36480, 16827, 5465, 59451, 47936, 36557, 16824, 5255, 59381, 47963, 36473, 16707, 5222, 59323, 47835, 36259};
private static long s = -8406376651500076274L;
/* renamed from: o, reason: collision with root package name */
private final Object f6580o = new Object();
boolean b = false;
/* JADX WARN: Removed duplicated region for block: B:10:0x0028 */
/* JADX WARN: Removed duplicated region for block: B:7:0x0020 */
/* JADX WARN: Unsupported multi-entry loop pattern (BACK_EDGE: B:10:0x0028 -> B:4:0x002c). Please report as a decompilation issue!!! */
/*
Code decompiled incorrectly, please refer to instructions dump.
To view partially-correct add '--show-bad-code' argument
*/
private static void az(short r6, short r7, short r8, java.lang.Object[] r9) {
/*
int r7 = r7 * 3
int r7 = 4 - r7
byte[] r0 = com.scb.phone.view.activity.bankingagent.Hilt_ServiceAtBankingAgentCoachMarkActivity.$$g
int r6 = 106 - r6
int r8 = r8 * 3
int r1 = 1 - r8
byte[] r1 = new byte[r1]
r2 = 0
int r8 = 0 - r8
if (r0 != 0) goto L17
r6 = r7
r4 = r8
r3 = r2
goto L2c
L17:
r3 = r2
r5 = r7
r7 = r6
r6 = r5
L1b:
byte r4 = (byte) r7
r1[r3] = r4
if (r3 != r8) goto L28
java.lang.String r6 = new java.lang.String
r6.<init>(r1, r2)
r9[r2] = r6
return
L28:
int r3 = r3 + 1
r4 = r0[r6]
L2c:
int r7 = r7 + r4
int r6 = r6 + 1
goto L1b
*/
throw new UnsupportedOperationException("Method not decompiled: com.scb.phone.view.activity.bankingagent.Hilt_ServiceAtBankingAgentCoachMarkActivity.az(short, short, short, java.lang.Object[]):void");
}
/* JADX INFO: Access modifiers changed from: package-private */
public Hilt_ServiceAtBankingAgentCoachMarkActivity() {
addOnContextAvailableListener(new InterfaceC17278vUG(this) { // from class: com.scb.phone.view.activity.bankingagent.Hilt_ServiceAtBankingAgentCoachMarkActivity.2
private Hilt_ServiceAtBankingAgentCoachMarkActivity d;
{
this.d = this;
}
@Override // o.InterfaceC17278vUG
public final void a(Context context) {
Hilt_ServiceAtBankingAgentCoachMarkActivity hilt_ServiceAtBankingAgentCoachMarkActivity = this.d;
if (hilt_ServiceAtBankingAgentCoachMarkActivity.b) {
return;
}
hilt_ServiceAtBankingAgentCoachMarkActivity.b = true;
((InterfaceC9893dsV) hilt_ServiceAtBankingAgentCoachMarkActivity.y_()).a((ServiceAtBankingAgentCoachMarkActivity) hilt_ServiceAtBankingAgentCoachMarkActivity);
}
});
}
@Override // o.fPC
public final Object y_() {
int i = 2 % 2;
int i2 = p + 17;
t = i2 % 128;
if (i2 % 2 != 0) {
g().y_();
Object obj = null;
obj.hashCode();
throw null;
}
Object y_ = g().y_();
int i3 = p + 45;
t = i3 % 128;
int i4 = i3 % 2;
return y_;
}
private C13073fPt g() {
if (this.k == null) {
synchronized (this.f6580o) {
if (this.k == null) {
this.k = new C13073fPt(this);
}
}
}
return this.k;
}
@Override // androidx.activity.ComponentActivity, o.GvH
public VLM.LWm getDefaultViewModelProviderFactory() {
int i = 2 % 2;
int i2 = p + 57;
t = i2 % 128;
if (i2 % 2 != 0) {
super.getDefaultViewModelProviderFactory();
((C13068fPo.Sts) fOV.c(this, C13068fPo.Sts.class)).a();
getIntent();
throw null;
}
VLM.LWm aBN_ = ((C13068fPo.Sts) fOV.c(this, C13068fPo.Sts.class)).a().aBN_(this, getIntent() != null ? getIntent().getExtras() : null, super.getDefaultViewModelProviderFactory());
int i3 = p + 59;
t = i3 % 128;
if (i3 % 2 != 0) {
int i4 = 23 / 0;
}
return aBN_;
}
private static void ay(int i, int i2, char c, Object[] objArr) {
int i3 = 2 % 2;
dQY dqy = new dQY();
long[] jArr = new long[i2];
dqy.a = 0;
while (dqy.a < i2) {
int i4 = 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((SystemClock.uptimeMillis() > 0L ? 1 : (SystemClock.uptimeMillis() == 0L ? 0 : -1)) + 307, View.MeasureSpec.makeMeasureSpec(0, 0) + 5, (char) (32797 - ExpandableListView.getPackedPositionGroup(0L)));
byte b = (byte) 0;
Object[] objArr3 = new Object[1];
az((byte) 8, b, b, objArr3);
obj = cls.getMethod((String) objArr3[0], Integer.TYPE);
xzZ.y.put(1095064095, obj);
}
Object[] objArr4 = {Long.valueOf(((Long) ((Method) obj).invoke(null, objArr2)).longValue()), Long.valueOf(dqy.a), Long.valueOf(s), Integer.valueOf(c)};
Object obj2 = xzZ.y.get(-548438098);
if (obj2 == null) {
Class cls2 = (Class) xzZ.c((CdmaCellLocation.convertQuartSecToDecDegrees(0) > 0.0d ? 1 : (CdmaCellLocation.convertQuartSecToDecDegrees(0) == 0.0d ? 0 : -1)) + 412, View.getDefaultSize(0, 0) + 5, (char) (ViewConfiguration.getDoubleTapTimeout() >> 16));
byte b2 = (byte) 0;
Object[] objArr5 = new Object[1];
az((byte) 7, b2, b2, objArr5);
obj2 = cls2.getMethod((String) objArr5[0], Long.TYPE, Long.TYPE, Long.TYPE, Integer.TYPE);
xzZ.y.put(-548438098, obj2);
}
jArr[i4] = ((Long) ((Method) obj2).invoke(null, objArr4)).longValue();
Object[] objArr6 = {dqy, dqy};
Object obj3 = xzZ.y.get(1071125919);
if (obj3 == null) {
Class cls3 = (Class) xzZ.c(407 - (ViewConfiguration.getTouchSlop() >> 8), TextUtils.getCapsMode("", 0, 0) + 5, (char) ((ViewConfiguration.getScrollFriction() > BitmapDescriptorFactory.HUE_RED ? 1 : (ViewConfiguration.getScrollFriction() == BitmapDescriptorFactory.HUE_RED ? 0 : -1)) + 29233));
byte b3 = (byte) 0;
byte b4 = b3;
Object[] objArr7 = new Object[1];
az(b3, b4, b4, 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;
}
}
char[] cArr = new char[i2];
dqy.a = 0;
while (dqy.a < i2) {
int i5 = $11 + 67;
$10 = i5 % 128;
int i6 = i5 % 2;
cArr[dqy.a] = (char) jArr[dqy.a];
Object[] objArr8 = {dqy, dqy};
Object obj4 = xzZ.y.get(1071125919);
if (obj4 == null) {
Class cls4 = (Class) xzZ.c(406 - ImageFormat.getBitsPerPixel(0), 5 - (ViewConfiguration.getWindowTouchSlop() >> 8), (char) (29234 - (KeyEvent.getMaxKeyCode() >> 16)));
byte b5 = (byte) 0;
byte b6 = b5;
Object[] objArr9 = new Object[1];
az(b5, b6, b6, objArr9);
obj4 = cls4.getMethod((String) objArr9[0], Object.class, Object.class);
xzZ.y.put(1071125919, obj4);
}
((Method) obj4).invoke(null, objArr8);
}
String str = new String(cArr);
int i7 = $10 + 21;
$11 = i7 % 128;
int i8 = i7 % 2;
objArr[0] = str;
}
@Override // com.scb.phone.view.activity.BaseActivity, com.scb.phone.view.activity.PreLoadCheckActivity, com.akexorcist.localizationactivity.LocalizationActivity, androidx.appcompat.app.AppCompatActivity, androidx.fragment.app.FragmentActivity, androidx.activity.ComponentActivity, androidx.core.app.ComponentActivity, android.app.Activity
public void onCreate(Bundle bundle) {
int i = 2 % 2;
Object[] objArr = new Object[1];
ax(new int[]{0, 18, 0, 0}, false, new byte[]{1, 1, 0, 0, 1, 0, 1, 0, 1, 0, 1, 0, 0, 1, 0, 0, 0, 0}, objArr);
Class<?> cls = Class.forName((String) objArr[0]);
Object[] objArr2 = new Object[1];
ay(1 - (SystemClock.elapsedRealtimeNanos() > 0L ? 1 : (SystemClock.elapsedRealtimeNanos() == 0L ? 0 : -1)), ((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getResources().getString(R.string.promptpay_terms_body).substring(9, 10).codePointAt(0) - 27, (char) (((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getResources().getString(R.string.data_sharing_consent_decline_dialog_description).substring(44, 45).codePointAt(0) + 41267), objArr2);
int intValue = ((Integer) cls.getDeclaredMethod((String) objArr2[0], new Class[0]).invoke(null, new Object[0])).intValue() % 100000;
if (intValue < 99000 || intValue > 99999) {
Context baseContext = getBaseContext();
if (baseContext == null) {
Object[] objArr3 = new Object[1];
ay((SystemClock.elapsedRealtimeNanos() > 0L ? 1 : (SystemClock.elapsedRealtimeNanos() == 0L ? 0 : -1)) + 4, ((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getApplicationInfo().targetSdkVersion - 8, (char) (((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getApplicationInfo().targetSdkVersion + 39834), objArr3);
Class<?> cls2 = Class.forName((String) objArr3[0]);
Object[] objArr4 = new Object[1];
ay(((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getResources().getString(R.string.already_registered_error).substring(21, 22).length() + 30, 18 - View.MeasureSpec.getMode(0), (char) (TextUtils.getOffsetBefore("", 0) + 64893), objArr4);
baseContext = (Context) cls2.getMethod((String) objArr4[0], new Class[0]).invoke(null, null);
int i2 = p + 59;
t = i2 % 128;
int i3 = i2 % 2;
}
if (baseContext != null) {
baseContext = baseContext.getApplicationContext();
}
if (baseContext != null) {
int i4 = t + 3;
p = i4 % 128;
int i5 = i4 % 2;
try {
Object obj = xzZ.y.get(125943855);
if (obj == null) {
obj = ((Class) xzZ.c(492 - ExpandableListView.getPackedPositionType(0L), Color.green(0) + 5, (char) (ExpandableListView.getPackedPositionForGroup(0) > 0L ? 1 : (ExpandableListView.getPackedPositionForGroup(0) == 0L ? 0 : -1)))).getMethod("a", null);
xzZ.y.put(125943855, obj);
}
Object invoke = ((Method) obj).invoke(null, null);
Object[] objArr5 = new Object[1];
ay(((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getResources().getString(R.string.billpayment_bnpl_coin_more_detail_description_1_3).substring(0, 31).codePointAt(4) - 3602, ((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getResources().getString(R.string.investment_risk_later).substring(27, 28).codePointAt(0) + 16, (char) (((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getApplicationInfo().targetSdkVersion - 34), objArr5);
String str = (String) objArr5[0];
Object[] objArr6 = new Object[1];
ax(new int[]{18, 64, 0, 0}, false, new byte[]{1, 1, 0, 1, 1, 0, 0, 1, 0, 0, 1, 0, 0, 0, 1, 0, 1, 0, 1, 1, 1, 1, 1, 1, 1, 1, 0, 1, 1, 1, 1, 0, 1, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1, 1, 1, 0, 1, 0, 0, 0, 0, 1, 0, 1, 1, 1, 0, 1, 0, 1, 0, 0, 1, 0}, objArr6);
String str2 = (String) objArr6[0];
Object[] objArr7 = new Object[1];
ax(new int[]{82, 64, 104, 44}, true, new byte[]{1, 0, 1, 1, 0, 0, 1, 1, 0, 0, 1, 0, 0, 1, 1, 0, 1, 1, 0, 1, 1, 1, 1, 1, 1, 0, 0, 1, 1, 0, 0, 0, 1, 0, 0, 1, 1, 0, 0, 0, 0, 1, 0, 1, 0, 0, 1, 1, 0, 1, 1, 1, 0, 0, 1, 1, 0, 0, 1, 1, 1, 1, 1, 1}, objArr7);
String str3 = (String) objArr7[0];
Object[] objArr8 = new Object[1];
ax(new int[]{CipherSuite.TLS_RSA_PSK_WITH_RC4_128_SHA, 74, CipherSuite.TLS_DH_anon_WITH_AES_256_GCM_SHA384, 69}, false, new byte[]{1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 1, 1, 0, 0, 1, 0, 1, 1, 1, 1, 0, 0, 0, 1, 0, 1, 1, 0, 0, 1, 0, 1, 0, 0, 1, 0, 1, 0, 0, 0, 1, 1, 1, 1, 0, 0, 0, 0, 1, 1, 0, 0, 1, 1, 0, 0, 1, 1, 1, 0, 1, 0, 1, 1, 1, 0, 1, 1, 0, 0, 0, 1}, objArr8);
String str4 = (String) objArr8[0];
Object[] objArr9 = new Object[1];
ax(new int[]{220, 5, 0, 5}, true, new byte[]{0, 0, 0, 0, 1}, objArr9);
String str5 = (String) objArr9[0];
Object[] objArr10 = new Object[1];
ay(((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getResources().getString(R.string.point_x_tool_title).substring(0, 7).length() + 90, ((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getApplicationInfo().targetSdkVersion + 2, (char) (((byte) KeyEvent.getModifierMetaStateMask()) + 1), objArr10);
Object[] objArr11 = {baseContext, str, str2, str3, str4, true, str5, (String) objArr10[0]};
Object obj2 = xzZ.y.get(1656189573);
if (obj2 == null) {
obj2 = ((Class) xzZ.c(487 - TextUtils.indexOf("", "", 0), TextUtils.indexOf("", "", 0) + 5, (char) (ViewConfiguration.getTapTimeout() >> 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, objArr11);
} catch (Throwable th) {
Throwable cause = th.getCause();
if (cause == null) {
throw th;
}
throw cause;
}
}
}
super.onCreate(bundle);
}
@Override // com.scb.phone.view.activity.BaseActivity, com.scb.phone.view.activity.PreLoadCheckActivity, com.akexorcist.localizationactivity.LocalizationActivity, androidx.appcompat.app.AppCompatActivity, androidx.fragment.app.FragmentActivity, androidx.activity.ComponentActivity, androidx.core.app.ComponentActivity, android.app.Activity
public void onResume() {
int i = 2 % 2;
Context baseContext = getBaseContext();
Object obj = null;
if (baseContext == null) {
Object[] objArr = new Object[1];
ay(5 - (ViewConfiguration.getWindowTouchSlop() >> 8), (ViewConfiguration.getLongPressTimeout() >> 16) + 26, (char) (39868 - KeyEvent.normalizeMetaState(0)), objArr);
Class<?> cls = Class.forName((String) objArr[0]);
Object[] objArr2 = new Object[1];
ay(31 - (ViewConfiguration.getMaximumFlingVelocity() >> 16), 18 - (Process.myTid() >> 22), (char) (((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getApplicationInfo().targetSdkVersion + 64859), objArr2);
baseContext = (Context) cls.getMethod((String) objArr2[0], new Class[0]).invoke(null, null);
}
if (baseContext != null) {
int i2 = p + 9;
t = i2 % 128;
int i3 = i2 % 2;
baseContext = baseContext.getApplicationContext();
int i4 = t + 65;
p = i4 % 128;
int i5 = i4 % 2;
}
if (baseContext != null) {
int i6 = t + 49;
p = i6 % 128;
try {
if (i6 % 2 == 0) {
Object obj2 = xzZ.y.get(125943855);
if (obj2 == null) {
obj2 = ((Class) xzZ.c(492 - (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)), '5' - AndroidCharacter.getMirror('0'), (char) Gravity.getAbsoluteGravity(0, 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(487 - (ViewConfiguration.getMinimumFlingVelocity() >> 16), 5 - (Process.myTid() >> 22), (char) ((SystemClock.elapsedRealtime() > 0L ? 1 : (SystemClock.elapsedRealtime() == 0L ? 0 : -1)) - 1))).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 - TextUtils.getOffsetAfter("", 0), ((byte) KeyEvent.getModifierMetaStateMask()) + 6, (char) ((Process.getThreadPriority(0) + 20) >> 6))).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(486 - (ExpandableListView.getPackedPositionForChild(0, 0) > 0L ? 1 : (ExpandableListView.getPackedPositionForChild(0, 0) == 0L ? 0 : -1)), (ViewConfiguration.getMaximumDrawingCacheSize() >> 24) + 5, (char) (ViewConfiguration.getTapTimeout() >> 16))).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();
}
private static void ax(int[] iArr, boolean z, byte[] bArr, Object[] objArr) {
int i;
char[] cArr;
char c = 2;
int i2 = 2 % 2;
TVH tvh = new TVH();
int i3 = 0;
int i4 = iArr[0];
int i5 = 1;
int i6 = iArr[1];
int i7 = iArr[2];
int i8 = iArr[3];
char[] cArr2 = m;
if (cArr2 != null) {
int length = cArr2.length;
char[] cArr3 = new char[length];
int i9 = 0;
while (i9 < length) {
try {
Object[] objArr2 = new Object[i5];
objArr2[i3] = Integer.valueOf(cArr2[i9]);
Object obj = xzZ.y.get(1645349359);
if (obj != null) {
cArr = cArr2;
} else {
Class cls = (Class) xzZ.c(TextUtils.indexOf("", "") + 223, 5 - (ViewConfiguration.getLongPressTimeout() >> 16), (char) (TextUtils.indexOf("", "", i3) + 41977));
byte b = (byte) i3;
cArr = cArr2;
Object[] objArr3 = new Object[1];
az($$g[c], b, b, objArr3);
obj = cls.getMethod((String) objArr3[0], Integer.TYPE);
xzZ.y.put(1645349359, obj);
}
cArr3[i9] = ((Character) ((Method) obj).invoke(null, objArr2)).charValue();
i9++;
cArr2 = cArr;
c = 2;
i3 = 0;
i5 = 1;
} catch (Throwable th) {
Throwable cause = th.getCause();
if (cause == null) {
throw th;
}
throw cause;
}
}
cArr2 = cArr3;
}
char[] cArr4 = new char[i6];
System.arraycopy(cArr2, i4, cArr4, 0, i6);
if (bArr != null) {
char[] cArr5 = new char[i6];
tvh.c = 0;
char c2 = 0;
while (tvh.c < i6) {
int i10 = $10 + 53;
$11 = i10 % 128;
if (i10 % 2 != 0 ? bArr[tvh.c] != 1 : bArr[tvh.c] != 1) {
int i11 = tvh.c;
Object[] objArr4 = {Integer.valueOf(cArr4[tvh.c]), Integer.valueOf(c2)};
Object obj2 = xzZ.y.get(1084521042);
if (obj2 == null) {
obj2 = ((Class) xzZ.c((ViewConfiguration.getKeyRepeatTimeout() >> 16) + 15, 5 - (ViewConfiguration.getKeyRepeatTimeout() >> 16), (char) (58135 - (ViewConfiguration.getZoomControlsTimeout() > 0L ? 1 : (ViewConfiguration.getZoomControlsTimeout() == 0L ? 0 : -1))))).getMethod("H", Integer.TYPE, Integer.TYPE);
xzZ.y.put(1084521042, obj2);
}
cArr5[i11] = ((Character) ((Method) obj2).invoke(null, objArr4)).charValue();
int i12 = $11 + 125;
$10 = i12 % 128;
int i13 = i12 % 2;
} else {
int i14 = $10 + 63;
$11 = i14 % 128;
if (i14 % 2 == 0) {
int i15 = tvh.c;
Object[] objArr5 = {Integer.valueOf(cArr4[tvh.c]), Integer.valueOf(c2)};
Object obj3 = xzZ.y.get(850398076);
if (obj3 == null) {
obj3 = ((Class) xzZ.c(502 - Drawable.resolveOpacity(0, 0), (ViewConfiguration.getKeyRepeatTimeout() >> 16) + 5, (char) ((Process.getElapsedCpuTime() > 0L ? 1 : (Process.getElapsedCpuTime() == 0L ? 0 : -1)) + 53))).getMethod("F", Integer.TYPE, Integer.TYPE);
xzZ.y.put(850398076, obj3);
}
cArr5[i15] = ((Character) ((Method) obj3).invoke(null, objArr5)).charValue();
throw null;
}
int i16 = tvh.c;
Object[] objArr6 = {Integer.valueOf(cArr4[tvh.c]), Integer.valueOf(c2)};
Object obj4 = xzZ.y.get(850398076);
if (obj4 == null) {
obj4 = ((Class) xzZ.c(501 - ExpandableListView.getPackedPositionChild(0L), 6 - (ViewConfiguration.getScrollFriction() > BitmapDescriptorFactory.HUE_RED ? 1 : (ViewConfiguration.getScrollFriction() == BitmapDescriptorFactory.HUE_RED ? 0 : -1)), (char) ((ViewConfiguration.getKeyRepeatTimeout() >> 16) + 54))).getMethod("F", Integer.TYPE, Integer.TYPE);
xzZ.y.put(850398076, obj4);
}
cArr5[i16] = ((Character) ((Method) obj4).invoke(null, objArr6)).charValue();
}
c2 = cArr5[tvh.c];
Object[] objArr7 = {tvh, tvh};
Object obj5 = xzZ.y.get(1698744941);
if (obj5 == null) {
Class cls2 = (Class) xzZ.c((ViewConfiguration.getLongPressTimeout() >> 16) + 402, TextUtils.lastIndexOf("", '0', 0, 0) + 6, (char) (21608 - (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))));
byte b2 = (byte) 0;
Object[] objArr8 = new Object[1];
az((byte) 33, b2, b2, objArr8);
obj5 = cls2.getMethod((String) objArr8[0], Object.class, Object.class);
xzZ.y.put(1698744941, obj5);
}
((Method) obj5).invoke(null, objArr7);
}
cArr4 = cArr5;
}
if (i8 > 0) {
char[] cArr6 = new char[i6];
i = 0;
System.arraycopy(cArr4, 0, cArr6, 0, i6);
int i17 = i6 - i8;
System.arraycopy(cArr6, 0, cArr4, i17, i8);
System.arraycopy(cArr6, i8, cArr4, 0, i17);
} else {
i = 0;
}
if (z) {
char[] cArr7 = new char[i6];
tvh.c = i;
int i18 = $10 + 125;
$11 = i18 % 128;
int i19 = i18 % 2;
while (tvh.c < i6) {
cArr7[tvh.c] = cArr4[(i6 - tvh.c) - 1];
tvh.c++;
}
cArr4 = cArr7;
}
if (i7 > 0) {
int i20 = 0;
while (true) {
tvh.c = i20;
if (tvh.c >= i6) {
break;
}
cArr4[tvh.c] = (char) (cArr4[tvh.c] - iArr[2]);
i20 = tvh.c + 1;
}
}
objArr[0] = new String(cArr4);
}
@Override // com.scb.phone.view.activity.BaseActivity, com.scb.phone.view.activity.PreLoadCheckActivity, com.akexorcist.localizationactivity.LocalizationActivity, androidx.appcompat.app.AppCompatActivity, androidx.fragment.app.FragmentActivity, androidx.activity.ComponentActivity, androidx.core.app.ComponentActivity, android.app.Activity
public void onPause() {
int i = 2 % 2;
int i2 = t + 103;
p = i2 % 128;
int i3 = i2 % 2;
Context baseContext = getBaseContext();
if (baseContext == null) {
int i4 = t + 65;
p = i4 % 128;
int i5 = i4 % 2;
Object[] objArr = new Object[1];
ay(Color.argb(0, 0, 0, 0) + 5, ((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getPackageName().length() + 13, (char) (((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getPackageName().codePointAt(11) + 39758), objArr);
Class<?> cls = Class.forName((String) objArr[0]);
Object[] objArr2 = new Object[1];
ay(((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getResources().getString(R.string.registration_success_cc_activation_completed).substring(17, 18).length() + 30, (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().getPackageName().codePointAt(0) + 64794), objArr2);
baseContext = (Context) cls.getMethod((String) objArr2[0], new Class[0]).invoke(null, null);
int i6 = t + 59;
p = i6 % 128;
if (i6 % 2 == 0) {
int i7 = 2 / 2;
}
}
if (baseContext != null) {
baseContext = baseContext.getApplicationContext();
int i8 = t + 33;
p = i8 % 128;
int i9 = i8 % 2;
}
if (baseContext != null) {
try {
Object obj = xzZ.y.get(125943855);
if (obj == null) {
obj = ((Class) xzZ.c(492 - (KeyEvent.getMaxKeyCode() >> 16), 4 - ExpandableListView.getPackedPositionChild(0L), (char) TextUtils.indexOf("", ""))).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 - View.resolveSizeAndState(0, 0, 0), 5 - (Process.myPid() >> 22), (char) (ViewConfiguration.getLongPressTimeout() >> 16))).getMethod("c", Context.class);
xzZ.y.put(1633456013, obj2);
}
((Method) obj2).invoke(invoke, objArr3);
} catch (Throwable th) {
Throwable cause = th.getCause();
if (cause == null) {
throw th;
}
throw cause;
}
}
super.onPause();
}
@Override // com.scb.phone.view.activity.BaseActivity, com.scb.phone.view.activity.PreLoadCheckActivity, com.akexorcist.localizationactivity.LocalizationActivity, androidx.appcompat.app.AppCompatActivity, androidx.fragment.app.FragmentActivity, androidx.activity.ComponentActivity, androidx.core.app.ComponentActivity, android.app.Activity, android.view.ContextThemeWrapper, android.content.ContextWrapper
public void attachBaseContext(Context context) {
Context context2;
int i = 2 % 2;
int i2 = p + 47;
t = i2 % 128;
int i3 = i2 % 2;
super.attachBaseContext(context);
Object[] objArr = new Object[1];
ax(new int[]{0, 18, 0, 0}, false, new byte[]{1, 1, 0, 0, 1, 0, 1, 0, 1, 0, 1, 0, 0, 1, 0, 0, 0, 0}, objArr);
Class<?> cls = Class.forName((String) objArr[0]);
Object[] objArr2 = new Object[1];
ay(Color.blue(0), 5 - (ViewConfiguration.getScrollDefaultDelay() >> 16), (char) ((ViewConfiguration.getWindowTouchSlop() >> 8) + 41299), 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 i4 = p + 59;
t = i4 % 128;
if (i4 % 2 != 0) {
int i5 = 5 / 2;
}
} else {
context2 = context;
}
if (context2 != null) {
int i6 = t + 45;
p = i6 % 128;
int i7 = i6 % 2;
try {
Object obj = xzZ.y.get(125943855);
if (obj == null) {
obj = ((Class) xzZ.c(492 - Color.red(0), (ViewConfiguration.getTouchSlop() >> 8) + 5, (char) (TypedValue.complexToFraction(0, BitmapDescriptorFactory.HUE_RED, BitmapDescriptorFactory.HUE_RED) > BitmapDescriptorFactory.HUE_RED ? 1 : (TypedValue.complexToFraction(0, BitmapDescriptorFactory.HUE_RED, BitmapDescriptorFactory.HUE_RED) == BitmapDescriptorFactory.HUE_RED ? 0 : -1)))).getMethod("a", null);
xzZ.y.put(125943855, obj);
}
Object invoke = ((Method) obj).invoke(null, null);
Object[] objArr3 = new Object[1];
ay(49 - ExpandableListView.getPackedPositionType(0L), (ViewConfiguration.getLongPressTimeout() >> 16) + 48, (char) (1 - (SystemClock.elapsedRealtime() > 0L ? 1 : (SystemClock.elapsedRealtime() == 0L ? 0 : -1))), objArr3);
String str = (String) objArr3[0];
Object[] objArr4 = new Object[1];
ax(new int[]{18, 64, 0, 0}, false, new byte[]{1, 1, 0, 1, 1, 0, 0, 1, 0, 0, 1, 0, 0, 0, 1, 0, 1, 0, 1, 1, 1, 1, 1, 1, 1, 1, 0, 1, 1, 1, 1, 0, 1, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1, 1, 1, 0, 1, 0, 0, 0, 0, 1, 0, 1, 1, 1, 0, 1, 0, 1, 0, 0, 1, 0}, objArr4);
String str2 = (String) objArr4[0];
Object[] objArr5 = new Object[1];
ax(new int[]{82, 64, 104, 44}, true, new byte[]{1, 0, 1, 1, 0, 0, 1, 1, 0, 0, 1, 0, 0, 1, 1, 0, 1, 1, 0, 1, 1, 1, 1, 1, 1, 0, 0, 1, 1, 0, 0, 0, 1, 0, 0, 1, 1, 0, 0, 0, 0, 1, 0, 1, 0, 0, 1, 1, 0, 1, 1, 1, 0, 0, 1, 1, 0, 0, 1, 1, 1, 1, 1, 1}, objArr5);
String str3 = (String) objArr5[0];
Object[] objArr6 = new Object[1];
ax(new int[]{CipherSuite.TLS_RSA_PSK_WITH_RC4_128_SHA, 74, CipherSuite.TLS_DH_anon_WITH_AES_256_GCM_SHA384, 69}, false, new byte[]{1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 1, 1, 0, 0, 1, 0, 1, 1, 1, 1, 0, 0, 0, 1, 0, 1, 1, 0, 0, 1, 0, 1, 0, 0, 1, 0, 1, 0, 0, 0, 1, 1, 1, 1, 0, 0, 0, 0, 1, 1, 0, 0, 1, 1, 0, 0, 1, 1, 1, 0, 1, 0, 1, 1, 1, 0, 1, 1, 0, 0, 0, 1}, objArr6);
String str4 = (String) objArr6[0];
Object[] objArr7 = new Object[1];
ax(new int[]{220, 5, 0, 5}, true, new byte[]{0, 0, 0, 0, 1}, objArr7);
String str5 = (String) objArr7[0];
Object[] objArr8 = new Object[1];
ay(View.MeasureSpec.getMode(0) + 97, 36 - ((Process.getThreadPriority(0) + 20) >> 6), (char) (TextUtils.indexOf((CharSequence) "", '0', 0) + 1), 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((ViewConfiguration.getZoomControlsTimeout() > 0L ? 1 : (ViewConfiguration.getZoomControlsTimeout() == 0L ? 0 : -1)) + 486, 5 - Color.blue(0), (char) (ViewConfiguration.getEdgeSlop() >> 16))).getMethod("e", Context.class, String.class, String.class, String.class, String.class, Boolean.TYPE, String.class, String.class);
xzZ.y.put(1656189573, obj2);
}
((Method) obj2).invoke(invoke, objArr9);
} catch (Throwable th) {
Throwable cause = th.getCause();
if (cause == null) {
throw th;
}
throw cause;
}
}
}
}
@Override // com.scb.phone.view.activity.BaseActivity, com.scb.phone.view.activity.PreLoadCheckActivity, com.akexorcist.localizationactivity.LocalizationActivity, androidx.appcompat.app.AppCompatActivity, androidx.fragment.app.FragmentActivity, androidx.activity.ComponentActivity, androidx.core.app.ComponentActivity, android.app.Activity
public void onStart() {
int i = 2 % 2;
int i2 = p + 41;
t = i2 % 128;
int i3 = i2 % 2;
super.onStart();
if (i3 != 0) {
Object obj = null;
obj.hashCode();
throw null;
}
int i4 = t + 115;
p = i4 % 128;
int i5 = i4 % 2;
}
}