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

183 lines
7.7 KiB
Java

package o;
import android.graphics.Color;
import android.graphics.drawable.Drawable;
import android.media.AudioTrack;
import android.os.Process;
import android.text.TextUtils;
import android.view.KeyEvent;
import android.view.View;
import android.view.ViewConfiguration;
import com.google.android.gms.maps.model.BitmapDescriptorFactory;
import java.lang.reflect.Method;
import java.util.Map;
import org.bouncycastle.crypto.tls.CipherSuite;
/* renamed from: o.fEq, reason: case insensitive filesystem */
/* loaded from: classes2.dex */
public final class C12698fEq implements InterfaceC16283mxN {
private final mPf d = new mPf();
private static final byte[] $$a = {104, 69, 71, -100};
private static final int $$b = CipherSuite.TLS_DH_DSS_WITH_CAMELLIA_256_CBC_SHA256;
private static int $10 = 0;
private static int $11 = 1;
private static int e = 0;
private static int g = 1;
private static long b = 9051040786702654117L;
private static int a = 452713125;
private static char c = 60241;
private static void h(byte b2, int i, short s, Object[] objArr) {
int i2 = 115 - s;
byte[] bArr = $$a;
int i3 = 4 - (b2 * 2);
int i4 = i * 4;
byte[] bArr2 = new byte[i4 + 1];
int i5 = -1;
if (bArr == null) {
i2 = i3 + i4;
i3++;
}
while (true) {
i5++;
bArr2[i5] = (byte) i2;
if (i5 == i4) {
objArr[0] = new String(bArr2, 0);
return;
}
int i6 = i2;
int i7 = i3 + 1;
i2 = i6 + bArr[i3];
i3 = i7;
}
}
@Override // o.InterfaceC16283mxN
public final C8902dZc d(String str, PTS pts, int i, int i2, Map<EnumC14826gQH, ?> map) {
int i3 = 2 % 2;
int i4 = g + 13;
e = i4 % 128;
if (i4 % 2 == 0) {
if (pts != PTS.UPC_A) {
throw new IllegalArgumentException("Can only encode UPC-A, but got ".concat(String.valueOf(pts)));
}
mPf mpf = this.d;
Object[] objArr = new Object[1];
f((char) ((ViewConfiguration.getGlobalActionKeyTimeout() > 0L ? 1 : (ViewConfiguration.getGlobalActionKeyTimeout() == 0L ? 0 : -1)) + 595), Color.green(0) - 599779955, new char[]{36151, 16405, 21724, 61186}, new char[]{59912}, new char[]{0, 0, 0, 0}, objArr);
StringBuilder sb = new StringBuilder(((String) objArr[0]).intern());
sb.append(str);
C8902dZc d = mpf.d(sb.toString(), PTS.EAN_13, i, i2, map);
int i5 = e + 49;
g = i5 % 128;
if (i5 % 2 == 0) {
int i6 = 39 / 0;
}
return d;
}
PTS pts2 = PTS.UPC_A;
throw null;
}
private static void f(char c2, int i, char[] cArr, char[] cArr2, char[] cArr3, Object[] objArr) {
char c3;
int i2 = 2 % 2;
Nhs nhs = new Nhs();
int length = cArr.length;
char[] cArr4 = new char[length];
int length2 = cArr3.length;
char[] cArr5 = new char[length2];
int i3 = 0;
System.arraycopy(cArr, 0, cArr4, 0, length);
System.arraycopy(cArr3, 0, cArr5, 0, length2);
cArr4[0] = (char) (cArr4[0] ^ c2);
cArr5[2] = (char) (cArr5[2] + ((char) i));
int length3 = cArr2.length;
char[] cArr6 = new char[length3];
nhs.a = 0;
while (nhs.a < length3) {
int i4 = $11 + 91;
$10 = i4 % 128;
int i5 = i4 % 2;
try {
Object[] objArr2 = {nhs};
Object obj = xzZ.y.get(263693715);
if (obj == null) {
Class cls = (Class) xzZ.c(View.getDefaultSize(i3, i3) + 45, 5 - TextUtils.getTrimmedLength(""), (char) (Process.myTid() >> 22));
Class<?>[] clsArr = new Class[1];
clsArr[i3] = Object.class;
obj = cls.getMethod("t", clsArr);
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 cls2 = (Class) xzZ.c(Drawable.resolveOpacity(i3, i3) + 352, TextUtils.indexOf("", "") + 5, (char) (View.getDefaultSize(i3, i3) + 52128));
byte b2 = (byte) i3;
byte b3 = b2;
Object[] objArr4 = new Object[1];
h(b2, b3, b3, objArr4);
String str = (String) objArr4[i3];
Class<?>[] clsArr2 = new Class[1];
clsArr2[i3] = Object.class;
obj2 = cls2.getMethod(str, clsArr2);
xzZ.y.put(-484664112, obj2);
}
int intValue2 = ((Integer) ((Method) obj2).invoke(null, objArr3)).intValue();
int i6 = cArr4[nhs.a % 4] * 32718;
Object[] objArr5 = new Object[3];
objArr5[2] = Integer.valueOf(cArr5[intValue]);
objArr5[1] = Integer.valueOf(i6);
objArr5[i3] = nhs;
Object obj3 = xzZ.y.get(430099516);
if (obj3 == null) {
Class cls3 = (Class) xzZ.c(748 - (ViewConfiguration.getMinimumFlingVelocity() >> 16), ((byte) KeyEvent.getModifierMetaStateMask()) + 6, (char) ((-1) - TextUtils.indexOf((CharSequence) "", '0', i3, i3)));
Class<?>[] clsArr3 = new Class[3];
clsArr3[i3] = Object.class;
clsArr3[1] = Integer.TYPE;
clsArr3[2] = Integer.TYPE;
obj3 = cls3.getMethod(com.pingan.ai.p.a, clsArr3);
xzZ.y.put(430099516, obj3);
}
((Method) obj3).invoke(null, objArr5);
int i7 = cArr4[intValue2] * 32718;
Object[] objArr6 = new Object[2];
objArr6[1] = Integer.valueOf(cArr5[intValue]);
objArr6[i3] = Integer.valueOf(i7);
Object obj4 = xzZ.y.get(1019894806);
if (obj4 != null) {
c3 = 2;
} else {
Class cls4 = (Class) xzZ.c(401 - TextUtils.indexOf((CharSequence) "", '0', i3), 5 - Color.argb(i3, i3, i3, i3), (char) ((AudioTrack.getMaxVolume() > BitmapDescriptorFactory.HUE_RED ? 1 : (AudioTrack.getMaxVolume() == BitmapDescriptorFactory.HUE_RED ? 0 : -1)) + 21607));
byte b4 = (byte) i3;
byte b5 = b4;
Object[] objArr7 = new Object[1];
h(b4, b5, (byte) (b5 + 1), objArr7);
String str2 = (String) objArr7[i3];
c3 = 2;
Class<?>[] clsArr4 = new Class[2];
clsArr4[i3] = Integer.TYPE;
clsArr4[1] = Integer.TYPE;
obj4 = cls4.getMethod(str2, clsArr4);
xzZ.y.put(1019894806, obj4);
}
cArr5[intValue2] = ((Character) ((Method) obj4).invoke(null, objArr6)).charValue();
cArr4[intValue2] = nhs.c;
cArr6[nhs.a] = (char) ((((int) (a ^ 9051040786702654117L)) ^ ((cArr4[intValue2] ^ cArr2[nhs.a]) ^ (b ^ 9051040786702654117L))) ^ ((char) (c ^ 9051040786702654117L)));
nhs.a++;
int i8 = $10 + 77;
$11 = i8 % 128;
int i9 = i8 % 2;
i3 = 0;
} catch (Throwable th) {
Throwable cause = th.getCause();
if (cause == null) {
throw th;
}
throw cause;
}
}
objArr[0] = new String(cArr6);
}
}