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

311 lines
12 KiB
Java
Raw Normal View History

2024-07-27 18:17:47 +07:00
package o;
import android.graphics.Color;
import android.graphics.drawable.Drawable;
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.ViewConfiguration;
import com.google.android.gms.maps.model.BitmapDescriptorFactory;
import java.io.File;
import java.io.Serializable;
import java.lang.reflect.Method;
import java.util.ArrayList;
import java.util.Iterator;
import java.util.List;
import net.sf.scuba.smartcards.ISOFileInfo;
import org.bouncycastle.crypto.tls.CipherSuite;
/* renamed from: o.gjz, reason: case insensitive filesystem */
/* loaded from: classes6.dex */
public final class C15205gjz extends AbstractC15194gjo implements Serializable {
private final List<InterfaceC15199gjt> d;
private static final byte[] $$a = {71, -71, -97, 59};
private static final int $$b = CipherSuite.TLS_PSK_WITH_NULL_SHA256;
private static int $10 = 0;
private static int $11 = 1;
private static int j = 0;
private static int h = 1;
private static char[] c = {16296, 16303, 16310};
private static int b = 1934311002;
private static boolean e = true;
private static boolean a = true;
/* JADX WARN: Removed duplicated region for block: B:10:0x0027 */
/* JADX WARN: Removed duplicated region for block: B:7:0x001f */
/* JADX WARN: Unsupported multi-entry loop pattern (BACK_EDGE: B:10:0x0027 -> 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 g(int r5, byte r6, byte r7, java.lang.Object[] r8) {
/*
int r6 = r6 * 57
int r6 = r6 + 65
int r7 = r7 * 4
int r0 = r7 + 1
byte[] r1 = o.C15205gjz.$$a
int r5 = r5 * 3
int r5 = r5 + 4
byte[] r0 = new byte[r0]
r2 = 0
if (r1 != 0) goto L17
r6 = r5
r3 = r7
r4 = r2
goto L29
L17:
r3 = r2
L18:
byte r4 = (byte) r6
r0[r3] = r4
int r4 = r3 + 1
if (r3 != r7) goto L27
java.lang.String r5 = new java.lang.String
r5.<init>(r0, r2)
r8[r2] = r5
return
L27:
r3 = r1[r5]
L29:
int r5 = r5 + 1
int r3 = -r3
int r6 = r6 + r3
r3 = r4
goto L18
*/
throw new UnsupportedOperationException("Method not decompiled: o.C15205gjz.g(int, byte, byte, java.lang.Object[]):void");
}
public C15205gjz() {
this.d = new ArrayList();
}
public C15205gjz(List<InterfaceC15199gjt> list) {
if (list == null) {
this.d = new ArrayList();
int i = h + 23;
j = i % 128;
int i2 = i % 2;
return;
}
this.d = new ArrayList(list);
int i3 = h + 117;
j = i3 % 128;
if (i3 % 2 != 0) {
throw null;
}
}
@Override // o.AbstractC15194gjo, o.InterfaceC15199gjt, java.io.FileFilter
public final boolean accept(File file) {
int i = 2 % 2;
Iterator<InterfaceC15199gjt> it = this.d.iterator();
while (it.hasNext()) {
if (it.next().accept(file)) {
int i2 = j;
int i3 = i2 + 83;
h = i3 % 128;
int i4 = i3 % 2;
int i5 = i2 + 81;
h = i5 % 128;
int i6 = i5 % 2;
return true;
}
}
int i7 = h + 31;
j = i7 % 128;
if (i7 % 2 == 0) {
return false;
}
Object obj = null;
obj.hashCode();
throw null;
}
@Override // o.AbstractC15194gjo, o.InterfaceC15199gjt, java.io.FilenameFilter
public final boolean accept(File file, String str) {
int i = 2 % 2;
int i2 = j + 117;
h = i2 % 128;
int i3 = i2 % 2;
Iterator<InterfaceC15199gjt> it = this.d.iterator();
int i4 = h + 49;
j = i4 % 128;
int i5 = i4 % 2;
while (it.hasNext()) {
if (it.next().accept(file, str)) {
int i6 = j + 117;
h = i6 % 128;
int i7 = i6 % 2;
return true;
}
}
return false;
}
@Override // o.AbstractC15194gjo
public final String toString() {
String obj;
int i = 2 % 2;
StringBuilder sb = new StringBuilder();
sb.append(super.toString());
sb.append("(");
if (this.d != null) {
for (int i2 = 0; i2 < this.d.size(); i2++) {
Object obj2 = null;
if (i2 > 0) {
int i3 = j + 83;
h = i3 % 128;
if (i3 % 2 == 0) {
sb.append(",");
obj2.hashCode();
throw null;
}
sb.append(",");
}
InterfaceC15199gjt interfaceC15199gjt = this.d.get(i2);
if (interfaceC15199gjt == null) {
Object[] objArr = new Object[1];
f(null, new byte[]{ISOFileInfo.FILE_IDENTIFIER, ISOFileInfo.FILE_IDENTIFIER, -126, ISOFileInfo.DATA_BYTES2}, null, 127 - Drawable.resolveOpacity(0, 0), objArr);
obj = ((String) objArr[0]).intern();
} else {
obj = interfaceC15199gjt.toString();
}
sb.append(obj);
}
}
sb.append(")");
String obj3 = sb.toString();
int i4 = j + 83;
h = i4 % 128;
int i5 = i4 % 2;
return obj3;
}
private static void f(char[] cArr, byte[] bArr, int[] iArr, int i, Object[] objArr) {
int length;
char[] cArr2;
int i2 = 2 % 2;
C3614bBe c3614bBe = new C3614bBe();
char[] cArr3 = c;
if (cArr3 != null) {
int i3 = $11 + 79;
$10 = i3 % 128;
if (i3 % 2 != 0) {
length = cArr3.length;
cArr2 = new char[length];
} else {
length = cArr3.length;
cArr2 = new char[length];
}
for (int i4 = 0; i4 < length; i4++) {
try {
Object[] objArr2 = {Integer.valueOf(cArr3[i4])};
Object obj = xzZ.y.get(-950481649);
if (obj == null) {
Class cls = (Class) xzZ.c(337 - Color.green(0), ((byte) KeyEvent.getModifierMetaStateMask()) + 6, (char) (ViewConfiguration.getMaximumFlingVelocity() >> 16));
byte b2 = (byte) 0;
byte b3 = b2;
Object[] objArr3 = new Object[1];
g(b2, b3, b3, objArr3);
obj = cls.getMethod((String) objArr3[0], Integer.TYPE);
xzZ.y.put(-950481649, obj);
}
cArr2[i4] = ((Character) ((Method) obj).invoke(null, objArr2)).charValue();
} catch (Throwable th) {
Throwable cause = th.getCause();
if (cause == null) {
throw th;
}
throw cause;
}
}
cArr3 = cArr2;
}
Object[] objArr4 = {Integer.valueOf(b)};
Object obj2 = xzZ.y.get(-1521625011);
if (obj2 == null) {
Class cls2 = (Class) xzZ.c(284 - (ViewConfiguration.getScrollFriction() > BitmapDescriptorFactory.HUE_RED ? 1 : (ViewConfiguration.getScrollFriction() == BitmapDescriptorFactory.HUE_RED ? 0 : -1)), 5 - (TypedValue.complexToFloat(0) > BitmapDescriptorFactory.HUE_RED ? 1 : (TypedValue.complexToFloat(0) == BitmapDescriptorFactory.HUE_RED ? 0 : -1)), (char) ((Process.myTid() >> 22) + 39813));
byte b4 = (byte) 0;
byte b5 = (byte) (b4 + 1);
Object[] objArr5 = new Object[1];
g(b4, b5, (byte) (b5 - 1), objArr5);
obj2 = cls2.getMethod((String) objArr5[0], Integer.TYPE);
xzZ.y.put(-1521625011, obj2);
}
int intValue = ((Integer) ((Method) obj2).invoke(null, objArr4)).intValue();
if (!a) {
if (!e) {
c3614bBe.c = iArr.length;
char[] cArr4 = new char[c3614bBe.c];
c3614bBe.a = 0;
while (c3614bBe.a < c3614bBe.c) {
cArr4[c3614bBe.a] = (char) (cArr3[iArr[(c3614bBe.c - 1) - c3614bBe.a] - i] - intValue);
c3614bBe.a++;
}
objArr[0] = new String(cArr4);
return;
}
c3614bBe.c = cArr.length;
char[] cArr5 = new char[c3614bBe.c];
c3614bBe.a = 0;
while (c3614bBe.a < c3614bBe.c) {
cArr5[c3614bBe.a] = (char) (cArr3[cArr[(c3614bBe.c - 1) - c3614bBe.a] - i] - intValue);
Object[] objArr6 = {c3614bBe, c3614bBe};
Object obj3 = xzZ.y.get(1779759091);
if (obj3 == null) {
obj3 = ((Class) xzZ.c(41 - (SystemClock.elapsedRealtime() > 0L ? 1 : (SystemClock.elapsedRealtime() == 0L ? 0 : -1)), Gravity.getAbsoluteGravity(0, 0) + 5, (char) (CdmaCellLocation.convertQuartSecToDecDegrees(0) > 0.0d ? 1 : (CdmaCellLocation.convertQuartSecToDecDegrees(0) == 0.0d ? 0 : -1)))).getMethod("D", Object.class, Object.class);
xzZ.y.put(1779759091, obj3);
}
((Method) obj3).invoke(null, objArr6);
}
objArr[0] = new String(cArr5);
return;
}
c3614bBe.c = bArr.length;
char[] cArr6 = new char[c3614bBe.c];
c3614bBe.a = 0;
while (c3614bBe.a < c3614bBe.c) {
int i5 = $11 + 13;
$10 = i5 % 128;
if (i5 % 2 != 0) {
int i6 = c3614bBe.a;
int i7 = c3614bBe.c;
int i8 = c3614bBe.a;
cArr6[i6] = (char) (cArr3[bArr[0] - i] - intValue);
try {
Object[] objArr7 = {c3614bBe, c3614bBe};
Object obj4 = xzZ.y.get(1779759091);
if (obj4 == null) {
obj4 = ((Class) xzZ.c('X' - AndroidCharacter.getMirror('0'), TextUtils.lastIndexOf("", '0') + 6, (char) (ViewConfiguration.getTouchSlop() >> 8))).getMethod("D", Object.class, Object.class);
xzZ.y.put(1779759091, obj4);
}
((Method) obj4).invoke(null, objArr7);
} catch (Throwable th2) {
Throwable cause2 = th2.getCause();
if (cause2 == null) {
throw th2;
}
throw cause2;
}
} else {
cArr6[c3614bBe.a] = (char) (cArr3[bArr[(c3614bBe.c - 1) - c3614bBe.a] + i] - intValue);
Object[] objArr8 = {c3614bBe, c3614bBe};
Object obj5 = xzZ.y.get(1779759091);
if (obj5 == null) {
obj5 = ((Class) xzZ.c(40 - (ViewConfiguration.getJumpTapTimeout() >> 16), TextUtils.lastIndexOf("", '0') + 6, (char) (ViewConfiguration.getKeyRepeatTimeout() >> 16))).getMethod("D", Object.class, Object.class);
xzZ.y.put(1779759091, obj5);
}
((Method) obj5).invoke(null, objArr8);
}
}
objArr[0] = new String(cArr6);
}
}