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

509 lines
17 KiB
Java

package o;
import android.graphics.Color;
import android.media.AudioTrack;
import android.os.Process;
import android.os.SystemClock;
import android.text.AndroidCharacter;
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 io.flutter.embedding.android.KeyboardMap;
import java.lang.reflect.Method;
/* loaded from: classes.dex */
public final class Mbz extends C0743NnU<Ygu> {
private static final byte[] $$a = {118, -18, 54, 121};
private static final int $$b = 50;
private static int $10 = 0;
private static int $11 = 1;
private static int b = 0;
private static int d = 1;
private static char[] c = {36834, 36835};
private static long e = 9141771751101041523L;
public static /* synthetic */ Object c(Object[] objArr, int i, int i2, int i3) {
int i4 = ~i2;
int i5 = ~i3;
int i6 = ~(i4 | i5);
int i7 = ~i;
int i8 = (i * 371) + (i2 * 371) + ((i6 | (~(i7 | i3))) * (-370));
int i9 = (~(i3 | i4)) | (~(i5 | i7));
int i10 = ~(i | i2);
return (i8 + ((i9 | i10) * (-370))) + (i10 * 370) != 1 ? a(objArr) : d(objArr);
}
/* JADX WARN: Removed duplicated region for block: B:10:0x0021 */
/* JADX WARN: Removed duplicated region for block: B:7:0x0019 */
/* JADX WARN: Unsupported multi-entry loop pattern (BACK_EDGE: B:10:0x0021 -> B:4:0x002a). 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 r6, int r7, short r8, java.lang.Object[] r9) {
/*
int r8 = r8 + 98
int r6 = r6 + 4
int r7 = r7 * 2
int r0 = r7 + 1
byte[] r1 = o.Mbz.$$a
byte[] r0 = new byte[r0]
r2 = 0
if (r1 != 0) goto L13
r4 = r8
r3 = r2
r8 = r6
goto L2a
L13:
r3 = r2
L14:
byte r4 = (byte) r8
r0[r3] = r4
if (r3 != r7) goto L21
java.lang.String r6 = new java.lang.String
r6.<init>(r0, r2)
r9[r2] = r6
return
L21:
int r6 = r6 + 1
int r3 = r3 + 1
r4 = r1[r6]
r5 = r8
r8 = r6
r6 = r5
L2a:
int r6 = r6 + r4
r5 = r8
r8 = r6
r6 = r5
goto L14
*/
throw new UnsupportedOperationException("Method not decompiled: o.Mbz.q(int, int, short, java.lang.Object[]):void");
}
public Mbz(Ygu ygu) {
super(ygu);
}
@Override // o.C0743NnU
public final String d(int i) {
int i2 = 2 % 2;
if (i == 0) {
return k();
}
if (i == 521) {
return (String) c(new Object[]{this}, -758457085, 758457086, System.identityHashCode(this));
}
if (i == 773) {
return i();
}
int i3 = b + 35;
int i4 = i3 % 128;
d = i4;
if (i3 % 2 != 0 ? i == 776 : i == 1773) {
return e();
}
if (i == 4609) {
return (String) c(new Object[]{this}, 1030792201, -1030792201, System.identityHashCode(this));
}
if (i == 5376) {
return m();
}
int i5 = i4 + 49;
int i6 = i5 % 128;
b = i6;
int i7 = i5 % 2;
if (i == 5632) {
return o();
}
int i8 = i6 + 119;
int i9 = i8 % 128;
d = i9;
if (i8 % 2 != 0 ? i == 4612 : i == 29519) {
return h();
}
if (i == 4613) {
return f();
}
if (i == 4617) {
return n();
}
int i10 = i9 + 55;
b = i10 % 128;
int i11 = i10 % 2;
if (i == 4618) {
String l = l();
int i12 = b + 51;
d = i12 % 128;
int i13 = i12 % 2;
return l;
}
return super.d(i);
}
private String k() {
int i = 2 % 2;
int i2 = b + 115;
d = i2 % 128;
int i3 = i2 % 2;
String e2 = e(0, 4);
int i4 = b + 5;
d = i4 % 128;
if (i4 % 2 != 0) {
return e2;
}
throw null;
}
private static /* synthetic */ Object d(Object[] objArr) {
Mbz mbz = (Mbz) objArr[0];
int i = 2 % 2;
int i2 = b + 117;
d = i2 % 128;
int i3 = i2 % 2;
String a = mbz.a(521, "Off", "On");
int i4 = d + 111;
b = i4 % 128;
int i5 = i4 % 2;
return a;
}
private static void p(char c2, int i, int i2, Object[] objArr) {
int i3 = 2 % 2;
dQY dqy = new dQY();
long[] jArr = new long[i2];
dqy.a = 0;
while (dqy.a < i2) {
int i4 = $10 + 27;
$11 = i4 % 128;
int i5 = i4 % 2;
int i6 = dqy.a;
try {
Object[] objArr2 = {Integer.valueOf(c[i + dqy.a])};
Object obj = xzZ.y.get(1095064095);
if (obj == null) {
Class cls = (Class) xzZ.c(307 - (ExpandableListView.getPackedPositionForChild(0, 0) > 0L ? 1 : (ExpandableListView.getPackedPositionForChild(0, 0) == 0L ? 0 : -1)), (Process.myPid() >> 22) + 5, (char) ((ViewConfiguration.getGlobalActionKeyTimeout() > 0L ? 1 : (ViewConfiguration.getGlobalActionKeyTimeout() == 0L ? 0 : -1)) + 32796));
byte b2 = (byte) (-1);
byte b3 = (byte) (b2 + 1);
Object[] objArr3 = new Object[1];
q(b2, b3, b3, objArr3);
obj = cls.getMethod((String) objArr3[0], Integer.TYPE);
xzZ.y.put(1095064095, obj);
}
try {
Object[] objArr4 = {Long.valueOf(((Long) ((Method) obj).invoke(null, objArr2)).longValue()), Long.valueOf(dqy.a), Long.valueOf(e), Integer.valueOf(c2)};
Object obj2 = xzZ.y.get(-548438098);
if (obj2 == null) {
Class cls2 = (Class) xzZ.c(412 - View.MeasureSpec.getSize(0), 5 - View.MeasureSpec.makeMeasureSpec(0, 0), (char) ((SystemClock.elapsedRealtime() > 0L ? 1 : (SystemClock.elapsedRealtime() == 0L ? 0 : -1)) - 1));
byte b4 = (byte) (-1);
byte b5 = (byte) (b4 + 1);
Object[] objArr5 = new Object[1];
q(b4, b5, (byte) (b5 + 1), objArr5);
obj2 = cls2.getMethod((String) objArr5[0], Long.TYPE, Long.TYPE, Long.TYPE, Integer.TYPE);
xzZ.y.put(-548438098, obj2);
}
jArr[i6] = ((Long) ((Method) obj2).invoke(null, objArr4)).longValue();
try {
Object[] objArr6 = {dqy, dqy};
Object obj3 = xzZ.y.get(1071125919);
if (obj3 == null) {
Class cls3 = (Class) xzZ.c(AndroidCharacter.getMirror('0') + 359, TextUtils.indexOf((CharSequence) "", '0', 0) + 6, (char) (29234 - Color.green(0)));
byte b6 = (byte) (-1);
byte b7 = (byte) (b6 + 1);
Object[] objArr7 = new Object[1];
q(b6, b7, (byte) (b7 | 8), objArr7);
obj3 = cls3.getMethod((String) objArr7[0], Object.class, Object.class);
xzZ.y.put(1071125919, obj3);
}
((Method) obj3).invoke(null, objArr6);
} catch (Throwable th) {
Throwable cause = th.getCause();
if (cause == null) {
throw th;
}
throw cause;
}
} catch (Throwable th2) {
Throwable cause2 = th2.getCause();
if (cause2 == null) {
throw th2;
}
throw cause2;
}
} catch (Throwable th3) {
Throwable cause3 = th3.getCause();
if (cause3 == null) {
throw th3;
}
throw cause3;
}
}
char[] cArr = new char[i2];
dqy.a = 0;
while (dqy.a < i2) {
cArr[dqy.a] = (char) jArr[dqy.a];
try {
Object[] objArr8 = {dqy, dqy};
Object obj4 = xzZ.y.get(1071125919);
if (obj4 == null) {
Class cls4 = (Class) xzZ.c(TextUtils.getTrimmedLength("") + 407, 6 - (AudioTrack.getMaxVolume() > BitmapDescriptorFactory.HUE_RED ? 1 : (AudioTrack.getMaxVolume() == BitmapDescriptorFactory.HUE_RED ? 0 : -1)), (char) (29234 - TextUtils.indexOf("", "")));
byte b8 = (byte) (-1);
byte b9 = (byte) (b8 + 1);
Object[] objArr9 = new Object[1];
q(b8, b9, (byte) (b9 | 8), objArr9);
obj4 = cls4.getMethod((String) objArr9[0], Object.class, Object.class);
xzZ.y.put(1071125919, obj4);
}
((Method) obj4).invoke(null, objArr8);
} catch (Throwable th4) {
Throwable cause4 = th4.getCause();
if (cause4 == null) {
throw th4;
}
throw cause4;
}
}
String str = new String(cArr);
int i7 = $10 + 29;
$11 = i7 % 128;
int i8 = i7 % 2;
objArr[0] = str;
}
private String i() {
Axo l;
int i = 2 % 2;
int i2 = b + 13;
d = i2 % 128;
if (i2 % 2 != 0 ? (l = ((Ygu) this.a).l(773)) == null : (l = ((Ygu) this.a).l(11772)) == null) {
int i3 = d + 85;
b = i3 % 128;
int i4 = i3 % 2;
return "inf";
}
if (l.b != KeyboardMap.kValueMask) {
int i5 = d + 65;
b = i5 % 128;
if (i5 % 2 == 0 ? l.b != 0 : l.b != 0) {
StringBuilder sb = new StringBuilder();
sb.append(l.b / 1000.0d);
sb.append(" m");
return sb.toString();
}
}
return "inf";
}
private String e() {
Integer j;
int i = 2 % 2;
int i2 = d + 79;
b = i2 % 128;
Object obj = null;
if (i2 % 2 == 0 ? (j = ((Ygu) this.a).j(776)) != null : (j = ((Ygu) this.a).j(27820)) != null) {
String obj2 = j.toString();
int i3 = d + 13;
b = i3 % 128;
if (i3 % 2 == 0) {
return obj2;
}
obj.hashCode();
throw null;
}
int i4 = b + 75;
d = i4 % 128;
int i5 = i4 % 2;
return null;
}
private static /* synthetic */ Object a(Object[] objArr) {
int[] i;
Mbz mbz = (Mbz) objArr[0];
int i2 = 2 % 2;
int i3 = d + 95;
b = i3 % 128;
Object obj = null;
if (i3 % 2 == 0 ? (i = ((Ygu) mbz.a).i(4609)) != null : (i = ((Ygu) mbz.a).i(7519)) != null) {
if (i.length >= 2) {
String format = String.format("%d %d", Short.valueOf((short) i[0]), Short.valueOf((short) i[1]));
if (format.equals("0 0")) {
int i4 = b + 123;
d = i4 % 128;
if (i4 % 2 != 0) {
return "Off";
}
obj.hashCode();
throw null;
}
if (!format.equals("1 0")) {
StringBuilder sb = new StringBuilder("Unknown (");
sb.append(format);
sb.append(")");
return sb.toString();
}
int i5 = b + 89;
d = i5 % 128;
if (i5 % 2 != 0) {
return "On";
}
obj.hashCode();
throw null;
}
}
return null;
}
private String h() {
int i = 2 % 2;
int i2 = b + 5;
d = i2 % 128;
int i3 = i2 % 2;
String a = a(4612, "Bounce or Off", "Direct");
int i4 = b + 11;
d = i4 % 128;
if (i4 % 2 == 0) {
int i5 = 58 / 0;
}
return a;
}
private String f() {
int[] i;
int i2 = 2 % 2;
int i3 = b + 115;
d = i3 % 128;
if (i3 % 2 != 0 ? (i = ((Ygu) this.a).i(4613)) == null : (i = ((Ygu) this.a).i(16474)) == null) {
Integer j = ((Ygu) this.a).j(4613);
if (j == null) {
return null;
}
i = new int[]{j.intValue()};
}
if (i.length == 0) {
int i4 = b + 55;
d = i4 % 128;
int i5 = i4 % 2;
return null;
}
String format = String.format("%d", Short.valueOf((short) i[0]));
if (i.length > 1) {
StringBuilder sb = new StringBuilder();
sb.append(format);
sb.append(" ");
sb.append(String.format("%d", Short.valueOf((short) i[1])));
format = sb.toString();
}
p((char) Color.red(0), (-1) - TextUtils.indexOf((CharSequence) "", '0', 0), 1 - View.MeasureSpec.getSize(0), new Object[1]);
if (!(!format.equals(((String) r8[0]).intern()))) {
int i6 = d + 87;
b = i6 % 128;
int i7 = i6 % 2;
return "Off";
}
Object[] objArr = new Object[1];
p((char) (1 - (SystemClock.elapsedRealtimeNanos() > 0L ? 1 : (SystemClock.elapsedRealtimeNanos() == 0L ? 0 : -1))), '1' - AndroidCharacter.getMirror('0'), (Process.getElapsedCpuTime() > 0L ? 1 : (Process.getElapsedCpuTime() == 0L ? 0 : -1)), objArr);
if (format.equals(((String) objArr[0]).intern())) {
return "On";
}
if (format.equals("0 0")) {
return "Off";
}
if (format.equals("1 0")) {
return "On";
}
StringBuilder sb2 = new StringBuilder("Unknown (");
sb2.append(format);
sb2.append(")");
return sb2.toString();
}
private String n() {
int i = 2 % 2;
int i2 = b + 59;
d = i2 % 128;
int i3 = i2 % 2;
int[] i4 = ((Ygu) this.a).i(4617);
if (i4 == null) {
return null;
}
if (((short) i4[0]) != 0) {
if (((short) i4[1]) == 1) {
return "Full";
}
StringBuilder sb = new StringBuilder("On (1/");
sb.append((int) ((short) i4[1]));
sb.append(" strength)");
return sb.toString();
}
int i5 = b + 121;
d = i5 % 128;
int i6 = i5 % 2;
return "Off";
}
private String l() {
String a;
int i = 2 % 2;
int i2 = d + 49;
b = i2 % 128;
if (i2 % 2 != 0) {
String[] strArr = new String[5];
strArr[1] = "Off";
strArr[0] = "On";
a = a(8822, strArr);
} else {
a = a(4618, "Off", "On");
}
int i3 = b + 123;
d = i3 % 128;
int i4 = i3 % 2;
return a;
}
private String m() {
int i = 2 % 2;
int i2 = b + 85;
d = i2 % 128;
return ((Ygu) this.a).o(i2 % 2 == 0 ? 28397 : 5376);
}
private String o() {
byte[] b2;
int i = 2 % 2;
int i2 = b + 17;
d = i2 % 128;
if (i2 % 2 == 0) {
b2 = ((Ygu) this.a).b(5694);
if (b2 == null) {
return null;
}
} else {
b2 = ((Ygu) this.a).b(5632);
if (b2 == null) {
return null;
}
}
if ((b2[0] | b2[1] | b2[2] | b2[3]) != 0) {
return "On, ".concat((b2[43] & 1) > 0 ? "Mode 1" : "Mode 2");
}
int i3 = d;
int i4 = i3 + 101;
b = i4 % 128;
int i5 = i4 % 2;
int i6 = i3 + 15;
b = i6 % 128;
int i7 = i6 % 2;
return "Off";
}
private String g() {
return (String) c(new Object[]{this}, 1030792201, -1030792201, System.identityHashCode(this));
}
private String j() {
return (String) c(new Object[]{this}, -758457085, 758457086, System.identityHashCode(this));
}
}