392 lines
13 KiB
Java
392 lines
13 KiB
Java
|
package o;
|
||
|
|
||
|
import android.graphics.Color;
|
||
|
import android.graphics.ImageFormat;
|
||
|
import android.telephony.cdma.CdmaCellLocation;
|
||
|
import android.text.TextUtils;
|
||
|
import android.view.KeyEvent;
|
||
|
import android.view.MotionEvent;
|
||
|
import android.view.View;
|
||
|
import android.view.ViewConfiguration;
|
||
|
import com.scb.phone.domain.entity.mwpartner.EntityMappingException;
|
||
|
import java.lang.reflect.Method;
|
||
|
import java.util.ArrayList;
|
||
|
import java.util.Iterator;
|
||
|
import java.util.List;
|
||
|
|
||
|
/* loaded from: classes3.dex */
|
||
|
public final class AHA extends ZTC {
|
||
|
private static int a;
|
||
|
private static int[] c;
|
||
|
private static final byte[] $$d = {0, -67, 121, 0};
|
||
|
private static final int $$e = 251;
|
||
|
private static int $10 = 0;
|
||
|
private static int $11 = 1;
|
||
|
private static int b = 1;
|
||
|
|
||
|
/* JADX WARN: Multi-variable type inference failed */
|
||
|
/* JADX WARN: Removed duplicated region for block: B:10:0x0025 */
|
||
|
/* JADX WARN: Removed duplicated region for block: B:7:0x001d */
|
||
|
/* JADX WARN: Type inference failed for: r8v2, types: [int] */
|
||
|
/* JADX WARN: Unsupported multi-entry loop pattern (BACK_EDGE: B:10:0x0025 -> 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 h(int r6, byte r7, byte r8, java.lang.Object[] r9) {
|
||
|
/*
|
||
|
int r8 = r8 * 2
|
||
|
int r8 = 104 - r8
|
||
|
int r7 = r7 + 4
|
||
|
int r6 = r6 * 4
|
||
|
int r0 = r6 + 1
|
||
|
byte[] r1 = o.AHA.$$d
|
||
|
byte[] r0 = new byte[r0]
|
||
|
r2 = 0
|
||
|
if (r1 != 0) goto L15
|
||
|
r4 = r8
|
||
|
r3 = r2
|
||
|
r8 = r7
|
||
|
goto L2c
|
||
|
L15:
|
||
|
r3 = r2
|
||
|
L16:
|
||
|
int r7 = r7 + 1
|
||
|
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 = r5
|
||
|
L2c:
|
||
|
int r4 = -r4
|
||
|
int r7 = r7 + r4
|
||
|
r5 = r8
|
||
|
r8 = r7
|
||
|
r7 = r5
|
||
|
goto L16
|
||
|
*/
|
||
|
throw new UnsupportedOperationException("Method not decompiled: o.AHA.h(int, byte, byte, java.lang.Object[]):void");
|
||
|
}
|
||
|
|
||
|
@InterfaceC13391fZD
|
||
|
public AHA() {
|
||
|
}
|
||
|
|
||
|
/* loaded from: classes3.dex */
|
||
|
public static final class RVV {
|
||
|
private RVV() {
|
||
|
}
|
||
|
|
||
|
public /* synthetic */ RVV(byte b) {
|
||
|
this();
|
||
|
}
|
||
|
}
|
||
|
|
||
|
public static Kco a(C3097arA c3097arA) {
|
||
|
int i = 2 % 2;
|
||
|
int i2 = a + 99;
|
||
|
b = i2 % 128;
|
||
|
int i3 = i2 % 2;
|
||
|
C14957gcv.e(c3097arA, "");
|
||
|
Object[] objArr = {c3097arA.b};
|
||
|
String str = (String) d(objArr);
|
||
|
Object[] objArr2 = {c3097arA.e};
|
||
|
String str2 = (String) d(objArr2);
|
||
|
Object[] objArr3 = {c3097arA.c};
|
||
|
String str3 = (String) d(objArr3);
|
||
|
C13475fay a2 = a(c3097arA.d);
|
||
|
String str4 = c3097arA.i;
|
||
|
String str5 = str4 == null ? "" : str4;
|
||
|
Object[] objArr4 = {c3097arA.a};
|
||
|
Kco kco = new Kco(str, str2, str3, a2, str5, (String) d(objArr4));
|
||
|
int i4 = b + 71;
|
||
|
a = i4 % 128;
|
||
|
if (i4 % 2 != 0) {
|
||
|
int i5 = 82 / 0;
|
||
|
}
|
||
|
return kco;
|
||
|
}
|
||
|
|
||
|
public static tnu a(nKI nki) {
|
||
|
int i = 2 % 2;
|
||
|
C14957gcv.e(nki, "");
|
||
|
ArrayList arrayList = new ArrayList();
|
||
|
List<pQF> list = nki.a;
|
||
|
if (list != null) {
|
||
|
int i2 = b + 67;
|
||
|
a = i2 % 128;
|
||
|
int i3 = i2 % 2;
|
||
|
if (!list.isEmpty()) {
|
||
|
int i4 = a + 69;
|
||
|
b = i4 % 128;
|
||
|
int i5 = i4 % 2;
|
||
|
Iterator<T> it = nki.a.iterator();
|
||
|
int i6 = b + 31;
|
||
|
a = i6 % 128;
|
||
|
int i7 = i6 % 2;
|
||
|
while (it.hasNext()) {
|
||
|
int i8 = b + 99;
|
||
|
a = i8 % 128;
|
||
|
if (i8 % 2 != 0) {
|
||
|
arrayList.add(b((pQF) it.next()));
|
||
|
int i9 = 59 / 0;
|
||
|
} else {
|
||
|
arrayList.add(b((pQF) it.next()));
|
||
|
}
|
||
|
}
|
||
|
return new tnu(arrayList);
|
||
|
}
|
||
|
}
|
||
|
throw new EntityMappingException("data must not be null or empty");
|
||
|
}
|
||
|
|
||
|
private static ZAc b(pQF pqf) {
|
||
|
int i = 2 % 2;
|
||
|
C14957gcv.e(pqf, "");
|
||
|
Object[] objArr = {pqf.a};
|
||
|
String str = (String) d(objArr);
|
||
|
Object[] objArr2 = {pqf.b};
|
||
|
String str2 = (String) d(objArr2);
|
||
|
Object[] objArr3 = {pqf.e};
|
||
|
String str3 = (String) d(objArr3);
|
||
|
Object[] objArr4 = {pqf.d};
|
||
|
ZAc zAc = new ZAc(str, str2, str3, (String) d(objArr4));
|
||
|
int i2 = b + 7;
|
||
|
a = i2 % 128;
|
||
|
int i3 = i2 % 2;
|
||
|
return zAc;
|
||
|
}
|
||
|
|
||
|
private static C13475fay a(Kso kso) {
|
||
|
String str;
|
||
|
String intern;
|
||
|
int i = 2 % 2;
|
||
|
String str2 = null;
|
||
|
if (kso == null) {
|
||
|
int i2 = a + 13;
|
||
|
b = i2 % 128;
|
||
|
int i3 = i2 % 2;
|
||
|
str = null;
|
||
|
} else {
|
||
|
str = kso.d;
|
||
|
}
|
||
|
if (str == null) {
|
||
|
int i4 = b + 119;
|
||
|
a = i4 % 128;
|
||
|
if (i4 % 2 != 0) {
|
||
|
throw null;
|
||
|
}
|
||
|
str = "";
|
||
|
}
|
||
|
if (kso != null) {
|
||
|
int i5 = a + 85;
|
||
|
b = i5 % 128;
|
||
|
if (i5 % 2 == 0) {
|
||
|
String str3 = kso.a;
|
||
|
str2.hashCode();
|
||
|
throw null;
|
||
|
}
|
||
|
str2 = kso.a;
|
||
|
}
|
||
|
String str4 = str2 != null ? str2 : "";
|
||
|
if (kso == null || (intern = kso.e) == null) {
|
||
|
Object[] objArr = new Object[1];
|
||
|
f(new int[]{422854346, -1901022178}, -((byte) KeyEvent.getModifierMetaStateMask()), objArr);
|
||
|
intern = ((String) objArr[0]).intern();
|
||
|
}
|
||
|
return new C13475fay(str, str4, intern);
|
||
|
}
|
||
|
|
||
|
/* JADX INFO: Access modifiers changed from: private */
|
||
|
public static /* synthetic */ Object d(Object[] objArr) {
|
||
|
String str = (String) objArr[0];
|
||
|
int i = 2 % 2;
|
||
|
int i2 = b + 89;
|
||
|
a = i2 % 128;
|
||
|
int i3 = i2 % 2;
|
||
|
String str2 = str;
|
||
|
if (str2 == null || str2.length() == 0) {
|
||
|
throw new EntityMappingException("data must not be null or empty");
|
||
|
}
|
||
|
int i4 = a + 41;
|
||
|
int i5 = i4 % 128;
|
||
|
b = i5;
|
||
|
int i6 = i4 % 2;
|
||
|
int i7 = i5 + 33;
|
||
|
a = i7 % 128;
|
||
|
if (i7 % 2 == 0) {
|
||
|
return str;
|
||
|
}
|
||
|
Object obj = null;
|
||
|
obj.hashCode();
|
||
|
throw null;
|
||
|
}
|
||
|
|
||
|
private static void f(int[] iArr, int i, Object[] objArr) {
|
||
|
int i2;
|
||
|
int[] iArr2;
|
||
|
int i3;
|
||
|
int i4 = 2;
|
||
|
int i5 = 2 % 2;
|
||
|
C4403bZM c4403bZM = new C4403bZM();
|
||
|
char[] cArr = new char[4];
|
||
|
char[] cArr2 = new char[iArr.length * 2];
|
||
|
int[] iArr3 = c;
|
||
|
int i6 = 729798706;
|
||
|
int i7 = 16;
|
||
|
int i8 = 1;
|
||
|
int i9 = 0;
|
||
|
if (iArr3 != null) {
|
||
|
int length = iArr3.length;
|
||
|
int[] iArr4 = new int[length];
|
||
|
int i10 = 0;
|
||
|
while (i10 < length) {
|
||
|
int i11 = $10 + 105;
|
||
|
$11 = i11 % 128;
|
||
|
int i12 = i11 % i4;
|
||
|
try {
|
||
|
Object[] objArr2 = {Integer.valueOf(iArr3[i10])};
|
||
|
Object obj = xzZ.y.get(729798706);
|
||
|
if (obj == null) {
|
||
|
obj = ((Class) xzZ.c((KeyEvent.getMaxKeyCode() >> i7) + 15, 5 - View.MeasureSpec.makeMeasureSpec(0, 0), (char) (58134 - (CdmaCellLocation.convertQuartSecToDecDegrees(0) > 0.0d ? 1 : (CdmaCellLocation.convertQuartSecToDecDegrees(0) == 0.0d ? 0 : -1))))).getMethod("i", Integer.TYPE);
|
||
|
xzZ.y.put(729798706, obj);
|
||
|
}
|
||
|
iArr4[i10] = ((Integer) ((Method) obj).invoke(null, objArr2)).intValue();
|
||
|
i10++;
|
||
|
i4 = 2;
|
||
|
i7 = 16;
|
||
|
} catch (Throwable th) {
|
||
|
Throwable cause = th.getCause();
|
||
|
if (cause == null) {
|
||
|
throw th;
|
||
|
}
|
||
|
throw cause;
|
||
|
}
|
||
|
}
|
||
|
iArr3 = iArr4;
|
||
|
}
|
||
|
int length2 = iArr3.length;
|
||
|
int[] iArr5 = new int[length2];
|
||
|
int[] iArr6 = c;
|
||
|
if (iArr6 != null) {
|
||
|
int length3 = iArr6.length;
|
||
|
int[] iArr7 = new int[length3];
|
||
|
int i13 = 0;
|
||
|
while (i13 < length3) {
|
||
|
Object[] objArr3 = new Object[i8];
|
||
|
objArr3[i9] = Integer.valueOf(iArr6[i13]);
|
||
|
Object obj2 = xzZ.y.get(Integer.valueOf(i6));
|
||
|
if (obj2 != null) {
|
||
|
iArr2 = iArr6;
|
||
|
i3 = i6;
|
||
|
} else {
|
||
|
obj2 = ((Class) xzZ.c(15 - (ViewConfiguration.getJumpTapTimeout() >> 16), TextUtils.indexOf((CharSequence) "", '0', 0, 0) + 6, (char) (58133 - MotionEvent.axisFromString("")))).getMethod("i", Integer.TYPE);
|
||
|
iArr2 = iArr6;
|
||
|
i3 = 729798706;
|
||
|
xzZ.y.put(729798706, obj2);
|
||
|
}
|
||
|
iArr7[i13] = ((Integer) ((Method) obj2).invoke(null, objArr3)).intValue();
|
||
|
i13++;
|
||
|
int i14 = $11 + 117;
|
||
|
$10 = i14 % 128;
|
||
|
int i15 = i14 % 2;
|
||
|
i6 = i3;
|
||
|
iArr6 = iArr2;
|
||
|
i8 = 1;
|
||
|
i9 = 0;
|
||
|
}
|
||
|
i2 = i9;
|
||
|
iArr6 = iArr7;
|
||
|
} else {
|
||
|
i2 = 0;
|
||
|
}
|
||
|
System.arraycopy(iArr6, i2, iArr5, i2, length2);
|
||
|
c4403bZM.b = i2;
|
||
|
while (c4403bZM.b < iArr.length) {
|
||
|
cArr[i2] = (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(iArr5);
|
||
|
int i16 = 0;
|
||
|
for (int i17 = 16; i16 < i17; i17 = 16) {
|
||
|
c4403bZM.e ^= iArr5[i16];
|
||
|
Object[] objArr4 = {c4403bZM, Integer.valueOf(C4403bZM.d(c4403bZM.e)), c4403bZM, c4403bZM};
|
||
|
Object obj3 = xzZ.y.get(-1196964548);
|
||
|
if (obj3 == null) {
|
||
|
Class cls = (Class) xzZ.c((ViewConfiguration.getDoubleTapTimeout() >> 16) + 118, (-16777211) - Color.rgb(0, 0, 0), (char) KeyEvent.keyCodeFromString(""));
|
||
|
byte b2 = $$d[0];
|
||
|
byte b3 = b2;
|
||
|
Object[] objArr5 = new Object[1];
|
||
|
h(b3, (byte) (b3 - 1), b2, objArr5);
|
||
|
obj3 = cls.getMethod((String) objArr5[0], Object.class, Integer.TYPE, Object.class, Object.class);
|
||
|
xzZ.y.put(-1196964548, obj3);
|
||
|
}
|
||
|
int intValue = ((Integer) ((Method) obj3).invoke(null, objArr4)).intValue();
|
||
|
c4403bZM.e = c4403bZM.a;
|
||
|
c4403bZM.a = intValue;
|
||
|
i16++;
|
||
|
}
|
||
|
int i18 = c4403bZM.e;
|
||
|
c4403bZM.e = c4403bZM.a;
|
||
|
c4403bZM.a = i18;
|
||
|
c4403bZM.a ^= iArr5[16];
|
||
|
c4403bZM.e ^= iArr5[17];
|
||
|
int i19 = c4403bZM.e;
|
||
|
int i20 = 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(iArr5);
|
||
|
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[] objArr6 = {c4403bZM, c4403bZM};
|
||
|
Object obj4 = xzZ.y.get(1914371176);
|
||
|
if (obj4 == null) {
|
||
|
Class cls2 = (Class) xzZ.c(ImageFormat.getBitsPerPixel(0) + 99, TextUtils.indexOf((CharSequence) "", '0', 0) + 6, (char) (ViewConfiguration.getScrollBarFadeDuration() >> 16));
|
||
|
byte b4 = $$d[0];
|
||
|
byte b5 = (byte) (b4 - 1);
|
||
|
Object[] objArr7 = new Object[1];
|
||
|
h(b4, b5, (byte) (-b5), objArr7);
|
||
|
obj4 = cls2.getMethod((String) objArr7[0], Object.class, Object.class);
|
||
|
xzZ.y.put(1914371176, obj4);
|
||
|
}
|
||
|
((Method) obj4).invoke(null, objArr6);
|
||
|
i2 = 0;
|
||
|
}
|
||
|
objArr[0] = new String(cArr2, 0, i);
|
||
|
}
|
||
|
|
||
|
static void d() {
|
||
|
c = new int[]{1189591297, -1361126496, 869482059, 452192960, 699879947, 658465079, 1122275939, -1930030959, -1097667135, 58392108, -1717816192, -201066732, -100203662, 1877891168, 1996685898, 863626918, 1575615243, 640651075};
|
||
|
}
|
||
|
|
||
|
private static String g(String str) {
|
||
|
return (String) d(new Object[]{str});
|
||
|
}
|
||
|
|
||
|
static {
|
||
|
a = 0;
|
||
|
d();
|
||
|
new RVV((byte) 0);
|
||
|
int i = b + 109;
|
||
|
a = i % 128;
|
||
|
if (i % 2 != 0) {
|
||
|
int i2 = 92 / 0;
|
||
|
}
|
||
|
}
|
||
|
}
|