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

275 lines
11 KiB
Java

package o;
import android.graphics.PointF;
import android.graphics.drawable.Drawable;
import android.media.AudioTrack;
import android.os.Process;
import android.os.SystemClock;
import android.text.TextUtils;
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 java.text.DecimalFormat;
import net.sf.scuba.smartcards.ISO7816;
/* loaded from: classes.dex */
public final class UlI extends vTS {
private int c;
private DecimalFormat e;
private static final byte[] $$a = {47, ISO7816.INS_APPEND_RECORD, -94, -105};
private static final int $$b = 44;
private static int $10 = 0;
private static int $11 = 1;
private static int d = 0;
private static int a = 1;
private static int[] b = {288747877, 66751170, -1605444214, 36678030, -1424782775, 1199179254, 1916411966, -774974601, -215633835, -1763346776, -2128450372, -95411747, 459863445, 1851527418, 614397694, -1705326158, -944131976, 140300452};
/* 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:0x0028). 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(short r5, short r6, short r7, java.lang.Object[] r8) {
/*
int r7 = r7 * 2
int r7 = 104 - r7
byte[] r0 = o.UlI.$$a
int r6 = r6 + 4
int r5 = r5 * 4
int r5 = r5 + 1
byte[] r1 = new byte[r5]
r2 = 0
if (r0 != 0) goto L14
r4 = r5
r3 = r2
goto L28
L14:
r3 = r2
L15:
byte r4 = (byte) r7
r1[r3] = r4
int r3 = r3 + 1
if (r3 != r5) goto L24
java.lang.String r5 = new java.lang.String
r5.<init>(r1, r2)
r8[r2] = r5
return
L24:
int r6 = r6 + 1
r4 = r0[r6]
L28:
int r7 = r7 + r4
goto L15
*/
throw new UnsupportedOperationException("Method not decompiled: o.UlI.g(short, short, short, java.lang.Object[]):void");
}
public UlI(int i) {
this.c = i;
StringBuffer stringBuffer = new StringBuffer();
int i2 = 0;
while (i2 < i) {
int i3 = a + 69;
d = i3 % 128;
if (i3 % 2 != 0) {
throw null;
}
if (i2 == 0) {
stringBuffer.append(".");
int i4 = 2 % 2;
}
Object[] objArr = new Object[1];
f(new int[]{1773440921, -974359826}, (Process.getElapsedCpuTime() > 0L ? 1 : (Process.getElapsedCpuTime() == 0L ? 0 : -1)), objArr);
stringBuffer.append(((String) objArr[0]).intern());
i2++;
int i5 = d + 35;
a = i5 % 128;
int i6 = i5 % 2;
int i7 = 2 % 2;
}
StringBuilder sb = new StringBuilder("###,###,###,##0");
sb.append(stringBuffer.toString());
this.e = new DecimalFormat(sb.toString());
}
@Override // o.vTS
public final String c(float f) {
int i = 2 % 2;
int i2 = a + 105;
d = i2 % 128;
if (i2 % 2 == 0) {
return this.e.format(f);
}
int i3 = 80 / 0;
return this.e.format(f);
}
private static void f(int[] iArr, int i, Object[] objArr) {
int[] iArr2;
int i2 = 2;
int i3 = 2 % 2;
C4403bZM c4403bZM = new C4403bZM();
char[] cArr = new char[4];
char[] cArr2 = new char[iArr.length * 2];
int[] iArr3 = b;
int i4 = 729798706;
int i5 = 1;
int i6 = 0;
if (iArr3 != null) {
int i7 = $10 + 9;
$11 = i7 % 128;
int i8 = i7 % 2;
int length = iArr3.length;
int[] iArr4 = new int[length];
int i9 = 0;
while (i9 < length) {
int i10 = $10 + 71;
$11 = i10 % 128;
int i11 = i10 % i2;
try {
Object[] objArr2 = new Object[1];
objArr2[i6] = Integer.valueOf(iArr3[i9]);
Object obj = xzZ.y.get(Integer.valueOf(i4));
if (obj == null) {
Class cls = (Class) xzZ.c(15 - TextUtils.getOffsetAfter("", i6), 5 - (PointF.length(BitmapDescriptorFactory.HUE_RED, BitmapDescriptorFactory.HUE_RED) > BitmapDescriptorFactory.HUE_RED ? 1 : (PointF.length(BitmapDescriptorFactory.HUE_RED, BitmapDescriptorFactory.HUE_RED) == BitmapDescriptorFactory.HUE_RED ? 0 : -1)), (char) (58134 - View.resolveSizeAndState(i6, i6, i6)));
Class<?>[] clsArr = new Class[1];
clsArr[i6] = Integer.TYPE;
obj = cls.getMethod("i", clsArr);
xzZ.y.put(729798706, obj);
}
iArr4[i9] = ((Integer) ((Method) obj).invoke(null, objArr2)).intValue();
i9++;
i2 = 2;
i4 = 729798706;
i6 = 0;
} catch (Throwable th) {
Throwable cause = th.getCause();
if (cause == null) {
throw th;
}
throw cause;
}
}
iArr3 = iArr4;
}
int length2 = iArr3.length;
int[] iArr5 = new int[length2];
int[] iArr6 = b;
if (iArr6 != null) {
int length3 = iArr6.length;
int[] iArr7 = new int[length3];
int i12 = 0;
while (i12 < length3) {
int i13 = $11 + 7;
$10 = i13 % 128;
int i14 = i13 % 2;
Object[] objArr3 = new Object[i5];
objArr3[0] = Integer.valueOf(iArr6[i12]);
Object obj2 = xzZ.y.get(729798706);
if (obj2 != null) {
iArr2 = iArr6;
} else {
iArr2 = iArr6;
obj2 = ((Class) xzZ.c(16 - (SystemClock.currentThreadTimeMillis() > (-1L) ? 1 : (SystemClock.currentThreadTimeMillis() == (-1L) ? 0 : -1)), 5 - (Process.myPid() >> 22), (char) (TextUtils.indexOf((CharSequence) "", '0', 0, 0) + 58135))).getMethod("i", Integer.TYPE);
xzZ.y.put(729798706, obj2);
}
iArr7[i12] = ((Integer) ((Method) obj2).invoke(null, objArr3)).intValue();
i12++;
iArr6 = iArr2;
i5 = 1;
}
iArr6 = iArr7;
}
System.arraycopy(iArr6, 0, iArr5, 0, length2);
c4403bZM.b = 0;
while (c4403bZM.b < iArr.length) {
int i15 = $11 + 71;
$10 = i15 % 128;
int i16 = i15 % 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(iArr5);
int i17 = 0;
for (int i18 = 16; i17 < i18; i18 = 16) {
c4403bZM.e ^= iArr5[i17];
try {
Object[] objArr4 = {c4403bZM, Integer.valueOf(C4403bZM.d(c4403bZM.e)), c4403bZM, c4403bZM};
Object obj3 = xzZ.y.get(-1196964548);
if (obj3 == null) {
Class cls2 = (Class) xzZ.c((AudioTrack.getMinVolume() > BitmapDescriptorFactory.HUE_RED ? 1 : (AudioTrack.getMinVolume() == BitmapDescriptorFactory.HUE_RED ? 0 : -1)) + 118, 5 - Drawable.resolveOpacity(0, 0), (char) ExpandableListView.getPackedPositionGroup(0L));
byte b2 = (byte) 0;
byte b3 = (byte) (b2 - 1);
Object[] objArr5 = new Object[1];
g(b2, b3, (byte) (b3 + 1), objArr5);
obj3 = cls2.getMethod((String) objArr5[0], Object.class, Integer.TYPE, Object.class, Object.class);
xzZ.y.put(-1196964548, obj3);
}
int intValue = ((Integer) ((Method) obj3).invoke(null, objArr4)).intValue();
c4403bZM.e = c4403bZM.a;
c4403bZM.a = intValue;
i17++;
} catch (Throwable th2) {
Throwable cause2 = th2.getCause();
if (cause2 == null) {
throw th2;
}
throw cause2;
}
}
int i19 = c4403bZM.e;
c4403bZM.e = c4403bZM.a;
c4403bZM.a = i19;
c4403bZM.a ^= iArr5[16];
c4403bZM.e ^= iArr5[17];
int i20 = c4403bZM.e;
int i21 = 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(iArr5);
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[] objArr6 = {c4403bZM, c4403bZM};
Object obj4 = xzZ.y.get(1914371176);
if (obj4 == null) {
Class cls3 = (Class) xzZ.c(98 - (ViewConfiguration.getMaximumFlingVelocity() >> 16), 4 - TextUtils.lastIndexOf("", '0'), (char) (1 - (ViewConfiguration.getGlobalActionKeyTimeout() > 0L ? 1 : (ViewConfiguration.getGlobalActionKeyTimeout() == 0L ? 0 : -1))));
byte b4 = (byte) 0;
byte b5 = (byte) (b4 - 1);
Object[] objArr7 = new Object[1];
g(b4, b5, (byte) (-b5), objArr7);
obj4 = cls3.getMethod((String) objArr7[0], Object.class, Object.class);
xzZ.y.put(1914371176, obj4);
}
((Method) obj4).invoke(null, objArr6);
int i22 = $10 + 125;
$11 = i22 % 128;
int i23 = i22 % 2;
}
objArr[0] = new String(cArr2, 0, i);
}
public final int a() {
int i = 2 % 2;
int i2 = d;
int i3 = i2 + 79;
a = i3 % 128;
int i4 = i3 % 2;
int i5 = this.c;
int i6 = i2 + 85;
a = i6 % 128;
int i7 = i6 % 2;
return i5;
}
}