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

245 lines
9.5 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.graphics.ImageFormat;
import android.media.AudioTrack;
import android.text.TextUtils;
import android.util.TypedValue;
import android.view.KeyEvent;
import android.view.ViewConfiguration;
import android.widget.ExpandableListView;
import com.google.android.gms.maps.model.BitmapDescriptorFactory;
import com.scb.phone.presentation.mapper.transferandpay.BaseAssetsDisplayMapper;
import java.lang.reflect.Method;
import net.sf.scuba.smartcards.ISO7816;
import o.JP;
import org.bouncycastle.crypto.tls.CipherSuite;
/* loaded from: classes3.dex */
public final class DL extends BaseAssetsDisplayMapper {
private static final byte[] $$d = {61, 7, ISO7816.INS_READ_RECORD_STAMPED, 119};
private static final int $$e = CipherSuite.TLS_DH_DSS_WITH_CAMELLIA_128_CBC_SHA256;
private static int $10 = 0;
private static int $11 = 1;
private static int j = 0;
private static int i = 1;
private static char d = 17831;
private static char a = 6037;
private static char b = 8659;
private static char h = 60768;
/* JADX WARN: Removed duplicated region for block: B:10:0x0028 */
/* JADX WARN: Removed duplicated region for block: B:7:0x0020 */
/* JADX WARN: Unsupported multi-entry loop pattern (BACK_EDGE: B:10:0x0028 -> 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 r6, byte r7, int r8, java.lang.Object[] r9) {
/*
int r7 = r7 + 4
int r6 = r6 * 3
int r0 = 1 - r6
byte[] r1 = o.DL.$$d
int r8 = 67 - r8
byte[] r0 = new byte[r0]
r2 = 0
int r6 = 0 - r6
if (r1 != 0) goto L15
r3 = r6
r8 = r7
r4 = r2
goto L2c
L15:
r3 = r2
r5 = r8
r8 = r7
r7 = r5
L19:
byte r4 = (byte) r7
r0[r3] = r4
int r4 = r3 + 1
if (r3 != r6) goto L28
java.lang.String r6 = new java.lang.String
r6.<init>(r0, r2)
r9[r2] = r6
return
L28:
int r8 = r8 + 1
r3 = r1[r8]
L2c:
int r7 = r7 + r3
r3 = r4
goto L19
*/
throw new UnsupportedOperationException("Method not decompiled: o.DL.q(short, byte, int, java.lang.Object[]):void");
}
@InterfaceC13391fZD
public DL(Resources resources, SharedPreferences sharedPreferences, String str) {
super(resources, sharedPreferences, str);
}
/* JADX WARN: Code restructure failed: missing block: B:11:0x0031, code lost:
if (o.gjJ.b((java.lang.CharSequence) r9.f) != false) goto L15;
*/
/* JADX WARN: Code restructure failed: missing block: B:12:0x0062, code lost:
r2 = c(o.C15715hv.tOB.comp_code, r9.f);
*/
/* JADX WARN: Code restructure failed: missing block: B:24:0x003e, code lost:
if (r9.a == null) goto L20;
*/
/* JADX WARN: Code restructure failed: missing block: B:25:0x0040, code lost:
r2 = o.DL.j + 43;
o.DL.i = r2 % 128;
r2 = r2 % 2;
*/
/* JADX WARN: Code restructure failed: missing block: B:26:0x004f, code lost:
if (r9.a.equals("") != false) goto L20;
*/
/* JADX WARN: Code restructure failed: missing block: B:27:0x0051, code lost:
r2 = c(o.C15715hv.tOB.biller_ac, o.C6583cXR.u(r9.a));
*/
/* JADX WARN: Code restructure failed: missing block: B:29:0x003a, code lost:
if (o.gjJ.b((java.lang.CharSequence) r9.f) != false) goto L15;
*/
/*
Code decompiled incorrectly, please refer to instructions dump.
To view partially-correct add '--show-bad-code' argument
*/
public final o.C1193Xr e(o.WvL r9) {
/*
Method dump skipped, instructions count: 320
To view this dump add '--comments-level debug' option
*/
throw new UnsupportedOperationException("Method not decompiled: o.DL.e(o.WvL):o.Xr");
}
private static XD a(C16299nIE c16299nIE) {
int i2 = 2 % 2;
int i3 = j + 109;
int i4 = i3 % 128;
i = i4;
int i5 = i3 % 2;
if (c16299nIE == null) {
int i6 = i4 + 97;
j = i6 % 128;
if (i6 % 2 != 0) {
int i7 = 37 / 0;
}
return null;
}
XD a2 = XD.a();
a2.e = c16299nIE.c;
a2.c = c16299nIE.b;
a2.a = c16299nIE.e;
return a2;
}
public static JP c(String str, String str2) {
int i2 = 2 % 2;
JP.HBt hBt = new JP.HBt();
hBt.f = str;
hBt.d = str2;
hBt.b = true;
JP jp = new JP(hBt, (byte) 0);
int i3 = j + 107;
i = i3 % 128;
if (i3 % 2 == 0) {
int i4 = 26 / 0;
}
return jp;
}
private static void n(char[] cArr, int i2, Object[] objArr) {
int i3 = 2 % 2;
jTb jtb = new jTb();
char[] cArr2 = new char[cArr.length];
int i4 = 0;
jtb.b = 0;
char[] cArr3 = new char[2];
while (jtb.b < cArr.length) {
cArr3[i4] = cArr[jtb.b];
cArr3[1] = cArr[jtb.b + 1];
int i5 = $11 + 111;
$10 = i5 % 128;
int i6 = i5 % 2;
int i7 = 58224;
int i8 = i4;
while (i8 < 16) {
char c = cArr3[1];
char c2 = cArr3[i4];
char[] cArr4 = cArr3;
try {
Object[] objArr2 = {Integer.valueOf(c), Integer.valueOf((c2 + i7) ^ ((c2 << 4) + ((char) (b ^ 41718355337583039L)))), Integer.valueOf(c2 >>> 5), Integer.valueOf(h)};
Object obj = xzZ.y.get(597144044);
if (obj == null) {
Class cls = (Class) xzZ.c(Color.argb(0, 0, 0, 0) + 412, 4 - ImageFormat.getBitsPerPixel(0), (char) (AudioTrack.getMinVolume() > BitmapDescriptorFactory.HUE_RED ? 1 : (AudioTrack.getMinVolume() == BitmapDescriptorFactory.HUE_RED ? 0 : -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, Integer.TYPE, Integer.TYPE);
xzZ.y.put(597144044, obj);
}
char charValue = ((Character) ((Method) obj).invoke(null, objArr2)).charValue();
cArr4[1] = charValue;
Object[] objArr4 = {Integer.valueOf(cArr4[0]), Integer.valueOf((charValue + i7) ^ ((charValue << 4) + ((char) (d ^ 41718355337583039L)))), Integer.valueOf(charValue >>> 5), Integer.valueOf(a)};
Object obj2 = xzZ.y.get(597144044);
if (obj2 == null) {
Class cls2 = (Class) xzZ.c(((byte) KeyEvent.getModifierMetaStateMask()) + 413, (ViewConfiguration.getPressedStateDuration() >> 16) + 5, (char) (TypedValue.complexToFraction(0, BitmapDescriptorFactory.HUE_RED, BitmapDescriptorFactory.HUE_RED) > BitmapDescriptorFactory.HUE_RED ? 1 : (TypedValue.complexToFraction(0, BitmapDescriptorFactory.HUE_RED, BitmapDescriptorFactory.HUE_RED) == BitmapDescriptorFactory.HUE_RED ? 0 : -1)));
byte b4 = (byte) 0;
byte b5 = (byte) (b4 - 1);
Object[] objArr5 = new Object[1];
q(b4, b5, (byte) (-b5), objArr5);
obj2 = cls2.getMethod((String) objArr5[0], Integer.TYPE, Integer.TYPE, Integer.TYPE, Integer.TYPE);
xzZ.y.put(597144044, obj2);
}
cArr4[0] = ((Character) ((Method) obj2).invoke(null, objArr4)).charValue();
i7 -= 40503;
i8++;
cArr3 = cArr4;
i4 = 0;
} catch (Throwable th) {
Throwable cause = th.getCause();
if (cause == null) {
throw th;
}
throw cause;
}
}
char[] cArr5 = cArr3;
cArr2[jtb.b] = cArr5[0];
cArr2[jtb.b + 1] = cArr5[1];
Object[] objArr6 = {jtb, jtb};
Object obj3 = xzZ.y.get(943004485);
if (obj3 == null) {
Class cls3 = (Class) xzZ.c(98 - TextUtils.getOffsetBefore("", 0), (ExpandableListView.getPackedPositionForGroup(0) > 0L ? 1 : (ExpandableListView.getPackedPositionForGroup(0) == 0L ? 0 : -1)) + 5, (char) (TextUtils.indexOf((CharSequence) "", '0', 0) + 1));
byte b6 = (byte) 0;
byte b7 = (byte) (b6 - 1);
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(943004485, obj3);
}
((Method) obj3).invoke(null, objArr6);
cArr3 = cArr5;
i4 = 0;
}
String str = new String(cArr2, 0, i2);
int i9 = $11 + 19;
$10 = i9 % 128;
int i10 = i9 % 2;
objArr[0] = str;
}
}