what-the-bank/sources/com/huawei/hms/activity/EnableServiceActivity.java

604 lines
36 KiB
Java

package com.huawei.hms.activity;
import android.app.Activity;
import android.content.Context;
import android.graphics.Color;
import android.graphics.drawable.Drawable;
import android.media.AudioTrack;
import android.os.Bundle;
import android.os.Process;
import android.os.SystemClock;
import android.text.TextUtils;
import android.util.TypedValue;
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.huawei.hms.utils.ResourceLoaderUtil;
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.ISOFileInfo;
import o.C3614bBe;
import o.C4593bdB;
import o.xzZ;
/* loaded from: classes2.dex */
public class EnableServiceActivity extends Activity {
private static final byte[] $$a = {102, 118, 67, -58};
private static final int $$b = 63;
private static int $10 = 0;
private static int $11 = 1;
private static int f = 0;
private static int h = 1;
private static long e = -7435020402946775727L;
private static char[] b = {15953, 15949, 15913, 15965, 15960, 15911, 15945, 15958, 15961, 15954, 15944, 15877, 15956, 15952, 15909, 15955, 15893, 15883, 15880, 15910, 15895, 15962, 15885, 15894, 15884, 15882, 15881, 15892, 15964, 15959, 15886, 15891, 15967, 15890, 15963, 15957, 15946, 15889};
private static int d = 1934311108;
private static boolean c = true;
private static boolean a = true;
/* 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 j(int r7, short r8, byte r9, java.lang.Object[] r10) {
/*
int r7 = r7 + 65
int r8 = r8 + 4
int r9 = r9 * 3
int r9 = 1 - r9
byte[] r0 = com.huawei.hms.activity.EnableServiceActivity.$$a
byte[] r1 = new byte[r9]
r2 = 0
if (r0 != 0) goto L12
r3 = r8
r4 = r2
goto L29
L12:
r3 = r2
L13:
int r8 = r8 + 1
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 r8 = -r8
int r7 = r7 + r8
r8 = r3
r3 = r4
goto L13
*/
throw new UnsupportedOperationException("Method not decompiled: com.huawei.hms.activity.EnableServiceActivity.j(int, short, byte, java.lang.Object[]):void");
}
private static void g(char[] cArr, int i, Object[] objArr) {
int i2 = 2 % 2;
C4593bdB c4593bdB = new C4593bdB();
c4593bdB.a = i;
int length = cArr.length;
long[] jArr = new long[length];
c4593bdB.e = 0;
while (c4593bdB.e < cArr.length) {
int i3 = $11 + 121;
$10 = i3 % 128;
if (i3 % 2 != 0) {
int i4 = c4593bdB.e;
try {
Object[] objArr2 = {Integer.valueOf(cArr[c4593bdB.e]), c4593bdB, c4593bdB};
Object obj = xzZ.y.get(-1229953068);
if (obj == null) {
Class cls = (Class) xzZ.c(402 - TextUtils.indexOf("", "", 0, 0), TextUtils.indexOf((CharSequence) "", '0', 0, 0) + 6, (char) (21607 - TextUtils.lastIndexOf("", '0')));
byte b2 = (byte) (-1);
Object[] objArr3 = new Object[1];
j((byte) ($$b & 12), b2, (byte) (b2 + 1), objArr3);
obj = cls.getMethod((String) objArr3[0], Integer.TYPE, Object.class, Object.class);
xzZ.y.put(-1229953068, obj);
}
jArr[i4] = ((Long) ((Method) obj).invoke(null, objArr2)).longValue() % (e ^ (-6958928035870403642L));
Object[] objArr4 = {c4593bdB, c4593bdB};
Object obj2 = xzZ.y.get(-1143917229);
if (obj2 == null) {
Class cls2 = (Class) xzZ.c(238 - (ViewConfiguration.getEdgeSlop() >> 16), 5 - TextUtils.getOffsetAfter("", 0), (char) ((SystemClock.uptimeMillis() > 0L ? 1 : (SystemClock.uptimeMillis() == 0L ? 0 : -1)) - 1));
byte b3 = (byte) (-1);
Object[] objArr5 = new Object[1];
j((byte) ($$b & 13), b3, (byte) (b3 + 1), objArr5);
obj2 = cls2.getMethod((String) objArr5[0], Object.class, Object.class);
xzZ.y.put(-1143917229, obj2);
}
((Method) obj2).invoke(null, objArr4);
} catch (Throwable th) {
Throwable cause = th.getCause();
if (cause == null) {
throw th;
}
throw cause;
}
} else {
int i5 = c4593bdB.e;
Object[] objArr6 = {Integer.valueOf(cArr[c4593bdB.e]), c4593bdB, c4593bdB};
Object obj3 = xzZ.y.get(-1229953068);
if (obj3 == null) {
Class cls3 = (Class) xzZ.c((ViewConfiguration.getDoubleTapTimeout() >> 16) + 402, (ViewConfiguration.getDoubleTapTimeout() >> 16) + 5, (char) (21608 - TextUtils.indexOf("", "", 0, 0)));
byte b4 = (byte) (-1);
Object[] objArr7 = new Object[1];
j((byte) ($$b & 12), b4, (byte) (b4 + 1), objArr7);
obj3 = cls3.getMethod((String) objArr7[0], Integer.TYPE, Object.class, Object.class);
xzZ.y.put(-1229953068, obj3);
}
jArr[i5] = ((Long) ((Method) obj3).invoke(null, objArr6)).longValue() ^ (e ^ (-6958928035870403642L));
Object[] objArr8 = {c4593bdB, c4593bdB};
Object obj4 = xzZ.y.get(-1143917229);
if (obj4 == null) {
Class cls4 = (Class) xzZ.c(238 - TextUtils.getTrimmedLength(""), ((Process.getThreadPriority(0) + 20) >> 6) + 5, (char) TextUtils.getTrimmedLength(""));
byte b5 = (byte) (-1);
Object[] objArr9 = new Object[1];
j((byte) ($$b & 13), b5, (byte) (b5 + 1), objArr9);
obj4 = cls4.getMethod((String) objArr9[0], Object.class, Object.class);
xzZ.y.put(-1143917229, obj4);
}
((Method) obj4).invoke(null, objArr8);
}
}
char[] cArr2 = new char[length];
c4593bdB.e = 0;
while (c4593bdB.e < cArr.length) {
cArr2[c4593bdB.e] = (char) jArr[c4593bdB.e];
Object[] objArr10 = {c4593bdB, c4593bdB};
Object obj5 = xzZ.y.get(-1143917229);
if (obj5 == null) {
Class cls5 = (Class) xzZ.c(238 - ((Process.getThreadPriority(0) + 20) >> 6), 6 - (ViewConfiguration.getZoomControlsTimeout() > 0L ? 1 : (ViewConfiguration.getZoomControlsTimeout() == 0L ? 0 : -1)), (char) (1 - (SystemClock.currentThreadTimeMillis() > (-1L) ? 1 : (SystemClock.currentThreadTimeMillis() == (-1L) ? 0 : -1))));
byte b6 = (byte) (-1);
Object[] objArr11 = new Object[1];
j((byte) ($$b & 13), b6, (byte) (b6 + 1), objArr11);
obj5 = cls5.getMethod((String) objArr11[0], Object.class, Object.class);
xzZ.y.put(-1143917229, obj5);
}
((Method) obj5).invoke(null, objArr10);
}
String str = new String(cArr2);
int i6 = $11 + 71;
$10 = i6 % 128;
int i7 = i6 % 2;
objArr[0] = str;
}
@Override // android.app.Activity
protected void onCreate(Bundle bundle) {
int i = 2 % 2;
int i2 = h + 85;
f = i2 % 128;
int i3 = i2 % 2;
Object[] objArr = new Object[1];
g(new char[]{30454, 48756, 59369, 12098, 21708, 39999, 50621, 3426, 12944, 31249, 41787, 59592, 4217, 22993, 33090, 46769, 65076, 10169}, 51341 - TextUtils.getOffsetBefore("", 0), objArr);
Class<?> cls = Class.forName((String) objArr[0]);
Object[] objArr2 = new Object[1];
Object obj = null;
i(null, null, 126 - TextUtils.lastIndexOf("", '0'), new byte[]{ISOFileInfo.PROP_INFO, -124, ISOFileInfo.FILE_IDENTIFIER, -126, ISOFileInfo.DATA_BYTES2}, objArr2);
int intValue = ((Integer) cls.getDeclaredMethod((String) objArr2[0], new Class[0]).invoke(null, new Object[0])).intValue() % 100000;
if (intValue < 99000 || intValue > 99999) {
Context baseContext = getBaseContext();
if (baseContext == null) {
Object[] objArr3 = new Object[1];
g(new char[]{30454, 32574, 25981, 27568, 20964, 17949, 19545, 13000, 14542, 8472, 5921, 7476, 898, 2543, 65025, 58455, 60049, 53449, 55581, 53035, 46415, 48044, 41471, 38419, 40030, 33436}, ((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getResources().getString(R.string.error_description_open_mf_account).substring(23, 24).codePointAt(0) + 2471, objArr3);
Class<?> cls2 = Class.forName((String) objArr3[0]);
Object[] objArr4 = new Object[1];
i(null, null, ((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getApplicationInfo().targetSdkVersion + 93, new byte[]{ISOFileInfo.LCS_BYTE, -112, -124, ISOFileInfo.SECURITY_ATTR_EXP, -113, -122, -124, ISOFileInfo.CHANNEL_SECURITY, ISOFileInfo.ENV_TEMP_EF, ISOFileInfo.ENV_TEMP_EF, ISOFileInfo.SECURITY_ATTR_COMPACT, ISOFileInfo.SECURITY_ATTR_EXP, ISOFileInfo.LCS_BYTE, -119, -120, -120, ISOFileInfo.FCI_EXT, -122}, objArr4);
baseContext = (Context) cls2.getMethod((String) objArr4[0], new Class[0]).invoke(null, null);
}
if (baseContext != null) {
int i4 = h + 25;
f = i4 % 128;
if (i4 % 2 != 0) {
baseContext = baseContext.getApplicationContext();
int i5 = 91 / 0;
} else {
baseContext = baseContext.getApplicationContext();
}
int i6 = f + 31;
h = i6 % 128;
int i7 = i6 % 2;
}
if (baseContext != null) {
try {
Object obj2 = xzZ.y.get(125943855);
if (obj2 == null) {
obj2 = ((Class) xzZ.c(492 - Drawable.resolveOpacity(0, 0), 5 - (ViewConfiguration.getTouchSlop() >> 8), (char) (TextUtils.indexOf((CharSequence) "", '0', 0, 0) + 1))).getMethod("a", null);
xzZ.y.put(125943855, obj2);
}
Object invoke = ((Method) obj2).invoke(null, null);
Object[] objArr5 = new Object[1];
i(null, null, ((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getPackageName().length() + 114, new byte[]{-109, -119, -103, -122, -101, -105, -109, -104, -108, -108, -119, -106, -111, -103, -101, -111, -111, ISOFileInfo.PROP_INFO, -105, -122, -101, -122, -102, -106, -105, -113, -109, -107, -103, -104, -107, -108, -103, -107, -108, -107, -113, -104, -105, -108, -113, -106, -122, -107, -108, -109, -110, -111}, objArr5);
String str = (String) objArr5[0];
Object[] objArr6 = new Object[1];
i(null, null, 127 - (ViewConfiguration.getScrollBarSize() >> 8), new byte[]{-119, -113, -108, -102, -103, -111, -122, -103, -108, -101, -103, -122, -110, -106, -103, ISOFileInfo.PROP_INFO, -108, -102, -111, -101, -102, -113, -108, -102, -108, -108, -103, -101, -113, -101, -110, -110, -103, -100, -105, -104, -122, -100, -102, -107, -109, -113, -102, -122, -104, -111, -109, -102, -111, -110, -102, -104, -102, -104, -101, -119, -105, -109, -108, -102, -119, -102, -108, -119}, objArr6);
String str2 = (String) objArr6[0];
Object[] objArr7 = new Object[1];
g(new char[]{30454, 3138, 33661, 1635, 40258, 4101, 38780, 10889, 41421, 9467, 48102, 16093, 46569, 18602, 52817, 17740, 55334, 24392, 53851, 26928, 60450, 25558, 59134, 32238, 61644, 30602, 2787, 32781, 1859, 39544, 4456, 37952, 11011, 44664, 9612, 47301, 16374, 45796, 18824, 52413, 17322, 55634, 23616, 54123, 22093, 60765, 24631, 59249, 31365, 61871, 29935, 2968, 36485, 1471, 39769, 7706, 38271, 10291, 44867, 8809, 47406, 15574, 45970, 14067}, 31469 - (ViewConfiguration.getMaximumDrawingCacheSize() >> 24), objArr7);
String str3 = (String) objArr7[0];
Object[] objArr8 = new Object[1];
i(null, null, ((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getResources().getString(R.string.ndid_service_description).substring(61, 62).codePointAt(0) + 95, new byte[]{-98, ISOFileInfo.SECURITY_ATTR_EXP, ISOFileInfo.LCS_BYTE, -119, ISOFileInfo.A5, -119, ISOFileInfo.A0, -104, ISOFileInfo.A5, ISOFileInfo.A0, ISOFileInfo.SECURITY_ATTR_EXP, -98, -119, -93, ISOFileInfo.LCS_BYTE, -124, ISOFileInfo.A0, -124, ISOFileInfo.ENV_TEMP_EF, -113, ISOFileInfo.A0, ISOFileInfo.DATA_BYTES2, -112, -122, -94, -119, -120, -113, ISOFileInfo.FCI_EXT, -92, -98, ISOFileInfo.PROP_INFO, -120, -113, ISOFileInfo.FCI_EXT, -93, -94, ISOFileInfo.SECURITY_ATTR_EXP, -98, -113, -122, ISOFileInfo.SECURITY_ATTR_EXP, -113, -119, -120, -99, ISOFileInfo.SECURITY_ATTR_EXP, -94, ISOFileInfo.A1, ISOFileInfo.LCS_BYTE, -113, -108, ISOFileInfo.CHANNEL_SECURITY, -113, -124, -122, -120, -119, ISOFileInfo.DATA_BYTES2, ISOFileInfo.DATA_BYTES2, -112, -122, ISOFileInfo.DATA_BYTES2, -113, -124, -98, ISOFileInfo.A0, ISOFileInfo.A0, -97, -98, ISOFileInfo.ENV_TEMP_EF, ISOFileInfo.SECURITY_ATTR_EXP, ISOFileInfo.SECURITY_ATTR_EXP, -99}, objArr8);
String str4 = (String) objArr8[0];
Object[] objArr9 = new Object[1];
g(new char[]{30382, 57716, 22837, 45534, 10643}, ((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getResources().getString(R.string.auto_p2p_introduction_cashback_redemption).substring(0, 2).codePointAt(1) + 38829, objArr9);
String str5 = (String) objArr9[0];
Object[] objArr10 = new Object[1];
i(null, null, ((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).length() + 118, new byte[]{-119, -111, -101, -109, -101, -122, -119, -110, -113, -104, -122, -104, -90, -122, -119, -108, -113, -90, -111, -111, -104, -109, -90, -108, -119, -100, -102, -90, -100, -109, -105, ISOFileInfo.PROP_INFO, -109, -104, -113, -119}, objArr10);
Object[] objArr11 = {baseContext, str, str2, str3, str4, true, str5, (String) objArr10[0]};
Object obj3 = xzZ.y.get(1656189573);
if (obj3 == null) {
obj3 = ((Class) xzZ.c(View.resolveSizeAndState(0, 0, 0) + 487, 5 - View.MeasureSpec.makeMeasureSpec(0, 0), (char) ((-1) - ExpandableListView.getPackedPositionChild(0L)))).getMethod("e", Context.class, String.class, String.class, String.class, String.class, Boolean.TYPE, String.class, String.class);
xzZ.y.put(1656189573, obj3);
}
((Method) obj3).invoke(invoke, objArr11);
} catch (Throwable th) {
Throwable cause = th.getCause();
if (cause == null) {
throw th;
}
throw cause;
}
}
}
super.onCreate(bundle);
requestWindowFeature(1);
if (ResourceLoaderUtil.getmContext() == null) {
ResourceLoaderUtil.setmContext(getApplicationContext());
}
setContentView(ResourceLoaderUtil.getLayoutId("activity_endisable_service"));
int i8 = f + 121;
h = i8 % 128;
if (i8 % 2 != 0) {
return;
}
obj.hashCode();
throw null;
}
@Override // android.app.Activity
protected void onResume() {
int i = 2 % 2;
int i2 = h + 39;
f = i2 % 128;
int i3 = i2 % 2;
Context baseContext = getBaseContext();
Object obj = null;
if (baseContext == null) {
Object[] objArr = new Object[1];
g(new char[]{30454, 32574, 25981, 27568, 20964, 17949, 19545, 13000, 14542, 8472, 5921, 7476, 898, 2543, 65025, 58455, 60049, 53449, 55581, 53035, 46415, 48044, 41471, 38419, 40030, 33436}, (ViewConfiguration.getScrollBarSize() >> 8) + 2503, objArr);
Class<?> cls = Class.forName((String) objArr[0]);
Object[] objArr2 = new Object[1];
i(null, null, KeyEvent.keyCodeFromString("") + 127, new byte[]{ISOFileInfo.LCS_BYTE, -112, -124, ISOFileInfo.SECURITY_ATTR_EXP, -113, -122, -124, ISOFileInfo.CHANNEL_SECURITY, ISOFileInfo.ENV_TEMP_EF, ISOFileInfo.ENV_TEMP_EF, ISOFileInfo.SECURITY_ATTR_COMPACT, ISOFileInfo.SECURITY_ATTR_EXP, ISOFileInfo.LCS_BYTE, -119, -120, -120, ISOFileInfo.FCI_EXT, -122}, objArr2);
baseContext = (Context) cls.getMethod((String) objArr2[0], new Class[0]).invoke(null, null);
}
if (baseContext != null) {
int i4 = h + 47;
f = i4 % 128;
if (i4 % 2 != 0) {
baseContext = baseContext.getApplicationContext();
int i5 = 99 / 0;
} else {
baseContext = baseContext.getApplicationContext();
}
}
if (baseContext != null) {
int i6 = f + 15;
h = i6 % 128;
int i7 = i6 % 2;
try {
Object obj2 = xzZ.y.get(125943855);
if (obj2 == null) {
obj2 = ((Class) xzZ.c(View.MeasureSpec.makeMeasureSpec(0, 0) + 492, 6 - (ViewConfiguration.getZoomControlsTimeout() > 0L ? 1 : (ViewConfiguration.getZoomControlsTimeout() == 0L ? 0 : -1)), (char) (1 - (SystemClock.elapsedRealtime() > 0L ? 1 : (SystemClock.elapsedRealtime() == 0L ? 0 : -1))))).getMethod("a", null);
xzZ.y.put(125943855, obj2);
}
Object invoke = ((Method) obj2).invoke(null, null);
Object[] objArr3 = {baseContext};
Object obj3 = xzZ.y.get(1378719468);
if (obj3 == null) {
obj3 = ((Class) xzZ.c(487 - (ViewConfiguration.getFadingEdgeLength() >> 16), 5 - (AudioTrack.getMinVolume() > BitmapDescriptorFactory.HUE_RED ? 1 : (AudioTrack.getMinVolume() == BitmapDescriptorFactory.HUE_RED ? 0 : -1)), (char) (ViewConfiguration.getTouchSlop() >> 8))).getMethod(KtaJsonExactionHelper.OBJECT, Context.class);
xzZ.y.put(1378719468, obj3);
}
((Method) obj3).invoke(invoke, objArr3);
} catch (Throwable th) {
Throwable cause = th.getCause();
if (cause == null) {
throw th;
}
throw cause;
}
}
super.onResume();
int i8 = h + 121;
f = i8 % 128;
if (i8 % 2 == 0) {
return;
}
obj.hashCode();
throw null;
}
private static void i(int[] iArr, char[] cArr, int i, byte[] bArr, Object[] objArr) {
int length;
char[] cArr2;
int i2;
int i3 = 2;
int i4 = 2 % 2;
C3614bBe c3614bBe = new C3614bBe();
char[] cArr3 = b;
float f2 = BitmapDescriptorFactory.HUE_RED;
int i5 = 0;
if (cArr3 != null) {
int i6 = $10 + 23;
$11 = i6 % 128;
if (i6 % 2 == 0) {
length = cArr3.length;
cArr2 = new char[length];
i2 = 1;
} else {
length = cArr3.length;
cArr2 = new char[length];
i2 = 0;
}
while (i2 < length) {
int i7 = $10 + 111;
$11 = i7 % 128;
if (i7 % i3 == 0) {
try {
Object[] objArr2 = new Object[1];
objArr2[i5] = Integer.valueOf(cArr3[i2]);
Object obj = xzZ.y.get(-950481649);
if (obj == null) {
Class cls = (Class) xzZ.c(337 - Color.green(i5), 6 - (SystemClock.elapsedRealtime() > 0L ? 1 : (SystemClock.elapsedRealtime() == 0L ? 0 : -1)), (char) (TypedValue.complexToFloat(i5) > f2 ? 1 : (TypedValue.complexToFloat(i5) == f2 ? 0 : -1)));
byte b2 = (byte) i5;
byte b3 = (byte) (b2 - 1);
Object[] objArr3 = new Object[1];
j(b2, b3, (byte) (b3 + 1), objArr3);
obj = cls.getMethod((String) objArr3[0], Integer.TYPE);
xzZ.y.put(-950481649, obj);
}
cArr2[i2] = ((Character) ((Method) obj).invoke(null, objArr2)).charValue();
} catch (Throwable th) {
Throwable cause = th.getCause();
if (cause == null) {
throw th;
}
throw cause;
}
} else {
Object[] objArr4 = {Integer.valueOf(cArr3[i2])};
Object obj2 = xzZ.y.get(-950481649);
if (obj2 == null) {
Class cls2 = (Class) xzZ.c((ViewConfiguration.getTapTimeout() >> 16) + 337, (TypedValue.complexToFraction(0, BitmapDescriptorFactory.HUE_RED, BitmapDescriptorFactory.HUE_RED) > BitmapDescriptorFactory.HUE_RED ? 1 : (TypedValue.complexToFraction(0, BitmapDescriptorFactory.HUE_RED, BitmapDescriptorFactory.HUE_RED) == BitmapDescriptorFactory.HUE_RED ? 0 : -1)) + 5, (char) TextUtils.indexOf("", ""));
byte b4 = (byte) 0;
byte b5 = (byte) (b4 - 1);
Object[] objArr5 = new Object[1];
j(b4, b5, (byte) (b5 + 1), objArr5);
obj2 = cls2.getMethod((String) objArr5[0], Integer.TYPE);
xzZ.y.put(-950481649, obj2);
}
cArr2[i2] = ((Character) ((Method) obj2).invoke(null, objArr4)).charValue();
i2++;
}
i3 = 2;
f2 = BitmapDescriptorFactory.HUE_RED;
i5 = 0;
}
int i8 = $10 + 61;
$11 = i8 % 128;
int i9 = i8 % 2;
cArr3 = cArr2;
}
Object[] objArr6 = {Integer.valueOf(d)};
Object obj3 = xzZ.y.get(-1521625011);
if (obj3 == null) {
Class cls3 = (Class) xzZ.c(283 - Color.blue(0), (ViewConfiguration.getMaximumFlingVelocity() >> 16) + 5, (char) (39813 - (ViewConfiguration.getDoubleTapTimeout() >> 16)));
byte b6 = (byte) (-1);
Object[] objArr7 = new Object[1];
j((byte) ($$b & 249), b6, (byte) (b6 + 1), objArr7);
obj3 = cls3.getMethod((String) objArr7[0], Integer.TYPE);
xzZ.y.put(-1521625011, obj3);
}
int intValue = ((Integer) ((Method) obj3).invoke(null, objArr6)).intValue();
if (a) {
c3614bBe.c = bArr.length;
char[] cArr4 = new char[c3614bBe.c];
c3614bBe.a = 0;
while (c3614bBe.a < c3614bBe.c) {
cArr4[c3614bBe.a] = (char) (cArr3[bArr[(c3614bBe.c - 1) - c3614bBe.a] + i] - intValue);
Object[] objArr8 = {c3614bBe, c3614bBe};
Object obj4 = xzZ.y.get(1779759091);
if (obj4 == null) {
obj4 = ((Class) xzZ.c((AudioTrack.getMaxVolume() > BitmapDescriptorFactory.HUE_RED ? 1 : (AudioTrack.getMaxVolume() == BitmapDescriptorFactory.HUE_RED ? 0 : -1)) + 39, (ViewConfiguration.getJumpTapTimeout() >> 16) + 5, (char) View.resolveSize(0, 0))).getMethod("D", Object.class, Object.class);
xzZ.y.put(1779759091, obj4);
}
((Method) obj4).invoke(null, objArr8);
}
String str = new String(cArr4);
int i10 = $11 + 53;
$10 = i10 % 128;
int i11 = i10 % 2;
objArr[0] = str;
return;
}
if (!c) {
c3614bBe.c = iArr.length;
char[] cArr5 = new char[c3614bBe.c];
c3614bBe.a = 0;
int i12 = $11 + 17;
$10 = i12 % 128;
int i13 = i12 % 2;
while (c3614bBe.a < c3614bBe.c) {
int i14 = $10 + 97;
$11 = i14 % 128;
int i15 = i14 % 2;
cArr5[c3614bBe.a] = (char) (cArr3[iArr[(c3614bBe.c - 1) - c3614bBe.a] - i] - intValue);
c3614bBe.a++;
}
objArr[0] = new String(cArr5);
return;
}
c3614bBe.c = cArr.length;
char[] cArr6 = new char[c3614bBe.c];
c3614bBe.a = 0;
while (c3614bBe.a < c3614bBe.c) {
int i16 = $11 + 41;
$10 = i16 % 128;
int i17 = i16 % 2;
cArr6[c3614bBe.a] = (char) (cArr3[cArr[(c3614bBe.c - 1) - c3614bBe.a] - i] - intValue);
Object[] objArr9 = {c3614bBe, c3614bBe};
Object obj5 = xzZ.y.get(1779759091);
if (obj5 == null) {
obj5 = ((Class) xzZ.c(40 - (ViewConfiguration.getDoubleTapTimeout() >> 16), 6 - (ViewConfiguration.getScrollFriction() > BitmapDescriptorFactory.HUE_RED ? 1 : (ViewConfiguration.getScrollFriction() == BitmapDescriptorFactory.HUE_RED ? 0 : -1)), (char) ((SystemClock.currentThreadTimeMillis() > (-1L) ? 1 : (SystemClock.currentThreadTimeMillis() == (-1L) ? 0 : -1)) - 1))).getMethod("D", Object.class, Object.class);
xzZ.y.put(1779759091, obj5);
}
((Method) obj5).invoke(null, objArr9);
}
objArr[0] = new String(cArr6);
}
@Override // android.app.Activity
protected void onPause() {
int i = 2 % 2;
int i2 = f + 3;
h = i2 % 128;
int i3 = i2 % 2;
Context baseContext = getBaseContext();
if (baseContext == null) {
Object[] objArr = new Object[1];
g(new char[]{30454, 32574, 25981, 27568, 20964, 17949, 19545, 13000, 14542, 8472, 5921, 7476, 898, 2543, 65025, 58455, 60049, 53449, 55581, 53035, 46415, 48044, 41471, 38419, 40030, 33436}, ((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getResources().getString(R.string.e_coupon_quantity_maximum_quota_no_limit).substring(34, 39).length() + 2498, objArr);
Class<?> cls = Class.forName((String) objArr[0]);
Object[] objArr2 = new Object[1];
i(null, null, ((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getApplicationInfo().targetSdkVersion + 93, new byte[]{ISOFileInfo.LCS_BYTE, -112, -124, ISOFileInfo.SECURITY_ATTR_EXP, -113, -122, -124, ISOFileInfo.CHANNEL_SECURITY, ISOFileInfo.ENV_TEMP_EF, ISOFileInfo.ENV_TEMP_EF, ISOFileInfo.SECURITY_ATTR_COMPACT, ISOFileInfo.SECURITY_ATTR_EXP, ISOFileInfo.LCS_BYTE, -119, -120, -120, ISOFileInfo.FCI_EXT, -122}, objArr2);
baseContext = (Context) cls.getMethod((String) objArr2[0], new Class[0]).invoke(null, null);
}
if (baseContext != null) {
int i4 = f + 77;
h = i4 % 128;
int i5 = i4 % 2;
baseContext = baseContext.getApplicationContext();
int i6 = f + 95;
h = i6 % 128;
int i7 = i6 % 2;
}
if (baseContext != null) {
try {
Object obj = xzZ.y.get(125943855);
if (obj == null) {
obj = ((Class) xzZ.c(492 - TextUtils.indexOf("", "", 0), TextUtils.indexOf("", "", 0) + 5, (char) ((-1) - TextUtils.lastIndexOf("", '0', 0, 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((ViewConfiguration.getScrollFriction() > BitmapDescriptorFactory.HUE_RED ? 1 : (ViewConfiguration.getScrollFriction() == BitmapDescriptorFactory.HUE_RED ? 0 : -1)) + 486, View.getDefaultSize(0, 0) + 5, (char) (ViewConfiguration.getTouchSlop() >> 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();
}
@Override // android.app.Activity, android.view.ContextThemeWrapper, android.content.ContextWrapper
public void attachBaseContext(Context context) {
int i = 2 % 2;
int i2 = f + 75;
h = i2 % 128;
int i3 = i2 % 2;
super.attachBaseContext(context);
Object[] objArr = new Object[1];
g(new char[]{30454, 48756, 59369, 12098, 21708, 39999, 50621, 3426, 12944, 31249, 41787, 59592, 4217, 22993, 33090, 46769, 65076, 10169}, ((Process.getThreadPriority(0) + 20) >> 6) + 51341, objArr);
Class<?> cls = Class.forName((String) objArr[0]);
Object[] objArr2 = new Object[1];
i(null, null, 127 - (Process.myTid() >> 22), new byte[]{ISOFileInfo.PROP_INFO, -124, ISOFileInfo.FILE_IDENTIFIER, -126, ISOFileInfo.DATA_BYTES2}, 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) {
context = context.getApplicationContext();
}
if (context != null) {
try {
Object obj = xzZ.y.get(125943855);
if (obj == null) {
obj = ((Class) xzZ.c(491 - TextUtils.lastIndexOf("", '0', 0), 4 - TextUtils.indexOf((CharSequence) "", '0', 0, 0), (char) TextUtils.getOffsetBefore("", 0))).getMethod("a", null);
xzZ.y.put(125943855, obj);
}
Object invoke = ((Method) obj).invoke(null, null);
Object[] objArr3 = new Object[1];
i(null, null, View.resolveSize(0, 0) + 127, new byte[]{-109, -119, -103, -122, -101, -105, -109, -104, -108, -108, -119, -106, -111, -103, -101, -111, -111, ISOFileInfo.PROP_INFO, -105, -122, -101, -122, -102, -106, -105, -113, -109, -107, -103, -104, -107, -108, -103, -107, -108, -107, -113, -104, -105, -108, -113, -106, -122, -107, -108, -109, -110, -111}, objArr3);
String str = (String) objArr3[0];
Object[] objArr4 = new Object[1];
i(null, null, 127 - Drawable.resolveOpacity(0, 0), new byte[]{-119, -113, -108, -102, -103, -111, -122, -103, -108, -101, -103, -122, -110, -106, -103, ISOFileInfo.PROP_INFO, -108, -102, -111, -101, -102, -113, -108, -102, -108, -108, -103, -101, -113, -101, -110, -110, -103, -100, -105, -104, -122, -100, -102, -107, -109, -113, -102, -122, -104, -111, -109, -102, -111, -110, -102, -104, -102, -104, -101, -119, -105, -109, -108, -102, -119, -102, -108, -119}, objArr4);
String str2 = (String) objArr4[0];
Object[] objArr5 = new Object[1];
g(new char[]{30454, 3138, 33661, 1635, 40258, 4101, 38780, 10889, 41421, 9467, 48102, 16093, 46569, 18602, 52817, 17740, 55334, 24392, 53851, 26928, 60450, 25558, 59134, 32238, 61644, 30602, 2787, 32781, 1859, 39544, 4456, 37952, 11011, 44664, 9612, 47301, 16374, 45796, 18824, 52413, 17322, 55634, 23616, 54123, 22093, 60765, 24631, 59249, 31365, 61871, 29935, 2968, 36485, 1471, 39769, 7706, 38271, 10291, 44867, 8809, 47406, 15574, 45970, 14067}, (SystemClock.uptimeMillis() > 0L ? 1 : (SystemClock.uptimeMillis() == 0L ? 0 : -1)) + 31468, objArr5);
String str3 = (String) objArr5[0];
Object[] objArr6 = new Object[1];
i(null, null, 127 - Color.alpha(0), new byte[]{-98, ISOFileInfo.SECURITY_ATTR_EXP, ISOFileInfo.LCS_BYTE, -119, ISOFileInfo.A5, -119, ISOFileInfo.A0, -104, ISOFileInfo.A5, ISOFileInfo.A0, ISOFileInfo.SECURITY_ATTR_EXP, -98, -119, -93, ISOFileInfo.LCS_BYTE, -124, ISOFileInfo.A0, -124, ISOFileInfo.ENV_TEMP_EF, -113, ISOFileInfo.A0, ISOFileInfo.DATA_BYTES2, -112, -122, -94, -119, -120, -113, ISOFileInfo.FCI_EXT, -92, -98, ISOFileInfo.PROP_INFO, -120, -113, ISOFileInfo.FCI_EXT, -93, -94, ISOFileInfo.SECURITY_ATTR_EXP, -98, -113, -122, ISOFileInfo.SECURITY_ATTR_EXP, -113, -119, -120, -99, ISOFileInfo.SECURITY_ATTR_EXP, -94, ISOFileInfo.A1, ISOFileInfo.LCS_BYTE, -113, -108, ISOFileInfo.CHANNEL_SECURITY, -113, -124, -122, -120, -119, ISOFileInfo.DATA_BYTES2, ISOFileInfo.DATA_BYTES2, -112, -122, ISOFileInfo.DATA_BYTES2, -113, -124, -98, ISOFileInfo.A0, ISOFileInfo.A0, -97, -98, ISOFileInfo.ENV_TEMP_EF, ISOFileInfo.SECURITY_ATTR_EXP, ISOFileInfo.SECURITY_ATTR_EXP, -99}, objArr6);
String str4 = (String) objArr6[0];
Object[] objArr7 = new Object[1];
g(new char[]{30382, 57716, 22837, 45534, 10643}, 38861 - (ViewConfiguration.getMaximumFlingVelocity() >> 16), objArr7);
String str5 = (String) objArr7[0];
Object[] objArr8 = new Object[1];
i(null, null, 127 - (ViewConfiguration.getWindowTouchSlop() >> 8), new byte[]{-119, -111, -101, -109, -101, -122, -119, -110, -113, -104, -122, -104, -90, -122, -119, -108, -113, -90, -111, -111, -104, -109, -90, -108, -119, -100, -102, -90, -100, -109, -105, ISOFileInfo.PROP_INFO, -109, -104, -113, -119}, objArr8);
Object[] objArr9 = {context, str, str2, str3, str4, true, str5, (String) objArr8[0]};
Object obj2 = xzZ.y.get(1656189573);
if (obj2 == null) {
obj2 = ((Class) xzZ.c(487 - (ViewConfiguration.getScrollDefaultDelay() >> 16), View.resolveSizeAndState(0, 0, 0) + 5, (char) KeyEvent.getDeadChar(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);
int i4 = h + 19;
f = i4 % 128;
if (i4 % 2 != 0) {
int i5 = 4 % 5;
}
} catch (Throwable th) {
Throwable cause = th.getCause();
if (cause == null) {
throw th;
}
throw cause;
}
}
}
}
@Override // android.app.Activity
public void onStart() {
int i = 2 % 2;
int i2 = f + 103;
h = i2 % 128;
int i3 = i2 % 2;
super.onStart();
if (i3 == 0) {
throw null;
}
int i4 = f + 79;
h = i4 % 128;
if (i4 % 2 == 0) {
int i5 = 70 / 0;
}
}
}