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

370 lines
14 KiB
Java
Raw Normal View History

2024-07-27 18:17:47 +07:00
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.KeyEvent;
import android.view.MotionEvent;
import android.view.View;
import android.view.ViewConfiguration;
import android.widget.ExpandableListView;
import com.google.android.gms.maps.model.BitmapDescriptorFactory;
import java.lang.reflect.Method;
import org.threeten.bp.OffsetDateTime;
/* loaded from: classes3.dex */
public final class lZT extends ZTC {
private static final byte[] $$d = {41, -51, 119, -103};
private static final int $$e = 15;
private static int $10 = 0;
private static int $11 = 1;
private static int b = 0;
private static int e = 1;
private static int[] a = {1811301672, -258944745, 1647914594, 1242399547, -2072062083, 1935199965, 491413393, 399199525, -1543405555, -699490787, -1530237993, -716273082, -329405242, -116491456, 931173489, 927203231, 843935865, 154286806};
/* 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: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(short r6, byte r7, short r8, java.lang.Object[] r9) {
/*
int r7 = r7 * 2
int r7 = r7 + 4
int r6 = r6 * 3
int r0 = r6 + 1
byte[] r1 = o.lZT.$$d
int r8 = r8 * 2
int r8 = 104 - r8
byte[] r0 = new byte[r0]
r2 = 0
if (r1 != 0) goto L17
r3 = r6
r8 = r7
r4 = r2
goto L2e
L17:
r3 = r2
L18:
byte r4 = (byte) r8
r0[r3] = r4
if (r3 != r6) goto L25
java.lang.String r6 = new java.lang.String
r6.<init>(r0, r2)
r9[r2] = r6
return
L25:
r4 = r1[r7]
int r3 = r3 + 1
r5 = r8
r8 = r7
r7 = r4
r4 = r3
r3 = r5
L2e:
int r7 = -r7
int r7 = r7 + r3
int r8 = r8 + 1
r3 = r4
r5 = r8
r8 = r7
r7 = r5
goto L18
*/
throw new UnsupportedOperationException("Method not decompiled: o.lZT.g(short, byte, short, java.lang.Object[]):void");
}
@InterfaceC13391fZD
public lZT() {
}
public static KJx d(Gex gex) {
int i;
int i2;
String str;
int i3 = 2 % 2;
C14957gcv.e(gex, "");
KJx c = KJx.c();
String str2 = gex.a;
if (str2 == null) {
str2 = "";
}
c.a = str2;
Integer num = gex.f;
boolean z = false;
if (num != null) {
int i4 = b + 85;
e = i4 % 128;
int i5 = i4 % 2;
i = num.intValue();
} else {
i = 0;
}
c.h = i;
Object obj = null;
c.i = ZTC.b(gex.j, (OffsetDateTime) null);
Integer num2 = gex.g;
if (num2 != null) {
i2 = num2.intValue();
} else {
int i6 = e + 117;
b = i6 % 128;
int i7 = i6 % 2;
i2 = 0;
}
c.f = i2;
String str3 = gex.d;
Object[] objArr = new Object[1];
f(new int[]{-10033258, 1767597273}, 1 - (Process.myPid() >> 22), objArr);
String intern = ((String) objArr[0]).intern();
if (str3 == null) {
Object[] objArr2 = new Object[1];
f(new int[]{-10033258, 1767597273}, (ViewConfiguration.getMinimumFlingVelocity() >> 16) + 1, objArr2);
str3 = ((String) objArr2[0]).intern();
int i8 = b + 55;
e = i8 % 128;
int i9 = i8 % 2;
}
c.c = str3;
String str4 = gex.e;
if (str4 == null) {
Object[] objArr3 = new Object[1];
f(new int[]{-10033258, 1767597273}, -TextUtils.indexOf((CharSequence) "", '0', 0, 0), objArr3);
str4 = ((String) objArr3[0]).intern();
}
c.e = str4;
String str5 = gex.b;
if (str5 != null) {
intern = str5;
}
c.b = intern;
yzb yzbVar = gex.h;
if (yzbVar != null) {
int i10 = e + 77;
b = i10 % 128;
if (i10 % 2 != 0) {
String str6 = yzbVar.e;
obj.hashCode();
throw null;
}
str = yzbVar.e;
} else {
str = null;
}
if (str == null) {
str = "";
}
c.j = str;
yzb yzbVar2 = gex.h;
String str7 = yzbVar2 != null ? yzbVar2.c : null;
if (str7 == null) {
int i11 = b + 47;
e = i11 % 128;
if (i11 % 2 == 0) {
obj.hashCode();
throw null;
}
str7 = "";
}
c.g = str7;
Boolean bool = gex.c;
if (bool != null) {
int i12 = b + 37;
e = i12 % 128;
if (i12 % 2 == 0) {
bool.booleanValue();
obj.hashCode();
throw null;
}
z = bool.booleanValue();
}
c.d = z;
C14957gcv.c(c, "");
return c;
}
private static void f(int[] iArr, int i, Object[] objArr) {
Object method;
String str;
int i2 = 2 % 2;
C4403bZM c4403bZM = new C4403bZM();
char[] cArr = new char[4];
char[] cArr2 = new char[iArr.length * 2];
int[] iArr2 = a;
String str2 = "";
long j = 0;
int i3 = 729798706;
int i4 = 1;
char c = 0;
if (iArr2 != null) {
int length = iArr2.length;
int[] iArr3 = new int[length];
int i5 = 0;
while (i5 < length) {
try {
Object[] objArr2 = new Object[i4];
objArr2[c] = Integer.valueOf(iArr2[i5]);
Object obj = xzZ.y.get(729798706);
if (obj == null) {
obj = ((Class) xzZ.c(14 - ExpandableListView.getPackedPositionChild(j), TextUtils.lastIndexOf("", '0', 0) + 6, (char) (58134 - (ViewConfiguration.getScrollBarSize() >> 8)))).getMethod("i", Integer.TYPE);
xzZ.y.put(729798706, obj);
}
iArr3[i5] = ((Integer) ((Method) obj).invoke(null, objArr2)).intValue();
i5++;
c = 0;
j = 0;
i4 = 1;
} 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 = a;
if (iArr5 != null) {
int i6 = $11 + 37;
$10 = i6 % 128;
int i7 = i6 % 2;
int length3 = iArr5.length;
int[] iArr6 = new int[length3];
int i8 = 0;
while (i8 < length3) {
int i9 = $10 + 49;
$11 = i9 % 128;
if (i9 % 2 == 0) {
Object[] objArr3 = {Integer.valueOf(iArr5[i8])};
Object obj2 = xzZ.y.get(Integer.valueOf(i3));
if (obj2 != null) {
str = str2;
} else {
obj2 = ((Class) xzZ.c(MotionEvent.axisFromString(str2) + 16, (SystemClock.elapsedRealtimeNanos() > 0L ? 1 : (SystemClock.elapsedRealtimeNanos() == 0L ? 0 : -1)) + 4, (char) (Color.blue(0) + 58134))).getMethod("i", Integer.TYPE);
str = str2;
xzZ.y.put(729798706, obj2);
}
iArr6[i8] = ((Integer) ((Method) obj2).invoke(null, objArr3)).intValue();
i8--;
i3 = 729798706;
} else {
str = str2;
try {
Object[] objArr4 = {Integer.valueOf(iArr5[i8])};
Object obj3 = xzZ.y.get(729798706);
if (obj3 != null) {
i3 = 729798706;
} else {
obj3 = ((Class) xzZ.c(15 - (AudioTrack.getMinVolume() > BitmapDescriptorFactory.HUE_RED ? 1 : (AudioTrack.getMinVolume() == BitmapDescriptorFactory.HUE_RED ? 0 : -1)), 5 - KeyEvent.getDeadChar(0, 0), (char) ((ViewConfiguration.getMaximumDrawingCacheSize() >> 24) + 58134))).getMethod("i", Integer.TYPE);
i3 = 729798706;
xzZ.y.put(729798706, obj3);
}
iArr6[i8] = ((Integer) ((Method) obj3).invoke(null, objArr4)).intValue();
i8++;
} catch (Throwable th2) {
Throwable cause2 = th2.getCause();
if (cause2 == null) {
throw th2;
}
throw cause2;
}
}
str2 = str;
}
iArr5 = iArr6;
}
char c2 = 0;
System.arraycopy(iArr5, 0, iArr4, 0, length2);
c4403bZM.b = 0;
while (c4403bZM.b < iArr.length) {
cArr[c2] = (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 i10 = 0;
for (int i11 = 16; i10 < i11; i11 = 16) {
int i12 = $10 + 37;
$11 = i12 % 128;
if (i12 % 2 == 0) {
c4403bZM.e ^= iArr4[i10];
Object[] objArr5 = {c4403bZM, Integer.valueOf(C4403bZM.d(c4403bZM.e)), c4403bZM, c4403bZM};
Object obj4 = xzZ.y.get(-1196964548);
if (obj4 == null) {
Class cls = (Class) xzZ.c((Process.myTid() >> 22) + 118, (AudioTrack.getMaxVolume() > BitmapDescriptorFactory.HUE_RED ? 1 : (AudioTrack.getMaxVolume() == BitmapDescriptorFactory.HUE_RED ? 0 : -1)) + 4, (char) Color.argb(0, 0, 0, 0));
byte b2 = (byte) 0;
byte b3 = b2;
Object[] objArr6 = new Object[1];
g(b2, b3, b3, objArr6);
obj4 = cls.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;
i10 += 91;
} else {
c4403bZM.e ^= iArr4[i10];
Object[] objArr7 = {c4403bZM, Integer.valueOf(C4403bZM.d(c4403bZM.e)), c4403bZM, c4403bZM};
Object obj5 = xzZ.y.get(-1196964548);
if (obj5 == null) {
Class cls2 = (Class) xzZ.c((ViewConfiguration.getEdgeSlop() >> 16) + 118, 5 - ExpandableListView.getPackedPositionType(0L), (char) View.MeasureSpec.getMode(0));
byte b4 = (byte) 0;
byte b5 = b4;
Object[] objArr8 = new Object[1];
g(b4, b5, b5, objArr8);
obj5 = cls2.getMethod((String) objArr8[0], Object.class, Integer.TYPE, Object.class, Object.class);
xzZ.y.put(-1196964548, obj5);
}
int intValue2 = ((Integer) ((Method) obj5).invoke(null, objArr7)).intValue();
c4403bZM.e = c4403bZM.a;
c4403bZM.a = intValue2;
i10++;
}
}
int i13 = c4403bZM.e;
c4403bZM.e = c4403bZM.a;
c4403bZM.a = i13;
c4403bZM.a ^= iArr4[16];
c4403bZM.e ^= iArr4[17];
int i14 = c4403bZM.e;
int i15 = 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];
Object[] objArr9 = {c4403bZM, c4403bZM};
Object obj6 = xzZ.y.get(1914371176);
if (obj6 != null) {
method = obj6;
} else {
Class cls3 = (Class) xzZ.c(View.MeasureSpec.makeMeasureSpec(0, 0) + 98, AndroidCharacter.getMirror('0') - '+', (char) (((byte) KeyEvent.getModifierMetaStateMask()) + 1));
byte b6 = (byte) 0;
byte b7 = b6;
Object[] objArr10 = new Object[1];
g(b6, b7, (byte) (b7 + 1), objArr10);
method = cls3.getMethod((String) objArr10[0], Object.class, Object.class);
xzZ.y.put(1914371176, method);
}
((Method) method).invoke(null, objArr9);
c2 = 0;
}
objArr[0] = new String(cArr2, 0, i);
}
}