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

253 lines
10 KiB
Java

package o;
import android.content.SharedPreferences;
import android.content.res.Resources;
import android.graphics.Color;
import android.os.Process;
import android.telephony.cdma.CdmaCellLocation;
import android.text.TextUtils;
import android.util.TypedValue;
import android.view.MotionEvent;
import android.view.View;
import android.view.ViewConfiguration;
import android.widget.ExpandableListView;
import com.google.android.gms.maps.model.BitmapDescriptorFactory;
import java.lang.reflect.Method;
import java.util.List;
/* renamed from: o.vI, reason: case insensitive filesystem */
/* loaded from: classes3.dex */
public final class C17251vI extends C16157lj {
private static final byte[] $$d = {55, -23, -33, -19};
private static final int $$e = 12;
private static int $10 = 0;
private static int $11 = 1;
private static int g = 0;
private static int i = 1;
private static long b = 9051040786702654117L;
private static int d = 1829659742;
private static char a = 55973;
private static void s(short s, short s2, byte b2, Object[] objArr) {
int i2 = 115 - b2;
int i3 = s * 3;
byte[] bArr = $$d;
int i4 = s2 + 4;
byte[] bArr2 = new byte[1 - i3];
int i5 = 0 - i3;
int i6 = -1;
if (bArr == null) {
i6 = -1;
i2 = (-i4) + i5;
i4 = i4;
}
while (true) {
int i7 = i6 + 1;
bArr2[i7] = (byte) i2;
int i8 = i4 + 1;
if (i7 == i5) {
objArr[0] = new String(bArr2, 0);
return;
}
i6 = i7;
i2 = (-bArr[i8]) + i2;
i4 = i8;
}
}
@InterfaceC13391fZD
public C17251vI(Resources resources, SharedPreferences sharedPreferences) {
super(resources, sharedPreferences);
}
public static C0869Qj e(IwU iwU) {
int i2 = 2 % 2;
C14957gcv.e(iwU, "");
String c = c(iwU.h.c);
Object[] objArr = {iwU.c};
C0877Qo c0877Qo = (C0877Qo) b(objArr);
Object[] objArr2 = {iwU.f};
C0877Qo c0877Qo2 = (C0877Qo) b(objArr2);
Object[] objArr3 = {iwU.e};
C0869Qj c0869Qj = new C0869Qj(c, c0877Qo, c0877Qo2, (C0877Qo) b(objArr3), n(iwU.j), n(iwU.f8217o), n(iwU.n), n(iwU.d), n(iwU.a), n(iwU.b), n(iwU.g), n(iwU.i), n(iwU.b));
int i3 = g + 91;
i = i3 % 128;
int i4 = i3 % 2;
return c0869Qj;
}
private static String c(List<String> list) {
int i2 = 2 % 2;
StringBuilder sb = new StringBuilder();
int size = list.size();
for (int i3 = 0; i3 < size; i3++) {
sb.append(list.get(i3));
if (i3 != r2.size() - 1) {
int i4 = i + 67;
g = i4 % 128;
if (i4 % 2 != 0) {
sb.append("\n");
throw null;
}
sb.append("\n");
int i5 = g + 57;
i = i5 % 128;
int i6 = i5 % 2;
}
}
String obj = sb.toString();
C14957gcv.c((Object) obj, "");
return obj;
}
/* JADX INFO: Access modifiers changed from: private */
public static /* synthetic */ Object b(Object[] objArr) {
LWb lWb = (LWb) objArr[0];
int i2 = 2 % 2;
C0877Qo c0877Qo = new C0877Qo(lWb.l, lWb.m, lWb.i, lWb.n, lWb.c, lWb.h, lWb.f, lWb.g, lWb.e, lWb.b, lWb.j, lWb.a, lWb.k, c(lWb.d));
int i3 = g + 117;
i = i3 % 128;
if (i3 % 2 == 0) {
int i4 = 38 / 0;
}
return c0877Qo;
}
private static boolean n(String str) {
Object obj;
int i2 = 2 % 2;
int i3 = g + 35;
i = i3 % 128;
if (i3 % 2 == 0) {
Object[] objArr = new Object[1];
q((char) (34836 / TextUtils.getOffsetBefore("", 0)), (CdmaCellLocation.convertQuartSecToDecDegrees(0) > 1.0d ? 1 : (CdmaCellLocation.convertQuartSecToDecDegrees(0) == 1.0d ? 0 : -1)) * (-361694772), new char[]{52438, 28921, 5354, 6536}, new char[]{4342}, new char[]{0, 0, 0, 0}, objArr);
obj = objArr[0];
} else {
Object[] objArr2 = new Object[1];
q((char) (34836 - TextUtils.getOffsetBefore("", 0)), (-361694772) - (CdmaCellLocation.convertQuartSecToDecDegrees(0) > 0.0d ? 1 : (CdmaCellLocation.convertQuartSecToDecDegrees(0) == 0.0d ? 0 : -1)), new char[]{52438, 28921, 5354, 6536}, new char[]{4342}, new char[]{0, 0, 0, 0}, objArr2);
obj = objArr2[0];
}
boolean b2 = C14957gcv.b((Object) str, (Object) ((String) obj).intern());
int i4 = g + 57;
i = i4 % 128;
int i5 = i4 % 2;
return b2;
}
private static void q(char c, int i2, char[] cArr, char[] cArr2, char[] cArr3, Object[] objArr) {
int i3;
int i4 = 2;
int i5 = 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;
while (nhs.a < length3) {
int i6 = $11 + 125;
$10 = i6 % 128;
int i7 = i6 % i4;
try {
Object[] objArr2 = {nhs};
Object obj = xzZ.y.get(263693715);
if (obj == null) {
obj = ((Class) xzZ.c(Color.red(0) + 45, View.getDefaultSize(0, 0) + 5, (char) ((Process.getThreadPriority(0) + 20) >> 6))).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(351 - Process.getGidForName(""), 5 - Color.blue(0), (char) (52128 - (TypedValue.complexToFloat(0) > BitmapDescriptorFactory.HUE_RED ? 1 : (TypedValue.complexToFloat(0) == BitmapDescriptorFactory.HUE_RED ? 0 : -1))));
byte b2 = (byte) 0;
byte b3 = (byte) (b2 - 1);
Object[] objArr4 = new Object[1];
s(b2, b3, (byte) (b3 + 1), 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(Color.green(0) + 748, 5 - (ExpandableListView.getPackedPositionForGroup(0) > 0L ? 1 : (ExpandableListView.getPackedPositionForGroup(0) == 0L ? 0 : -1)), (char) (ExpandableListView.getPackedPositionForGroup(0) > 0L ? 1 : (ExpandableListView.getPackedPositionForGroup(0) == 0L ? 0 : -1)))).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) {
i3 = 2;
} else {
Class cls2 = (Class) xzZ.c(402 - ExpandableListView.getPackedPositionType(0L), MotionEvent.axisFromString("") + 6, (char) (21608 - (Process.myTid() >> 22)));
byte b4 = (byte) 0;
byte b5 = (byte) (b4 - 1);
Object[] objArr7 = new Object[1];
s(b4, b5, (byte) (-b5), objArr7);
i3 = 2;
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) (a ^ 9051040786702654117L)));
nhs.a++;
int i8 = $10 + 43;
$11 = i8 % 128;
int i9 = i8 % 2;
i4 = i3;
} catch (Throwable th) {
Throwable cause = th.getCause();
if (cause == null) {
throw th;
}
throw cause;
}
}
objArr[0] = new String(cArr6);
}
public static String b(boolean z) {
Object obj;
int i2 = 2 % 2;
int i3 = g;
int i4 = i3 + 117;
i = i4 % 128;
Object obj2 = null;
if (i4 % 2 == 0) {
throw null;
}
if (z) {
int i5 = i3 + 91;
i = i5 % 128;
int i6 = i5 % 2;
Object[] objArr = new Object[1];
q((char) (34837 - (Process.getElapsedCpuTime() > 0L ? 1 : (Process.getElapsedCpuTime() == 0L ? 0 : -1))), (-361694772) - TextUtils.getOffsetAfter("", 0), new char[]{52438, 28921, 5354, 6536}, new char[]{4342}, new char[]{0, 0, 0, 0}, objArr);
obj = objArr[0];
} else {
Object[] objArr2 = new Object[1];
q((char) (34126 - (ViewConfiguration.getWindowTouchSlop() >> 8)), (ViewConfiguration.getMaximumFlingVelocity() >> 16) + 1735397177, new char[]{14604, 28687, 20071, 61061}, new char[]{5786}, new char[]{0, 0, 0, 0}, objArr2);
obj = objArr2[0];
}
String intern = ((String) obj).intern();
int i7 = g + 13;
i = i7 % 128;
if (i7 % 2 != 0) {
return intern;
}
obj2.hashCode();
throw null;
}
private static C0877Qo b(LWb lWb) {
return (C0877Qo) b(new Object[]{lWb});
}
}