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

513 lines
24 KiB
Java
Raw Normal View History

2024-07-27 18:17:47 +07:00
package com.scb.phone.view.activity.hml;
import android.content.Context;
import android.graphics.Color;
import android.graphics.ImageFormat;
import android.graphics.PointF;
import android.media.AudioTrack;
import android.os.Process;
import android.os.SystemClock;
import android.telephony.cdma.CdmaCellLocation;
import android.text.TextUtils;
import android.view.KeyEvent;
import android.view.MotionEvent;
import android.view.ViewConfiguration;
import android.widget.ExpandableListView;
import androidx.fragment.app.Fragment;
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.custom.common.ProgressStateBar;
import com.scb.phone.view.fragment.hml.businessowner.HmlBusinessOccupationInfoFragment;
import java.lang.reflect.Method;
import net.sf.scuba.smartcards.ISO7816;
import net.sf.scuba.smartcards.ISOFileInfo;
import o.C14875gap;
import o.C14957gcv;
import o.GuL;
import o.jTb;
import o.xzZ;
/* loaded from: classes4.dex */
public final class HmlNTBBusinessOccupationInfoActivity extends Hilt_HmlNTBBusinessOccupationInfoActivity {
private static char k;
private static char l;
public static final IeS m;
/* renamed from: o, reason: collision with root package name */
private static char f7292o;
private static long q;
private static char s;
private static int t;
private static final byte[] $$H = {ISO7816.INS_MANAGE_CHANNEL, -2, ISOFileInfo.FCI_EXT, Ascii.ETB};
private static final int $$I = 133;
private static int $10 = 0;
private static int $11 = 1;
private static int r = 1;
/* JADX WARN: Removed duplicated region for block: B:10:0x002b */
/* JADX WARN: Removed duplicated region for block: B:7:0x0023 */
/* JADX WARN: Unsupported multi-entry loop pattern (BACK_EDGE: B:10:0x002b -> 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 aN(int r6, byte r7, short r8, java.lang.Object[] r9) {
/*
byte[] r0 = com.scb.phone.view.activity.hml.HmlNTBBusinessOccupationInfoActivity.$$H
int r8 = r8 * 2
int r1 = 1 - r8
int r6 = r6 * 3
int r6 = 3 - r6
int r7 = r7 + 66
byte[] r1 = new byte[r1]
r2 = 0
int r8 = 0 - r8
r3 = -1
if (r0 != 0) goto L17
r7 = r6
r4 = r8
goto L2d
L17:
r5 = r7
r7 = r6
r6 = r5
L1a:
int r3 = r3 + 1
byte r4 = (byte) r6
r1[r3] = r4
int r7 = r7 + 1
if (r3 != r8) goto L2b
java.lang.String r6 = new java.lang.String
r6.<init>(r1, r2)
r9[r2] = r6
return
L2b:
r4 = r0[r7]
L2d:
int r6 = r6 + r4
goto L1a
*/
throw new UnsupportedOperationException("Method not decompiled: com.scb.phone.view.activity.hml.HmlNTBBusinessOccupationInfoActivity.aN(int, byte, short, java.lang.Object[]):void");
}
/* loaded from: classes4.dex */
public static final class IeS {
private IeS() {
}
public /* synthetic */ IeS(byte b) {
this();
}
}
@Override // com.scb.phone.view.activity.hml.HmlBusinessOccupationInfoActivity, com.scb.phone.view.activity.BaseActivityWithFragment
public final Fragment M() {
int i = 2 % 2;
ProgressStateBar progressStateBar = this.progressStateBar;
ProgressStateBar progressStateBar2 = null;
if (progressStateBar != null) {
int i2 = t + 75;
r = i2 % 128;
if (i2 % 2 == 0) {
int i3 = 16 / 0;
}
} else {
C14957gcv.a("");
progressStateBar = null;
}
String[] stringArray = getResources().getStringArray(R.array.2130903049);
C14957gcv.c(stringArray, "");
progressStateBar.setStates(C14875gap.d(stringArray));
ProgressStateBar progressStateBar3 = this.progressStateBar;
if (progressStateBar3 != null) {
int i4 = t + 45;
r = i4 % 128;
if (i4 % 2 == 0) {
int i5 = 41 / 0;
}
} else {
C14957gcv.a("");
int i6 = t + 69;
r = i6 % 128;
int i7 = i6 % 2;
progressStateBar3 = null;
}
progressStateBar3.setCurrentState(2);
ProgressStateBar progressStateBar4 = this.progressStateBar;
if (progressStateBar4 != null) {
progressStateBar2 = progressStateBar4;
} else {
C14957gcv.a("");
}
progressStateBar2.setVisibility(0);
HmlBusinessOccupationInfoFragment.RVV rvv = HmlBusinessOccupationInfoFragment.c;
return new HmlBusinessOccupationInfoFragment();
}
@Override // com.scb.phone.view.activity.hml.HmlBusinessOccupationInfoActivity, com.scb.phone.view.activity.BaseActivityWithFragment
public final String L() {
int i = 2 % 2;
int i2 = t + 7;
r = i2 % 128;
Object obj = null;
if (i2 % 2 == 0) {
C14957gcv.c((Object) getString(R.string.hml_business_occupation_title), "");
throw null;
}
String string = getString(R.string.hml_business_occupation_title);
C14957gcv.c((Object) string, "");
int i3 = r + 77;
t = i3 % 128;
if (i3 % 2 == 0) {
return string;
}
obj.hashCode();
throw null;
}
private static void aL(char[] cArr, int i, Object[] objArr) {
int i2 = 2 % 2;
GuL guL = new GuL();
char[] a = GuL.a(q ^ (-7538262848231253921L), cArr, i);
guL.a = 4;
while (guL.a < a.length) {
int i3 = $11 + 29;
$10 = i3 % 128;
int i4 = i3 % 2;
guL.c = guL.a - 4;
int i5 = guL.a;
try {
Object[] objArr2 = {Long.valueOf(a[guL.a] ^ a[guL.a % 4]), Long.valueOf(guL.c), Long.valueOf(q)};
Object obj = xzZ.y.get(428080616);
if (obj == null) {
Class cls = (Class) xzZ.c(MotionEvent.axisFromString("") + 209, (Process.myPid() >> 22) + 5, (char) (1706 - (ViewConfiguration.getScrollBarFadeDuration() >> 16)));
byte b = (byte) 0;
Object[] objArr3 = new Object[1];
aN(b, (byte) (b | 53), b, objArr3);
obj = cls.getMethod((String) objArr3[0], Long.TYPE, Long.TYPE, Long.TYPE);
xzZ.y.put(428080616, obj);
}
a[i5] = ((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(392 - (ViewConfiguration.getDoubleTapTimeout() >> 16), 4 - MotionEvent.axisFromString(""), (char) (1 - (AudioTrack.getMaxVolume() > BitmapDescriptorFactory.HUE_RED ? 1 : (AudioTrack.getMaxVolume() == BitmapDescriptorFactory.HUE_RED ? 0 : -1))));
byte b2 = (byte) 0;
Object[] objArr5 = new Object[1];
aN(b2, (byte) (b2 | 55), b2, objArr5);
obj2 = cls2.getMethod((String) objArr5[0], Object.class, Object.class);
xzZ.y.put(-1875914398, obj2);
}
((Method) obj2).invoke(null, objArr4);
int i6 = $10 + 69;
$11 = i6 % 128;
int i7 = i6 % 2;
} 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);
}
private static void aK(char[] cArr, int i, Object[] objArr) {
int i2;
int i3 = 2;
int i4 = 2 % 2;
jTb jtb = new jTb();
char[] cArr2 = new char[cArr.length];
int i5 = 0;
jtb.b = 0;
char[] cArr3 = new char[2];
while (jtb.b < cArr.length) {
int i6 = $10 + 71;
$11 = i6 % 128;
if (i6 % i3 == 0) {
cArr3[1] = cArr[jtb.b];
cArr3[1] = cArr[jtb.b];
} else {
cArr3[i5] = cArr[jtb.b];
cArr3[1] = cArr[jtb.b + 1];
}
int i7 = 58224;
int i8 = i5;
while (i8 < 16) {
int i9 = $10 + 11;
$11 = i9 % 128;
int i10 = i9 % i3;
char c = cArr3[1];
char c2 = cArr3[i5];
int i11 = (c2 + i7) ^ ((c2 << 4) + ((char) (l ^ 41718355337583039L)));
int i12 = c2 >>> 5;
try {
Object[] objArr2 = new Object[4];
objArr2[3] = Integer.valueOf(s);
objArr2[i3] = Integer.valueOf(i12);
objArr2[1] = Integer.valueOf(i11);
objArr2[i5] = Integer.valueOf(c);
Object obj = xzZ.y.get(597144044);
if (obj == null) {
Class cls = (Class) xzZ.c((ViewConfiguration.getGlobalActionKeyTimeout() > 0L ? 1 : (ViewConfiguration.getGlobalActionKeyTimeout() == 0L ? 0 : -1)) + 411, 4 - ExpandableListView.getPackedPositionChild(0L), (char) ((SystemClock.uptimeMillis() > 0L ? 1 : (SystemClock.uptimeMillis() == 0L ? 0 : -1)) - 1));
byte b = (byte) i5;
byte b2 = b;
Object[] objArr3 = new Object[1];
aN(b, b2, b2, objArr3);
String str = (String) objArr3[i5];
Class<?>[] clsArr = new Class[4];
clsArr[i5] = Integer.TYPE;
clsArr[1] = Integer.TYPE;
clsArr[2] = Integer.TYPE;
clsArr[3] = Integer.TYPE;
obj = cls.getMethod(str, clsArr);
xzZ.y.put(597144044, obj);
}
char charValue = ((Character) ((Method) obj).invoke(null, objArr2)).charValue();
cArr3[1] = charValue;
char[] cArr4 = cArr3;
Object[] objArr4 = {Integer.valueOf(cArr3[i5]), Integer.valueOf((charValue + i7) ^ ((charValue << 4) + ((char) (k ^ 41718355337583039L)))), Integer.valueOf(charValue >>> 5), Integer.valueOf(f7292o)};
Object obj2 = xzZ.y.get(597144044);
if (obj2 == null) {
Class cls2 = (Class) xzZ.c(411 - ImageFormat.getBitsPerPixel(0), 5 - TextUtils.indexOf("", "", 0), (char) (PointF.length(BitmapDescriptorFactory.HUE_RED, BitmapDescriptorFactory.HUE_RED) > BitmapDescriptorFactory.HUE_RED ? 1 : (PointF.length(BitmapDescriptorFactory.HUE_RED, BitmapDescriptorFactory.HUE_RED) == BitmapDescriptorFactory.HUE_RED ? 0 : -1)));
byte b3 = (byte) 0;
byte b4 = b3;
Object[] objArr5 = new Object[1];
aN(b3, b4, b4, objArr5);
obj2 = cls2.getMethod((String) objArr5[0], Integer.TYPE, Integer.TYPE, Integer.TYPE, Integer.TYPE);
xzZ.y.put(597144044, obj2);
}
cArr4[0] = ((Character) ((Method) obj2).invoke(null, objArr4)).charValue();
i7 -= 40503;
i8++;
cArr3 = cArr4;
i3 = 2;
i5 = 0;
} catch (Throwable th) {
Throwable cause = th.getCause();
if (cause == null) {
throw th;
}
throw cause;
}
}
char[] cArr5 = cArr3;
cArr2[jtb.b] = cArr5[0];
cArr2[jtb.b + 1] = cArr5[1];
Object[] objArr6 = {jtb, jtb};
Object obj3 = xzZ.y.get(943004485);
if (obj3 != null) {
i2 = 2;
} else {
Class cls3 = (Class) xzZ.c((ViewConfiguration.getFadingEdgeLength() >> 16) + 98, 5 - (ExpandableListView.getPackedPositionForGroup(0) > 0L ? 1 : (ExpandableListView.getPackedPositionForGroup(0) == 0L ? 0 : -1)), (char) KeyEvent.getDeadChar(0, 0));
byte b5 = (byte) 0;
byte b6 = (byte) (b5 + 1);
Object[] objArr7 = new Object[1];
aN(b5, b6, (byte) (b6 - 1), objArr7);
i2 = 2;
obj3 = cls3.getMethod((String) objArr7[0], Object.class, Object.class);
xzZ.y.put(943004485, obj3);
}
((Method) obj3).invoke(null, objArr6);
i3 = i2;
cArr3 = cArr5;
i5 = 0;
}
objArr[0] = new String(cArr2, 0, i);
}
/* JADX WARN: Code restructure failed: missing block: B:4:0x0082, code lost:
if (r2 > 99999) goto L6;
*/
@Override // com.scb.phone.view.activity.hml.Hilt_HmlNTBBusinessOccupationInfoActivity, com.scb.phone.view.activity.hml.HmlBusinessOccupationInfoActivity, com.scb.phone.view.activity.hml.Hilt_HmlBusinessOccupationInfoActivity, com.scb.phone.view.activity.BaseActivityWithFragment, com.scb.phone.view.activity.BaseActivity, com.scb.phone.view.activity.PreLoadCheckActivity, com.akexorcist.localizationactivity.LocalizationActivity, androidx.appcompat.app.AppCompatActivity, androidx.fragment.app.FragmentActivity, androidx.activity.ComponentActivity, androidx.core.app.ComponentActivity, android.app.Activity
/*
Code decompiled incorrectly, please refer to instructions dump.
To view partially-correct add '--show-bad-code' argument
*/
public final void onCreate(android.os.Bundle r17) {
/*
Method dump skipped, instructions count: 1074
To view this dump add '--comments-level debug' option
*/
throw new UnsupportedOperationException("Method not decompiled: com.scb.phone.view.activity.hml.HmlNTBBusinessOccupationInfoActivity.onCreate(android.os.Bundle):void");
}
@Override // com.scb.phone.view.activity.hml.Hilt_HmlNTBBusinessOccupationInfoActivity, com.scb.phone.view.activity.hml.HmlBusinessOccupationInfoActivity, com.scb.phone.view.activity.hml.Hilt_HmlBusinessOccupationInfoActivity, com.scb.phone.view.activity.BaseActivityWithFragment, com.scb.phone.view.activity.BaseActivity, com.scb.phone.view.activity.PreLoadCheckActivity, com.akexorcist.localizationactivity.LocalizationActivity, androidx.appcompat.app.AppCompatActivity, androidx.fragment.app.FragmentActivity, androidx.activity.ComponentActivity, androidx.core.app.ComponentActivity, android.app.Activity
public final void onResume() {
int i = 2 % 2;
int i2 = r + 45;
t = i2 % 128;
int i3 = i2 % 2;
Context baseContext = getBaseContext();
if (baseContext == null) {
Object[] objArr = new Object[1];
aK(new char[]{19097, 28011, 3737, 31395, 28336, 1835, 26374, 39515, 50233, 15652, 35491, 16004, 26054, 16994, 32871, 54430, 3213, 16255, 50257, 20710, 47302, 49542, 7824, 48443, 56509, 25087}, ((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getApplicationInfo().targetSdkVersion - 8, objArr);
Class<?> cls = Class.forName((String) objArr[0]);
Object[] objArr2 = new Object[1];
aK(new char[]{22963, 42151, 26009, 42774, 45422, 49188, 49179, 38625, 35947, 26023, 18081, 50081, 16988, 61356, 32871, 54430, 57719, 26454}, ((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getResources().getString(R.string.auto_kofax_camera_tutorial_perfect_example).substring(0, 2).length() + 16, objArr2);
baseContext = (Context) cls.getMethod((String) objArr2[0], new Class[0]).invoke(null, null);
}
if (baseContext != null) {
int i4 = r + 73;
t = 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(TextUtils.getTrimmedLength("") + 492, 6 - (ViewConfiguration.getScrollFriction() > BitmapDescriptorFactory.HUE_RED ? 1 : (ViewConfiguration.getScrollFriction() == BitmapDescriptorFactory.HUE_RED ? 0 : -1)), (char) TextUtils.getOffsetBefore("", 0))).getMethod("a", null);
xzZ.y.put(125943855, obj);
}
Object invoke = ((Method) obj).invoke(null, null);
Object[] objArr3 = {baseContext};
Object obj2 = xzZ.y.get(1378719468);
if (obj2 == null) {
obj2 = ((Class) xzZ.c(Color.blue(0) + 487, (Process.myPid() >> 22) + 5, (char) (TextUtils.lastIndexOf("", '0') + 1))).getMethod(KtaJsonExactionHelper.OBJECT, Context.class);
xzZ.y.put(1378719468, obj2);
}
((Method) obj2).invoke(invoke, objArr3);
} catch (Throwable th) {
Throwable cause = th.getCause();
if (cause == null) {
throw th;
}
throw cause;
}
}
super.onResume();
}
@Override // com.scb.phone.view.activity.hml.Hilt_HmlNTBBusinessOccupationInfoActivity, com.scb.phone.view.activity.hml.HmlBusinessOccupationInfoActivity, com.scb.phone.view.activity.hml.Hilt_HmlBusinessOccupationInfoActivity, com.scb.phone.view.activity.BaseActivityWithFragment, com.scb.phone.view.activity.BaseActivity, com.scb.phone.view.activity.PreLoadCheckActivity, com.akexorcist.localizationactivity.LocalizationActivity, androidx.appcompat.app.AppCompatActivity, androidx.fragment.app.FragmentActivity, androidx.activity.ComponentActivity, androidx.core.app.ComponentActivity, android.app.Activity
public final void onPause() {
int i = 2 % 2;
Context baseContext = getBaseContext();
if (baseContext == null) {
int i2 = t + 9;
r = i2 % 128;
int i3 = i2 % 2;
Object[] objArr = new Object[1];
aK(new char[]{19097, 28011, 3737, 31395, 28336, 1835, 26374, 39515, 50233, 15652, 35491, 16004, 26054, 16994, 32871, 54430, 3213, 16255, 50257, 20710, 47302, 49542, 7824, 48443, 56509, 25087}, 27 - (SystemClock.elapsedRealtimeNanos() > 0L ? 1 : (SystemClock.elapsedRealtimeNanos() == 0L ? 0 : -1)), objArr);
Class<?> cls = Class.forName((String) objArr[0]);
Object[] objArr2 = new Object[1];
aK(new char[]{22963, 42151, 26009, 42774, 45422, 49188, 49179, 38625, 35947, 26023, 18081, 50081, 16988, 61356, 32871, 54430, 57719, 26454}, (SystemClock.elapsedRealtime() > 0L ? 1 : (SystemClock.elapsedRealtime() == 0L ? 0 : -1)) + 17, objArr2);
baseContext = (Context) cls.getMethod((String) objArr2[0], new Class[0]).invoke(null, null);
}
if (baseContext != null) {
int i4 = t + 41;
r = i4 % 128;
if (i4 % 2 == 0) {
baseContext = baseContext.getApplicationContext();
int i5 = 41 / 0;
} else {
baseContext = baseContext.getApplicationContext();
}
}
if (baseContext != null) {
int i6 = r + 11;
t = i6 % 128;
int i7 = i6 % 2;
try {
Object obj = xzZ.y.get(125943855);
if (obj == null) {
obj = ((Class) xzZ.c(491 - ImageFormat.getBitsPerPixel(0), (ViewConfiguration.getJumpTapTimeout() >> 16) + 5, (char) Color.alpha(0))).getMethod("a", null);
xzZ.y.put(125943855, obj);
}
Object invoke = ((Method) obj).invoke(null, null);
Object[] objArr3 = {baseContext};
Object obj2 = xzZ.y.get(1633456013);
if (obj2 == null) {
obj2 = ((Class) xzZ.c(487 - ((Process.getThreadPriority(0) + 20) >> 6), 5 - (CdmaCellLocation.convertQuartSecToDecDegrees(0) > 0.0d ? 1 : (CdmaCellLocation.convertQuartSecToDecDegrees(0) == 0.0d ? 0 : -1)), (char) (ViewConfiguration.getWindowTouchSlop() >> 8))).getMethod("c", Context.class);
xzZ.y.put(1633456013, obj2);
}
((Method) obj2).invoke(invoke, objArr3);
} catch (Throwable th) {
Throwable cause = th.getCause();
if (cause == null) {
throw th;
}
throw cause;
}
}
super.onPause();
}
/* JADX INFO: Access modifiers changed from: private */
/* JADX WARN: Code restructure failed: missing block: B:6:0x0076, code lost:
if (r1 > 99999) goto L11;
*/
/*
Code decompiled incorrectly, please refer to instructions dump.
To view partially-correct add '--show-bad-code' argument
*/
public static /* synthetic */ java.lang.Object e(java.lang.Object[] r19) {
/*
Method dump skipped, instructions count: 836
To view this dump add '--comments-level debug' option
*/
throw new UnsupportedOperationException("Method not decompiled: com.scb.phone.view.activity.hml.HmlNTBBusinessOccupationInfoActivity.e(java.lang.Object[]):java.lang.Object");
}
static void j() {
k = (char) 30759;
f7292o = (char) 40559;
l = (char) 46384;
s = (char) 48235;
q = 4340530904189500411L;
}
@Override // com.scb.phone.view.activity.hml.Hilt_HmlNTBBusinessOccupationInfoActivity, com.scb.phone.view.activity.hml.HmlBusinessOccupationInfoActivity, com.scb.phone.view.activity.hml.Hilt_HmlBusinessOccupationInfoActivity, com.scb.phone.view.activity.BaseActivityWithFragment, com.scb.phone.view.activity.BaseActivity, com.scb.phone.view.activity.PreLoadCheckActivity, com.akexorcist.localizationactivity.LocalizationActivity, androidx.appcompat.app.AppCompatActivity, androidx.fragment.app.FragmentActivity, androidx.activity.ComponentActivity, androidx.core.app.ComponentActivity, android.app.Activity, android.view.ContextThemeWrapper, android.content.ContextWrapper
public final void attachBaseContext(Context context) {
System.identityHashCode(this);
e(new Object[]{this, context});
}
@Override // com.scb.phone.view.activity.hml.Hilt_HmlNTBBusinessOccupationInfoActivity, com.scb.phone.view.activity.hml.HmlBusinessOccupationInfoActivity, com.scb.phone.view.activity.hml.Hilt_HmlBusinessOccupationInfoActivity, com.scb.phone.view.activity.BaseActivityWithFragment, com.scb.phone.view.activity.BaseActivity, com.scb.phone.view.activity.PreLoadCheckActivity, com.akexorcist.localizationactivity.LocalizationActivity, androidx.appcompat.app.AppCompatActivity, androidx.fragment.app.FragmentActivity, androidx.activity.ComponentActivity, androidx.core.app.ComponentActivity, android.app.Activity
public final void onStart() {
int i = 2 % 2;
int i2 = t + 27;
r = i2 % 128;
int i3 = i2 % 2;
super.onStart();
int i4 = t + 121;
r = i4 % 128;
int i5 = i4 % 2;
}
@Override // com.scb.phone.view.activity.hml.HmlBusinessOccupationInfoActivity
public final void f() {
int i = 2 % 2;
int i2 = t + 85;
r = i2 % 128;
if (i2 % 2 == 0) {
throw null;
}
}
static {
t = 0;
j();
m = new IeS((byte) 0);
int i = r + 115;
t = i % 128;
int i2 = i % 2;
}
}