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

258 lines
10 KiB
Java

package o;
import android.graphics.Color;
import android.graphics.drawable.Drawable;
import android.media.AudioTrack;
import android.os.SystemClock;
import android.telephony.cdma.CdmaCellLocation;
import android.text.TextUtils;
import android.view.KeyEvent;
import android.view.ViewConfiguration;
import android.widget.ExpandableListView;
import com.google.android.gms.maps.model.BitmapDescriptorFactory;
import java.lang.reflect.Method;
/* loaded from: classes3.dex */
public final class SJn extends ZTC {
private static final byte[] $$d = {4, -82, -41, -98};
private static final int $$e = 118;
private static int $10 = 0;
private static int $11 = 1;
private static int d = 0;
private static int a = 1;
private static int[] b = {673981092, -1566833259, 1776253771, 1224900816, -1488197796, -1192149511, -346646043, -1417118213, -1812007372, -1086366661, 501944587, 238003403, -652161541, -660389458, 1064605175, 1635320804, -633618912, -548309183};
/* JADX WARN: Removed duplicated region for block: B:10:0x0029 */
/* JADX WARN: Removed duplicated region for block: B:7:0x0021 */
/* JADX WARN: Unsupported multi-entry loop pattern (BACK_EDGE: B:10:0x0029 -> B:4:0x002e). 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 r6, int r7, byte r8, java.lang.Object[] r9) {
/*
int r8 = r8 * 2
int r8 = 104 - r8
int r7 = r7 * 3
int r7 = 1 - r7
int r6 = r6 * 2
int r6 = 3 - r6
byte[] r0 = o.SJn.$$d
byte[] r1 = new byte[r7]
r2 = 0
if (r0 != 0) goto L17
r4 = r8
r3 = r2
r8 = r6
goto L2e
L17:
r3 = r2
L18:
int r6 = r6 + 1
byte r4 = (byte) r8
r1[r3] = r4
int r3 = r3 + 1
if (r3 != r7) goto L29
java.lang.String r6 = new java.lang.String
r6.<init>(r1, r2)
r9[r2] = r6
return
L29:
r4 = r0[r6]
r5 = r8
r8 = r6
r6 = r5
L2e:
int r6 = r6 + r4
r5 = r8
r8 = r6
r6 = r5
goto L18
*/
throw new UnsupportedOperationException("Method not decompiled: o.SJn.g(int, int, byte, java.lang.Object[]):void");
}
@InterfaceC13391fZD
public SJn() {
}
public static slh c(C17238vAt c17238vAt) {
int i = 2 % 2;
C14957gcv.e(c17238vAt, "");
String str = c17238vAt.a;
Object[] objArr = new Object[1];
f(new int[]{-1785588043, 774749052}, 1 - (ViewConfiguration.getMaximumDrawingCacheSize() >> 24), objArr);
slh slhVar = new slh(C14957gcv.b((Object) str, (Object) ((String) objArr[0]).intern()), c17238vAt.e, c17238vAt.b);
int i2 = a + 121;
d = i2 % 128;
if (i2 % 2 == 0) {
return slhVar;
}
Object obj = null;
obj.hashCode();
throw null;
}
private static void f(int[] iArr, int i, Object[] objArr) {
int i2;
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 = b;
int i5 = 729798706;
int i6 = 1;
char c = 0;
if (iArr2 != null) {
int length = iArr2.length;
int[] iArr3 = new int[length];
int i7 = 0;
while (i7 < length) {
int i8 = $10 + 105;
$11 = i8 % 128;
int i9 = i8 % i3;
try {
Object[] objArr2 = new Object[1];
objArr2[c] = Integer.valueOf(iArr2[i7]);
Object obj = xzZ.y.get(Integer.valueOf(i5));
if (obj == null) {
Class cls = (Class) xzZ.c((AudioTrack.getMaxVolume() > BitmapDescriptorFactory.HUE_RED ? 1 : (AudioTrack.getMaxVolume() == BitmapDescriptorFactory.HUE_RED ? 0 : -1)) + 14, (KeyEvent.getMaxKeyCode() >> 16) + 5, (char) ((ViewConfiguration.getTouchSlop() >> 8) + 58134));
Class<?>[] clsArr = new Class[1];
clsArr[c] = Integer.TYPE;
obj = cls.getMethod("i", clsArr);
xzZ.y.put(729798706, obj);
}
iArr3[i7] = ((Integer) ((Method) obj).invoke(null, objArr2)).intValue();
i7++;
i3 = 2;
i5 = 729798706;
c = 0;
} catch (Throwable th) {
Throwable cause = th.getCause();
if (cause == null) {
throw th;
}
throw cause;
}
}
iArr2 = iArr3;
}
int length2 = iArr2.length;
int[] iArr4 = new int[length2];
int[] iArr5 = b;
if (iArr5 != null) {
int length3 = iArr5.length;
int[] iArr6 = new int[length3];
int i10 = 0;
while (i10 < length3) {
int i11 = $10 + 113;
$11 = i11 % 128;
if (i11 % 2 == 0) {
Object[] objArr3 = new Object[i6];
objArr3[0] = Integer.valueOf(iArr5[i10]);
Object obj2 = xzZ.y.get(729798706);
if (obj2 != null) {
i2 = length3;
} else {
obj2 = ((Class) xzZ.c((SystemClock.elapsedRealtime() > 0L ? 1 : (SystemClock.elapsedRealtime() == 0L ? 0 : -1)) + 14, Color.red(0) + 5, (char) (58134 - (ViewConfiguration.getJumpTapTimeout() >> 16)))).getMethod("i", Integer.TYPE);
i2 = length3;
xzZ.y.put(729798706, obj2);
}
iArr6[i10] = ((Integer) ((Method) obj2).invoke(null, objArr3)).intValue();
} else {
i2 = length3;
Object[] objArr4 = {Integer.valueOf(iArr5[i10])};
Object obj3 = xzZ.y.get(729798706);
if (obj3 == null) {
obj3 = ((Class) xzZ.c(TextUtils.getTrimmedLength("") + 15, (ViewConfiguration.getTouchSlop() >> 8) + 5, (char) (58134 - TextUtils.indexOf("", "", 0, 0)))).getMethod("i", Integer.TYPE);
xzZ.y.put(729798706, obj3);
}
iArr6[i10] = ((Integer) ((Method) obj3).invoke(null, objArr4)).intValue();
i10++;
}
length3 = i2;
i6 = 1;
}
iArr5 = iArr6;
}
System.arraycopy(iArr5, 0, iArr4, 0, length2);
c4403bZM.b = 0;
while (c4403bZM.b < iArr.length) {
int i12 = $10 + 125;
$11 = i12 % 128;
int i13 = i12 % 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);
int i14 = 0;
for (int i15 = 16; i14 < i15; i15 = 16) {
c4403bZM.e ^= iArr4[i14];
Object[] objArr5 = {c4403bZM, Integer.valueOf(C4403bZM.d(c4403bZM.e)), c4403bZM, c4403bZM};
Object obj4 = xzZ.y.get(-1196964548);
if (obj4 == null) {
Class cls2 = (Class) xzZ.c(KeyEvent.getDeadChar(0, 0) + 118, 5 - (ViewConfiguration.getScrollDefaultDelay() >> 16), (char) Drawable.resolveOpacity(0, 0));
byte b2 = (byte) 0;
byte b3 = b2;
Object[] objArr6 = new Object[1];
g(b2, b3, b3, objArr6);
obj4 = cls2.getMethod((String) objArr6[0], Object.class, Integer.TYPE, Object.class, Object.class);
xzZ.y.put(-1196964548, obj4);
}
int intValue = ((Integer) ((Method) obj4).invoke(null, objArr5)).intValue();
c4403bZM.e = c4403bZM.a;
c4403bZM.a = intValue;
i14++;
}
int i16 = c4403bZM.e;
c4403bZM.e = c4403bZM.a;
c4403bZM.a = i16;
c4403bZM.a ^= iArr4[16];
c4403bZM.e ^= iArr4[17];
int i17 = c4403bZM.e;
int i18 = 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];
try {
Object[] objArr7 = {c4403bZM, c4403bZM};
Object obj5 = xzZ.y.get(1914371176);
if (obj5 == null) {
Class cls3 = (Class) xzZ.c(98 - (ExpandableListView.getPackedPositionForGroup(0) > 0L ? 1 : (ExpandableListView.getPackedPositionForGroup(0) == 0L ? 0 : -1)), (CdmaCellLocation.convertQuartSecToDecDegrees(0) > 0.0d ? 1 : (CdmaCellLocation.convertQuartSecToDecDegrees(0) == 0.0d ? 0 : -1)) + 5, (char) Color.green(0));
byte b4 = (byte) 0;
byte b5 = b4;
Object[] objArr8 = new Object[1];
g(b4, b5, (byte) (b5 + 1), objArr8);
obj5 = cls3.getMethod((String) objArr8[0], Object.class, Object.class);
xzZ.y.put(1914371176, obj5);
}
((Method) obj5).invoke(null, objArr7);
int i19 = $10 + 31;
$11 = i19 % 128;
int i20 = i19 % 2;
} catch (Throwable th2) {
Throwable cause2 = th2.getCause();
if (cause2 == null) {
throw th2;
}
throw cause2;
}
}
String str = new String(cArr2, 0, i);
int i21 = $11 + 3;
$10 = i21 % 128;
int i22 = i21 % 2;
objArr[0] = str;
}
}