what-the-bank/sources/o/C0177Arq.java

384 lines
16 KiB
Java

package o;
import android.graphics.ImageFormat;
import android.graphics.PointF;
import android.media.AudioTrack;
import android.os.Process;
import android.os.SystemClock;
import android.text.TextUtils;
import android.util.TypedValue;
import android.view.KeyEvent;
import android.view.MotionEvent;
import android.view.View;
import android.view.ViewConfiguration;
import android.widget.ExpandableListView;
import com.google.android.gms.maps.model.BitmapDescriptorFactory;
import java.lang.reflect.Method;
import net.sf.scuba.smartcards.ISO7816;
/* renamed from: o.Arq, reason: case insensitive filesystem */
/* loaded from: classes.dex */
public final class C0177Arq {
private static int a;
private static char c;
private static char[] d;
private String e;
private static final byte[] $$a = {ISO7816.INS_INCREASE, 10, Byte.MIN_VALUE, -124};
private static final int $$b = 31;
private static int $10 = 0;
private static int $11 = 1;
private static int b = 0;
/* JADX WARN: Removed duplicated region for block: B:10:0x0023 */
/* JADX WARN: Removed duplicated region for block: B:7:0x001b */
/* JADX WARN: Unsupported multi-entry loop pattern (BACK_EDGE: B:10:0x0023 -> B:4:0x0027). 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 g(int r5, int r6, int r7, java.lang.Object[] r8) {
/*
int r7 = r7 + 117
byte[] r0 = o.C0177Arq.$$a
int r5 = r5 * 2
int r5 = r5 + 4
int r6 = r6 * 4
int r1 = r6 + 1
byte[] r1 = new byte[r1]
r2 = 0
if (r0 != 0) goto L15
r4 = r7
r3 = r2
r7 = r6
goto L27
L15:
r3 = r2
L16:
byte r4 = (byte) r7
r1[r3] = r4
if (r3 != r6) goto L23
java.lang.String r5 = new java.lang.String
r5.<init>(r1, r2)
r8[r2] = r5
return
L23:
int r3 = r3 + 1
r4 = r0[r5]
L27:
int r7 = r7 + r4
int r5 = r5 + 1
goto L16
*/
throw new UnsupportedOperationException("Method not decompiled: o.C0177Arq.g(int, int, int, java.lang.Object[]):void");
}
@InterfaceC13391fZD
public C0177Arq() {
Object[] objArr = new Object[1];
f((ViewConfiguration.getScrollFriction() > BitmapDescriptorFactory.HUE_RED ? 1 : (ViewConfiguration.getScrollFriction() == BitmapDescriptorFactory.HUE_RED ? 0 : -1)), new char[]{13844}, (byte) (106 - KeyEvent.keyCodeFromString("")), objArr);
this.e = ((String) objArr[0]).intern();
}
/* renamed from: o.Arq$LWm */
/* loaded from: classes.dex */
public static final class LWm {
private LWm() {
}
public /* synthetic */ LWm(byte b) {
this();
}
}
public final String c() {
Object obj;
int i = 2 % 2;
int i2 = b + 21;
a = i2 % 128;
int i3 = i2 % 2;
String str = this.e;
Object[] objArr = new Object[1];
f((TypedValue.complexToFloat(0) > BitmapDescriptorFactory.HUE_RED ? 1 : (TypedValue.complexToFloat(0) == BitmapDescriptorFactory.HUE_RED ? 0 : -1)) + 1, new char[]{13844}, (byte) (106 - (Process.myTid() >> 22)), objArr);
if (C14957gcv.b((Object) str, (Object) ((String) objArr[0]).intern())) {
int i4 = a + 49;
b = i4 % 128;
if (i4 % 2 == 0) {
Object[] objArr2 = new Object[1];
f(12 - (ViewConfiguration.getWindowTouchSlop() >> 8), new char[]{11, '\t', 11, 18, '\b', 19, 7, '\n', 22, 23, 16, 5}, (byte) (59 - (Process.myPid() >> 22)), objArr2);
return ((String) objArr2[0]).intern();
}
Object[] objArr3 = new Object[1];
f((ViewConfiguration.getWindowTouchSlop() * 126) + 20, new char[]{11, '\t', 11, 18, '\b', 19, 7, '\n', 22, 23, 16, 5}, (byte) (109 / (Process.myPid() * 63)), objArr3);
obj = objArr3[0];
} else {
Object[] objArr4 = new Object[1];
f(1 - View.combineMeasuredStates(0, 0), new char[]{13776}, (byte) (38 - (Process.getElapsedCpuTime() > 0L ? 1 : (Process.getElapsedCpuTime() == 0L ? 0 : -1))), objArr4);
if (C14957gcv.b((Object) str, (Object) ((String) objArr4[0]).intern())) {
Object[] objArr5 = new Object[1];
f(8 - ((Process.getThreadPriority(0) + 20) >> 6), new char[]{7, '\n', 22, 23, 16, 5, '\b', '\r'}, (byte) (ExpandableListView.getPackedPositionType(0L) + 21), objArr5);
obj = objArr5[0];
} else {
Object[] objArr6 = new Object[1];
f(7 - MotionEvent.axisFromString(""), new char[]{'\b', '\r', 11, '\t', 1, 15, 11, 20}, (byte) (TextUtils.indexOf("", "", 0, 0) + 36), objArr6);
obj = objArr6[0];
}
}
return ((String) obj).intern();
}
public final String d() {
int i = 2 % 2;
int i2 = a + 71;
b = i2 % 128;
int i3 = i2 % 2;
String str = this.e;
Object[] objArr = new Object[1];
f(1 - (ViewConfiguration.getKeyRepeatDelay() >> 16), new char[]{13746}, (byte) (ImageFormat.getBitsPerPixel(0) + 11), objArr);
if (C14957gcv.b((Object) str, (Object) ((String) objArr[0]).intern())) {
int i4 = a + 79;
b = i4 % 128;
int i5 = i4 % 2;
Object[] objArr2 = new Object[1];
f(8 - TextUtils.getOffsetAfter("", 0), new char[]{'\b', '\r', 11, '\t', 1, 15, 11, 20}, (byte) ((SystemClock.uptimeMillis() > 0L ? 1 : (SystemClock.uptimeMillis() == 0L ? 0 : -1)) + 35), objArr2);
return ((String) objArr2[0]).intern();
}
Object[] objArr3 = new Object[1];
f(12 - View.resolveSizeAndState(0, 0, 0), new char[]{11, '\t', 11, 18, '\b', 19, 7, '\n', 22, 23, 16, 5}, (byte) ((ViewConfiguration.getDoubleTapTimeout() >> 16) + 59), objArr3);
String intern = ((String) objArr3[0]).intern();
int i6 = a + 11;
b = i6 % 128;
int i7 = i6 % 2;
return intern;
}
private static void f(int i, char[] cArr, byte b2, Object[] objArr) {
int i2;
char c2;
int i3 = 2;
int i4 = 2 % 2;
IRS irs = new IRS();
char[] cArr2 = d;
long j = 0;
int i5 = 5;
if (cArr2 != null) {
int length = cArr2.length;
char[] cArr3 = new char[length];
int i6 = 0;
while (i6 < length) {
int i7 = $11 + 71;
$10 = i7 % 128;
if (i7 % i3 != 0) {
try {
Object[] objArr2 = {Integer.valueOf(cArr2[i6])};
Object obj = xzZ.y.get(-1987398494);
if (obj == null) {
Class cls = (Class) xzZ.c(298 - (ViewConfiguration.getDoubleTapTimeout() >> 16), (ViewConfiguration.getKeyRepeatTimeout() >> 16) + i5, (char) (1 - (SystemClock.elapsedRealtime() > j ? 1 : (SystemClock.elapsedRealtime() == j ? 0 : -1))));
byte b3 = (byte) 0;
byte b4 = b3;
Object[] objArr3 = new Object[1];
g(b3, b4, b4, objArr3);
obj = cls.getMethod((String) objArr3[0], Integer.TYPE);
xzZ.y.put(-1987398494, obj);
}
cArr3[i6] = ((Character) ((Method) obj).invoke(null, objArr2)).charValue();
i6--;
} catch (Throwable th) {
Throwable cause = th.getCause();
if (cause == null) {
throw th;
}
throw cause;
}
} else {
Object[] objArr4 = {Integer.valueOf(cArr2[i6])};
Object obj2 = xzZ.y.get(-1987398494);
if (obj2 == null) {
Class cls2 = (Class) xzZ.c(298 - (AudioTrack.getMinVolume() > BitmapDescriptorFactory.HUE_RED ? 1 : (AudioTrack.getMinVolume() == BitmapDescriptorFactory.HUE_RED ? 0 : -1)), MotionEvent.axisFromString("") + 6, (char) (AudioTrack.getMinVolume() > BitmapDescriptorFactory.HUE_RED ? 1 : (AudioTrack.getMinVolume() == BitmapDescriptorFactory.HUE_RED ? 0 : -1)));
byte b5 = (byte) 0;
byte b6 = b5;
Object[] objArr5 = new Object[1];
g(b5, b6, b6, objArr5);
obj2 = cls2.getMethod((String) objArr5[0], Integer.TYPE);
xzZ.y.put(-1987398494, obj2);
}
cArr3[i6] = ((Character) ((Method) obj2).invoke(null, objArr4)).charValue();
i6++;
}
i3 = 2;
j = 0;
i5 = 5;
}
cArr2 = cArr3;
}
Object[] objArr6 = {Integer.valueOf(c)};
Object obj3 = xzZ.y.get(-1987398494);
char c3 = '\b';
if (obj3 == null) {
Class cls3 = (Class) xzZ.c((ViewConfiguration.getScrollBarSize() >> 8) + 298, (ViewConfiguration.getTouchSlop() >> 8) + 5, (char) (ViewConfiguration.getKeyRepeatDelay() >> 16));
byte b7 = (byte) 0;
byte b8 = b7;
Object[] objArr7 = new Object[1];
g(b7, b8, b8, objArr7);
obj3 = cls3.getMethod((String) objArr7[0], Integer.TYPE);
xzZ.y.put(-1987398494, obj3);
}
char charValue = ((Character) ((Method) obj3).invoke(null, objArr6)).charValue();
char[] cArr4 = new char[i];
if (i % 2 != 0) {
i2 = i - 1;
cArr4[i2] = (char) (cArr[i2] - b2);
} else {
i2 = i;
}
if (i2 > 1) {
irs.e = 0;
int i8 = $11 + 77;
$10 = i8 % 128;
int i9 = 2;
int i10 = i8 % 2;
while (irs.e < i2) {
int i11 = $11 + 79;
$10 = i11 % 128;
int i12 = i11 % i9;
irs.b = cArr[irs.e];
irs.c = cArr[irs.e + 1];
if (irs.b == irs.c) {
cArr4[irs.e] = (char) (irs.b - b2);
cArr4[irs.e + 1] = (char) (irs.c - b2);
c2 = c3;
} else {
Object[] objArr8 = new Object[13];
objArr8[12] = irs;
objArr8[11] = Integer.valueOf(charValue);
objArr8[10] = irs;
objArr8[9] = irs;
objArr8[c3] = Integer.valueOf(charValue);
objArr8[7] = irs;
objArr8[6] = irs;
objArr8[5] = Integer.valueOf(charValue);
objArr8[4] = irs;
objArr8[3] = irs;
objArr8[2] = Integer.valueOf(charValue);
objArr8[1] = irs;
objArr8[0] = irs;
Object obj4 = xzZ.y.get(822107368);
if (obj4 == null) {
Class cls4 = (Class) xzZ.c(233 - (Process.myTid() >> 22), (ViewConfiguration.getEdgeSlop() >> 16) + 5, (char) (TextUtils.indexOf("", "", 0) + 22024));
byte b9 = (byte) 0;
byte b10 = b9;
Object[] objArr9 = new Object[1];
g(b9, b10, (byte) (b10 + 3), objArr9);
obj4 = cls4.getMethod((String) objArr9[0], Object.class, Object.class, Integer.TYPE, Object.class, Object.class, Integer.TYPE, Object.class, Object.class, Integer.TYPE, Object.class, Object.class, Integer.TYPE, Object.class);
xzZ.y.put(822107368, obj4);
}
if (((Integer) ((Method) obj4).invoke(null, objArr8)).intValue() == irs.j) {
Object[] objArr10 = {irs, irs, Integer.valueOf(charValue), Integer.valueOf(charValue), irs, irs, Integer.valueOf(charValue), Integer.valueOf(charValue), irs, Integer.valueOf(charValue), irs};
Object obj5 = xzZ.y.get(-1152873385);
if (obj5 != null) {
c2 = '\b';
} else {
Class cls5 = (Class) xzZ.c(326 - ExpandableListView.getPackedPositionChild(0L), 5 - (ViewConfiguration.getPressedStateDuration() >> 16), (char) (ViewConfiguration.getLongPressTimeout() >> 16));
byte b11 = (byte) 0;
byte b12 = b11;
Object[] objArr11 = new Object[1];
g(b11, b12, (byte) (b12 + 1), objArr11);
c2 = '\b';
obj5 = cls5.getMethod((String) objArr11[0], Object.class, Object.class, Integer.TYPE, Integer.TYPE, Object.class, Object.class, Integer.TYPE, Integer.TYPE, Object.class, Integer.TYPE, Object.class);
xzZ.y.put(-1152873385, obj5);
}
int intValue = ((Integer) ((Method) obj5).invoke(null, objArr10)).intValue();
int i13 = (irs.d * charValue) + irs.j;
cArr4[irs.e] = cArr2[intValue];
cArr4[irs.e + 1] = cArr2[i13];
int i14 = $10 + 125;
$11 = i14 % 128;
int i15 = i14 % 2;
} else {
c2 = '\b';
if (irs.a == irs.d) {
irs.f = ((irs.f + charValue) - 1) % charValue;
irs.j = ((irs.j + charValue) - 1) % charValue;
int i16 = (irs.a * charValue) + irs.f;
int i17 = (irs.d * charValue) + irs.j;
cArr4[irs.e] = cArr2[i16];
cArr4[irs.e + 1] = cArr2[i17];
} else {
int i18 = (irs.a * charValue) + irs.j;
int i19 = (irs.d * charValue) + irs.f;
cArr4[irs.e] = cArr2[i18];
cArr4[irs.e + 1] = cArr2[i19];
}
}
}
irs.e += 2;
i9 = 2;
c3 = c2;
}
}
for (int i20 = 0; i20 < i; i20++) {
cArr4[i20] = (char) (cArr4[i20] ^ 13722);
}
objArr[0] = new String(cArr4);
}
static void e() {
d = new char[]{49105, 49104, 49106, 49141, 48171, 49123, 49116, 49027, 49142, 49117, 49119, 49025, 49088, 49093, 49150, 49111, 49114, 49026, 49108, 49109, 49107, 49110, 49094, 48169, 48168};
c = (char) 35372;
}
public final void c(String str) {
int i = 2 % 2;
int i2 = a + 109;
b = i2 % 128;
int i3 = i2 % 2;
C14957gcv.e(str, "");
this.e = str;
if (i3 != 0) {
Object obj = null;
obj.hashCode();
throw null;
}
int i4 = a + 99;
b = i4 % 128;
int i5 = i4 % 2;
}
public final String a() {
int i = 2 % 2;
int i2 = b;
int i3 = i2 + 99;
a = i3 % 128;
int i4 = i3 % 2;
String str = this.e;
int i5 = i2 + 41;
a = i5 % 128;
if (i5 % 2 != 0) {
return str;
}
throw null;
}
static {
a = 1;
e();
PointF.length(BitmapDescriptorFactory.HUE_RED, BitmapDescriptorFactory.HUE_RED);
View.MeasureSpec.getSize(0);
ViewConfiguration.getZoomControlsTimeout();
View.getDefaultSize(0, 0);
ViewConfiguration.getWindowTouchSlop();
Process.myTid();
KeyEvent.getMaxKeyCode();
TextUtils.lastIndexOf("", '0', 0, 0);
ViewConfiguration.getPressedStateDuration();
Process.getElapsedCpuTime();
TextUtils.lastIndexOf("", '0', 0);
KeyEvent.getModifierMetaStateMask();
new LWm((byte) 0);
int i = b + 79;
a = i % 128;
if (i % 2 == 0) {
int i2 = 11 / 0;
}
}
}