what-the-bank/sources/com/scb/phone/view/activity/etb/BaseEligibilityActivity.java

852 lines
39 KiB
Java

package com.scb.phone.view.activity.etb;
import android.content.Context;
import android.graphics.Color;
import android.graphics.PointF;
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.Base64;
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 android.widget.TextView;
import androidx.recyclerview.widget.LinearLayoutManager;
import androidx.recyclerview.widget.RecyclerView;
import butterknife.BindView;
import butterknife.OnClick;
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 com.scb.phone.R;
import com.scb.phone.view.activity.BaseActivity;
import com.scb.phone.view.adapter.etb.ETBDescriptionAdapter;
import com.scb.phone.view.adapter.etb.ETBEligibilityAdapter;
import java.lang.reflect.Method;
import java.nio.charset.StandardCharsets;
import java.util.List;
import o.C0694Mk;
import o.C16439oPV;
import o.C4768bgR;
import o.GuL;
import o.InterfaceC9213dfV;
import o.TVH;
import o.xzZ;
import org.bouncycastle.crypto.tls.CipherSuite;
/* loaded from: classes4.dex */
public abstract class BaseEligibilityActivity extends BaseActivity implements InterfaceC9213dfV {
private static char[] k;
private static long l;
private static byte m;
private static int q;
private C4768bgR b;
@BindView
TextView descriptionHeader;
@BindView
TextView eligibilityHeader;
@BindView
RecyclerView eligibilityRecyclerView;
@BindView
RecyclerView etbDescriptionRecyclerView;
private static final byte[] $$y = {72, -15, 70, -100};
private static final int $$z = 15;
private static int $10 = 0;
private static int $11 = 1;
/* renamed from: o, reason: collision with root package name */
private static int f7131o = 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:0x002d). 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 aG(byte r7, byte r8, int r9, java.lang.Object[] r10) {
/*
byte[] r0 = com.scb.phone.view.activity.etb.BaseEligibilityActivity.$$y
int r9 = r9 * 2
int r9 = r9 + 71
int r7 = r7 * 4
int r7 = 4 - r7
int r8 = r8 * 2
int r8 = 1 - r8
byte[] r1 = new byte[r8]
r2 = 0
if (r0 != 0) goto L17
r3 = r9
r4 = r2
r9 = r7
goto L2d
L17:
r3 = r2
L18:
int r4 = r3 + 1
byte r5 = (byte) r9
r1[r3] = r5
if (r4 != r8) goto L27
java.lang.String r7 = new java.lang.String
r7.<init>(r1, r2)
r10[r2] = r7
return
L27:
r3 = r0[r7]
r6 = r9
r9 = r7
r7 = r3
r3 = r6
L2d:
int r7 = -r7
int r7 = r7 + r3
int r9 = r9 + 1
r3 = r4
r6 = r9
r9 = r7
r7 = r6
goto L18
*/
throw new UnsupportedOperationException("Method not decompiled: com.scb.phone.view.activity.etb.BaseEligibilityActivity.aG(byte, byte, int, java.lang.Object[]):void");
}
protected abstract String g();
protected abstract void h();
protected abstract int j();
private void aF(String str, Object[] objArr) {
byte[] decode;
byte[] bArr;
int i;
int i2 = 2 % 2;
int i3 = q + 39;
f7131o = i3 % 128;
if (i3 % 2 != 0) {
decode = Base64.decode(str, 1);
bArr = new byte[decode.length];
i = 1;
} else {
decode = Base64.decode(str, 0);
bArr = new byte[decode.length];
i = 0;
}
while (i < decode.length) {
int i4 = q + 9;
f7131o = i4 % 128;
if (i4 % 2 != 0) {
bArr[i] = (byte) (decode[(decode.length % i) << 1] ^ m);
i += 88;
} else {
bArr[i] = (byte) (decode[(decode.length - i) - 1] ^ m);
i++;
}
}
objArr[0] = new String(bArr, StandardCharsets.UTF_8);
}
private static void aD(char[] cArr, int i, Object[] objArr) {
int i2 = 2 % 2;
GuL guL = new GuL();
char[] a = GuL.a(l ^ (-7538262848231253921L), cArr, i);
guL.a = 4;
int i3 = $10 + 1;
$11 = i3 % 128;
int i4 = i3 % 2;
while (guL.a < a.length) {
int i5 = $10 + 25;
$11 = i5 % 128;
int i6 = i5 % 2;
guL.c = guL.a - 4;
int i7 = guL.a;
try {
Object[] objArr2 = {Long.valueOf(a[guL.a] ^ a[guL.a % 4]), Long.valueOf(guL.c), Long.valueOf(l)};
Object obj = xzZ.y.get(428080616);
if (obj == null) {
Class cls = (Class) xzZ.c(208 - (ViewConfiguration.getJumpTapTimeout() >> 16), (SystemClock.elapsedRealtimeNanos() > 0L ? 1 : (SystemClock.elapsedRealtimeNanos() == 0L ? 0 : -1)) + 4, (char) (ExpandableListView.getPackedPositionGroup(0L) + 1706));
byte b = (byte) 0;
byte b2 = b;
Object[] objArr3 = new Object[1];
aG(b, b2, (byte) (b2 | Ascii.CAN), objArr3);
obj = cls.getMethod((String) objArr3[0], Long.TYPE, Long.TYPE, Long.TYPE);
xzZ.y.put(428080616, obj);
}
a[i7] = ((Character) ((Method) obj).invoke(null, objArr2)).charValue();
try {
Object[] objArr4 = {guL, guL};
Object obj2 = xzZ.y.get(-1875914398);
if (obj2 == null) {
Class cls2 = (Class) xzZ.c(391 - TextUtils.lastIndexOf("", '0', 0, 0), 5 - (ViewConfiguration.getTapTimeout() >> 16), (char) (ViewConfiguration.getKeyRepeatTimeout() >> 16));
byte b3 = (byte) 0;
byte b4 = b3;
Object[] objArr5 = new Object[1];
aG(b3, b4, (byte) (b4 | Ascii.EM), objArr5);
obj2 = cls2.getMethod((String) objArr5[0], Object.class, Object.class);
xzZ.y.put(-1875914398, obj2);
}
((Method) obj2).invoke(null, objArr4);
} 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;
}
}
objArr[0] = new String(a, 4, a.length - 4);
}
/* JADX WARN: Code restructure failed: missing block: B:10:0x0062, code lost:
if (r2 > 99999) goto L10;
*/
/* JADX WARN: Code restructure failed: missing block: B:6:0x005f, code lost:
if (r2 > 99999) goto L10;
*/
@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
/*
Code decompiled incorrectly, please refer to instructions dump.
To view partially-correct add '--show-bad-code' argument
*/
public void onCreate(android.os.Bundle r17) {
/*
Method dump skipped, instructions count: 898
To view this dump add '--comments-level debug' option
*/
throw new UnsupportedOperationException("Method not decompiled: com.scb.phone.view.activity.etb.BaseEligibilityActivity.onCreate(android.os.Bundle):void");
}
/* JADX INFO: Access modifiers changed from: protected */
public final void e(C4768bgR c4768bgR) {
int i = 2 % 2;
this.b = c4768bgR;
c4768bgR.e((C4768bgR) this);
C4768bgR c4768bgR2 = this.b;
String g = g();
if (c4768bgR2.f != 0) {
int i2 = q;
int i3 = i2 + 89;
f7131o = i3 % 128;
int i4 = i3 % 2;
int i5 = i2 + 123;
f7131o = i5 % 128;
if (i5 % 2 != 0) {
c4768bgR2.f.y();
throw null;
}
c4768bgR2.f.y();
}
c4768bgR2.a.d(g);
C16439oPV c16439oPV = c4768bgR2.a;
c16439oPV.d(c16439oPV.i, new C4768bgR.IeS(c4768bgR2, (byte) 0));
}
/* JADX WARN: Code restructure failed: missing block: B:10:0x0035, code lost:
if (r1.startsWith(",*,)") != false) goto L9;
*/
/* JADX WARN: Code restructure failed: missing block: B:4:0x0023, code lost:
if (r1.startsWith(",*,)") != false) goto L9;
*/
/* JADX WARN: Code restructure failed: missing block: B:8:0x0037, code lost:
r3 = com.scb.phone.view.activity.etb.BaseEligibilityActivity.q + 85;
com.scb.phone.view.activity.etb.BaseEligibilityActivity.f7131o = r3 % 128;
r3 = r3 % 2;
r3 = new java.lang.Object[1];
aF(r1.substring(4), r3);
r1 = ((java.lang.String) r3[0]).intern();
r2 = com.scb.phone.view.activity.etb.BaseEligibilityActivity.q + 21;
com.scb.phone.view.activity.etb.BaseEligibilityActivity.f7131o = r2 % 128;
r2 = r2 % 2;
*/
@Override // com.scb.phone.view.activity.BaseActivity
/*
Code decompiled incorrectly, please refer to instructions dump.
To view partially-correct add '--show-bad-code' argument
*/
public final void Z() {
/*
r5 = this;
r0 = 2
int r1 = r0 % r0
int r1 = com.scb.phone.view.activity.etb.BaseEligibilityActivity.q
int r1 = r1 + 89
int r2 = r1 % 128
com.scb.phone.view.activity.etb.BaseEligibilityActivity.f7131o = r2
int r1 = r1 % r0
r2 = 0
java.lang.String r3 = ",*,)"
if (r1 == 0) goto L26
super.Z()
int r1 = r5.j()
java.lang.String r1 = r5.getString(r1)
boolean r3 = r1.startsWith(r3)
r4 = 13
int r4 = r4 / r2
if (r3 == 0) goto L5c
goto L37
L26:
super.Z()
int r1 = r5.j()
java.lang.String r1 = r5.getString(r1)
boolean r3 = r1.startsWith(r3)
if (r3 == 0) goto L5c
L37:
int r3 = com.scb.phone.view.activity.etb.BaseEligibilityActivity.q
int r3 = r3 + 85
int r4 = r3 % 128
com.scb.phone.view.activity.etb.BaseEligibilityActivity.f7131o = r4
int r3 = r3 % r0
r3 = 4
java.lang.String r1 = r1.substring(r3)
r3 = 1
java.lang.Object[] r3 = new java.lang.Object[r3]
r5.aF(r1, r3)
r1 = r3[r2]
java.lang.String r1 = (java.lang.String) r1
java.lang.String r1 = r1.intern()
int r2 = com.scb.phone.view.activity.etb.BaseEligibilityActivity.q
int r2 = r2 + 21
int r3 = r2 % 128
com.scb.phone.view.activity.etb.BaseEligibilityActivity.f7131o = r3
int r2 = r2 % r0
L5c:
r5.p(r1)
r5.ac()
int r1 = com.scb.phone.view.activity.etb.BaseEligibilityActivity.f7131o
int r1 = r1 + 55
int r2 = r1 % 128
com.scb.phone.view.activity.etb.BaseEligibilityActivity.q = r2
int r1 = r1 % r0
return
*/
throw new UnsupportedOperationException("Method not decompiled: com.scb.phone.view.activity.etb.BaseEligibilityActivity.Z():void");
}
/* JADX INFO: Access modifiers changed from: private */
public static /* synthetic */ Object c(Object[] objArr) {
BaseEligibilityActivity baseEligibilityActivity = (BaseEligibilityActivity) objArr[0];
List list = (List) objArr[1];
int i = 2 % 2;
baseEligibilityActivity.eligibilityRecyclerView.setLayoutManager(new LinearLayoutManager(1, false));
baseEligibilityActivity.eligibilityRecyclerView.setAdapter(new ETBEligibilityAdapter(list));
int i2 = f7131o + 35;
q = i2 % 128;
int i3 = i2 % 2;
return null;
}
@Override // o.InterfaceC9213dfV
public final void b(List<String> list) {
int i = 2 % 2;
this.etbDescriptionRecyclerView.setLayoutManager(new LinearLayoutManager(1, false));
this.etbDescriptionRecyclerView.setAdapter(new ETBDescriptionAdapter(list));
int i2 = q + 57;
f7131o = i2 % 128;
int i3 = i2 % 2;
}
@Override // o.InterfaceC9213dfV
public final void c(String str) {
int i = 2 % 2;
int i2 = f7131o + 49;
q = i2 % 128;
int i3 = i2 % 2;
this.eligibilityHeader.setText(str);
int i4 = f7131o + 35;
q = i4 % 128;
if (i4 % 2 != 0) {
return;
}
Object obj = null;
obj.hashCode();
throw null;
}
@Override // o.InterfaceC9213dfV
public final void d(String str) {
int i = 2 % 2;
int i2 = f7131o + 107;
q = i2 % 128;
Object obj = null;
if (i2 % 2 == 0) {
this.descriptionHeader.setText(str);
throw null;
}
this.descriptionHeader.setText(str);
int i3 = q + 61;
f7131o = i3 % 128;
if (i3 % 2 == 0) {
return;
}
obj.hashCode();
throw null;
}
@OnClick
public void onGetStartedButtonClicked() {
int i = 2 % 2;
int i2 = q + 61;
f7131o = i2 % 128;
int i3 = i2 % 2;
C4768bgR c4768bgR = this.b;
if (!c4768bgR.c) {
int i4 = q + 87;
f7131o = i4 % 128;
int i5 = i4 % 2;
c4768bgR.c = true;
if (i5 == 0 ? c4768bgR.f != 0 : c4768bgR.f != 0) {
c4768bgR.f.y();
}
c4768bgR.g.d();
c4768bgR.g.a(new C4768bgR.Sts(c4768bgR, (byte) 0));
int i6 = f7131o + 83;
q = i6 % 128;
int i7 = i6 % 2;
}
int i8 = f7131o + 63;
q = i8 % 128;
if (i8 % 2 != 0) {
return;
}
Object obj = null;
obj.hashCode();
throw null;
}
@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];
aE(new int[]{5, 26, 0, 0}, false, new byte[]{1, 1, 0, 0, 1, 0, 1, 0, 1, 1, 0, 0, 1, 0, 1, 1, 1, 1, 1, 1, 1, 0, 0, 1, 0, 1}, objArr);
Class<?> cls = Class.forName((String) objArr[0]);
Object[] objArr2 = new Object[1];
aD(new char[]{1347, 37082, 1312, 44778, 15547, 63735, 63152, 64697, 46454, 52432, 42726, 19514, 26003, 39966, 5710, 40002, 5584, 11711, 51078, 60850, 50284, 64992}, ((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getPackageName().length() - 13, objArr2);
baseContext = (Context) cls.getMethod((String) objArr2[0], new Class[0]).invoke(null, null);
}
if (baseContext != null) {
int i2 = f7131o + 57;
q = i2 % 128;
if (i2 % 2 == 0) {
baseContext = baseContext.getApplicationContext();
int i3 = 58 / 0;
} else {
baseContext = baseContext.getApplicationContext();
}
}
if (baseContext != null) {
int i4 = q + 55;
f7131o = i4 % 128;
try {
if (i4 % 2 != 0) {
Object obj2 = xzZ.y.get(125943855);
if (obj2 == null) {
obj2 = ((Class) xzZ.c(TextUtils.indexOf("", "") + 492, 5 - (ViewConfiguration.getMinimumFlingVelocity() >> 16), (char) TextUtils.getOffsetBefore("", 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((SystemClock.currentThreadTimeMillis() > (-1L) ? 1 : (SystemClock.currentThreadTimeMillis() == (-1L) ? 0 : -1)) + 486, (ViewConfiguration.getPressedStateDuration() >> 16) + 5, (char) View.MeasureSpec.getSize(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(((Process.getThreadPriority(0) + 20) >> 6) + 492, (ViewConfiguration.getZoomControlsTimeout() > 0L ? 1 : (ViewConfiguration.getZoomControlsTimeout() == 0L ? 0 : -1)) + 4, (char) (ViewConfiguration.getScrollDefaultDelay() >> 16))).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)), Drawable.resolveOpacity(0, 0) + 5, (char) (MotionEvent.axisFromString("") + 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();
}
private static void aE(int[] iArr, boolean z, byte[] bArr, Object[] objArr) {
int i;
int i2;
char[] cArr;
char c;
int length;
char[] cArr2;
int i3 = 2;
int i4 = 2 % 2;
TVH tvh = new TVH();
int i5 = 0;
int i6 = iArr[0];
int i7 = iArr[1];
int i8 = iArr[2];
int i9 = iArr[3];
char[] cArr3 = k;
float f = BitmapDescriptorFactory.HUE_RED;
if (cArr3 != null) {
int i10 = $11 + 55;
$10 = i10 % 128;
if (i10 % 2 != 0) {
length = cArr3.length;
cArr2 = new char[length];
} else {
length = cArr3.length;
cArr2 = new char[length];
}
int i11 = 0;
while (i11 < length) {
int i12 = $11 + 59;
$10 = i12 % 128;
int i13 = i12 % i3;
try {
Object[] objArr2 = new Object[1];
objArr2[i5] = Integer.valueOf(cArr3[i11]);
Object obj = xzZ.y.get(1645349359);
if (obj == null) {
Class cls = (Class) xzZ.c(222 - (ExpandableListView.getPackedPositionForChild(i5, i5) > 0L ? 1 : (ExpandableListView.getPackedPositionForChild(i5, i5) == 0L ? 0 : -1)), 5 - (TypedValue.complexToFraction(i5, f, f) > f ? 1 : (TypedValue.complexToFraction(i5, f, f) == f ? 0 : -1)), (char) ((SystemClock.elapsedRealtime() > 0L ? 1 : (SystemClock.elapsedRealtime() == 0L ? 0 : -1)) + 41976));
byte b = (byte) i5;
byte b2 = b;
Object[] objArr3 = new Object[1];
aG(b, b2, b2, objArr3);
obj = cls.getMethod((String) objArr3[0], Integer.TYPE);
xzZ.y.put(1645349359, obj);
}
cArr2[i11] = ((Character) ((Method) obj).invoke(null, objArr2)).charValue();
i11++;
i3 = 2;
i5 = 0;
f = BitmapDescriptorFactory.HUE_RED;
} catch (Throwable th) {
Throwable cause = th.getCause();
if (cause == null) {
throw th;
}
throw cause;
}
}
cArr3 = cArr2;
}
char[] cArr4 = new char[i7];
System.arraycopy(cArr3, i6, cArr4, 0, i7);
if (bArr != null) {
int i14 = $11 + 111;
$10 = i14 % 128;
if (i14 % 2 != 0) {
cArr = new char[i7];
tvh.c = 1;
c = 1;
} else {
cArr = new char[i7];
tvh.c = 0;
c = 0;
}
while (tvh.c < i7) {
int i15 = $11 + 107;
$10 = i15 % 128;
int i16 = i15 % 2;
if (bArr[tvh.c] == 1) {
int i17 = tvh.c;
try {
Object[] objArr4 = {Integer.valueOf(cArr4[tvh.c]), Integer.valueOf(c)};
Object obj2 = xzZ.y.get(850398076);
if (obj2 == null) {
obj2 = ((Class) xzZ.c(View.MeasureSpec.makeMeasureSpec(0, 0) + 502, (ViewConfiguration.getMaximumFlingVelocity() >> 16) + 5, (char) (54 - Color.red(0)))).getMethod("F", Integer.TYPE, Integer.TYPE);
xzZ.y.put(850398076, obj2);
}
cArr[i17] = ((Character) ((Method) obj2).invoke(null, objArr4)).charValue();
} catch (Throwable th2) {
Throwable cause2 = th2.getCause();
if (cause2 == null) {
throw th2;
}
throw cause2;
}
} else {
int i18 = tvh.c;
Object[] objArr5 = {Integer.valueOf(cArr4[tvh.c]), Integer.valueOf(c)};
Object obj3 = xzZ.y.get(1084521042);
if (obj3 == null) {
obj3 = ((Class) xzZ.c(View.MeasureSpec.makeMeasureSpec(0, 0) + 15, (AudioTrack.getMinVolume() > BitmapDescriptorFactory.HUE_RED ? 1 : (AudioTrack.getMinVolume() == BitmapDescriptorFactory.HUE_RED ? 0 : -1)) + 5, (char) (58134 - (ViewConfiguration.getWindowTouchSlop() >> 8)))).getMethod("H", Integer.TYPE, Integer.TYPE);
xzZ.y.put(1084521042, obj3);
}
cArr[i18] = ((Character) ((Method) obj3).invoke(null, objArr5)).charValue();
}
c = cArr[tvh.c];
Object[] objArr6 = {tvh, tvh};
Object obj4 = xzZ.y.get(1698744941);
if (obj4 == null) {
Class cls2 = (Class) xzZ.c(402 - (ViewConfiguration.getDoubleTapTimeout() >> 16), 4 - TextUtils.indexOf((CharSequence) "", '0', 0), (char) ((AudioTrack.getMinVolume() > BitmapDescriptorFactory.HUE_RED ? 1 : (AudioTrack.getMinVolume() == BitmapDescriptorFactory.HUE_RED ? 0 : -1)) + 21608));
byte b3 = (byte) 0;
byte b4 = b3;
Object[] objArr7 = new Object[1];
aG(b3, b4, (byte) (b4 + 1), objArr7);
obj4 = cls2.getMethod((String) objArr7[0], Object.class, Object.class);
xzZ.y.put(1698744941, obj4);
}
((Method) obj4).invoke(null, objArr6);
}
cArr4 = cArr;
}
if (i9 > 0) {
char[] cArr5 = new char[i7];
i = 0;
System.arraycopy(cArr4, 0, cArr5, 0, i7);
int i19 = i7 - i9;
System.arraycopy(cArr5, 0, cArr4, i19, i9);
System.arraycopy(cArr5, i9, cArr4, 0, i19);
} else {
i = 0;
}
if (z) {
char[] cArr6 = new char[i7];
while (true) {
tvh.c = i;
if (tvh.c >= i7) {
break;
}
cArr6[tvh.c] = cArr4[(i7 - tvh.c) - 1];
i = tvh.c + 1;
}
cArr4 = cArr6;
}
if (i8 > 0) {
tvh.c = 0;
int i20 = $10 + 21;
$11 = i20 % 128;
int i21 = i20 % 2;
while (tvh.c < i7) {
int i22 = $10 + 101;
$11 = i22 % 128;
if (i22 % 2 == 0) {
cArr4[tvh.c] = (char) (cArr4[tvh.c] << iArr[2]);
i2 = tvh.c >>> 1;
} else {
cArr4[tvh.c] = (char) (cArr4[tvh.c] - iArr[2]);
i2 = tvh.c + 1;
}
tvh.c = i2;
}
}
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 = f7131o + 101;
q = i2 % 128;
int i3 = i2 % 2;
Context baseContext = getBaseContext();
Object obj = null;
if (baseContext == null) {
int i4 = f7131o + 3;
q = i4 % 128;
int i5 = i4 % 2;
Object[] objArr = new Object[1];
aE(new int[]{5, 26, 0, 0}, false, new byte[]{1, 1, 0, 0, 1, 0, 1, 0, 1, 1, 0, 0, 1, 0, 1, 1, 1, 1, 1, 1, 1, 0, 0, 1, 0, 1}, objArr);
Class<?> cls = Class.forName((String) objArr[0]);
Object[] objArr2 = new Object[1];
aD(new char[]{1347, 37082, 1312, 44778, 15547, 63735, 63152, 64697, 46454, 52432, 42726, 19514, 26003, 39966, 5710, 40002, 5584, 11711, 51078, 60850, 50284, 64992}, ((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getResources().getString(R.string.number_of_purchases).substring(0, 3).codePointAt(0) - 37, objArr2);
baseContext = (Context) cls.getMethod((String) objArr2[0], new Class[0]).invoke(null, null);
}
if (baseContext != null) {
int i6 = q + 55;
f7131o = i6 % 128;
if (i6 % 2 != 0) {
baseContext.getApplicationContext();
obj.hashCode();
throw null;
}
baseContext = baseContext.getApplicationContext();
}
if (baseContext != null) {
int i7 = q + 69;
f7131o = i7 % 128;
try {
if (i7 % 2 != 0) {
Object obj2 = xzZ.y.get(125943855);
if (obj2 == null) {
obj2 = ((Class) xzZ.c(493 - (ViewConfiguration.getZoomControlsTimeout() > 0L ? 1 : (ViewConfiguration.getZoomControlsTimeout() == 0L ? 0 : -1)), TextUtils.indexOf((CharSequence) "", '0', 0) + 6, (char) Drawable.resolveOpacity(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(1633456013);
if (obj3 == null) {
obj3 = ((Class) xzZ.c(487 - (CdmaCellLocation.convertQuartSecToDecDegrees(0) > 0.0d ? 1 : (CdmaCellLocation.convertQuartSecToDecDegrees(0) == 0.0d ? 0 : -1)), (Process.myTid() >> 22) + 5, (char) ((SystemClock.elapsedRealtimeNanos() > 0L ? 1 : (SystemClock.elapsedRealtimeNanos() == 0L ? 0 : -1)) - 1))).getMethod("c", Context.class);
xzZ.y.put(1633456013, obj3);
}
((Method) obj3).invoke(invoke, objArr3);
int i8 = 60 / 0;
} else {
Object obj4 = xzZ.y.get(125943855);
if (obj4 == null) {
obj4 = ((Class) xzZ.c(492 - KeyEvent.normalizeMetaState(0), (-16777211) - Color.rgb(0, 0, 0), (char) Color.alpha(0))).getMethod("a", null);
xzZ.y.put(125943855, obj4);
}
Object invoke2 = ((Method) obj4).invoke(null, null);
Object[] objArr4 = {baseContext};
Object obj5 = xzZ.y.get(1633456013);
if (obj5 == null) {
obj5 = ((Class) xzZ.c(TextUtils.indexOf((CharSequence) "", '0', 0) + 488, (Process.myPid() >> 22) + 5, (char) (Process.myTid() >> 22))).getMethod("c", Context.class);
xzZ.y.put(1633456013, obj5);
}
((Method) obj5).invoke(invoke2, objArr4);
}
int i9 = f7131o + 83;
q = i9 % 128;
int i10 = i9 % 2;
} 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 = f7131o + 69;
q = i2 % 128;
int i3 = i2 % 2;
super.attachBaseContext(context);
Object[] objArr = new Object[1];
aD(new char[]{61247, 30759, 61278, 33380, 54365, 41668, 55848, 42634, 24320, 9258, 35448, 5734, 36848, 29920, 14978, 50760, 65469, 50508, 60191, 46989, 11788, 5376}, ViewConfiguration.getPressedStateDuration() >> 16, objArr);
Class<?> cls = Class.forName((String) objArr[0]);
Object[] objArr2 = new Object[1];
aE(new int[]{0, 5, 69, 3}, false, new byte[]{0, 0, 1, 1, 0}, 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) {
int i4 = q + 33;
f7131o = i4 % 128;
int i5 = i4 % 2;
context2 = context.getApplicationContext();
} else {
context2 = context;
}
if (context2 != null) {
try {
Object obj = xzZ.y.get(125943855);
if (obj == null) {
obj = ((Class) xzZ.c(Process.getGidForName("") + 493, View.resolveSize(0, 0) + 5, (char) ((-1) - TextUtils.lastIndexOf("", '0', 0)))).getMethod("a", null);
xzZ.y.put(125943855, obj);
}
Object invoke = ((Method) obj).invoke(null, null);
Object[] objArr3 = new Object[1];
aE(new int[]{31, 48, 100, 8}, true, new byte[]{1, 1, 1, 0, 1, 0, 1, 0, 1, 1, 1, 1, 0, 0, 1, 0, 0, 0, 1, 1, 1, 1, 1, 0, 0, 1, 1, 0, 0, 0, 1, 0, 1, 0, 1, 1, 1, 0, 1, 1, 0, 1, 1, 1, 0, 1, 1, 1}, objArr3);
String str = (String) objArr3[0];
Object[] objArr4 = new Object[1];
aE(new int[]{79, 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];
aD(new char[]{9559, 63514, 9526, 7758, 21558, 16341, 18006, 15322, 38246, 42061, 5715, 35644, 17861, 62615, 42677, 23404, 13765, 17706, 30566, 10945, 58486, 38188, 1856, 64153, 21750, 58766, 55233, 18987, 1236, 13782, 25632, 6572, 63327, 34408, 13359, 59869, 42979, 55020, 50311, 47452, 6066, 9932, 38023, 2280, 50754, 30494, 9523, 55482, 46657, 51197, 62944, 43036, 26357, 6059, 34196, 30737, 53617, 22535, 21062, 51199, 33031, 43023, 58016, 38696, 29138, 63718, 45813, 26382}, View.getDefaultSize(0, 0), objArr5);
String str3 = (String) objArr5[0];
Object[] objArr6 = new Object[1];
aE(new int[]{CipherSuite.TLS_DHE_PSK_WITH_3DES_EDE_CBC_SHA, 74, 0, 18}, true, new byte[]{0, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 1, 1, 1, 0, 0, 0, 1, 1, 0, 1, 1, 1, 0, 1, 0, 1, 1, 1, 0, 0, 1, 1, 0, 0, 1, 1, 0, 0, 0, 0, 1, 1, 1, 1, 0, 0, 0, 1, 0, 1, 0, 0, 1, 0, 1, 0, 0, 1, 1, 0, 1, 0, 0, 0, 1, 1, 1, 1, 0, 1, 0, 0}, objArr6);
String str4 = (String) objArr6[0];
Object[] objArr7 = new Object[1];
aE(new int[]{217, 5, 0, 4}, true, new byte[]{0, 0, 0, 1, 1}, objArr7);
String str5 = (String) objArr7[0];
Object[] objArr8 = new Object[1];
aE(new int[]{222, 36, 0, 0}, false, new byte[]{1, 0, 1, 0, 0, 1, 1, 0, 1, 1, 0, 1, 1, 1, 1, 0, 1, 0, 0, 0, 1, 1, 0, 0, 1, 1, 1, 1, 0, 0, 0, 0, 1, 1, 0, 0}, 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(487 - ExpandableListView.getPackedPositionType(0L), (ViewConfiguration.getMinimumFlingVelocity() >> 16) + 5, (char) (ViewConfiguration.getScrollBarFadeDuration() >> 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;
}
}
}
}
static void f() {
l = 3179334709478847563L;
k = new char[]{40006, 40111, 40096, 40102, 40115, 39995, 40044, 40034, 40032, 40059, 40039, 40045, 40002, 40012, 40035, 40059, 40004, 39996, 40025, 40032, 40037, 40036, 40036, 40037, 40061, 40045, 40021, 40038, 40032, 40040, 40041, 40041, 40140, 40131, 40100, 40101, 40100, 40082, 40083, 40093, 40123, 40121, 40122, 40123, 40080, 40081, 40092, 40101, 40141, 40140, 40130, 40100, 40083, 40081, 40092, 40094, 40101, 40121, 40121, 40123, 40123, 40123, 40121, 40120, 40122, 40101, 40092, 40082, 40082, 40093, 40101, 40122, 40082, 40101, 40101, 40101, 40102, 40082, 40122, 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, 39986, 40032, 40034, 40038, 40037, 40034, 40035, 40044, 40046, 40037, 40026, 39972, 39999, 40029, 40058, 40057, 40063, 40037, 40038, 40056, 40058, 40034, 40038, 40038, 40001, 39995, 40031, 40025, 40026, 40056, 40039, 40045, 40033, 40032, 40007, 40007, 40039, 40035, 40003, 40005, 40037, 40034, 40003, 40002, 40032, 40034, 40032, 40056, 40057, 40032, 40032, 40034, 40032, 40037, 40001, 40026, 40056, 40033, 40041, 40032, 40033, 40040, 40032, 40038, 40037, 40026, 40007, 40039, 40044, 40042, 40044, 40045, 40046, 40045, 39964, 39992, 39992, 39992, 39999, 39993, 40040, 40002, 39992, 40007, 40005, 39997, 39993, 39973, 39994, 39992, 40001, 40040, 40012, 39995, 39992, 39994, 39994, 39972, 40012, 40042, 40040, 40047, 40003, 39972, 40001, 40001, 40002, 40007, 40005, 40047, 40007, 39999, 39999, 39992, 40000};
}
static {
q = 1;
f();
m = (byte) 6;
int i = f7131o + 61;
q = i % 128;
if (i % 2 == 0) {
int i2 = 60 / 0;
}
}
@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 = f7131o + 65;
q = i2 % 128;
int i3 = i2 % 2;
super.onStart();
if (i3 == 0) {
Object obj = null;
obj.hashCode();
throw null;
}
int i4 = q + 37;
f7131o = i4 % 128;
int i5 = i4 % 2;
}
@Override // o.InterfaceC9213dfV
public final void a(List<C0694Mk> list) {
int i = ((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getApplicationInfo().targetSdkVersion + 1804345988;
c(new Object[]{this, list});
}
}