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

218 lines
8.9 KiB
Java
Raw Normal View History

2024-07-27 18:17:47 +07:00
package o;
import android.graphics.Color;
import android.graphics.PointF;
import android.media.AudioTrack;
import android.os.SystemClock;
import android.text.TextUtils;
import android.view.KeyEvent;
import android.view.ViewConfiguration;
import com.google.android.gms.maps.model.BitmapDescriptorFactory;
import com.google.common.base.Ascii;
import com.scb.phone.data.entity.transfer.SingleDataEntity;
import java.lang.reflect.Method;
import net.sf.scuba.smartcards.ISOFileInfo;
import org.bouncycastle.crypto.tls.CipherSuite;
/* loaded from: classes3.dex */
public final class WlU extends ZTC {
private static final byte[] $$d = {49, Ascii.DC2, -60, Byte.MIN_VALUE};
private static final int $$e = CipherSuite.TLS_RSA_PSK_WITH_AES_128_CBC_SHA256;
private static int $10 = 0;
private static int $11 = 1;
private static int a = 0;
private static int h = 1;
private static char[] c = {16304};
private static int b = 1934311023;
private static boolean d = true;
private static boolean e = 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:0x002d). 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 r6, short r7, byte r8, java.lang.Object[] r9) {
/*
int r8 = r8 * 2
int r8 = 1 - r8
int r7 = r7 * 2
int r7 = 4 - r7
byte[] r0 = o.WlU.$$d
int r6 = r6 * 57
int r6 = r6 + 65
byte[] r1 = new byte[r8]
r2 = 0
if (r0 != 0) goto L17
r3 = r7
r6 = r8
r4 = r2
goto L2d
L17:
r3 = r2
L18:
byte r4 = (byte) r6
r1[r3] = r4
int r3 = r3 + 1
if (r3 != r8) goto L27
java.lang.String r6 = new java.lang.String
r6.<init>(r1, r2)
r9[r2] = r6
return
L27:
r4 = r0[r7]
r5 = r3
r3 = r7
r7 = r4
r4 = r5
L2d:
int r6 = r6 + r7
int r7 = r3 + 1
r3 = r4
goto L18
*/
throw new UnsupportedOperationException("Method not decompiled: o.WlU.g(int, short, byte, java.lang.Object[]):void");
}
@InterfaceC13391fZD
public WlU() {
}
public static C0515Ijp c(SingleDataEntity<QoX> singleDataEntity) {
int i = 2 % 2;
int i2 = h + 35;
a = i2 % 128;
int i3 = i2 % 2;
QoX data = singleDataEntity.getData();
if (data != null) {
Object[] objArr = new Object[1];
f(null, new byte[]{ISOFileInfo.DATA_BYTES2}, null, TextUtils.lastIndexOf("", '0') + 128, objArr);
return new C0515Ijp(((String) objArr[0]).intern().equals(data.c), data.b, data.a, c(data.e).doubleValue(), c(data.f).doubleValue(), c(data.j).doubleValue(), c(data.d).doubleValue());
}
int i4 = h + 91;
a = i4 % 128;
int i5 = i4 % 2;
return null;
}
private static void f(char[] cArr, byte[] bArr, int[] iArr, int i, Object[] objArr) {
int i2 = 2;
int i3 = 2 % 2;
C3614bBe c3614bBe = new C3614bBe();
char[] cArr2 = c;
float f = BitmapDescriptorFactory.HUE_RED;
int i4 = 0;
if (cArr2 != null) {
int i5 = $10 + 33;
$11 = i5 % 128;
int i6 = i5 % 2;
int length = cArr2.length;
char[] cArr3 = new char[length];
int i7 = 0;
while (i7 < length) {
int i8 = $11 + 85;
$10 = i8 % 128;
int i9 = i8 % i2;
try {
Object[] objArr2 = new Object[1];
objArr2[i4] = Integer.valueOf(cArr2[i7]);
Object obj = xzZ.y.get(-950481649);
if (obj == null) {
Class cls = (Class) xzZ.c(337 - (AudioTrack.getMinVolume() > f ? 1 : (AudioTrack.getMinVolume() == f ? 0 : -1)), 6 - (AudioTrack.getMaxVolume() > f ? 1 : (AudioTrack.getMaxVolume() == f ? 0 : -1)), (char) TextUtils.indexOf("", "", i4, i4));
byte b2 = (byte) i4;
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);
}
cArr3[i7] = ((Character) ((Method) obj).invoke(null, objArr2)).charValue();
i7++;
i2 = 2;
f = BitmapDescriptorFactory.HUE_RED;
i4 = 0;
} catch (Throwable th) {
Throwable cause = th.getCause();
if (cause == null) {
throw th;
}
throw cause;
}
}
cArr2 = cArr3;
}
Object[] objArr4 = {Integer.valueOf(b)};
Object obj2 = xzZ.y.get(-1521625011);
if (obj2 == null) {
Class cls2 = (Class) xzZ.c(284 - (SystemClock.uptimeMillis() > 0L ? 1 : (SystemClock.uptimeMillis() == 0L ? 0 : -1)), (AudioTrack.getMaxVolume() > BitmapDescriptorFactory.HUE_RED ? 1 : (AudioTrack.getMaxVolume() == BitmapDescriptorFactory.HUE_RED ? 0 : -1)) + 4, (char) (39813 - (ViewConfiguration.getTouchSlop() >> 8)));
byte b4 = (byte) 1;
byte b5 = (byte) (b4 - 1);
Object[] objArr5 = new Object[1];
g(b4, b5, b5, objArr5);
obj2 = cls2.getMethod((String) objArr5[0], Integer.TYPE);
xzZ.y.put(-1521625011, obj2);
}
int intValue = ((Integer) ((Method) obj2).invoke(null, objArr4)).intValue();
if (e) {
int i10 = $10 + 45;
$11 = i10 % 128;
int i11 = i10 % 2;
c3614bBe.c = bArr.length;
char[] cArr4 = new char[c3614bBe.c];
c3614bBe.a = 0;
while (c3614bBe.a < c3614bBe.c) {
cArr4[c3614bBe.a] = (char) (cArr2[bArr[(c3614bBe.c - 1) - c3614bBe.a] + i] - intValue);
try {
Object[] objArr6 = {c3614bBe, c3614bBe};
Object obj3 = xzZ.y.get(1779759091);
if (obj3 == null) {
obj3 = ((Class) xzZ.c(Color.red(0) + 40, (PointF.length(BitmapDescriptorFactory.HUE_RED, BitmapDescriptorFactory.HUE_RED) > BitmapDescriptorFactory.HUE_RED ? 1 : (PointF.length(BitmapDescriptorFactory.HUE_RED, BitmapDescriptorFactory.HUE_RED) == BitmapDescriptorFactory.HUE_RED ? 0 : -1)) + 5, (char) KeyEvent.normalizeMetaState(0))).getMethod("D", Object.class, Object.class);
xzZ.y.put(1779759091, obj3);
}
((Method) obj3).invoke(null, objArr6);
} catch (Throwable th2) {
Throwable cause2 = th2.getCause();
if (cause2 == null) {
throw th2;
}
throw cause2;
}
}
objArr[0] = new String(cArr4);
return;
}
if (!(!d)) {
c3614bBe.c = cArr.length;
char[] cArr5 = new char[c3614bBe.c];
c3614bBe.a = 0;
while (c3614bBe.a < c3614bBe.c) {
cArr5[c3614bBe.a] = (char) (cArr2[cArr[(c3614bBe.c - 1) - c3614bBe.a] - i] - intValue);
Object[] objArr7 = {c3614bBe, c3614bBe};
Object obj4 = xzZ.y.get(1779759091);
if (obj4 == null) {
obj4 = ((Class) xzZ.c((ViewConfiguration.getZoomControlsTimeout() > 0L ? 1 : (ViewConfiguration.getZoomControlsTimeout() == 0L ? 0 : -1)) + 39, 6 - (AudioTrack.getMaxVolume() > BitmapDescriptorFactory.HUE_RED ? 1 : (AudioTrack.getMaxVolume() == BitmapDescriptorFactory.HUE_RED ? 0 : -1)), (char) (ViewConfiguration.getKeyRepeatDelay() >> 16))).getMethod("D", Object.class, Object.class);
xzZ.y.put(1779759091, obj4);
}
((Method) obj4).invoke(null, objArr7);
}
objArr[0] = new String(cArr5);
return;
}
int i12 = 0;
c3614bBe.c = iArr.length;
char[] cArr6 = new char[c3614bBe.c];
while (true) {
c3614bBe.a = i12;
if (c3614bBe.a >= c3614bBe.c) {
objArr[0] = new String(cArr6);
return;
} else {
cArr6[c3614bBe.a] = (char) (cArr2[iArr[(c3614bBe.c - 1) - c3614bBe.a] - i] - intValue);
i12 = c3614bBe.a + 1;
}
}
}
}