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

349 lines
14 KiB
Java

package o;
import android.graphics.Color;
import android.media.AudioTrack;
import android.os.Process;
import android.os.SystemClock;
import android.text.TextUtils;
import android.view.View;
import android.view.ViewConfiguration;
import com.google.android.gms.maps.model.BitmapDescriptorFactory;
import com.scb.phone.domain.entity.mwpartner.EntityMappingException;
import java.lang.reflect.Method;
/* loaded from: classes3.dex */
public final class Mdv extends ZTC {
private static final byte[] $$d = {55, -23, -33, -19};
private static final int $$e = 206;
private static int $10 = 0;
private static int $11 = 1;
private static int a = 1;
private static char[] c;
private static char d;
private static int e;
/* 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: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 g(byte r7, byte r8, short r9, java.lang.Object[] r10) {
/*
int r7 = 120 - r7
int r8 = r8 * 3
int r8 = 1 - r8
byte[] r0 = o.Mdv.$$d
int r9 = r9 * 3
int r9 = 4 - r9
byte[] r1 = new byte[r8]
r2 = 0
if (r0 != 0) goto L15
r3 = r8
r7 = r9
r4 = r2
goto L2a
L15:
r3 = r2
L16:
int r4 = r3 + 1
byte r5 = (byte) r7
r1[r3] = r5
if (r4 != r8) goto L25
java.lang.String r7 = new java.lang.String
r7.<init>(r1, r2)
r10[r2] = r7
return
L25:
r3 = r0[r9]
r6 = r9
r9 = r7
r7 = r6
L2a:
int r9 = r9 + r3
int r7 = r7 + 1
r3 = r4
r6 = r9
r9 = r7
r7 = r6
goto L16
*/
throw new UnsupportedOperationException("Method not decompiled: o.Mdv.g(byte, byte, short, java.lang.Object[]):void");
}
@InterfaceC13391fZD
public Mdv() {
}
/* loaded from: classes3.dex */
public static final class Sts {
private Sts() {
}
public /* synthetic */ Sts(byte b) {
this();
}
}
/* JADX WARN: Code restructure failed: missing block: B:11:0x0021, code lost:
if (r7 != null) goto L9;
*/
/* JADX WARN: Code restructure failed: missing block: B:4:0x0019, code lost:
if (r7 != null) goto L9;
*/
/* JADX WARN: Code restructure failed: missing block: B:6:0x005a, code lost:
throw b();
*/
/* JADX WARN: Code restructure failed: missing block: B:8:0x0023, code lost:
r4 = new java.lang.Object[1];
f(android.view.View.combineMeasuredStates(0, 0) + 1, new char[]{13805}, (byte) (android.text.TextUtils.indexOf("", "", 0) + 66), r4);
r1 = new o.C9088ddC(((java.lang.String) r4[0]).intern().equals(r7));
r7 = o.Mdv.a + 41;
o.Mdv.e = r7 % 128;
r7 = r7 % 2;
*/
/* JADX WARN: Code restructure failed: missing block: B:9:0x0055, code lost:
return r1;
*/
/*
Code decompiled incorrectly, please refer to instructions dump.
To view partially-correct add '--show-bad-code' argument
*/
public static o.C9088ddC c(o.VxF r7) {
/*
r0 = 2
int r1 = r0 % r0
int r1 = o.Mdv.a
int r1 = r1 + 19
int r2 = r1 % 128
o.Mdv.e = r2
int r1 = r1 % r0
java.lang.String r2 = ""
r3 = 0
if (r1 == 0) goto L1c
o.C14957gcv.e(r7, r2)
java.lang.String r7 = r7.a
r1 = 60
int r1 = r1 / r3
if (r7 == 0) goto L56
goto L23
L1c:
o.C14957gcv.e(r7, r2)
java.lang.String r7 = r7.a
if (r7 == 0) goto L56
L23:
int r1 = android.view.View.combineMeasuredStates(r3, r3)
r4 = 1
int r1 = r1 + r4
char[] r5 = new char[r4]
r6 = 13805(0x35ed, float:1.9345E-41)
r5[r3] = r6
int r2 = android.text.TextUtils.indexOf(r2, r2, r3)
int r2 = r2 + 66
byte r2 = (byte) r2
java.lang.Object[] r4 = new java.lang.Object[r4]
f(r1, r5, r2, r4)
r1 = r4[r3]
java.lang.String r1 = (java.lang.String) r1
java.lang.String r1 = r1.intern()
boolean r7 = r1.equals(r7)
o.ddC r1 = new o.ddC
r1.<init>(r7)
int r7 = o.Mdv.a
int r7 = r7 + 41
int r2 = r7 % 128
o.Mdv.e = r2
int r7 = r7 % r0
return r1
L56:
java.lang.Throwable r7 = b()
throw r7
*/
throw new UnsupportedOperationException("Method not decompiled: o.Mdv.c(o.VxF):o.ddC");
}
private static Throwable b() {
int i = 2 % 2;
EntityMappingException entityMappingException = new EntityMappingException("Some mandatory is missing.");
int i2 = e + 53;
a = i2 % 128;
int i3 = i2 % 2;
return entityMappingException;
}
private static void f(int i, char[] cArr, byte b, Object[] objArr) {
int i2;
int i3;
int i4 = 2;
int i5 = 2 % 2;
IRS irs = new IRS();
char[] cArr2 = c;
float f = BitmapDescriptorFactory.HUE_RED;
int i6 = 3;
if (cArr2 != null) {
int length = cArr2.length;
char[] cArr3 = new char[length];
int i7 = 0;
while (i7 < length) {
int i8 = $11 + 51;
$10 = i8 % 128;
int i9 = i8 % i4;
try {
Object[] objArr2 = {Integer.valueOf(cArr2[i7])};
Object obj = xzZ.y.get(-1987398494);
if (obj == null) {
Class cls = (Class) xzZ.c((AudioTrack.getMaxVolume() > f ? 1 : (AudioTrack.getMaxVolume() == f ? 0 : -1)) + 297, 5 - TextUtils.getOffsetBefore("", 0), (char) (Process.getGidForName("") + 1));
byte b2 = (byte) i6;
byte b3 = (byte) (b2 - 3);
Object[] objArr3 = new Object[1];
g(b2, b3, b3, objArr3);
obj = cls.getMethod((String) objArr3[0], Integer.TYPE);
xzZ.y.put(-1987398494, obj);
}
cArr3[i7] = ((Character) ((Method) obj).invoke(null, objArr2)).charValue();
i7++;
i4 = 2;
f = BitmapDescriptorFactory.HUE_RED;
i6 = 3;
} catch (Throwable th) {
Throwable cause = th.getCause();
if (cause == null) {
throw th;
}
throw cause;
}
}
cArr2 = cArr3;
}
try {
Object[] objArr4 = {Integer.valueOf(d)};
Object obj2 = xzZ.y.get(-1987398494);
if (obj2 == null) {
Class cls2 = (Class) xzZ.c(298 - View.MeasureSpec.getSize(0), Color.rgb(0, 0, 0) + 16777221, (char) (1 - (SystemClock.currentThreadTimeMillis() > (-1L) ? 1 : (SystemClock.currentThreadTimeMillis() == (-1L) ? 0 : -1))));
byte b4 = (byte) 3;
byte b5 = (byte) (b4 - 3);
Object[] objArr5 = new Object[1];
g(b4, b5, b5, objArr5);
obj2 = cls2.getMethod((String) objArr5[0], Integer.TYPE);
xzZ.y.put(-1987398494, obj2);
}
char charValue = ((Character) ((Method) obj2).invoke(null, objArr4)).charValue();
char[] cArr4 = new char[i];
if (i % 2 != 0) {
i2 = i - 1;
cArr4[i2] = (char) (cArr[i2] - b);
} else {
i2 = i;
}
if (i2 > 1) {
int i10 = $10 + 61;
$11 = i10 % 128;
int i11 = i10 % 2;
irs.e = 0;
while (irs.e < i2) {
irs.b = cArr[irs.e];
irs.c = cArr[irs.e + 1];
if (irs.b == irs.c) {
int i12 = $10 + 73;
$11 = i12 % 128;
if (i12 % 2 == 0) {
cArr4[irs.e] = (char) (irs.b >>> b);
cArr4[irs.e + 1] = (char) (irs.c >>> b);
} else {
cArr4[irs.e] = (char) (irs.b - b);
cArr4[irs.e + 1] = (char) (irs.c - b);
}
i3 = 2;
} else {
Object[] objArr6 = {irs, irs, Integer.valueOf(charValue), irs, irs, Integer.valueOf(charValue), irs, irs, Integer.valueOf(charValue), irs, irs, Integer.valueOf(charValue), irs};
Object obj3 = xzZ.y.get(822107368);
if (obj3 == null) {
Class cls3 = (Class) xzZ.c((ViewConfiguration.getMaximumDrawingCacheSize() >> 24) + 233, 6 - (ViewConfiguration.getScrollFriction() > BitmapDescriptorFactory.HUE_RED ? 1 : (ViewConfiguration.getScrollFriction() == BitmapDescriptorFactory.HUE_RED ? 0 : -1)), (char) (TextUtils.indexOf("", "", 0) + 22024));
byte b6 = (byte) 0;
byte b7 = b6;
Object[] objArr7 = new Object[1];
g(b6, b7, b7, objArr7);
obj3 = cls3.getMethod((String) objArr7[0], Object.class, Object.class, Integer.TYPE, Object.class, Object.class, Integer.TYPE, Object.class, Object.class, Integer.TYPE, Object.class, Object.class, Integer.TYPE, Object.class);
xzZ.y.put(822107368, obj3);
}
if (((Integer) ((Method) obj3).invoke(null, objArr6)).intValue() == irs.j) {
Object[] objArr8 = {irs, irs, Integer.valueOf(charValue), Integer.valueOf(charValue), irs, irs, Integer.valueOf(charValue), Integer.valueOf(charValue), irs, Integer.valueOf(charValue), irs};
Object obj4 = xzZ.y.get(-1152873385);
if (obj4 == null) {
Class cls4 = (Class) xzZ.c((ViewConfiguration.getPressedStateDuration() >> 16) + 327, (Process.getElapsedCpuTime() > 0L ? 1 : (Process.getElapsedCpuTime() == 0L ? 0 : -1)) + 4, (char) (AudioTrack.getMinVolume() > BitmapDescriptorFactory.HUE_RED ? 1 : (AudioTrack.getMinVolume() == BitmapDescriptorFactory.HUE_RED ? 0 : -1)));
byte b8 = (byte) ($$e & 3);
byte b9 = (byte) (b8 - 2);
Object[] objArr9 = new Object[1];
g(b8, b9, b9, objArr9);
obj4 = cls4.getMethod((String) objArr9[0], Object.class, Object.class, Integer.TYPE, Integer.TYPE, Object.class, Object.class, Integer.TYPE, Integer.TYPE, Object.class, Integer.TYPE, Object.class);
xzZ.y.put(-1152873385, obj4);
}
int intValue = ((Integer) ((Method) obj4).invoke(null, objArr8)).intValue();
int i13 = (irs.d * charValue) + irs.j;
cArr4[irs.e] = cArr2[intValue];
cArr4[irs.e + 1] = cArr2[i13];
} else if (irs.a == irs.d) {
irs.f = ((irs.f + charValue) - 1) % charValue;
irs.j = ((irs.j + charValue) - 1) % charValue;
int i14 = (irs.a * charValue) + irs.f;
int i15 = (irs.d * charValue) + irs.j;
cArr4[irs.e] = cArr2[i14];
cArr4[irs.e + 1] = cArr2[i15];
} else {
int i16 = (irs.a * charValue) + irs.j;
int i17 = (irs.d * charValue) + irs.f;
cArr4[irs.e] = cArr2[i16];
cArr4[irs.e + 1] = cArr2[i17];
int i18 = $10 + 67;
$11 = i18 % 128;
i3 = 2;
int i19 = i18 % 2;
}
i3 = 2;
}
irs.e += i3;
}
}
int i20 = 0;
while (i20 < i) {
int i21 = $11 + 53;
$10 = i21 % 128;
if (i21 % 2 != 0) {
cArr4[i20] = (char) (cArr4[i20] ^ 11603);
i20 += 9;
} else {
cArr4[i20] = (char) (cArr4[i20] ^ 13722);
i20++;
}
}
objArr[0] = new String(cArr4);
} catch (Throwable th2) {
Throwable cause2 = th2.getCause();
if (cause2 == null) {
throw th2;
}
throw cause2;
}
}
static void d() {
c = new char[]{49026};
d = (char) 35368;
}
static {
e = 0;
d();
new Sts((byte) 0);
int i = a + 101;
e = i % 128;
int i2 = i % 2;
}
}