369 lines
13 KiB
Java
369 lines
13 KiB
Java
package o;
|
|
|
|
import android.content.SharedPreferences;
|
|
import android.content.res.Resources;
|
|
import android.graphics.Color;
|
|
import android.graphics.PointF;
|
|
import android.media.AudioTrack;
|
|
import android.os.Process;
|
|
import android.text.TextUtils;
|
|
import android.view.Gravity;
|
|
import android.view.View;
|
|
import com.google.android.gms.maps.model.BitmapDescriptorFactory;
|
|
import com.scb.phone.presentation.mapper.transferandpay.BaseAssetsDisplayMapper;
|
|
import java.lang.reflect.Method;
|
|
import java.util.ArrayList;
|
|
import java.util.Collection;
|
|
import java.util.Iterator;
|
|
import java.util.List;
|
|
|
|
/* renamed from: o.Bt, reason: case insensitive filesystem */
|
|
/* loaded from: classes3.dex */
|
|
public final class C0225Bt extends BaseAssetsDisplayMapper {
|
|
private static long b;
|
|
private static int d;
|
|
private static int i;
|
|
private static char j;
|
|
private final NKs a;
|
|
private static final byte[] $$d = {55, -34, 73, 110};
|
|
private static final int $$e = 25;
|
|
private static int $10 = 0;
|
|
private static int $11 = 1;
|
|
private static int h = 0;
|
|
|
|
/* JADX WARN: Removed duplicated region for block: B:10:0x0029 */
|
|
/* JADX WARN: Removed duplicated region for block: B:7:0x0021 */
|
|
/* JADX WARN: Unsupported multi-entry loop pattern (BACK_EDGE: B:10:0x0029 -> B:4:0x002f). 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(int r6, int r7, byte r8, java.lang.Object[] r9) {
|
|
/*
|
|
int r8 = r8 + 4
|
|
int r6 = r6 * 3
|
|
int r0 = 1 - r6
|
|
int r7 = r7 + 114
|
|
byte[] r1 = o.C0225Bt.$$d
|
|
byte[] r0 = new byte[r0]
|
|
r2 = 0
|
|
int r6 = 0 - r6
|
|
if (r1 != 0) goto L14
|
|
r3 = r8
|
|
r4 = r2
|
|
goto L2f
|
|
L14:
|
|
r3 = r2
|
|
L15:
|
|
r5 = r8
|
|
r8 = r7
|
|
r7 = r5
|
|
int r7 = r7 + 1
|
|
byte r4 = (byte) r8
|
|
r0[r3] = r4
|
|
int r4 = r3 + 1
|
|
if (r3 != r6) goto L29
|
|
java.lang.String r6 = new java.lang.String
|
|
r6.<init>(r0, r2)
|
|
r9[r2] = r6
|
|
return
|
|
L29:
|
|
r3 = r1[r7]
|
|
r5 = r8
|
|
r8 = r7
|
|
r7 = r3
|
|
r3 = r5
|
|
L2f:
|
|
int r7 = r7 + r3
|
|
r3 = r4
|
|
goto L15
|
|
*/
|
|
throw new UnsupportedOperationException("Method not decompiled: o.C0225Bt.q(int, int, byte, java.lang.Object[]):void");
|
|
}
|
|
|
|
/* JADX WARN: 'super' call moved to the top of the method (can break code semantics) */
|
|
@InterfaceC13391fZD
|
|
public C0225Bt(Resources resources, SharedPreferences sharedPreferences, String str, NKs nKs) {
|
|
super(resources, sharedPreferences, str);
|
|
C14957gcv.e(resources, "");
|
|
C14957gcv.e(sharedPreferences, "");
|
|
C14957gcv.e(str, "");
|
|
C14957gcv.e(nKs, "");
|
|
this.a = nKs;
|
|
}
|
|
|
|
/* renamed from: o.Bt$RVV */
|
|
/* loaded from: classes3.dex */
|
|
public static final class RVV {
|
|
private RVV() {
|
|
}
|
|
|
|
public /* synthetic */ RVV(byte b) {
|
|
this();
|
|
}
|
|
}
|
|
|
|
public final C1113Vx e(C16370nmf c16370nmf) {
|
|
int i2;
|
|
int i3 = 2 % 2;
|
|
C14957gcv.e(c16370nmf, "");
|
|
String str = c16370nmf.a;
|
|
String b_ = b_(c16370nmf.d);
|
|
C14957gcv.c((Object) b_, "");
|
|
List<Cbc> list = c16370nmf.c;
|
|
C14957gcv.e(list, "");
|
|
if (list instanceof Collection) {
|
|
i2 = list.size();
|
|
int i4 = h + 51;
|
|
i = i4 % 128;
|
|
int i5 = i4 % 2;
|
|
} else {
|
|
i2 = 10;
|
|
}
|
|
ArrayList arrayList = new ArrayList(i2);
|
|
Iterator<T> it = list.iterator();
|
|
while (!(!it.hasNext())) {
|
|
int i6 = h + 33;
|
|
i = i6 % 128;
|
|
int i7 = i6 % 2;
|
|
arrayList.add(a((Cbc) it.next()));
|
|
}
|
|
C1113Vx c1113Vx = new C1113Vx(str, b_, arrayList, b(c16370nmf));
|
|
int i8 = i + 37;
|
|
h = i8 % 128;
|
|
if (i8 % 2 != 0) {
|
|
int i9 = 84 / 0;
|
|
}
|
|
return c1113Vx;
|
|
}
|
|
|
|
private final C1106Vt a(Cbc cbc) {
|
|
int i2 = 2 % 2;
|
|
C1106Vt c1106Vt = new C1106Vt(cbc.c, cbc.e, cbc.d, cbc.a, cbc.b, b_(cbc.g), cbc.f);
|
|
int i3 = i + 9;
|
|
h = i3 % 128;
|
|
if (i3 % 2 != 0) {
|
|
int i4 = 56 / 0;
|
|
}
|
|
return c1106Vt;
|
|
}
|
|
|
|
/* JADX WARN: Code restructure failed: missing block: B:24:0x0035, code lost:
|
|
|
|
r2 = r13.e;
|
|
r5 = new java.lang.Object[1];
|
|
n((char) (64863 - android.graphics.Color.argb(0, 0, 0, 0)), (-1503033882) - (android.view.ViewConfiguration.getScrollBarFadeDuration() >> 16), new char[]{58986, 27013, 24486, 55805}, new char[]{6415}, new char[]{33751, 1275, 55240, 34061}, r5);
|
|
*/
|
|
/* JADX WARN: Code restructure failed: missing block: B:25:0x006d, code lost:
|
|
|
|
if (o.C14957gcv.b((java.lang.Object) r2, (java.lang.Object) ((java.lang.String) r5[0]).intern()) == false) goto L12;
|
|
*/
|
|
/* JADX WARN: Code restructure failed: missing block: B:26:0x006f, code lost:
|
|
|
|
r2 = true;
|
|
*/
|
|
/* JADX WARN: Code restructure failed: missing block: B:28:0x0033, code lost:
|
|
|
|
if (r13.c.size() == 1) goto L9;
|
|
*/
|
|
/* JADX WARN: Code restructure failed: missing block: B:4:0x0021, code lost:
|
|
|
|
if (r13.c.size() == 1) goto L9;
|
|
*/
|
|
/* JADX WARN: Code restructure failed: missing block: B:5:0x0071, code lost:
|
|
|
|
r2 = false;
|
|
*/
|
|
/*
|
|
Code decompiled incorrectly, please refer to instructions dump.
|
|
To view partially-correct add '--show-bad-code' argument
|
|
*/
|
|
private boolean b(o.C16370nmf r13) {
|
|
/*
|
|
r12 = this;
|
|
r0 = 2
|
|
int r1 = r0 % r0
|
|
int r1 = o.C0225Bt.i
|
|
int r1 = r1 + 11
|
|
int r2 = r1 % 128
|
|
o.C0225Bt.h = r2
|
|
int r1 = r1 % r0
|
|
java.lang.String r2 = ""
|
|
r3 = 1
|
|
r4 = 0
|
|
if (r1 == 0) goto L24
|
|
o.C14957gcv.e(r13, r2)
|
|
o.NKs r1 = r12.a
|
|
boolean r1 = r1.b()
|
|
java.util.List<o.Cbc> r2 = r13.c
|
|
int r2 = r2.size()
|
|
if (r2 != r3) goto L71
|
|
goto L35
|
|
L24:
|
|
o.C14957gcv.e(r13, r2)
|
|
o.NKs r1 = r12.a
|
|
boolean r1 = r1.b()
|
|
java.util.List<o.Cbc> r2 = r13.c
|
|
int r2 = r2.size()
|
|
if (r2 != r3) goto L71
|
|
L35:
|
|
java.lang.String r2 = r13.e
|
|
r5 = 64863(0xfd5f, float:9.0892E-41)
|
|
int r6 = android.graphics.Color.argb(r4, r4, r4, r4)
|
|
int r5 = r5 - r6
|
|
char r6 = (char) r5
|
|
int r5 = android.view.ViewConfiguration.getScrollBarFadeDuration()
|
|
int r5 = r5 >> 16
|
|
r7 = -1503033882(0xffffffffa66985e6, float:-8.101958E-16)
|
|
int r7 = r7 - r5
|
|
r5 = 4
|
|
char[] r8 = new char[r5]
|
|
r8 = {x009a: FILL_ARRAY_DATA , data: [-6550, 27013, 24486, -9731} // fill-array
|
|
char[] r9 = new char[r3]
|
|
r10 = 6415(0x190f, float:8.99E-42)
|
|
r9[r4] = r10
|
|
char[] r10 = new char[r5]
|
|
r10 = {x00a2: FILL_ARRAY_DATA , data: [-31785, 1275, -10296, -31475} // fill-array
|
|
java.lang.Object[] r5 = new java.lang.Object[r3]
|
|
r11 = r5
|
|
n(r6, r7, r8, r9, r10, r11)
|
|
r5 = r5[r4]
|
|
java.lang.String r5 = (java.lang.String) r5
|
|
java.lang.String r5 = r5.intern()
|
|
boolean r2 = o.C14957gcv.b(r2, r5)
|
|
if (r2 == 0) goto L71
|
|
r2 = r3
|
|
goto L72
|
|
L71:
|
|
r2 = r4
|
|
L72:
|
|
java.util.List<o.Cbc> r13 = r13.c
|
|
int r13 = r13.size()
|
|
if (r13 < r0) goto L7c
|
|
r13 = r3
|
|
goto L7d
|
|
L7c:
|
|
r13 = r4
|
|
L7d:
|
|
if (r2 == 0) goto L95
|
|
int r2 = o.C0225Bt.i
|
|
int r2 = r2 + 31
|
|
int r5 = r2 % 128
|
|
o.C0225Bt.h = r5
|
|
int r2 = r2 % r0
|
|
if (r2 == 0) goto L90
|
|
r0 = 38
|
|
int r0 = r0 / r4
|
|
if (r1 != 0) goto L99
|
|
goto L95
|
|
L90:
|
|
r0 = r1 ^ 1
|
|
if (r0 == r3) goto L95
|
|
goto L99
|
|
L95:
|
|
if (r13 == 0) goto L98
|
|
goto L99
|
|
L98:
|
|
r3 = r4
|
|
L99:
|
|
return r3
|
|
*/
|
|
throw new UnsupportedOperationException("Method not decompiled: o.C0225Bt.b(o.nmf):boolean");
|
|
}
|
|
|
|
private static void n(char c, int i2, char[] cArr, char[] cArr2, char[] cArr3, Object[] objArr) {
|
|
int i3 = 2;
|
|
int i4 = 2 % 2;
|
|
Nhs nhs = new Nhs();
|
|
int length = cArr.length;
|
|
char[] cArr4 = new char[length];
|
|
int length2 = cArr3.length;
|
|
char[] cArr5 = new char[length2];
|
|
System.arraycopy(cArr, 0, cArr4, 0, length);
|
|
System.arraycopy(cArr3, 0, cArr5, 0, length2);
|
|
cArr4[0] = (char) (cArr4[0] ^ c);
|
|
cArr5[2] = (char) (cArr5[2] + ((char) i2));
|
|
int length3 = cArr2.length;
|
|
char[] cArr6 = new char[length3];
|
|
nhs.a = 0;
|
|
int i5 = $11 + 61;
|
|
$10 = i5 % 128;
|
|
if (i5 % 2 != 0) {
|
|
int i6 = 5 % 2;
|
|
}
|
|
while (nhs.a < length3) {
|
|
int i7 = $11 + 65;
|
|
$10 = i7 % 128;
|
|
int i8 = i7 % i3;
|
|
try {
|
|
Object[] objArr2 = {nhs};
|
|
Object obj = xzZ.y.get(263693715);
|
|
if (obj == null) {
|
|
obj = ((Class) xzZ.c(44 - TextUtils.indexOf((CharSequence) "", '0', 0, 0), 5 - TextUtils.getTrimmedLength(""), (char) (AudioTrack.getMinVolume() > BitmapDescriptorFactory.HUE_RED ? 1 : (AudioTrack.getMinVolume() == BitmapDescriptorFactory.HUE_RED ? 0 : -1)))).getMethod("t", Object.class);
|
|
xzZ.y.put(263693715, obj);
|
|
}
|
|
int intValue = ((Integer) ((Method) obj).invoke(null, objArr2)).intValue();
|
|
Object[] objArr3 = {nhs};
|
|
Object obj2 = xzZ.y.get(-484664112);
|
|
if (obj2 == null) {
|
|
Class cls = (Class) xzZ.c(TextUtils.getCapsMode("", 0, 0) + 352, Process.getGidForName("") + 6, (char) ((Process.myTid() >> 22) + 52128));
|
|
byte b2 = (byte) 0;
|
|
byte b3 = (byte) (b2 + 1);
|
|
Object[] objArr4 = new Object[1];
|
|
q(b2, b3, (byte) (-b3), objArr4);
|
|
obj2 = cls.getMethod((String) objArr4[0], Object.class);
|
|
xzZ.y.put(-484664112, obj2);
|
|
}
|
|
int intValue2 = ((Integer) ((Method) obj2).invoke(null, objArr3)).intValue();
|
|
Object[] objArr5 = {nhs, Integer.valueOf(cArr4[nhs.a % 4] * 32718), Integer.valueOf(cArr5[intValue])};
|
|
Object obj3 = xzZ.y.get(430099516);
|
|
if (obj3 == null) {
|
|
obj3 = ((Class) xzZ.c(Gravity.getAbsoluteGravity(0, 0) + 748, 5 - (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)), (char) TextUtils.getTrimmedLength(""))).getMethod(com.pingan.ai.p.a, Object.class, Integer.TYPE, Integer.TYPE);
|
|
xzZ.y.put(430099516, obj3);
|
|
}
|
|
((Method) obj3).invoke(null, objArr5);
|
|
Object[] objArr6 = {Integer.valueOf(cArr4[intValue2] * 32718), Integer.valueOf(cArr5[intValue])};
|
|
Object obj4 = xzZ.y.get(1019894806);
|
|
if (obj4 == null) {
|
|
Class cls2 = (Class) xzZ.c(402 - View.resolveSize(0, 0), TextUtils.indexOf((CharSequence) "", '0', 0) + 6, (char) (Color.red(0) + 21608));
|
|
byte b4 = (byte) 0;
|
|
byte b5 = b4;
|
|
Object[] objArr7 = new Object[1];
|
|
q(b4, b5, (byte) (b5 - 1), objArr7);
|
|
obj4 = cls2.getMethod((String) objArr7[0], Integer.TYPE, Integer.TYPE);
|
|
xzZ.y.put(1019894806, obj4);
|
|
}
|
|
cArr5[intValue2] = ((Character) ((Method) obj4).invoke(null, objArr6)).charValue();
|
|
cArr4[intValue2] = nhs.c;
|
|
cArr6[nhs.a] = (char) ((((cArr4[intValue2] ^ cArr2[nhs.a]) ^ (b ^ 9051040786702654117L)) ^ ((int) (d ^ 9051040786702654117L))) ^ ((char) (j ^ 9051040786702654117L)));
|
|
nhs.a++;
|
|
i3 = 2;
|
|
} catch (Throwable th) {
|
|
Throwable cause = th.getCause();
|
|
if (cause == null) {
|
|
throw th;
|
|
}
|
|
throw cause;
|
|
}
|
|
}
|
|
objArr[0] = new String(cArr6);
|
|
}
|
|
|
|
static void h() {
|
|
b = -534214852181206670L;
|
|
d = 452713125;
|
|
j = (char) 55973;
|
|
}
|
|
|
|
static {
|
|
i = 1;
|
|
h();
|
|
new RVV((byte) 0);
|
|
int i2 = h + 61;
|
|
i = i2 % 128;
|
|
if (i2 % 2 == 0) {
|
|
int i3 = 92 / 0;
|
|
}
|
|
}
|
|
}
|