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

365 lines
12 KiB
Java
Raw Permalink Normal View History

2024-07-27 18:17:47 +07:00
package o;
import android.content.SharedPreferences;
import android.content.res.Resources;
import android.graphics.Color;
import android.graphics.ImageFormat;
import android.media.AudioTrack;
import android.os.SystemClock;
import android.text.TextUtils;
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.ISOFileInfo;
import org.bouncycastle.crypto.tls.CipherSuite;
/* renamed from: o.yr */
/* loaded from: classes3.dex */
public final class C17685yr extends C16157lj {
private static final byte[] $$d = {67, -87, -63, ISOFileInfo.FCI_EXT};
private static final int $$e = 34;
private static int $10 = 0;
private static int $11 = 1;
private static int a = 0;
private static int b = 1;
private static int d = 2015661740;
/* JADX WARN: Removed duplicated region for block: B:10:0x0026 */
/* JADX WARN: Removed duplicated region for block: B:7:0x001e */
/* JADX WARN: Unsupported multi-entry loop pattern (BACK_EDGE: B:10:0x0026 -> 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 q(int r5, int r6, byte r7, java.lang.Object[] r8) {
/*
int r5 = r5 * 4
int r0 = r5 + 1
byte[] r1 = o.C17685yr.$$d
int r7 = r7 * 7
int r7 = r7 + 69
int r6 = r6 * 2
int r6 = 4 - r6
byte[] r0 = new byte[r0]
r2 = 0
if (r1 != 0) goto L16
r3 = r5
r4 = r2
goto L28
L16:
r3 = r2
L17:
byte r4 = (byte) r7
r0[r3] = r4
int r4 = r3 + 1
if (r3 != r5) goto L26
java.lang.String r5 = new java.lang.String
r5.<init>(r0, r2)
r8[r2] = r5
return
L26:
r3 = r1[r6]
L28:
int r3 = -r3
int r7 = r7 + r3
int r6 = r6 + 1
r3 = r4
goto L17
*/
throw new UnsupportedOperationException("Method not decompiled: o.C17685yr.q(int, int, byte, java.lang.Object[]):void");
}
@InterfaceC13391fZD
public C17685yr(Resources resources, SharedPreferences sharedPreferences) {
super(resources, sharedPreferences);
}
public static /* synthetic */ Object a(Object[] objArr) {
String d2;
String str;
C17685yr c17685yr = (C17685yr) objArr[0];
Zch zch = (Zch) objArr[1];
int i = 2 % 2;
int i2 = b + 87;
a = i2 % 128;
int i3 = i2 % 2;
ST e = ST.e();
e.c = zch.a;
e.d = c(zch.d, false);
e.a = zch.b;
if (zch.i != null) {
d2 = c17685yr.d(zch.i);
} else {
int i4 = a + 35;
b = i4 % 128;
d2 = "";
if (i4 % 2 == 0) {
int i5 = 17 / 0;
}
}
e.h = d2;
if (TextUtils.isEmpty(zch.g)) {
Object[] objArr2 = new Object[1];
s(1 - Color.red(0), 1 - Color.alpha(0), 188 - (ViewConfiguration.getWindowTouchSlop() >> 8), new char[]{0}, true, objArr2);
str = ((String) objArr2[0]).intern();
} else {
str = zch.g;
int i6 = b + 11;
a = i6 % 128;
int i7 = i6 % 2;
}
e.i = str;
e.b = zch.c;
e.f = zch.j;
return e;
}
public final ST a(YOw yOw, C16834rfl c16834rfl) {
String d2;
String c;
int i = 2 % 2;
int i2 = a + 125;
b = i2 % 128;
int i3 = i2 % 2;
ST e = ST.e();
e.c = yOw.a;
e.d = c(yOw.d, false);
e.a = yOw.b;
String str = "";
if (yOw.c == null) {
d2 = "";
} else {
d2 = d(yOw.c);
}
e.h = d2;
if (c16834rfl == null) {
c = "";
} else {
c = c(c16834rfl);
}
e.b = c;
if (c16834rfl == null) {
int i4 = a + 61;
b = i4 % 128;
if (i4 % 2 == 0) {
int i5 = 97 / 0;
}
} else {
str = b(c16834rfl);
}
e.f = str;
return e;
}
/* JADX WARN: Code restructure failed: missing block: B:10:0x0026, code lost:
return "";
*/
/* JADX WARN: Code restructure failed: missing block: B:12:0x002a, code lost:
throw null;
*/
/* JADX WARN: Code restructure failed: missing block: B:14:0x0019, code lost:
if (r3.e == null) goto L26;
*/
/* JADX WARN: Code restructure failed: missing block: B:4:0x0014, code lost:
if (r3.e == null) goto L26;
*/
/* JADX WARN: Code restructure failed: missing block: B:5:0x002b, code lost:
r3 = r3.e;
r1 = o.C17685yr.b + 47;
o.C17685yr.a = r1 % 128;
r1 = r1 % 2;
*/
/* JADX WARN: Code restructure failed: missing block: B:6:0x0036, code lost:
return r3;
*/
/* JADX WARN: Code restructure failed: missing block: B:8:0x001b, code lost:
r3 = o.C17685yr.a + 93;
o.C17685yr.b = r3 % 128;
*/
/* JADX WARN: Code restructure failed: missing block: B:9:0x0024, code lost:
if ((r3 % 2) == 0) goto L29;
*/
/*
Code decompiled incorrectly, please refer to instructions dump.
To view partially-correct add '--show-bad-code' argument
*/
private static java.lang.String c(o.C16834rfl r3) {
/*
r0 = 2
int r1 = r0 % r0
int r1 = o.C17685yr.a
int r1 = r1 + 23
int r2 = r1 % 128
o.C17685yr.b = r2
int r1 = r1 % r0
if (r1 != 0) goto L17
java.lang.String r1 = r3.e
r2 = 46
int r2 = r2 / 0
if (r1 != 0) goto L2b
goto L1b
L17:
java.lang.String r1 = r3.e
if (r1 != 0) goto L2b
L1b:
int r3 = o.C17685yr.a
int r3 = r3 + 93
int r1 = r3 % 128
o.C17685yr.b = r1
int r3 = r3 % r0
if (r3 == 0) goto L29
java.lang.String r3 = ""
goto L36
L29:
r3 = 0
throw r3
L2b:
java.lang.String r3 = r3.e
int r1 = o.C17685yr.b
int r1 = r1 + 47
int r2 = r1 % 128
o.C17685yr.a = r2
int r1 = r1 % r0
L36:
return r3
*/
throw new UnsupportedOperationException("Method not decompiled: o.C17685yr.c(o.rfl):java.lang.String");
}
private static String b(C16834rfl c16834rfl) {
int i = 2 % 2;
int i2 = a + 33;
b = i2 % 128;
Object obj = null;
if (i2 % 2 != 0) {
if (c16834rfl.c == null) {
int i3 = a + 1;
b = i3 % 128;
if (i3 % 2 != 0) {
return "";
}
throw null;
}
return c16834rfl.c;
}
String str = c16834rfl.c;
obj.hashCode();
throw null;
}
public static String n(String str) {
int i = 2 % 2;
int i2 = b + 93;
a = i2 % 128;
if (i2 % 2 != 0) {
b(str);
Object obj = null;
obj.hashCode();
throw null;
}
String b2 = b(str);
int i3 = b + 107;
a = i3 % 128;
int i4 = i3 % 2;
return b2;
}
private static void s(int i, int i2, int i3, char[] cArr, boolean z, Object[] objArr) {
int i4 = 2 % 2;
zUI zui = new zUI();
char[] cArr2 = new char[i];
zui.d = 0;
while (zui.d < i) {
int i5 = $11 + 123;
$10 = i5 % 128;
int i6 = i5 % 2;
zui.c = cArr[zui.d];
cArr2[zui.d] = (char) (i3 + zui.c);
int i7 = zui.d;
try {
Object[] objArr2 = {Integer.valueOf(cArr2[i7]), Integer.valueOf(d)};
Object obj = xzZ.y.get(880493502);
if (obj == null) {
Class cls = (Class) xzZ.c(ImageFormat.getBitsPerPixel(0) + CipherSuite.TLS_DHE_PSK_WITH_AES_128_CBC_SHA, 6 - TextUtils.indexOf((CharSequence) "", '0', 0), (char) ((-1) - ImageFormat.getBitsPerPixel(0)));
byte b2 = (byte) 0;
byte b3 = b2;
Object[] objArr3 = new Object[1];
q(b2, b3, b3, objArr3);
obj = cls.getMethod((String) objArr3[0], Integer.TYPE, Integer.TYPE);
xzZ.y.put(880493502, obj);
}
cArr2[i7] = ((Character) ((Method) obj).invoke(null, objArr2)).charValue();
Object[] objArr4 = {zui, zui};
Object obj2 = xzZ.y.get(1294990079);
if (obj2 == null) {
Class cls2 = (Class) xzZ.c((ViewConfiguration.getEdgeSlop() >> 16) + 342, 5 - ExpandableListView.getPackedPositionGroup(0L), (char) (ViewConfiguration.getMaximumFlingVelocity() >> 16));
byte b4 = (byte) 0;
byte b5 = b4;
Object[] objArr5 = new Object[1];
q(b4, b5, (byte) (b5 + 1), objArr5);
obj2 = cls2.getMethod((String) objArr5[0], Object.class, Object.class);
xzZ.y.put(1294990079, obj2);
}
((Method) obj2).invoke(null, objArr4);
} catch (Throwable th) {
Throwable cause = th.getCause();
if (cause == null) {
throw th;
}
throw cause;
}
}
if (i2 > 0) {
int i8 = $10 + 43;
$11 = i8 % 128;
int i9 = i8 % 2;
zui.a = i2;
char[] cArr3 = new char[i];
System.arraycopy(cArr2, 0, cArr3, 0, i);
System.arraycopy(cArr3, 0, cArr2, i - zui.a, zui.a);
System.arraycopy(cArr3, zui.a, cArr2, 0, i - zui.a);
}
if (z) {
char[] cArr4 = new char[i];
zui.d = 0;
while (zui.d < i) {
int i10 = $10 + 17;
$11 = i10 % 128;
int i11 = i10 % 2;
cArr4[zui.d] = cArr2[(i - zui.d) - 1];
Object[] objArr6 = {zui, zui};
Object obj3 = xzZ.y.get(1294990079);
if (obj3 == null) {
Class cls3 = (Class) xzZ.c(343 - (AudioTrack.getMaxVolume() > BitmapDescriptorFactory.HUE_RED ? 1 : (AudioTrack.getMaxVolume() == BitmapDescriptorFactory.HUE_RED ? 0 : -1)), (SystemClock.elapsedRealtimeNanos() > 0L ? 1 : (SystemClock.elapsedRealtimeNanos() == 0L ? 0 : -1)) + 4, (char) ((-1) - TextUtils.lastIndexOf("", '0', 0)));
byte b6 = (byte) 0;
byte b7 = b6;
Object[] objArr7 = new Object[1];
q(b6, b7, (byte) (b7 + 1), objArr7);
obj3 = cls3.getMethod((String) objArr7[0], Object.class, Object.class);
xzZ.y.put(1294990079, obj3);
}
((Method) obj3).invoke(null, objArr6);
}
int i12 = $10 + 1;
$11 = i12 % 128;
int i13 = i12 % 2;
cArr2 = cArr4;
}
objArr[0] = new String(cArr2);
}
public final ST c(Zch zch) {
System.identityHashCode(this);
return (ST) a(new Object[]{this, zch});
}
}