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

650 lines
37 KiB
Java
Raw Permalink Normal View History

2024-07-27 18:17:47 +07:00
package com.scb.phone.view.activity;
import android.content.Context;
import android.graphics.Color;
import android.graphics.ImageFormat;
import android.graphics.PointF;
import android.graphics.drawable.Drawable;
import android.media.AudioTrack;
import android.os.Bundle;
import android.os.Process;
import android.os.SystemClock;
import android.text.AndroidCharacter;
import android.text.TextUtils;
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.google.common.base.Ascii;
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 net.sf.scuba.smartcards.ISOFileInfo;
import o.C13068fPo;
import o.C13073fPt;
import o.C3614bBe;
import o.DFY;
import o.InterfaceC17278vUG;
import o.InterfaceC9867drw;
import o.VLM;
import o.fOV;
import o.fPA;
import o.xzZ;
import org.bouncycastle.crypto.signers.PSSSigner;
/* loaded from: classes4.dex */
public abstract class Hilt_VideoPlaybackActivity extends BaseActivity implements fPA {
private static short[] q;
private volatile C13073fPt m;
private static final byte[] $$g = {Ascii.EM, 93, 57, -22};
private static final int $$h = 82;
private static int $10 = 0;
private static int $11 = 1;
private static int u = 0;
private static int w = 1;
private static int l = 773764647;
private static int k = 1406017124;
private static int t = -494021610;
private static byte[] s = {ISO7816.INS_READ_BINARY_STAMPED, ISO7816.INS_PUT_DATA, -44, ISO7816.INS_LOAD_KEY_FILE, 46, 39, -8, -8, 97, -34, -101, 16, 33, 32, 39, -44, ISO7816.INS_UNBLOCK_CHV, -41, ISOFileInfo.DATA_BYTES2, 82, -67, 117, ISOFileInfo.A5, PSSSigner.TRAILER_IMPLICIT, 121, -122, -119, ISO7816.INS_MANAGE_CHANNEL, 110, ISOFileInfo.A1, Ascii.DEL, 113, -119, 119, -113, 107, 88, 105, -60, 122, 117, 73, ISO7816.INS_READ_BINARY, ISOFileInfo.DATA_BYTES2, Byte.MIN_VALUE, ISOFileInfo.FCI_EXT, 116, ISOFileInfo.SECURITY_ATTR_COMPACT, 119, ISO7816.INS_READ_BINARY_STAMPED, -45, ISO7816.INS_PSO, -39, 63, ISO7816.INS_WRITE_RECORD, ISO7816.INS_UPDATE_BINARY, -47, ISO7816.INS_WRITE_BINARY, ISO7816.INS_UNBLOCK_CHV, 3, -31, ISO7816.INS_PSO, 37, -33, ISO7816.INS_UNBLOCK_CHV, -47, 62, -86, 101, ISOFileInfo.FCI_EXT, Ascii.DEL, -124, 86, -81, -88, 122, -86, 87, 85, -97, 83, -87, -82, -86, 103, ISOFileInfo.DATA_BYTES2, 124, -124, 120, ISOFileInfo.FCI_EXT, 122, ISOFileInfo.FCI_EXT, 114, ISOFileInfo.FCI_EXT, ISOFileInfo.AB, 81, -84, 85, 123, Byte.MIN_VALUE, -81, 123, ISOFileInfo.PROP_INFO, 120, ISOFileInfo.PROP_INFO, 83, 125, ISOFileInfo.AB, 81, -87, -102, 123, -124, 87, -84, ISO7816.INS_PUT_DATA, -78, 77, 101, -78, -99, 99, 87, -84, 80, -111, 101, -104, 96, ISOFileInfo.AB, 101, -101, 73, -75, -101, 85, -104, 99, -99, ISOFileInfo.FCP_BYTE, 102, -103, -101, 102, -78, -103, 72, ISO7816.INS_READ_RECORD_STAMPED, 77, 101, -104, -75, -103, 72, ISO7816.INS_READ_RECORD2, 87, -99, 97, -103, 103, -84, ISOFileInfo.FCP_BYTE, 103, 79, 110, -102, ISO7816.INS_READ_BINARY_STAMPED, -101, 84, -100, 97, ISOFileInfo.AB, 102, 84, ISO7816.INS_READ_BINARY_STAMPED, 72, 101, -98, ISO7816.INS_READ_BINARY2};
private static char[] p = {16280, 15973, 15945, 15959, 15948, 15944, 15957, 15946, 15956, 15974, 15972, 15958, 15955, 15947, 15975, 16281, 16283, 16279, 16275, 16278, 15949, 15954, 16284, 16272, 16274, 16277, 16287, 16273, 16286, 15953, 16282, 16264, 16276, 16265, 15952};
private static int r = 1934310915;
private static boolean x = true;
private static boolean y = true;
/* renamed from: o, reason: collision with root package name */
private final Object f6534o = new Object();
boolean b = false;
/* JADX WARN: Removed duplicated region for block: B:10:0x0024 */
/* JADX WARN: Removed duplicated region for block: B:7:0x001c */
/* JADX WARN: Unsupported multi-entry loop pattern (BACK_EDGE: B:10:0x0024 -> B:4: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(short r7, short r8, byte r9, java.lang.Object[] r10) {
/*
byte[] r0 = com.scb.phone.view.activity.Hilt_VideoPlaybackActivity.$$g
int r8 = r8 * 3
int r8 = r8 + 4
int r9 = r9 * 2
int r9 = r9 + 1
int r7 = 122 - r7
byte[] r1 = new byte[r9]
r2 = 0
if (r0 != 0) goto L14
r3 = r8
r4 = r2
goto L29
L14:
r3 = r2
L15:
int r4 = r3 + 1
byte r5 = (byte) r7
r1[r3] = r5
if (r4 != r9) goto L24
java.lang.String r7 = new java.lang.String
r7.<init>(r1, r2)
r10[r2] = r7
return
L24:
r3 = r0[r8]
r6 = r3
r3 = r8
r8 = r6
L29:
int r7 = r7 + r8
int r8 = r3 + 1
r3 = r4
goto L15
*/
throw new UnsupportedOperationException("Method not decompiled: com.scb.phone.view.activity.Hilt_VideoPlaybackActivity.az(short, short, byte, java.lang.Object[]):void");
}
/* JADX INFO: Access modifiers changed from: package-private */
public Hilt_VideoPlaybackActivity() {
addOnContextAvailableListener(new InterfaceC17278vUG(this) { // from class: com.scb.phone.view.activity.Hilt_VideoPlaybackActivity.2
private Hilt_VideoPlaybackActivity b;
{
this.b = this;
}
@Override // o.InterfaceC17278vUG
public final void a(Context context) {
Hilt_VideoPlaybackActivity hilt_VideoPlaybackActivity = this.b;
if (hilt_VideoPlaybackActivity.b) {
return;
}
hilt_VideoPlaybackActivity.b = true;
((InterfaceC9867drw) hilt_VideoPlaybackActivity.y_()).a((VideoPlaybackActivity) hilt_VideoPlaybackActivity);
}
});
}
@Override // o.fPC
public final Object y_() {
int i = 2 % 2;
int i2 = u + 109;
w = i2 % 128;
int i3 = i2 % 2;
C13073fPt g = g();
if (i3 != 0) {
return g.y_();
}
g.y_();
throw null;
}
private C13073fPt g() {
if (this.m == null) {
synchronized (this.f6534o) {
if (this.m == null) {
this.m = new C13073fPt(this);
}
}
}
return this.m;
}
@Override // androidx.activity.ComponentActivity, o.GvH
public VLM.LWm getDefaultViewModelProviderFactory() {
Bundle bundle;
int i = 2 % 2;
int i2 = u + 1;
w = i2 % 128;
int i3 = i2 % 2;
VLM.LWm defaultViewModelProviderFactory = super.getDefaultViewModelProviderFactory();
C13068fPo.LWm a = ((C13068fPo.Sts) fOV.c(this, C13068fPo.Sts.class)).a();
if (getIntent() != null) {
bundle = getIntent().getExtras();
} else {
int i4 = u + 73;
w = i4 % 128;
int i5 = i4 % 2;
bundle = null;
}
return a.aBN_(this, bundle, defaultViewModelProviderFactory);
}
/* JADX WARN: Code restructure failed: missing block: B:4:0x01b5, code lost:
if (r6 > 99999) goto L6;
*/
@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 r22) {
/*
Method dump skipped, instructions count: 1598
To view this dump add '--comments-level debug' option
*/
throw new UnsupportedOperationException("Method not decompiled: com.scb.phone.view.activity.Hilt_VideoPlaybackActivity.onCreate(android.os.Bundle):void");
}
private static void ay(int[] iArr, char[] cArr, int i, byte[] bArr, Object[] objArr) {
char[] cArr2;
char[] cArr3;
char c = 2;
int i2 = 2 % 2;
C3614bBe c3614bBe = new C3614bBe();
char[] cArr4 = p;
int i3 = 0;
if (cArr4 != null) {
int length = cArr4.length;
char[] cArr5 = new char[length];
int i4 = 0;
while (i4 < length) {
try {
Object[] objArr2 = new Object[1];
objArr2[i3] = Integer.valueOf(cArr4[i4]);
Object obj = xzZ.y.get(-950481649);
if (obj == null) {
Class cls = (Class) xzZ.c(337 - TextUtils.indexOf("", ""), 4 - Process.getGidForName(""), (char) (ViewConfiguration.getPressedStateDuration() >> 16));
byte b = (byte) i3;
Object[] objArr3 = new Object[1];
az($$g[c], b, b, objArr3);
obj = cls.getMethod((String) objArr3[0], Integer.TYPE);
xzZ.y.put(-950481649, obj);
}
cArr5[i4] = ((Character) ((Method) obj).invoke(null, objArr2)).charValue();
i4++;
int i5 = $10 + 59;
$11 = i5 % 128;
int i6 = i5 % 2;
c = 2;
i3 = 0;
} catch (Throwable th) {
Throwable cause = th.getCause();
if (cause == null) {
throw th;
}
throw cause;
}
}
cArr4 = cArr5;
}
Object[] objArr4 = {Integer.valueOf(r)};
Object obj2 = xzZ.y.get(-1521625011);
if (obj2 == null) {
Class cls2 = (Class) xzZ.c((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)) + 283, 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) (39813 - (AudioTrack.getMinVolume() > BitmapDescriptorFactory.HUE_RED ? 1 : (AudioTrack.getMinVolume() == BitmapDescriptorFactory.HUE_RED ? 0 : -1))));
byte b2 = (byte) 0;
byte b3 = b2;
Object[] objArr5 = new Object[1];
az(b2, b3, b3, objArr5);
obj2 = cls2.getMethod((String) objArr5[0], Integer.TYPE);
xzZ.y.put(-1521625011, obj2);
}
int intValue = ((Integer) ((Method) obj2).invoke(null, objArr4)).intValue();
if (y) {
int i7 = $10 + 125;
$11 = i7 % 128;
if (i7 % 2 == 0) {
c3614bBe.c = bArr.length;
cArr3 = new char[c3614bBe.c];
c3614bBe.a = 1;
} else {
c3614bBe.c = bArr.length;
cArr3 = new char[c3614bBe.c];
c3614bBe.a = 0;
}
while (c3614bBe.a < c3614bBe.c) {
cArr3[c3614bBe.a] = (char) (cArr4[bArr[(c3614bBe.c - 1) - c3614bBe.a] + i] - intValue);
Object[] objArr6 = {c3614bBe, c3614bBe};
Object obj3 = xzZ.y.get(1779759091);
if (obj3 == null) {
obj3 = ((Class) xzZ.c(((Process.getThreadPriority(0) + 20) >> 6) + 40, 5 - TextUtils.getOffsetBefore("", 0), (char) Color.green(0))).getMethod("D", Object.class, Object.class);
xzZ.y.put(1779759091, obj3);
}
((Method) obj3).invoke(null, objArr6);
}
objArr[0] = new String(cArr3);
return;
}
if (x) {
int i8 = $10 + 9;
$11 = i8 % 128;
if (i8 % 2 == 0) {
c3614bBe.c = cArr.length;
cArr2 = new char[c3614bBe.c];
c3614bBe.a = 1;
} else {
c3614bBe.c = cArr.length;
cArr2 = new char[c3614bBe.c];
c3614bBe.a = 0;
}
while (c3614bBe.a < c3614bBe.c) {
int i9 = $11 + 39;
$10 = i9 % 128;
int i10 = i9 % 2;
cArr2[c3614bBe.a] = (char) (cArr4[cArr[(c3614bBe.c - 1) - c3614bBe.a] - i] - intValue);
Object[] objArr7 = {c3614bBe, c3614bBe};
Object obj4 = xzZ.y.get(1779759091);
if (obj4 == null) {
obj4 = ((Class) xzZ.c(Color.blue(0) + 40, (ViewConfiguration.getMaximumFlingVelocity() >> 16) + 5, (char) (ViewConfiguration.getTouchSlop() >> 8))).getMethod("D", Object.class, Object.class);
xzZ.y.put(1779759091, obj4);
}
((Method) obj4).invoke(null, objArr7);
}
String str = new String(cArr2);
int i11 = $11 + 109;
$10 = i11 % 128;
int i12 = i11 % 2;
objArr[0] = str;
return;
}
int i13 = 0;
c3614bBe.c = iArr.length;
char[] cArr6 = new char[c3614bBe.c];
while (true) {
c3614bBe.a = i13;
if (c3614bBe.a >= c3614bBe.c) {
objArr[0] = new String(cArr6);
return;
} else {
cArr6[c3614bBe.a] = (char) (cArr4[iArr[(c3614bBe.c - 1) - c3614bBe.a] - i] - intValue);
i13 = c3614bBe.a + 1;
}
}
}
@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();
if (baseContext == null) {
int i2 = w + 71;
u = i2 % 128;
int i3 = i2 % 2;
Object[] objArr = new Object[1];
ax((short) (((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getApplicationInfo().targetSdkVersion - 34), ((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getApplicationInfo().targetSdkVersion - 2110826557, ((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getApplicationInfo().targetSdkVersion - 148, ((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getApplicationInfo().targetSdkVersion + 1320957500, (byte) (((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getResources().getString(R.string.ndid_idp_verify_identity_note_one).substring(65, 66).codePointAt(0) + 63), objArr);
Class<?> cls = Class.forName((String) objArr[0]);
Object[] objArr2 = new Object[1];
ax((short) (((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getResources().getString(R.string.contact_info_national_id_consent_cdx).substring(0, 249).length() - 249), (-2110826497) - KeyEvent.normalizeMetaState(0), ((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getResources().getString(R.string.unsubcribe_content).substring(24, 25).codePointAt(0) - 146, 1320957502 + ((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getApplicationInfo().targetSdkVersion, (byte) (((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getPackageName().length() + 44), objArr2);
baseContext = (Context) cls.getMethod((String) objArr2[0], new Class[0]).invoke(null, null);
}
if (baseContext != null) {
baseContext = baseContext.getApplicationContext();
int i4 = u + 83;
w = i4 % 128;
int i5 = i4 % 2;
}
if (baseContext != null) {
try {
Object obj = xzZ.y.get(125943855);
if (obj == null) {
obj = ((Class) xzZ.c(492 - ExpandableListView.getPackedPositionType(0L), (ViewConfiguration.getKeyRepeatDelay() >> 16) + 5, (char) ((-1) - Process.getGidForName("")))).getMethod("a", null);
xzZ.y.put(125943855, obj);
}
Object invoke = ((Method) obj).invoke(null, null);
Object[] objArr3 = {baseContext};
Object obj2 = xzZ.y.get(1378719468);
if (obj2 == null) {
obj2 = ((Class) xzZ.c(TextUtils.indexOf((CharSequence) "", '0') + 488, KeyEvent.keyCodeFromString("") + 5, (char) (ViewConfiguration.getMaximumFlingVelocity() >> 16))).getMethod(KtaJsonExactionHelper.OBJECT, Context.class);
xzZ.y.put(1378719468, obj2);
}
((Method) obj2).invoke(invoke, objArr3);
int i6 = u + 45;
w = i6 % 128;
int i7 = i6 % 2;
} catch (Throwable th) {
Throwable cause = th.getCause();
if (cause == null) {
throw th;
}
throw cause;
}
}
super.onResume();
}
private static void ax(short s2, int i, int i2, int i3, byte b, Object[] objArr) {
int i4;
boolean z;
int i5 = 2 % 2;
DFY dfy = new DFY();
StringBuilder sb = new StringBuilder();
try {
Object[] objArr2 = {Integer.valueOf(i2), Integer.valueOf(k)};
Object obj = xzZ.y.get(-2092856797);
if (obj == null) {
Class cls = (Class) xzZ.c(KeyEvent.keyCodeFromString("") + 337, 5 - TextUtils.indexOf("", "", 0, 0), (char) Drawable.resolveOpacity(0, 0));
byte b2 = (byte) 0;
Object[] objArr3 = new Object[1];
az((byte) 12, b2, b2, objArr3);
obj = cls.getMethod((String) objArr3[0], Integer.TYPE, Integer.TYPE);
xzZ.y.put(-2092856797, obj);
}
Object obj2 = null;
int intValue = ((Integer) ((Method) obj).invoke(null, objArr2)).intValue();
if (intValue == -1) {
int i6 = $10 + 77;
$11 = i6 % 128;
int i7 = i6 % 2;
i4 = 1;
} else {
i4 = 0;
}
char c = '0';
if (i4 != 0) {
int i8 = $10 + 111;
$11 = i8 % 128;
if (i8 % 2 == 0) {
obj2.hashCode();
throw null;
}
byte[] bArr = s;
if (bArr != null) {
int length = bArr.length;
byte[] bArr2 = new byte[length];
int i9 = 0;
while (i9 < length) {
Object[] objArr4 = {Integer.valueOf(bArr[i9])};
Object obj3 = xzZ.y.get(-1648115392);
if (obj3 == null) {
Class cls2 = (Class) xzZ.c(KeyEvent.normalizeMetaState(0) + 60, 5 - (ViewConfiguration.getKeyRepeatTimeout() >> 16), (char) ((-1) - TextUtils.lastIndexOf("", c)));
byte b3 = (byte) 0;
Object[] objArr5 = new Object[1];
az((byte) 14, b3, b3, objArr5);
obj3 = cls2.getMethod((String) objArr5[0], Integer.TYPE);
xzZ.y.put(-1648115392, obj3);
}
bArr2[i9] = ((Byte) ((Method) obj3).invoke(null, objArr4)).byteValue();
i9++;
c = '0';
}
bArr = bArr2;
}
if (bArr != null) {
byte[] bArr3 = s;
Object[] objArr6 = {Integer.valueOf(i), Integer.valueOf(l)};
Object obj4 = xzZ.y.get(-2092856797);
if (obj4 == null) {
Class cls3 = (Class) xzZ.c(337 - (ViewConfiguration.getScrollBarSize() >> 8), (ViewConfiguration.getZoomControlsTimeout() > 0L ? 1 : (ViewConfiguration.getZoomControlsTimeout() == 0L ? 0 : -1)) + 4, (char) ((-1) - ImageFormat.getBitsPerPixel(0)));
byte b4 = (byte) 0;
Object[] objArr7 = new Object[1];
az((byte) 12, b4, b4, objArr7);
obj4 = cls3.getMethod((String) objArr7[0], Integer.TYPE, Integer.TYPE);
xzZ.y.put(-2092856797, obj4);
}
intValue = (byte) (((byte) (bArr3[((Integer) ((Method) obj4).invoke(null, objArr6)).intValue()] ^ (-7303220121662775787L))) + ((int) (k ^ (-7303220121662775787L))));
} else {
intValue = (short) (((short) (q[i + ((int) (l ^ (-7303220121662775787L)))] ^ (-7303220121662775787L))) + ((int) (k ^ (-7303220121662775787L))));
}
}
if (intValue > 0) {
int i10 = $10 + 105;
$11 = i10 % 128;
int i11 = i10 % 2;
dfy.c = ((i + intValue) - 2) + ((int) (l ^ (-7303220121662775787L))) + i4;
Object[] objArr8 = {dfy, Integer.valueOf(i3), Integer.valueOf(t), sb};
Object obj5 = xzZ.y.get(1546973421);
if (obj5 == null) {
obj5 = ((Class) xzZ.c(AndroidCharacter.getMirror('0') + 700, TextUtils.indexOf("", "", 0, 0) + 5, (char) ((-1) - TextUtils.indexOf((CharSequence) "", '0', 0)))).getMethod("q", Object.class, Integer.TYPE, Integer.TYPE, Object.class);
xzZ.y.put(1546973421, obj5);
}
((StringBuilder) ((Method) obj5).invoke(null, objArr8)).append(dfy.a);
dfy.e = dfy.a;
byte[] bArr4 = s;
if (bArr4 != null) {
int i12 = $10 + 5;
$11 = i12 % 128;
int i13 = i12 % 2;
int length2 = bArr4.length;
byte[] bArr5 = new byte[length2];
int i14 = 0;
while (i14 < length2) {
int i15 = $11 + 27;
$10 = i15 % 128;
if (i15 % 2 != 0) {
bArr5[i14] = (byte) (bArr4[i14] | (-7303220121662775787L));
i14--;
} else {
bArr5[i14] = (byte) (bArr4[i14] ^ (-7303220121662775787L));
i14++;
}
}
bArr4 = bArr5;
}
if (bArr4 != null) {
z = true;
} else {
int i16 = $11 + 83;
$10 = i16 % 128;
int i17 = i16 % 2;
z = false;
}
dfy.d = 1;
while (dfy.d < intValue) {
if (z) {
byte[] bArr6 = s;
dfy.c = dfy.c - 1;
dfy.a = (char) (dfy.e + (((byte) (((byte) (bArr6[r7] ^ (-7303220121662775787L))) + s2)) ^ b));
} else {
short[] sArr = q;
dfy.c = dfy.c - 1;
dfy.a = (char) (dfy.e + (((short) (((short) (sArr[r7] ^ (-7303220121662775787L))) + s2)) ^ b));
}
sb.append(dfy.a);
dfy.e = dfy.a;
dfy.d++;
}
}
objArr[0] = sb.toString();
} 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 onPause() {
int i = 2 % 2;
Context baseContext = getBaseContext();
if (baseContext == null) {
int i2 = w + 101;
u = i2 % 128;
int i3 = i2 % 2;
Object[] objArr = new Object[1];
ax((short) (1 - (SystemClock.currentThreadTimeMillis() > (-1L) ? 1 : (SystemClock.currentThreadTimeMillis() == (-1L) ? 0 : -1))), ((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getResources().getString(R.string.ntb_enter_pin).substring(12, 13).length() - 2110826524, (-114) - TextUtils.getOffsetBefore("", 0), ((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getApplicationInfo().targetSdkVersion + 1320957500, (byte) (111 - (ViewConfiguration.getWindowTouchSlop() >> 8)), objArr);
Class<?> cls = Class.forName((String) objArr[0]);
Object[] objArr2 = new Object[1];
ax((short) (((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getResources().getString(R.string.hml_offline_success_continue_to_register_ntb).substring(19, 20).codePointAt(0) - 32), ((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getApplicationInfo().targetSdkVersion - 2110826531, ((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getResources().getString(R.string.contact_info_mcmc_topup_national_id_exp_holder).substring(0, 18).codePointAt(6) - 3723, ((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getApplicationInfo().targetSdkVersion + 1320957502, (byte) (((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getResources().getString(R.string.redemption_slip_filename).substring(0, 10).codePointAt(4) + 20), objArr2);
baseContext = (Context) cls.getMethod((String) objArr2[0], new Class[0]).invoke(null, null);
}
if (baseContext != null) {
int i4 = u + 123;
w = i4 % 128;
if (i4 % 2 == 0) {
baseContext.getApplicationContext();
throw null;
}
baseContext = baseContext.getApplicationContext();
}
if (baseContext != null) {
try {
Object obj = xzZ.y.get(125943855);
if (obj == null) {
obj = ((Class) xzZ.c(ExpandableListView.getPackedPositionType(0L) + 492, 4 - TextUtils.lastIndexOf("", '0', 0, 0), (char) (1 - (SystemClock.uptimeMillis() > 0L ? 1 : (SystemClock.uptimeMillis() == 0L ? 0 : -1))))).getMethod("a", null);
xzZ.y.put(125943855, obj);
}
Object invoke = ((Method) obj).invoke(null, null);
Object[] objArr3 = {baseContext};
Object obj2 = xzZ.y.get(1633456013);
if (obj2 == null) {
obj2 = ((Class) xzZ.c(487 - Color.green(0), 5 - Color.alpha(0), (char) (ViewConfiguration.getTapTimeout() >> 16))).getMethod("c", Context.class);
xzZ.y.put(1633456013, obj2);
}
((Method) obj2).invoke(invoke, objArr3);
int i5 = u + 11;
w = i5 % 128;
int i6 = i5 % 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 = u + 109;
w = i2 % 128;
int i3 = i2 % 2;
super.attachBaseContext(context);
Object[] objArr = new Object[1];
ax((short) TextUtils.getCapsMode("", 0, 0), KeyEvent.getDeadChar(0, 0) - 2110826546, (-114) - (ViewConfiguration.getMinimumFlingVelocity() >> 16), 1320957534 - (ViewConfiguration.getLongPressTimeout() >> 16), (byte) (View.MeasureSpec.makeMeasureSpec(0, 0) - 49), objArr);
Class<?> cls = Class.forName((String) objArr[0]);
Object[] objArr2 = new Object[1];
ax((short) (ViewConfiguration.getLongPressTimeout() >> 16), View.MeasureSpec.makeMeasureSpec(0, 0) - 2110826528, (-115) - ExpandableListView.getPackedPositionChild(0L), 1320957545 + (SystemClock.elapsedRealtime() > 0L ? 1 : (SystemClock.elapsedRealtime() == 0L ? 0 : -1)), (byte) ((-69) - ImageFormat.getBitsPerPixel(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 = w + 115;
u = i4 % 128;
if (i4 % 2 != 0) {
context.getApplicationContext();
throw null;
}
context2 = context.getApplicationContext();
} else {
context2 = context;
}
if (context2 != null) {
try {
Object obj = xzZ.y.get(125943855);
if (obj == null) {
obj = ((Class) xzZ.c((ExpandableListView.getPackedPositionForChild(0, 0) > 0L ? 1 : (ExpandableListView.getPackedPositionForChild(0, 0) == 0L ? 0 : -1)) + 493, 5 - (ViewConfiguration.getMinimumFlingVelocity() >> 16), (char) (TextUtils.indexOf((CharSequence) "", '0', 0) + 1))).getMethod("a", null);
xzZ.y.put(125943855, obj);
}
Object invoke = ((Method) obj).invoke(null, null);
Object[] objArr3 = new Object[1];
ax((short) ((Process.getThreadPriority(0) + 20) >> 6), (-2110826479) - Color.red(0), (-115) - TextUtils.lastIndexOf("", '0', 0), (KeyEvent.getMaxKeyCode() >> 16) + 1320957486, (byte) ((Process.getElapsedCpuTime() > 0L ? 1 : (Process.getElapsedCpuTime() == 0L ? 0 : -1)) - 66), objArr3);
String str = (String) objArr3[0];
Object[] objArr4 = new Object[1];
ay(null, null, 127 - (ViewConfiguration.getJumpTapTimeout() >> 16), new byte[]{ISOFileInfo.DATA_BYTES2, ISOFileInfo.SECURITY_ATTR_EXP, -126, ISOFileInfo.FILE_IDENTIFIER, ISOFileInfo.CHANNEL_SECURITY, -119, ISOFileInfo.LCS_BYTE, ISOFileInfo.CHANNEL_SECURITY, -126, -122, ISOFileInfo.CHANNEL_SECURITY, ISOFileInfo.LCS_BYTE, -120, -112, ISOFileInfo.CHANNEL_SECURITY, -113, -126, ISOFileInfo.FILE_IDENTIFIER, -119, -122, ISOFileInfo.FILE_IDENTIFIER, ISOFileInfo.SECURITY_ATTR_EXP, -126, ISOFileInfo.FILE_IDENTIFIER, -126, -126, ISOFileInfo.CHANNEL_SECURITY, -122, ISOFileInfo.SECURITY_ATTR_EXP, -122, -120, -120, ISOFileInfo.CHANNEL_SECURITY, ISOFileInfo.ENV_TEMP_EF, ISOFileInfo.PROP_INFO, ISOFileInfo.FCI_EXT, ISOFileInfo.LCS_BYTE, ISOFileInfo.ENV_TEMP_EF, ISOFileInfo.FILE_IDENTIFIER, ISOFileInfo.SECURITY_ATTR_COMPACT, -124, ISOFileInfo.SECURITY_ATTR_EXP, ISOFileInfo.FILE_IDENTIFIER, ISOFileInfo.LCS_BYTE, ISOFileInfo.FCI_EXT, -119, -124, ISOFileInfo.FILE_IDENTIFIER, -119, -120, ISOFileInfo.FILE_IDENTIFIER, ISOFileInfo.FCI_EXT, ISOFileInfo.FILE_IDENTIFIER, ISOFileInfo.FCI_EXT, -122, ISOFileInfo.DATA_BYTES2, ISOFileInfo.PROP_INFO, -124, -126, ISOFileInfo.FILE_IDENTIFIER, ISOFileInfo.DATA_BYTES2, ISOFileInfo.FILE_IDENTIFIER, -126, ISOFileInfo.DATA_BYTES2}, objArr4);
String str2 = (String) objArr4[0];
Object[] objArr5 = new Object[1];
ax((short) ((-1) - TextUtils.lastIndexOf("", '0')), TextUtils.getOffsetBefore("", 0) - 2110826431, View.MeasureSpec.getSize(0) - 114, 1320957534 - View.combineMeasuredStates(0, 0), (byte) (115 - View.resolveSize(0, 0)), objArr5);
String str3 = (String) objArr5[0];
Object[] objArr6 = new Object[1];
ay(null, null, (SystemClock.elapsedRealtime() > 0L ? 1 : (SystemClock.elapsedRealtime() == 0L ? 0 : -1)) + 126, new byte[]{-108, -110, -100, ISOFileInfo.DATA_BYTES2, -94, ISOFileInfo.DATA_BYTES2, -106, ISOFileInfo.FCI_EXT, -94, -106, -110, -108, ISOFileInfo.DATA_BYTES2, -97, -100, -105, -106, -105, -109, ISOFileInfo.SECURITY_ATTR_EXP, -106, -104, -103, ISOFileInfo.LCS_BYTE, -98, ISOFileInfo.DATA_BYTES2, -102, ISOFileInfo.SECURITY_ATTR_EXP, ISOFileInfo.A0, ISOFileInfo.A1, -108, -113, -102, ISOFileInfo.SECURITY_ATTR_EXP, ISOFileInfo.A0, -97, -98, -110, -108, ISOFileInfo.SECURITY_ATTR_EXP, ISOFileInfo.LCS_BYTE, -110, ISOFileInfo.SECURITY_ATTR_EXP, ISOFileInfo.DATA_BYTES2, -102, -111, -110, -98, -99, -100, ISOFileInfo.SECURITY_ATTR_EXP, -126, -101, ISOFileInfo.SECURITY_ATTR_EXP, -105, ISOFileInfo.LCS_BYTE, -102, ISOFileInfo.DATA_BYTES2, -104, -104, -103, ISOFileInfo.LCS_BYTE, -104, ISOFileInfo.SECURITY_ATTR_EXP, -105, -108, -106, -106, -107, -108, -109, -110, -110, -111}, objArr6);
String str4 = (String) objArr6[0];
Object[] objArr7 = new Object[1];
ay(null, null, 127 - ((Process.getThreadPriority(0) + 20) >> 6), new byte[]{ISOFileInfo.ENV_TEMP_EF, -98, ISOFileInfo.CHANNEL_SECURITY, -98, ISOFileInfo.PROP_INFO}, objArr7);
String str5 = (String) objArr7[0];
Object[] objArr8 = new Object[1];
ay(null, null, 127 - (Process.myPid() >> 22), new byte[]{ISOFileInfo.DATA_BYTES2, -119, -122, -124, -122, ISOFileInfo.LCS_BYTE, ISOFileInfo.DATA_BYTES2, -120, ISOFileInfo.SECURITY_ATTR_EXP, ISOFileInfo.FCI_EXT, ISOFileInfo.LCS_BYTE, ISOFileInfo.FCI_EXT, -93, ISOFileInfo.LCS_BYTE, ISOFileInfo.DATA_BYTES2, -126, ISOFileInfo.SECURITY_ATTR_EXP, -93, -119, -119, ISOFileInfo.FCI_EXT, -124, -93, -126, ISOFileInfo.DATA_BYTES2, ISOFileInfo.ENV_TEMP_EF, ISOFileInfo.FILE_IDENTIFIER, -93, ISOFileInfo.ENV_TEMP_EF, -124, ISOFileInfo.PROP_INFO, -113, -124, ISOFileInfo.FCI_EXT, ISOFileInfo.SECURITY_ATTR_EXP, ISOFileInfo.DATA_BYTES2}, 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(486 - TextUtils.lastIndexOf("", '0'), 5 - TextUtils.indexOf("", "", 0), (char) (ViewConfiguration.getFadingEdgeLength() >> 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 = u + 87;
w = i2 % 128;
int i3 = i2 % 2;
Object obj = null;
super.onStart();
if (i3 == 0) {
obj.hashCode();
throw null;
}
int i4 = u + 51;
w = i4 % 128;
if (i4 % 2 != 0) {
return;
}
obj.hashCode();
throw null;
}
}