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

487 lines
16 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.os.Process;
import android.os.SystemClock;
import android.text.TextUtils;
import android.util.TypedValue;
import android.view.KeyEvent;
import android.view.View;
import android.widget.ExpandableListView;
import com.google.android.gms.maps.model.BitmapDescriptorFactory;
import com.google.common.base.Ascii;
import java.lang.reflect.Method;
import java.util.ArrayList;
import java.util.Collection;
import java.util.Iterator;
import java.util.List;
import net.sf.scuba.smartcards.ISO7816;
import okhttp3.internal.http2.Http2Connection;
/* renamed from: o.Br, reason: case insensitive filesystem */
/* loaded from: classes3.dex */
public final class C0221Br extends C16157lj {
private static int a;
private static int d;
private static final byte[] $$d = {15, Ascii.DC4, ISO7816.INS_MSE, -3};
private static final int $$e = 82;
private static int $10 = 0;
private static int $11 = 1;
private static int b = 0;
public static /* synthetic */ Object b(Object[] objArr, int i, int i2, int i3) {
int i4 = ~i;
int i5 = ~i2;
int i6 = ~(i4 | i5);
if ((i * (-445)) + (i2 * (-445)) + (((~((~i3) | i5)) | i6) * 446) + (((~(i | i5 | i3)) | (~(i2 | i4))) * 446) + (i6 * 446) != 1) {
C0894Qxm c0894Qxm = (C0894Qxm) objArr[0];
int i7 = 2 % 2;
HJ hj = new HJ(c0894Qxm.a, c0894Qxm.e, c0894Qxm.d, c0894Qxm.c);
int i8 = d + 65;
b = i8 % 128;
int i9 = i8 % 2;
return hj;
}
return b(objArr);
}
/* JADX WARN: Removed duplicated region for block: B:10:0x0025 */
/* JADX WARN: Removed duplicated region for block: B:7:0x001d */
/* JADX WARN: Unsupported multi-entry loop pattern (BACK_EDGE: B:10:0x0025 -> B:4:0x002c). 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(short r7, short r8, byte r9, java.lang.Object[] r10) {
/*
int r9 = r9 + 4
int r7 = r7 * 3
int r7 = 1 - r7
byte[] r0 = o.C0221Br.$$d
int r8 = r8 * 7
int r8 = 76 - r8
byte[] r1 = new byte[r7]
r2 = 0
if (r0 != 0) goto L15
r8 = r7
r3 = r9
r4 = r2
goto L2c
L15:
r3 = r2
L16:
int r4 = r3 + 1
byte r5 = (byte) r8
r1[r3] = r5
if (r4 != r7) goto L25
java.lang.String r7 = new java.lang.String
r7.<init>(r1, r2)
r10[r2] = r7
return
L25:
int r9 = r9 + 1
r3 = r0[r9]
r6 = r3
r3 = r9
r9 = r6
L2c:
int r9 = -r9
int r8 = r8 + r9
r9 = r3
r3 = r4
goto L16
*/
throw new UnsupportedOperationException("Method not decompiled: o.C0221Br.q(short, short, byte, java.lang.Object[]):void");
}
/* JADX WARN: 'super' call moved to the top of the method (can break code semantics) */
@InterfaceC13391fZD
public C0221Br(Resources resources, SharedPreferences sharedPreferences) {
super(resources, sharedPreferences);
C14957gcv.e(resources, "");
C14957gcv.e(sharedPreferences, "");
}
/* renamed from: o.Br$IeS */
/* loaded from: classes3.dex */
public static final class IeS {
private IeS() {
}
public /* synthetic */ IeS(byte b) {
this();
}
}
public final HR a(C6162cKm c6162cKm) {
HG hg;
HE he;
int i = 2 % 2;
C14957gcv.e(c6162cKm, "");
qKp qkp = c6162cKm.c;
if (qkp != null) {
int i2 = b + 111;
d = i2 % 128;
if (i2 % 2 == 0) {
b(qkp);
throw null;
}
hg = b(qkp);
} else {
hg = null;
}
String str = c6162cKm.f;
String str2 = c6162cKm.g;
String str3 = c6162cKm.h;
String str4 = c6162cKm.j;
List<String> list = c6162cKm.i;
cAV cav = c6162cKm.b;
if (cav != null) {
int i3 = d + 27;
b = i3 % 128;
if (i3 % 2 != 0) {
a(cav);
r3.hashCode();
throw null;
}
he = a(cav);
} else {
int i4 = b + 11;
d = i4 % 128;
int i5 = i4 % 2;
he = null;
}
C0894Qxm c0894Qxm = c6162cKm.a;
HJ hj = c0894Qxm != null ? (HJ) b(new Object[]{c0894Qxm}, 1332786510, -1332786510, (int) System.currentTimeMillis()) : null;
C15758iOf c15758iOf = c6162cKm.e;
return new HR(hg, null, null, null, null, str, str2, str3, str4, list, he, hj, c15758iOf != null ? e(c15758iOf) : null, c6162cKm.m, c6162cKm.d);
}
/* JADX WARN: Code restructure failed: missing block: B:58:0x00f8, code lost:
if (r1 != null) goto L82;
*/
/* JADX WARN: Code restructure failed: missing block: B:59:0x00ff, code lost:
r4 = r1.i;
*/
/* JADX WARN: Code restructure failed: missing block: B:61:0x00fd, code lost:
if (r1 != null) goto L82;
*/
/*
Code decompiled incorrectly, please refer to instructions dump.
To view partially-correct add '--show-bad-code' argument
*/
public static o.C1203Xy e(o.HR r26, java.lang.String r27) {
/*
Method dump skipped, instructions count: 362
To view this dump add '--comments-level debug' option
*/
throw new UnsupportedOperationException("Method not decompiled: o.C0221Br.e(o.HR, java.lang.String):o.Xy");
}
private static HG b(qKp qkp) {
int i = 2 % 2;
HG hg = new HG(a(qkp.e), a(qkp.h), qkp.d, qkp.i, qkp.b, qkp.f, qkp.a, qkp.c);
int i2 = d + 79;
b = i2 % 128;
if (i2 % 2 != 0) {
int i3 = 56 / 0;
}
return hg;
}
private static HO a(CQc cQc) {
int i = 2 % 2;
HO ho = new HO(cQc.d, cQc.j, cQc.e, cQc.c, cQc.a, cQc.h, cQc.i, cQc.b);
int i2 = d + 17;
b = i2 % 128;
if (i2 % 2 == 0) {
return ho;
}
Object obj = null;
obj.hashCode();
throw null;
}
private static void n(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 = $10 + 17;
$11 = 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(a)};
Object obj = xzZ.y.get(880493502);
if (obj == null) {
Class cls = (Class) xzZ.c(Color.rgb(0, 0, 0) + 16777359, (Process.myPid() >> 22) + 7, (char) ((SystemClock.uptimeMillis() > 0L ? 1 : (SystemClock.uptimeMillis() == 0L ? 0 : -1)) - 1));
byte b2 = (byte) 0;
byte b3 = (byte) (b2 + 1);
Object[] objArr3 = new Object[1];
q(b2, b3, (byte) (-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();
try {
Object[] objArr4 = {zui, zui};
Object obj2 = xzZ.y.get(1294990079);
if (obj2 == null) {
Class cls2 = (Class) xzZ.c(ExpandableListView.getPackedPositionGroup(0L) + 342, 5 - ((Process.getThreadPriority(0) + 20) >> 6), (char) TextUtils.getTrimmedLength(""));
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;
}
} catch (Throwable th2) {
Throwable cause2 = th2.getCause();
if (cause2 == null) {
throw th2;
}
throw cause2;
}
}
if (i2 > 0) {
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 i8 = $10 + 97;
$11 = i8 % 128;
if (i8 % 2 == 0) {
cArr4[zui.d] = cArr2[(i >>> zui.d) % 0];
try {
Object[] objArr6 = {zui, zui};
Object obj3 = xzZ.y.get(1294990079);
if (obj3 == null) {
Class cls3 = (Class) xzZ.c(TextUtils.getOffsetAfter("", 0) + 342, 5 - View.resolveSize(0, 0), (char) (TypedValue.complexToFloat(0) > BitmapDescriptorFactory.HUE_RED ? 1 : (TypedValue.complexToFloat(0) == BitmapDescriptorFactory.HUE_RED ? 0 : -1)));
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);
} catch (Throwable th3) {
Throwable cause3 = th3.getCause();
if (cause3 == null) {
throw th3;
}
throw cause3;
}
} else {
cArr4[zui.d] = cArr2[(i - zui.d) - 1];
Object[] objArr8 = {zui, zui};
Object obj4 = xzZ.y.get(1294990079);
if (obj4 == null) {
Class cls4 = (Class) xzZ.c(TextUtils.getTrimmedLength("") + 342, ((byte) KeyEvent.getModifierMetaStateMask()) + 6, (char) (Color.rgb(0, 0, 0) + Http2Connection.OKHTTP_CLIENT_WINDOW_SIZE));
byte b8 = (byte) 0;
byte b9 = b8;
Object[] objArr9 = new Object[1];
q(b8, b9, (byte) (b9 - 1), objArr9);
obj4 = cls4.getMethod((String) objArr9[0], Object.class, Object.class);
xzZ.y.put(1294990079, obj4);
}
((Method) obj4).invoke(null, objArr8);
}
}
cArr2 = cArr4;
}
objArr[0] = new String(cArr2);
}
private static HE a(cAV cav) {
int i = 2 % 2;
HE he = new HE(cav.b, cav.a, cav.d, cav.c, cav.e, cav.j);
int i2 = d + 7;
b = i2 % 128;
int i3 = i2 % 2;
return he;
}
private static HN e(C15758iOf c15758iOf) {
HP hp;
int i = 2 % 2;
int i2 = b + 121;
d = i2 % 128;
int i3 = i2 % 2;
String str = c15758iOf.d;
xLZ xlz = c15758iOf.e;
if (xlz != null) {
int i4 = b + 43;
d = i4 % 128;
if (i4 % 2 == 0) {
e(xlz);
r3.hashCode();
throw null;
}
hp = e(xlz);
} else {
hp = null;
}
List<C16360nhu> list = c15758iOf.c;
List<HU> e = list != null ? e(list) : null;
FFT fft = c15758iOf.b;
HN hn = new HN(str, hp, e, fft != null ? (HM) b(new Object[]{fft}, -626102238, 626102239, (int) System.currentTimeMillis()) : null);
int i5 = b + 105;
d = i5 % 128;
int i6 = i5 % 2;
return hn;
}
private static HP e(xLZ xlz) {
int i = 2 % 2;
HP hp = new HP(xlz.a, xlz.c, xlz.b, xlz.e, xlz.h, xlz.d);
int i2 = d + 49;
b = i2 % 128;
if (i2 % 2 == 0) {
return hp;
}
throw null;
}
private static HU a(C16360nhu c16360nhu) {
int i = 2 % 2;
HU hu = new HU(c16360nhu.d, c16360nhu.c, c16360nhu.a, c16360nhu.b, c16360nhu.e);
int i2 = d + 3;
b = i2 % 128;
if (i2 % 2 == 0) {
return hu;
}
throw null;
}
private static /* synthetic */ Object b(Object[] objArr) {
HM hm;
FFT fft = (FFT) objArr[0];
int i = 2 % 2;
int i2 = d + 115;
b = i2 % 128;
int i3 = i2 % 2;
wKJ wkj = fft.e;
if (wkj != null) {
hm = new HM(a(wkj));
int i4 = b + 15;
d = i4 % 128;
int i5 = i4 % 2;
} else {
hm = null;
}
int i6 = b + 77;
d = i6 % 128;
int i7 = i6 % 2;
return hm;
}
private static HS a(wKJ wkj) {
int i = 2 % 2;
HS hs = new HS(wkj.b, wkj.a, wkj.d);
int i2 = d + 9;
b = i2 % 128;
int i3 = i2 % 2;
return hs;
}
private static List<HO> a(List<CQc> list) {
int i = 2 % 2;
List<CQc> list2 = list;
C14957gcv.e(list2, "");
ArrayList arrayList = new ArrayList(list2 instanceof Collection ? list2.size() : 10);
Iterator<T> it = list2.iterator();
while (it.hasNext()) {
int i2 = b + 59;
d = i2 % 128;
if (i2 % 2 == 0) {
arrayList.add(a((CQc) it.next()));
throw null;
}
arrayList.add(a((CQc) it.next()));
}
ArrayList arrayList2 = arrayList;
int i3 = b + 69;
d = i3 % 128;
int i4 = i3 % 2;
return arrayList2;
}
private static List<HU> e(List<C16360nhu> list) {
int i = 2 % 2;
List<C16360nhu> list2 = list;
C14957gcv.e(list2, "");
ArrayList arrayList = new ArrayList(list2 instanceof Collection ? list2.size() : 10);
Iterator<T> it = list2.iterator();
while (true) {
Object obj = null;
if (!it.hasNext()) {
ArrayList arrayList2 = arrayList;
int i2 = b + 93;
d = i2 % 128;
if (i2 % 2 != 0) {
return arrayList2;
}
throw null;
}
int i3 = b + 75;
d = i3 % 128;
if (i3 % 2 == 0) {
arrayList.add(a((C16360nhu) it.next()));
obj.hashCode();
throw null;
}
arrayList.add(a((C16360nhu) it.next()));
}
}
static void g() {
a = 2015661616;
}
private static HM a(FFT fft) {
return (HM) b(new Object[]{fft}, -626102238, 626102239, (int) System.currentTimeMillis());
}
private static HJ c(C0894Qxm c0894Qxm) {
return (HJ) b(new Object[]{c0894Qxm}, 1332786510, -1332786510, (int) System.currentTimeMillis());
}
static {
d = 1;
g();
new IeS((byte) 0);
int i = b + 113;
d = i % 128;
if (i % 2 != 0) {
return;
}
Object obj = null;
obj.hashCode();
throw null;
}
}