package com.scb.phone.view.activity.maintenance;
import android.content.Context;
import android.graphics.Color;
import android.graphics.ImageFormat;
import android.graphics.PointF;
import android.media.AudioTrack;
import android.os.Bundle;
import android.os.Process;
import android.os.SystemClock;
import android.telephony.cdma.CdmaCellLocation;
import android.text.AndroidCharacter;
import android.text.TextUtils;
import android.util.TypedValue;
import android.view.Gravity;
import android.view.KeyEvent;
import android.view.MotionEvent;
import android.view.View;
import android.view.ViewConfiguration;
import android.widget.ExpandableListView;
import android.widget.TextView;
import butterknife.BindView;
import butterknife.ButterKnife;
import com.google.android.gms.maps.model.BitmapDescriptorFactory;
import com.google.common.base.Ascii;
import com.google.common.primitives.SignedBytes;
import com.scb.phone.R;
import java.lang.reflect.Method;
import net.sf.scuba.smartcards.ISO7816;
import net.sf.scuba.smartcards.ISOFileInfo;
import o.AbstractActivityC8827dXI;
import o.C0930Rt;
import o.C15715hv;
import o.C17556xl;
import o.C3172asW;
import o.C4177bSb;
import o.C4403bZM;
import o.C6583cXR;
import o.DFY;
import o.InterfaceC13391fZD;
import o.RG;
import o.ZI;
import o.cZO;
import o.xzZ;
import org.bouncycastle.crypto.tls.CipherSuite;
import org.jmrtd.lds.CVCAFile;
/* loaded from: classes5.dex */
public class MaintenanceActivity extends AbstractActivityC8827dXI implements cZO {
private static short[] q;
@InterfaceC13391fZD
public C4177bSb maintenancePresenter;
@BindView
TextView tvMaintenanceMessage;
private static final byte[] $$p = {Ascii.SYN, 77, -47, -12};
private static final int $$q = CipherSuite.TLS_PSK_WITH_AES_256_CBC_SHA;
private static int $10 = 0;
private static int $11 = 1;
private static int p = 0;
private static int r = 1;
private static int k = -1163360328;
/* renamed from: o, reason: collision with root package name */
private static int f7560o = 1406017125;
private static int l = -1976753454;
private static byte[] m = {-73, Ascii.SUB, 12, Ascii.CAN, 118, Ascii.DEL, 56, 56, ISO7816.INS_READ_BINARY2, 6, -37, SignedBytes.MAX_POWER_OF_TWO, 113, ISO7816.INS_MANAGE_CHANNEL, Ascii.DEL, 12, 116, 15, Byte.MIN_VALUE, -94, 9, -63, 49, -73, 57, -112, 35, ISOFileInfo.PROP_INFO, 56, 60, 59, 58, -106, 73, 43, -112, ISOFileInfo.FCI_BYTE, 37, -106, 59, -124, -59, 6, -75, -35, 6, -27, -41, -93, Ascii.DC4, ISOFileInfo.A0, -31, -35, -8, ISO7816.INS_WRITE_BINARY, -17, -35, -1, -119, 13, -1, -83, -8, -41, -27, ISO7816.INS_UPDATE_BINARY, ISO7816.INS_WRITE_RECORD, -7, -1, ISO7816.INS_WRITE_RECORD, 6, -7, -120, 2, -75, -35, -8, 13, -7, -120, 7, -93, -27, -47, -7, -45, Ascii.DC4, ISO7816.INS_UPDATE_BINARY, -45, ISOFileInfo.SECURITY_ATTR_EXP, -86, -2, 12, -1, -84, ISO7816.INS_DELETE_FILE, -47, -17, ISO7816.INS_WRITE_RECORD, -84, 12, -120, -35, -6, 1, -49, CVCAFile.CAR_TAG, 85, 92, 114, ISO7816.INS_CHANGE_CHV, 5, SignedBytes.MAX_POWER_OF_TWO, ISOFileInfo.FILE_IDENTIFIER, -22, ISOFileInfo.CHANNEL_SECURITY, 84, 93, 77, 76, 40, 9, -107, 76, 82, 1, -111, 77, 83, Ascii.CAN, -100, 70, ISO7816.INS_CHANGE_CHV, 115, 43, 77, 82, 65, ISO7816.INS_CHANGE_CHV, 115, 93, 12, -119, 84, 33, 77, 114, 38, 67, 70, 89, 91, Ascii.NAK, -106, SignedBytes.MAX_POWER_OF_TWO, 80, CVCAFile.CAR_TAG, 69, 94, 79, 85, ISO7816.INS_REHABILITATE_CHV, 80, 79, 87, 77, 83, 69, 83, 79, 69, -21, 87, 88, 106, 86, 67, 87, 83};
private static int[] t = {-545646692, 1036825954, 1698574247, 1141538115, 801864916, -1321023952, 677950663, -360241135, -1646693823, -708516729, 2137905016, -305045040, -1647491074, 1148233429, -1749548358, 967545247, -253672431, -666037079};
private static void aC(int i, short s, int i2, Object[] objArr) {
int i3 = i + 4;
byte[] bArr = $$p;
int i4 = (i2 * 2) + 102;
int i5 = s * 3;
byte[] bArr2 = new byte[i5 + 1];
int i6 = -1;
if (bArr == null) {
i6 = -1;
i4 = (-i3) + i4;
i3 = i3;
}
while (true) {
int i7 = i6 + 1;
int i8 = i3 + 1;
bArr2[i7] = (byte) i4;
if (i7 == i5) {
objArr[0] = new String(bArr2, 0);
return;
}
i6 = i7;
i4 = (-bArr[i8]) + i4;
i3 = i8;
}
}
@Override // o.AbstractActivityC8827dXI, 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;
int i2 = p + 37;
r = i2 % 128;
int i3 = i2 % 2;
Object[] objArr = new Object[1];
aA((short) ((-60) - View.MeasureSpec.getSize(0)), 379151955 + (AudioTrack.getMinVolume() > BitmapDescriptorFactory.HUE_RED ? 1 : (AudioTrack.getMinVolume() == BitmapDescriptorFactory.HUE_RED ? 0 : -1)), ((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getApplicationInfo().targetSdkVersion - 147, ((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getResources().getString(R.string.auto_single_form_check_eligibility_property_scbs_header).substring(31, 32).codePointAt(0) + 639419180, (byte) (((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getApplicationInfo().targetSdkVersion - 79), objArr);
Class> cls = Class.forName((String) objArr[0]);
Object[] objArr2 = new Object[1];
aA((short) ((-115) - TextUtils.indexOf((CharSequence) "", '0', 0, 0)), ((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getResources().getString(R.string.hml_business_owner_review_loan_amount).substring(0, 5).length() + 379151968, (-113) - (ViewConfiguration.getScrollBarSize() >> 8), ((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getResources().getString(R.string.two_words).substring(0, 9).length() + 639419293, (byte) ((SystemClock.elapsedRealtimeNanos() > 0L ? 1 : (SystemClock.elapsedRealtimeNanos() == 0L ? 0 : -1)) - 67), objArr2);
int intValue = ((Integer) cls.getDeclaredMethod((String) objArr2[0], new Class[0]).invoke(null, new Object[0])).intValue() % 100000;
if (intValue < 99000 || intValue > 99999) {
Context baseContext = getBaseContext();
if (baseContext == null) {
int i4 = p + 27;
r = i4 % 128;
int i5 = i4 % 2;
Object[] objArr3 = new Object[1];
aB(new int[]{-18666949, -327061409, -377858283, -1968190779, 1891622663, -936879261, -1707158334, -1454170167, 317685793, 441340313, 211894276, -846166457, 694915128, -760876591}, 25 - TextUtils.indexOf((CharSequence) "", '0', 0), objArr3);
Class> cls2 = Class.forName((String) objArr3[0]);
Object[] objArr4 = new Object[1];
aA((short) (((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getApplicationInfo().targetSdkVersion + 6), 379151977 + ((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getResources().getString(R.string.auto_single_form_suitability_assessment_questionnaire_section_2_3).substring(10, 11).length(), (-113) - TextUtils.getOffsetBefore("", 0), ((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getApplicationInfo().targetSdkVersion + 639419258, (byte) (((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getPackageName().codePointAt(10) - 196), objArr4);
baseContext = (Context) cls2.getMethod((String) objArr4[0], new Class[0]).invoke(null, null);
}
if (baseContext != null) {
baseContext = baseContext.getApplicationContext();
}
if (baseContext != null) {
try {
Object obj = xzZ.y.get(125943855);
if (obj == null) {
obj = ((Class) xzZ.c(MotionEvent.axisFromString("") + 493, (ViewConfiguration.getTouchSlop() >> 8) + 5, (char) ((SystemClock.elapsedRealtime() > 0L ? 1 : (SystemClock.elapsedRealtime() == 0L ? 0 : -1)) - 1))).getMethod("a", null);
xzZ.y.put(125943855, obj);
}
Object invoke = ((Method) obj).invoke(null, null);
Object[] objArr5 = new Object[1];
aB(new int[]{-290223240, -1475048050, 2013164068, -78894025, 1969889419, 138097293, 608050358, 1087040782, 213347235, -784791224, -1614431656, 764348443, 1118416643, 179974068, -1222953801, 2051285268, -487815397, -794494285, -1154790036, 1427921544, -51632502, 1101616060, 304453781, 387286672}, ((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getResources().getString(R.string.app_account_deletion_sub_title).substring(7, 8).codePointAt(0) + 16, objArr5);
String str = (String) objArr5[0];
Object[] objArr6 = new Object[1];
aB(new int[]{378617690, -507059737, -1770124679, 1346384488, 1987055932, -256565499, 1755205534, 1008010803, 1447358492, 2077176093, 1133099092, 40055976, 79039914, -795447119, 1863423077, -45494808, 1182395194, -1646264708, -1532888827, -1019201430, 119310789, -983100588, -1466686326, 1402932605, 1560922304, -116690620, -1227548944, 1327896137, 793990280, -608111752, 1008408688, -1823407278}, ((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getPackageName().length() + 51, objArr6);
String str2 = (String) objArr6[0];
Object[] objArr7 = new Object[1];
aA((short) (((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getApplicationInfo().targetSdkVersion - 124), ((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getResources().getString(R.string.hml_business_owner_review_2_label_business_info_years_format).substring(0, 3).length() + 379151993, ((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getApplicationInfo().targetSdkVersion - 147, ((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getResources().getString(R.string.limit_cardless_cardx_speedy_cash_label).substring(12, 14).length() + 639419288, (byte) (((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getPackageName().length() + 96), objArr7);
String str3 = (String) objArr7[0];
Object[] objArr8 = new Object[1];
aA((short) (((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getPackageName().length() - 90), ((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getPackageName().length() + 379152047, ((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getApplicationInfo().targetSdkVersion - 147, ((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getResources().getString(R.string.e_document_description_mhmc).substring(65, 66).length() + 639419296, (byte) (((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getResources().getString(R.string.permission_camera_title).substring(0, 9).codePointAt(8) - 43), objArr8);
String str4 = (String) objArr8[0];
Object[] objArr9 = new Object[1];
aB(new int[]{-1994098060, 2064329271, -1738210123, 1867354751}, ((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getPackageName().length() - 8, objArr9);
String str5 = (String) objArr9[0];
Object[] objArr10 = new Object[1];
aB(new int[]{1326413207, -1836324284, 1088104516, -933151169, -405575468, 644004483, 1167448343, 548168168, -136437632, -38449401, 2106773317, 1272981870, -3416064, 946446676, 1142391356, -323665221, 1580594591, -170873702}, View.resolveSize(0, 0) + 36, 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(ExpandableListView.getPackedPositionType(0L) + 487, Color.blue(0) + 5, (char) View.resolveSize(0, 0))).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);
setContentView(R.layout.2131558644);
ButterKnife.Dg_(this);
Z();
this.maintenancePresenter.e((C4177bSb) this);
if (getIntent().hasExtra("TAG_DATA")) {
int i6 = p + 85;
r = i6 % 128;
if (i6 % 2 == 0) {
C0930Rt c0930Rt = (C0930Rt) getIntent().getParcelableExtra("TAG_DATA");
C17556xl c17556xl = this.maintenancePresenter.b;
String str6 = c0930Rt.j;
String str7 = c0930Rt.g;
C6583cXR.Wa_(c17556xl.e, C15715hv.LWm.scb_purple);
throw null;
}
C0930Rt c0930Rt2 = (C0930Rt) getIntent().getParcelableExtra("TAG_DATA");
C4177bSb c4177bSb = this.maintenancePresenter;
C17556xl c17556xl2 = c4177bSb.b;
String str8 = c0930Rt2.j;
String str9 = c0930Rt2.g;
final RG rg = new RG(str8, str9 != null ? str9.replace("", String.format("", C6583cXR.Wa_(c17556xl2.e, C15715hv.LWm.scb_purple))).replace("", "").replace("
", "
").trim() : "");
ZI.IeS ieS = new ZI.IeS(rg) { // from class: o.bSd
private RG e;
@Override // o.ZI.IeS
public final void e(Object obj3) {
((cZO) obj3).b(this.e);
}
{
this.e = rg;
}
};
if (c4177bSb.f != 0) {
ieS.e(c4177bSb.f);
}
}
}
@Override // o.cZO
public final void b(RG rg) {
int i = 2 % 2;
int i2 = r + 73;
p = i2 % 128;
int i3 = i2 % 2;
p(rg.d);
this.tvMaintenanceMessage.setText(C3172asW.qI_(rg.b, 0));
int i4 = r + 31;
p = i4 % 128;
if (i4 % 2 == 0) {
return;
}
Object obj = null;
obj.hashCode();
throw null;
}
private static void aB(int[] iArr, int i, Object[] objArr) {
int i2;
String str;
int i3 = 2;
int i4 = 2 % 2;
C4403bZM c4403bZM = new C4403bZM();
char[] cArr = new char[4];
char[] cArr2 = new char[iArr.length * 2];
int[] iArr2 = t;
String str2 = "";
int i5 = 1;
int i6 = 0;
if (iArr2 != null) {
int length = iArr2.length;
int[] iArr3 = new int[length];
int i7 = 0;
while (i7 < length) {
int i8 = $11 + 23;
$10 = i8 % 128;
if (i8 % i3 != 0) {
try {
Object[] objArr2 = new Object[i5];
objArr2[0] = Integer.valueOf(iArr2[i7]);
Object obj = xzZ.y.get(729798706);
if (obj == null) {
obj = ((Class) xzZ.c(14 - TextUtils.indexOf((CharSequence) "", '0', 0, 0), 5 - TextUtils.getOffsetBefore("", 0), (char) (58134 - View.resolveSize(0, 0)))).getMethod("i", Integer.TYPE);
xzZ.y.put(729798706, obj);
}
iArr3[i7] = ((Integer) ((Method) obj).invoke(null, objArr2)).intValue();
i7 %= 1;
} catch (Throwable th) {
Throwable cause = th.getCause();
if (cause == null) {
throw th;
}
throw cause;
}
} else {
Object[] objArr3 = {Integer.valueOf(iArr2[i7])};
Object obj2 = xzZ.y.get(729798706);
if (obj2 == null) {
obj2 = ((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)) + 15, (ViewConfiguration.getTouchSlop() >> 8) + 5, (char) (KeyEvent.normalizeMetaState(0) + 58134))).getMethod("i", Integer.TYPE);
xzZ.y.put(729798706, obj2);
}
iArr3[i7] = ((Integer) ((Method) obj2).invoke(null, objArr3)).intValue();
i7++;
}
i3 = 2;
i5 = 1;
}
iArr2 = iArr3;
}
int length2 = iArr2.length;
int[] iArr4 = new int[length2];
int[] iArr5 = t;
if (iArr5 != null) {
int length3 = iArr5.length;
int[] iArr6 = new int[length3];
int i9 = 0;
while (i9 < length3) {
int i10 = $11 + 81;
$10 = i10 % 128;
if (i10 % 2 != 0) {
try {
Object[] objArr4 = new Object[1];
objArr4[i6] = Integer.valueOf(iArr5[i9]);
Object obj3 = xzZ.y.get(729798706);
if (obj3 != null) {
str = str2;
} else {
obj3 = ((Class) xzZ.c(15 - Gravity.getAbsoluteGravity(0, 0), (SystemClock.uptimeMillis() > 0L ? 1 : (SystemClock.uptimeMillis() == 0L ? 0 : -1)) + 4, (char) (58133 - Process.getGidForName(str2)))).getMethod("i", Integer.TYPE);
str = str2;
xzZ.y.put(729798706, obj3);
}
iArr6[i9] = ((Integer) ((Method) obj3).invoke(null, objArr4)).intValue();
i9 >>= 1;
} catch (Throwable th2) {
Throwable cause2 = th2.getCause();
if (cause2 == null) {
throw th2;
}
throw cause2;
}
} else {
str = str2;
try {
Object[] objArr5 = {Integer.valueOf(iArr5[i9])};
Object obj4 = xzZ.y.get(729798706);
if (obj4 == null) {
obj4 = ((Class) xzZ.c(15 - View.getDefaultSize(0, 0), 5 - View.combineMeasuredStates(0, 0), (char) ((SystemClock.uptimeMillis() > 0L ? 1 : (SystemClock.uptimeMillis() == 0L ? 0 : -1)) + 58133))).getMethod("i", Integer.TYPE);
xzZ.y.put(729798706, obj4);
}
iArr6[i9] = ((Integer) ((Method) obj4).invoke(null, objArr5)).intValue();
i9++;
} catch (Throwable th3) {
Throwable cause3 = th3.getCause();
if (cause3 == null) {
throw th3;
}
throw cause3;
}
}
int i11 = $11 + 77;
$10 = i11 % 128;
int i12 = i11 % 2;
str2 = str;
i6 = 0;
}
i2 = i6;
iArr5 = iArr6;
} else {
i2 = 0;
}
System.arraycopy(iArr5, i2, iArr4, i2, length2);
c4403bZM.b = i2;
while (c4403bZM.b < iArr.length) {
int i13 = $10 + 17;
$11 = i13 % 128;
int i14 = i13 % 2;
cArr[0] = (char) (iArr[c4403bZM.b] >> 16);
cArr[1] = (char) iArr[c4403bZM.b];
cArr[2] = (char) (iArr[c4403bZM.b + 1] >> 16);
cArr[3] = (char) iArr[c4403bZM.b + 1];
c4403bZM.e = (cArr[0] << 16) + cArr[1];
c4403bZM.a = (cArr[2] << 16) + cArr[3];
C4403bZM.d(iArr4);
for (int i15 = 0; i15 < 16; i15++) {
int i16 = $10 + 25;
$11 = i16 % 128;
int i17 = i16 % 2;
c4403bZM.e ^= iArr4[i15];
Object[] objArr6 = {c4403bZM, Integer.valueOf(C4403bZM.d(c4403bZM.e)), c4403bZM, c4403bZM};
Object obj5 = xzZ.y.get(-1196964548);
if (obj5 == null) {
Class cls = (Class) xzZ.c(118 - (ViewConfiguration.getScrollBarSize() >> 8), 5 - (KeyEvent.getMaxKeyCode() >> 16), (char) (1 - (SystemClock.elapsedRealtimeNanos() > 0L ? 1 : (SystemClock.elapsedRealtimeNanos() == 0L ? 0 : -1))));
byte b = (byte) (-1);
byte b2 = (byte) (b + 1);
Object[] objArr7 = new Object[1];
aC(b, b2, (byte) (b2 + 1), objArr7);
obj5 = cls.getMethod((String) objArr7[0], Object.class, Integer.TYPE, Object.class, Object.class);
xzZ.y.put(-1196964548, obj5);
}
int intValue = ((Integer) ((Method) obj5).invoke(null, objArr6)).intValue();
c4403bZM.e = c4403bZM.a;
c4403bZM.a = intValue;
}
int i18 = c4403bZM.e;
c4403bZM.e = c4403bZM.a;
c4403bZM.a = i18;
c4403bZM.a ^= iArr4[16];
c4403bZM.e ^= iArr4[17];
int i19 = c4403bZM.e;
int i20 = c4403bZM.a;
cArr[0] = (char) (c4403bZM.e >>> 16);
cArr[1] = (char) c4403bZM.e;
cArr[2] = (char) (c4403bZM.a >>> 16);
cArr[3] = (char) c4403bZM.a;
C4403bZM.d(iArr4);
cArr2[c4403bZM.b * 2] = cArr[0];
cArr2[(c4403bZM.b * 2) + 1] = cArr[1];
cArr2[(c4403bZM.b * 2) + 2] = cArr[2];
cArr2[(c4403bZM.b * 2) + 3] = cArr[3];
Object[] objArr8 = {c4403bZM, c4403bZM};
Object obj6 = xzZ.y.get(1914371176);
if (obj6 == null) {
Class cls2 = (Class) xzZ.c(98 - (ViewConfiguration.getWindowTouchSlop() >> 8), (ViewConfiguration.getDoubleTapTimeout() >> 16) + 5, (char) (AudioTrack.getMinVolume() > BitmapDescriptorFactory.HUE_RED ? 1 : (AudioTrack.getMinVolume() == BitmapDescriptorFactory.HUE_RED ? 0 : -1)));
byte b3 = (byte) (-1);
byte b4 = (byte) (b3 + 1);
Object[] objArr9 = new Object[1];
aC(b3, b4, b4, objArr9);
obj6 = cls2.getMethod((String) objArr9[0], Object.class, Object.class);
xzZ.y.put(1914371176, obj6);
}
((Method) obj6).invoke(null, objArr8);
}
objArr[0] = new String(cArr2, 0, i);
}
/* JADX WARN: Code restructure failed: missing block: B:28:0x0021, code lost:
r1 = com.scb.phone.view.activity.maintenance.MaintenanceActivity.p + 99;
com.scb.phone.view.activity.maintenance.MaintenanceActivity.r = r1 % 128;
r1 = r1 % 2;
r7 = (java.lang.Object[]) null;
r7 = new java.lang.Object[1];
aB(new int[]{-18666949, -327061409, -377858283, -1968190779, 1891622663, -936879261, -1707158334, -1454170167, 317685793, 441340313, 211894276, -846166457, 694915128, -760876591}, ((android.content.Context) java.lang.Class.forName("android.app.ActivityThread").getMethod("currentApplication", new java.lang.Class[0]).invoke(null, null)).getApplicationContext().getApplicationInfo().targetSdkVersion - 8, r7);
r1 = java.lang.Class.forName((java.lang.String) r7[0]);
r5 = new java.lang.Object[1];
aA((short) (40 - android.text.TextUtils.getOffsetBefore("", 0)), 379151965 + ((android.content.Context) java.lang.Class.forName("android.app.ActivityThread").getMethod("currentApplication", new java.lang.Class[0]).invoke(null, null)).getApplicationContext().getPackageName().length(), (-113) - android.text.TextUtils.indexOf("", "", 0, 0), ((android.content.Context) java.lang.Class.forName("android.app.ActivityThread").getMethod("currentApplication", new java.lang.Class[0]).invoke(null, null)).getApplicationContext().getPackageName().length() + 639419279, (byte) (android.view.KeyEvent.keyCodeFromString("") - 85), r5);
r1 = (android.content.Context) r1.getMethod((java.lang.String) r5[0], new java.lang.Class[0]).invoke(null, null);
*/
/* JADX WARN: Code restructure failed: missing block: B:30:0x001f, code lost:
if (r1 == null) goto L9;
*/
/* JADX WARN: Code restructure failed: missing block: B:4:0x0018, code lost:
if (r1 == null) goto L9;
*/
@Override // o.AbstractActivityC8827dXI, 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 onResume() {
/*
Method dump skipped, instructions count: 412
To view this dump add '--comments-level debug' option
*/
throw new UnsupportedOperationException("Method not decompiled: com.scb.phone.view.activity.maintenance.MaintenanceActivity.onResume():void");
}
@Override // o.AbstractActivityC8827dXI, 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 = p + 23;
r = i2 % 128;
int i3 = i2 % 2;
Context baseContext = getBaseContext();
if (baseContext == null) {
int i4 = p + 93;
r = i4 % 128;
int i5 = i4 % 2;
Object[] objArr = new Object[1];
aB(new int[]{-18666949, -327061409, -377858283, -1968190779, 1891622663, -936879261, -1707158334, -1454170167, 317685793, 441340313, 211894276, -846166457, 694915128, -760876591}, ((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getResources().getString(R.string.zxing_msg_camera_framework_bug).substring(6, 7).codePointAt(0) - 6, objArr);
Class> cls = Class.forName((String) objArr[0]);
Object[] objArr2 = new Object[1];
aA((short) (40 - Color.red(0)), Color.red(0) + 379151978, ((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getApplicationInfo().targetSdkVersion - 147, ((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getApplicationInfo().targetSdkVersion + 639419258, (byte) ((KeyEvent.getMaxKeyCode() >> 16) - 85), objArr2);
baseContext = (Context) cls.getMethod((String) objArr2[0], new Class[0]).invoke(null, null);
}
if (baseContext != null) {
int i6 = r + 47;
p = i6 % 128;
if (i6 % 2 != 0) {
baseContext = baseContext.getApplicationContext();
int i7 = 85 / 0;
} else {
baseContext = baseContext.getApplicationContext();
}
}
if (baseContext != null) {
try {
Object obj = xzZ.y.get(125943855);
if (obj == null) {
obj = ((Class) xzZ.c(TextUtils.indexOf((CharSequence) "", '0') + 493, 6 - (SystemClock.elapsedRealtimeNanos() > 0L ? 1 : (SystemClock.elapsedRealtimeNanos() == 0L ? 0 : -1)), (char) (1 - (ViewConfiguration.getZoomControlsTimeout() > 0L ? 1 : (ViewConfiguration.getZoomControlsTimeout() == 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(486 - TextUtils.indexOf((CharSequence) "", '0', 0), (ViewConfiguration.getScrollBarSize() >> 8) + 5, (char) TextUtils.indexOf("", "", 0))).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();
}
private static void aA(short s, int i, int i2, int i3, byte b, Object[] objArr) {
int i4;
int i5;
int i6 = 2 % 2;
DFY dfy = new DFY();
StringBuilder sb = new StringBuilder();
try {
Object[] objArr2 = {Integer.valueOf(i2), Integer.valueOf(f7560o)};
Object obj = xzZ.y.get(-2092856797);
int i7 = -1;
if (obj == null) {
Class cls = (Class) xzZ.c((ViewConfiguration.getWindowTouchSlop() >> 8) + 337, TextUtils.indexOf((CharSequence) "", '0', 0) + 6, (char) Gravity.getAbsoluteGravity(0, 0));
byte b2 = (byte) (-1);
Object[] objArr3 = new Object[1];
aC(b2, (byte) (b2 + 1), (byte) $$p.length, objArr3);
obj = cls.getMethod((String) objArr3[0], Integer.TYPE, Integer.TYPE);
xzZ.y.put(-2092856797, obj);
}
int intValue = ((Integer) ((Method) obj).invoke(null, objArr2)).intValue();
if (intValue == -1) {
int i8 = $10 + 117;
$11 = i8 % 128;
int i9 = i8 % 2;
i4 = 1;
} else {
i4 = 0;
}
if ((i4 ^ 1) != 1) {
byte[] bArr = m;
if (bArr != null) {
int length = bArr.length;
byte[] bArr2 = new byte[length];
int i10 = 0;
while (i10 < length) {
Object[] objArr4 = {Integer.valueOf(bArr[i10])};
Object obj2 = xzZ.y.get(-1648115392);
if (obj2 == null) {
Class cls2 = (Class) xzZ.c((ViewConfiguration.getEdgeSlop() >> 16) + 60, Color.blue(0) + 5, (char) (ViewConfiguration.getDoubleTapTimeout() >> 16));
byte b3 = (byte) i7;
byte b4 = (byte) (b3 + 1);
Object[] objArr5 = new Object[1];
aC(b3, b4, (byte) (b4 + 3), objArr5);
obj2 = cls2.getMethod((String) objArr5[0], Integer.TYPE);
xzZ.y.put(-1648115392, obj2);
}
bArr2[i10] = ((Byte) ((Method) obj2).invoke(null, objArr4)).byteValue();
i10++;
i7 = -1;
}
bArr = bArr2;
}
if (bArr != null) {
int i11 = $11 + 67;
$10 = i11 % 128;
if (i11 % 2 != 0) {
byte[] bArr3 = m;
Object[] objArr6 = {Integer.valueOf(i), Integer.valueOf(k)};
Object obj3 = xzZ.y.get(-2092856797);
if (obj3 == null) {
Class cls3 = (Class) xzZ.c(337 - TextUtils.indexOf("", ""), View.MeasureSpec.getSize(0) + 5, (char) ((-1) - TextUtils.lastIndexOf("", '0', 0)));
byte b5 = (byte) (-1);
Object[] objArr7 = new Object[1];
aC(b5, (byte) (b5 + 1), (byte) $$p.length, objArr7);
obj3 = cls3.getMethod((String) objArr7[0], Integer.TYPE, Integer.TYPE);
xzZ.y.put(-2092856797, obj3);
}
i5 = ((byte) (bArr3[((Integer) ((Method) obj3).invoke(null, objArr6)).intValue()] * (-7303220121662775787L))) >> ((int) (f7560o & (-7303220121662775787L)));
} else {
byte[] bArr4 = m;
Object[] objArr8 = {Integer.valueOf(i), Integer.valueOf(k)};
Object obj4 = xzZ.y.get(-2092856797);
if (obj4 == null) {
Class cls4 = (Class) xzZ.c(337 - KeyEvent.getDeadChar(0, 0), (ViewConfiguration.getScrollFriction() > BitmapDescriptorFactory.HUE_RED ? 1 : (ViewConfiguration.getScrollFriction() == BitmapDescriptorFactory.HUE_RED ? 0 : -1)) + 4, (char) (1 - (AudioTrack.getMaxVolume() > BitmapDescriptorFactory.HUE_RED ? 1 : (AudioTrack.getMaxVolume() == BitmapDescriptorFactory.HUE_RED ? 0 : -1))));
byte b6 = (byte) (-1);
Object[] objArr9 = new Object[1];
aC(b6, (byte) (b6 + 1), (byte) $$p.length, objArr9);
obj4 = cls4.getMethod((String) objArr9[0], Integer.TYPE, Integer.TYPE);
xzZ.y.put(-2092856797, obj4);
}
i5 = ((byte) (bArr4[((Integer) ((Method) obj4).invoke(null, objArr8)).intValue()] ^ (-7303220121662775787L))) + ((int) (f7560o ^ (-7303220121662775787L)));
}
intValue = (byte) i5;
} else {
intValue = (short) (((short) (q[i + ((int) (k ^ (-7303220121662775787L)))] ^ (-7303220121662775787L))) + ((int) (f7560o ^ (-7303220121662775787L))));
}
}
if (intValue > 0) {
dfy.c = ((i + intValue) - 2) + ((int) (k ^ (-7303220121662775787L))) + i4;
Object[] objArr10 = {dfy, Integer.valueOf(i3), Integer.valueOf(l), sb};
Object obj5 = xzZ.y.get(1546973421);
if (obj5 == null) {
obj5 = ((Class) xzZ.c(748 - (Process.myTid() >> 22), 6 - (SystemClock.currentThreadTimeMillis() > (-1L) ? 1 : (SystemClock.currentThreadTimeMillis() == (-1L) ? 0 : -1)), (char) ((SystemClock.uptimeMillis() > 0L ? 1 : (SystemClock.uptimeMillis() == 0L ? 0 : -1)) - 1))).getMethod("q", Object.class, Integer.TYPE, Integer.TYPE, Object.class);
xzZ.y.put(1546973421, obj5);
}
((StringBuilder) ((Method) obj5).invoke(null, objArr10)).append(dfy.a);
dfy.e = dfy.a;
byte[] bArr5 = m;
if (bArr5 != null) {
int i12 = $11 + 49;
$10 = i12 % 128;
int i13 = i12 % 2;
int length2 = bArr5.length;
byte[] bArr6 = new byte[length2];
for (int i14 = 0; i14 < length2; i14++) {
bArr6[i14] = (byte) (bArr5[i14] ^ (-7303220121662775787L));
}
bArr5 = bArr6;
}
boolean z = bArr5 != null;
dfy.d = 1;
while (dfy.d < intValue) {
if (z) {
byte[] bArr7 = m;
dfy.c = dfy.c - 1;
dfy.a = (char) (dfy.e + (((byte) (((byte) (bArr7[r7] ^ (-7303220121662775787L))) + s)) ^ b));
} else {
short[] sArr = q;
dfy.c = dfy.c - 1;
dfy.a = (char) (dfy.e + (((short) (((short) (sArr[r7] ^ (-7303220121662775787L))) + s)) ^ 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 // o.AbstractActivityC8827dXI, 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 + 9;
r = i2 % 128;
int i3 = i2 % 2;
super.attachBaseContext(context);
Object[] objArr = new Object[1];
aA((short) ((ViewConfiguration.getMinimumFlingVelocity() >> 16) - 60), 379151955 - (CdmaCellLocation.convertQuartSecToDecDegrees(0) > 0.0d ? 1 : (CdmaCellLocation.convertQuartSecToDecDegrees(0) == 0.0d ? 0 : -1)), KeyEvent.normalizeMetaState(0) - 113, 639419290 + KeyEvent.keyCodeFromString(""), (byte) ((-46) - ImageFormat.getBitsPerPixel(0)), objArr);
Class> cls = Class.forName((String) objArr[0]);
Object[] objArr2 = new Object[1];
aA((short) ((-114) - (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))), (ViewConfiguration.getKeyRepeatDelay() >> 16) + 379151973, View.getDefaultSize(0, 0) - 113, 639419302 - (ExpandableListView.getPackedPositionForGroup(0) > 0L ? 1 : (ExpandableListView.getPackedPositionForGroup(0) == 0L ? 0 : -1)), (byte) ((ExpandableListView.getPackedPositionForChild(0, 0) > 0L ? 1 : (ExpandableListView.getPackedPositionForChild(0, 0) == 0L ? 0 : -1)) - 65), 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 = p + 33;
r = i4 % 128;
int i5 = i4 % 2;
context2 = context.getApplicationContext();
int i6 = r + 105;
p = i6 % 128;
int i7 = i6 % 2;
} else {
context2 = context;
}
if (context2 != null) {
try {
Object obj = xzZ.y.get(125943855);
if (obj == null) {
obj = ((Class) xzZ.c(492 - (ViewConfiguration.getPressedStateDuration() >> 16), 5 - Color.alpha(0), (char) ExpandableListView.getPackedPositionGroup(0L))).getMethod("a", null);
xzZ.y.put(125943855, obj);
}
Object invoke = ((Method) obj).invoke(null, null);
Object[] objArr3 = new Object[1];
aB(new int[]{-290223240, -1475048050, 2013164068, -78894025, 1969889419, 138097293, 608050358, 1087040782, 213347235, -784791224, -1614431656, 764348443, 1118416643, 179974068, -1222953801, 2051285268, -487815397, -794494285, -1154790036, 1427921544, -51632502, 1101616060, 304453781, 387286672}, 48 - (ViewConfiguration.getMinimumFlingVelocity() >> 16), objArr3);
String str = (String) objArr3[0];
Object[] objArr4 = new Object[1];
aB(new int[]{378617690, -507059737, -1770124679, 1346384488, 1987055932, -256565499, 1755205534, 1008010803, 1447358492, 2077176093, 1133099092, 40055976, 79039914, -795447119, 1863423077, -45494808, 1182395194, -1646264708, -1532888827, -1019201430, 119310789, -983100588, -1466686326, 1402932605, 1560922304, -116690620, -1227548944, 1327896137, 793990280, -608111752, 1008408688, -1823407278}, (ViewConfiguration.getScrollBarSize() >> 8) + 64, objArr4);
String str2 = (String) objArr4[0];
Object[] objArr5 = new Object[1];
aA((short) ((-90) - (ViewConfiguration.getScrollBarFadeDuration() >> 16)), 379151996 - (ViewConfiguration.getMaximumDrawingCacheSize() >> 24), (-113) - View.getDefaultSize(0, 0), 50122 - AndroidCharacter.getMirror('0'), (byte) (109 - (ViewConfiguration.getTouchSlop() >> 8)), objArr5);
String str3 = (String) objArr5[0];
Object[] objArr6 = new Object[1];
aA((short) (TextUtils.getCapsMode("", 0, 0) - 77), 379152060 - (ViewConfiguration.getTapTimeout() >> 16), (-113) - (ViewConfiguration.getPressedStateDuration() >> 16), TextUtils.lastIndexOf("", '0') + 639419298, (byte) ((ViewConfiguration.getScrollBarSize() >> 8) - 11), objArr6);
String str4 = (String) objArr6[0];
Object[] objArr7 = new Object[1];
aB(new int[]{-1994098060, 2064329271, -1738210123, 1867354751}, 6 - (SystemClock.currentThreadTimeMillis() > (-1L) ? 1 : (SystemClock.currentThreadTimeMillis() == (-1L) ? 0 : -1)), objArr7);
String str5 = (String) objArr7[0];
Object[] objArr8 = new Object[1];
aB(new int[]{1326413207, -1836324284, 1088104516, -933151169, -405575468, 644004483, 1167448343, 548168168, -136437632, -38449401, 2106773317, 1272981870, -3416064, 946446676, 1142391356, -323665221, 1580594591, -170873702}, 36 - TextUtils.indexOf("", "", 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(Color.alpha(0) + 487, 5 - (TypedValue.complexToFraction(0, BitmapDescriptorFactory.HUE_RED, BitmapDescriptorFactory.HUE_RED) > BitmapDescriptorFactory.HUE_RED ? 1 : (TypedValue.complexToFraction(0, BitmapDescriptorFactory.HUE_RED, BitmapDescriptorFactory.HUE_RED) == BitmapDescriptorFactory.HUE_RED ? 0 : -1)), (char) ((-1) - TextUtils.lastIndexOf("", '0', 0, 0)))).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 // o.AbstractActivityC8827dXI, 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 = r + 43;
p = i2 % 128;
int i3 = i2 % 2;
super.onStart();
if (i3 != 0) {
int i4 = 89 / 0;
}
}
}