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

198 lines
7.0 KiB
Java

package o;
import android.graphics.Color;
import android.os.Process;
import android.text.TextUtils;
import android.util.TypedValue;
import android.view.KeyEvent;
import android.view.ViewConfiguration;
import com.google.android.gms.maps.model.BitmapDescriptorFactory;
import java.lang.reflect.Method;
/* renamed from: o.gfn, reason: case insensitive filesystem */
/* loaded from: classes3.dex */
public final class C15054gfn extends ZTC {
private static final byte[] $$d = {119, 73, 35, -58};
private static final int $$e = 61;
private static int $10 = 0;
private static int $11 = 1;
private static int a = 0;
private static long b;
private static int c;
/* JADX WARN: Removed duplicated region for block: B:10:0x0022 */
/* JADX WARN: Removed duplicated region for block: B:7:0x001a */
/* JADX WARN: Unsupported multi-entry loop pattern (BACK_EDGE: B:10:0x0022 -> B:4:0x0028). 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 g(int r5, int r6, short r7, java.lang.Object[] r8) {
/*
byte[] r0 = o.C15054gfn.$$d
int r7 = r7 + 4
int r5 = 78 - r5
int r6 = r6 * 3
int r1 = 1 - r6
byte[] r1 = new byte[r1]
r2 = 0
int r6 = 0 - r6
if (r0 != 0) goto L14
r4 = r6
r3 = r2
goto L28
L14:
r3 = r2
L15:
byte r4 = (byte) r5
r1[r3] = r4
if (r3 != r6) goto L22
java.lang.String r5 = new java.lang.String
r5.<init>(r1, r2)
r8[r2] = r5
return
L22:
int r3 = r3 + 1
int r7 = r7 + 1
r4 = r0[r7]
L28:
int r4 = -r4
int r5 = r5 + r4
goto L15
*/
throw new UnsupportedOperationException("Method not decompiled: o.C15054gfn.g(int, int, short, java.lang.Object[]):void");
}
@InterfaceC13391fZD
public C15054gfn() {
}
public static fPP b(FyS fyS) {
int i = 2 % 2;
int i2 = a + 47;
c = i2 % 128;
int i3 = i2 % 2;
C14957gcv.e(fyS, "");
String str = fyS.b;
int i4 = 0;
Object[] objArr = new Object[1];
f(new char[]{9251}, TextUtils.indexOf("", "", 0) + 26141, objArr);
boolean b2 = C14957gcv.b((Object) str, (Object) ((String) objArr[0]).intern());
String str2 = fyS.a;
String str3 = fyS.e;
C14957gcv.e(str3, "");
Integer b3 = gdZ.b(str3);
if (b3 == null) {
int i5 = a + 121;
c = i5 % 128;
int i6 = i5 % 2;
} else {
i4 = b3.intValue();
}
return new fPP(b2, str2, i4);
}
/* renamed from: o.gfn$IeS */
/* loaded from: classes3.dex */
public static final class IeS {
private IeS() {
}
public /* synthetic */ IeS(byte b) {
this();
}
}
private static void f(char[] cArr, int i, Object[] objArr) {
int i2 = 2 % 2;
C4593bdB c4593bdB = new C4593bdB();
c4593bdB.a = i;
int length = cArr.length;
long[] jArr = new long[length];
c4593bdB.e = 0;
while (c4593bdB.e < cArr.length) {
int i3 = $11 + 49;
$10 = i3 % 128;
int i4 = i3 % 2;
int i5 = c4593bdB.e;
try {
Object[] objArr2 = {Integer.valueOf(cArr[c4593bdB.e]), c4593bdB, c4593bdB};
Object obj = xzZ.y.get(-1229953068);
if (obj == null) {
Class cls = (Class) xzZ.c(402 - KeyEvent.keyCodeFromString(""), Color.red(0) + 5, (char) (TextUtils.indexOf((CharSequence) "", '0', 0, 0) + 21609));
byte b2 = (byte) ($$e & 3);
byte b3 = (byte) (b2 - 1);
Object[] objArr3 = new Object[1];
g(b2, b3, (byte) (b3 - 1), objArr3);
obj = cls.getMethod((String) objArr3[0], Integer.TYPE, Object.class, Object.class);
xzZ.y.put(-1229953068, obj);
}
jArr[i5] = ((Long) ((Method) obj).invoke(null, objArr2)).longValue() ^ (b ^ (-6958928035870403642L));
Object[] objArr4 = {c4593bdB, c4593bdB};
Object obj2 = xzZ.y.get(-1143917229);
if (obj2 == null) {
Class cls2 = (Class) xzZ.c(238 - (KeyEvent.getMaxKeyCode() >> 16), 5 - (ViewConfiguration.getTapTimeout() >> 16), (char) (Process.myTid() >> 22));
byte b4 = (byte) 0;
byte b5 = b4;
Object[] objArr5 = new Object[1];
g(b4, b5, (byte) (b5 - 1), objArr5);
obj2 = cls2.getMethod((String) objArr5[0], Object.class, Object.class);
xzZ.y.put(-1143917229, obj2);
}
((Method) obj2).invoke(null, objArr4);
} catch (Throwable th) {
Throwable cause = th.getCause();
if (cause == null) {
throw th;
}
throw cause;
}
}
char[] cArr2 = new char[length];
c4593bdB.e = 0;
int i6 = $11 + 85;
$10 = i6 % 128;
int i7 = i6 % 2;
while (c4593bdB.e < cArr.length) {
int i8 = $11 + 19;
$10 = i8 % 128;
int i9 = i8 % 2;
cArr2[c4593bdB.e] = (char) jArr[c4593bdB.e];
try {
Object[] objArr6 = {c4593bdB, c4593bdB};
Object obj3 = xzZ.y.get(-1143917229);
if (obj3 == null) {
Class cls3 = (Class) xzZ.c((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)) + 238, 5 - (ViewConfiguration.getFadingEdgeLength() >> 16), (char) KeyEvent.getDeadChar(0, 0));
byte b6 = (byte) 0;
byte b7 = b6;
Object[] objArr7 = new Object[1];
g(b6, b7, (byte) (b7 - 1), objArr7);
obj3 = cls3.getMethod((String) objArr7[0], Object.class, Object.class);
xzZ.y.put(-1143917229, obj3);
}
((Method) obj3).invoke(null, objArr6);
} catch (Throwable th2) {
Throwable cause2 = th2.getCause();
if (cause2 == null) {
throw th2;
}
throw cause2;
}
}
objArr[0] = new String(cArr2);
}
static void a() {
b = 5866846384482236372L;
}
static {
c = 1;
a();
new IeS((byte) 0);
int i = a + 19;
c = i % 128;
int i2 = i % 2;
}
}