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

523 lines
18 KiB
Java
Raw Permalink Normal View History

2024-07-27 18:17:47 +07:00
package o;
import android.graphics.Color;
import android.media.AudioTrack;
import android.text.TextUtils;
import android.view.MotionEvent;
import android.view.View;
import android.view.ViewConfiguration;
import com.google.android.gms.maps.model.BitmapDescriptorFactory;
import com.google.common.base.Ascii;
import com.kofax.mobile.sdk._internal.impl.extraction.kta.KtaJsonExactionHelper;
import java.io.IOException;
import java.lang.reflect.Method;
import java.util.Vector;
import org.xmlpull.repackaged.v1.XmlPullParserException;
/* renamed from: o.gmG, reason: case insensitive filesystem */
/* loaded from: classes6.dex */
public class C15273gmG {
public Object b;
public C15332gnh[] d;
public Object e;
private C15332gnh[] f;
private String j;
private static final byte[] $$a = {49, Ascii.DC2, -60, Byte.MIN_VALUE};
private static final int $$b = 22;
private static int $10 = 0;
private static int $11 = 1;
private static int m = 0;
private static int r = 1;
private static char k = 50684;
private static char n = 50298;
private static char l = 16716;
/* renamed from: o, reason: collision with root package name */
private static char f9142o = 56382;
public int i = 110;
public String h = "http://www.w3.org/2001/XMLSchema-instance";
public String g = "http://www.w3.org/2001/XMLSchema";
public String c = "http://schemas.xmlsoap.org/soap/encoding/";
public String a = "http://schemas.xmlsoap.org/soap/envelope/";
/* JADX WARN: Removed duplicated region for block: B:10:0x0025 */
/* JADX WARN: Removed duplicated region for block: B:7:0x001d */
/* JADX WARN: Unsupported multi-entry loop pattern (BACK_EDGE: B:10:0x0025 -> B:4:0x002d). 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 B(byte r6, short r7, byte r8, java.lang.Object[] r9) {
/*
int r6 = r6 * 4
int r0 = 1 - r6
int r8 = r8 * 3
int r8 = 4 - r8
byte[] r1 = o.C15273gmG.$$a
int r7 = 67 - r7
byte[] r0 = new byte[r0]
r2 = 0
int r6 = 0 - r6
if (r1 != 0) goto L17
r7 = r6
r3 = r8
r4 = r2
goto L2d
L17:
r3 = r2
L18:
byte r4 = (byte) r7
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:
int r3 = r3 + 1
r4 = r1[r8]
r5 = r3
r3 = r8
r8 = r4
r4 = r5
L2d:
int r7 = r7 + r8
int r8 = r3 + 1
r3 = r4
goto L18
*/
throw new UnsupportedOperationException("Method not decompiled: o.C15273gmG.B(byte, short, byte, java.lang.Object[]):void");
}
public static boolean b(String str) {
int i = 2 % 2;
int i2 = m + 57;
int i3 = i2 % 128;
r = i3;
if (i2 % 2 != 0 ? str == null : str == null) {
int i4 = i3 + 61;
m = i4 % 128;
return i4 % 2 != 0;
}
String lowerCase = str.trim().toLowerCase();
Object[] objArr = new Object[1];
A(new char[]{36632, 10478}, 1 - (ViewConfiguration.getLongPressTimeout() >> 16), objArr);
return lowerCase.equals(((String) objArr[0]).intern()) || lowerCase.equals("true");
}
private static void A(char[] cArr, int i, Object[] objArr) {
char c;
int i2 = 2 % 2;
jTb jtb = new jTb();
char[] cArr2 = new char[cArr.length];
int i3 = 0;
jtb.b = 0;
char[] cArr3 = new char[2];
int i4 = $10 + 23;
$11 = i4 % 128;
char c2 = 3;
if (i4 % 2 == 0) {
int i5 = 3 / 3;
}
while (jtb.b < cArr.length) {
int i6 = $10 + 73;
$11 = i6 % 128;
int i7 = i6 % 2;
cArr3[i3] = cArr[jtb.b];
cArr3[1] = cArr[jtb.b + 1];
int i8 = 58224;
int i9 = i3;
while (i9 < 16) {
int i10 = $10 + 7;
$11 = i10 % 128;
int i11 = i10 % 2;
char c3 = cArr3[1];
char c4 = cArr3[i3];
char[] cArr4 = cArr3;
int i12 = (c4 + i8) ^ ((c4 << 4) + ((char) (l ^ 41718355337583039L)));
int i13 = c4 >>> 5;
try {
Object[] objArr2 = new Object[4];
objArr2[c2] = Integer.valueOf(f9142o);
objArr2[2] = Integer.valueOf(i13);
objArr2[1] = Integer.valueOf(i12);
objArr2[0] = Integer.valueOf(c3);
Object obj = xzZ.y.get(597144044);
if (obj == null) {
Class cls = (Class) xzZ.c(MotionEvent.axisFromString("") + 413, 5 - TextUtils.getCapsMode("", 0, 0), (char) TextUtils.indexOf("", ""));
byte b = (byte) 0;
byte b2 = (byte) (b + 1);
Object[] objArr3 = new Object[1];
B(b, b2, (byte) (b2 - 1), objArr3);
obj = cls.getMethod((String) objArr3[0], Integer.TYPE, Integer.TYPE, Integer.TYPE, Integer.TYPE);
xzZ.y.put(597144044, obj);
}
char charValue = ((Character) ((Method) obj).invoke(null, objArr2)).charValue();
cArr4[1] = charValue;
Object[] objArr4 = {Integer.valueOf(cArr4[0]), Integer.valueOf((charValue + i8) ^ ((charValue << 4) + ((char) (k ^ 41718355337583039L)))), Integer.valueOf(charValue >>> 5), Integer.valueOf(n)};
Object obj2 = xzZ.y.get(597144044);
if (obj2 != null) {
c = 3;
} else {
Class cls2 = (Class) xzZ.c(412 - View.combineMeasuredStates(0, 0), View.combineMeasuredStates(0, 0) + 5, (char) View.MeasureSpec.getMode(0));
byte b3 = (byte) 0;
byte b4 = (byte) (b3 + 1);
Object[] objArr5 = new Object[1];
B(b3, b4, (byte) (b4 - 1), objArr5);
c = 3;
obj2 = cls2.getMethod((String) objArr5[0], Integer.TYPE, Integer.TYPE, Integer.TYPE, Integer.TYPE);
xzZ.y.put(597144044, obj2);
}
cArr4[0] = ((Character) ((Method) obj2).invoke(null, objArr4)).charValue();
i8 -= 40503;
i9++;
c2 = c;
cArr3 = cArr4;
i3 = 0;
} catch (Throwable th) {
Throwable cause = th.getCause();
if (cause == null) {
throw th;
}
throw cause;
}
}
char[] cArr5 = cArr3;
char c5 = c2;
cArr2[jtb.b] = cArr5[0];
cArr2[jtb.b + 1] = cArr5[1];
Object[] objArr6 = {jtb, jtb};
Object obj3 = xzZ.y.get(943004485);
if (obj3 == null) {
Class cls3 = (Class) xzZ.c(Color.blue(0) + 98, (ViewConfiguration.getLongPressTimeout() >> 16) + 5, (char) (AudioTrack.getMinVolume() > BitmapDescriptorFactory.HUE_RED ? 1 : (AudioTrack.getMinVolume() == BitmapDescriptorFactory.HUE_RED ? 0 : -1)));
byte b5 = (byte) 0;
byte b6 = b5;
Object[] objArr7 = new Object[1];
B(b5, b6, b6, objArr7);
obj3 = cls3.getMethod((String) objArr7[0], Object.class, Object.class);
xzZ.y.put(943004485, obj3);
}
((Method) obj3).invoke(null, objArr6);
c2 = c5;
cArr3 = cArr5;
i3 = 0;
}
objArr[0] = new String(cArr2, 0, i);
}
public final void c(InterfaceC15578gue interfaceC15578gue) throws IOException, XmlPullParserException {
int i = 2 % 2;
int i2 = r + 67;
m = i2 % 128;
int i3 = i2 % 2;
interfaceC15578gue.n();
interfaceC15578gue.d(2, this.a, "Envelope");
this.j = interfaceC15578gue.a(this.a, "encodingStyle");
interfaceC15578gue.n();
if (interfaceC15578gue.b() == 2) {
int i4 = r + 93;
m = i4 % 128;
if (i4 % 2 == 0) {
if (interfaceC15578gue.i().equals(this.a) && interfaceC15578gue.h().equals("Header")) {
int i5 = m + 67;
r = i5 % 128;
if (i5 % 2 == 0) {
a(interfaceC15578gue);
interfaceC15578gue.d(2, this.a, "Header");
} else {
a(interfaceC15578gue);
interfaceC15578gue.d(3, this.a, "Header");
}
interfaceC15578gue.n();
}
} else {
interfaceC15578gue.i().equals(this.a);
Object obj = null;
obj.hashCode();
throw null;
}
}
interfaceC15578gue.d(2, this.a, "Body");
this.j = interfaceC15578gue.a(this.a, "encodingStyle");
d(interfaceC15578gue);
interfaceC15578gue.d(3, this.a, "Body");
interfaceC15578gue.n();
interfaceC15578gue.d(3, this.a, "Envelope");
}
private void a(InterfaceC15578gue interfaceC15578gue) throws IOException, XmlPullParserException {
int size;
C15332gnh c15332gnh;
int i = 2 % 2;
interfaceC15578gue.n();
C15334gnj c15334gnj = new C15334gnj();
c15334gnj.a(interfaceC15578gue);
int i2 = 0;
int i3 = 0;
while (true) {
Vector vector = c15334gnj.a;
if (vector == null) {
int i4 = m + 33;
r = i4 % 128;
int i5 = i4 % 2;
size = 0;
} else {
size = vector.size();
}
if (i2 >= size) {
break;
}
Object elementAt = c15334gnj.a.elementAt(i2);
if ((elementAt instanceof C15332gnh ? (C15332gnh) elementAt : null) != null) {
int i6 = m + 61;
r = i6 % 128;
if (i6 % 2 != 0) {
i3++;
}
}
i2++;
}
this.f = new C15332gnh[i3];
int i7 = 0;
int i8 = 0;
while (true) {
Vector vector2 = c15334gnj.a;
if (i7 >= (vector2 == null ? 0 : vector2.size())) {
return;
}
int i9 = m + 121;
r = i9 % 128;
if (i9 % 2 == 0) {
boolean z = c15334gnj.a.elementAt(i7) instanceof C15332gnh;
throw null;
}
Object elementAt2 = c15334gnj.a.elementAt(i7);
if (elementAt2 instanceof C15332gnh) {
int i10 = m + 39;
r = i10 % 128;
int i11 = i10 % 2;
c15332gnh = (C15332gnh) elementAt2;
} else {
c15332gnh = null;
}
if (c15332gnh != null) {
int i12 = r + 35;
m = i12 % 128;
if (i12 % 2 != 0) {
this.f[i8] = c15332gnh;
} else {
this.f[i8] = c15332gnh;
i8++;
}
}
i7++;
}
}
/* JADX WARN: Code restructure failed: missing block: B:17:0x002b, code lost:
if (r5.i().equals(r4.a) == false) goto L19;
*/
/* JADX WARN: Code restructure failed: missing block: B:19:0x0037, code lost:
if (r5.h().equals("Fault") == false) goto L19;
*/
/* JADX WARN: Code restructure failed: missing block: B:21:0x003d, code lost:
if (r4.i >= 120) goto L16;
*/
/* JADX WARN: Code restructure failed: missing block: B:22:0x003f, code lost:
r0 = new org.ksoap2.repackaged.SoapFault(r4.i);
*/
/* JADX WARN: Code restructure failed: missing block: B:23:0x004e, code lost:
r0.d(r5);
r4.b = r0;
*/
/* JADX WARN: Code restructure failed: missing block: B:24:0x0053, code lost:
return;
*/
/* JADX WARN: Code restructure failed: missing block: B:25:0x0047, code lost:
r0 = new org.ksoap2.repackaged.SoapFault12(r4.i);
*/
/* JADX WARN: Code restructure failed: missing block: B:27:0x001f, code lost:
if (r5.b() == 2) goto L9;
*/
/* JADX WARN: Code restructure failed: missing block: B:4:0x0015, code lost:
if (r5.b() == 2) goto L9;
*/
/*
Code decompiled incorrectly, please refer to instructions dump.
To view partially-correct add '--show-bad-code' argument
*/
public void d(o.InterfaceC15578gue r5) throws java.io.IOException, org.xmlpull.repackaged.v1.XmlPullParserException {
/*
r4 = this;
r0 = 2
int r1 = r0 % r0
int r1 = o.C15273gmG.m
int r1 = r1 + 99
int r2 = r1 % 128
o.C15273gmG.r = r2
int r1 = r1 % r0
if (r1 != 0) goto L18
r5.n()
int r1 = r5.b()
if (r1 != r0) goto L54
goto L21
L18:
r5.n()
int r1 = r5.b()
if (r1 != r0) goto L54
L21:
java.lang.String r1 = r5.i()
java.lang.String r2 = r4.a
boolean r1 = r1.equals(r2)
if (r1 == 0) goto L54
java.lang.String r1 = r5.h()
java.lang.String r2 = "Fault"
boolean r1 = r1.equals(r2)
if (r1 == 0) goto L54
int r0 = r4.i
r1 = 120(0x78, float:1.68E-43)
if (r0 >= r1) goto L47
org.ksoap2.repackaged.SoapFault r0 = new org.ksoap2.repackaged.SoapFault
int r1 = r4.i
r0.<init>(r1)
goto L4e
L47:
org.ksoap2.repackaged.SoapFault12 r0 = new org.ksoap2.repackaged.SoapFault12
int r1 = r4.i
r0.<init>(r1)
L4e:
r0.d(r5)
r4.b = r0
return
L54:
java.lang.Object r1 = r4.b
boolean r2 = r1 instanceof o.C15334gnj
if (r2 == 0) goto L6c
int r2 = o.C15273gmG.m
int r2 = r2 + 89
int r3 = r2 % 128
o.C15273gmG.r = r3
int r2 = r2 % r0
if (r2 == 0) goto L68
o.gnj r1 = (o.C15334gnj) r1
goto L71
L68:
o.gnj r1 = (o.C15334gnj) r1
r5 = 0
throw r5
L6c:
o.gnj r1 = new o.gnj
r1.<init>()
L71:
r1.a(r5)
r4.b = r1
return
*/
throw new UnsupportedOperationException("Method not decompiled: o.C15273gmG.d(o.gue):void");
}
public final void a(InterfaceC15580gug interfaceC15580gug) throws IOException {
int i = 2 % 2;
int i2 = r + 123;
m = i2 % 128;
int i3 = i2 % 2;
interfaceC15580gug.e("i", this.h);
interfaceC15580gug.e(KtaJsonExactionHelper.OBJECT, this.g);
interfaceC15580gug.e("c", this.c);
interfaceC15580gug.e("v", this.a);
interfaceC15580gug.a(this.a, "Envelope");
interfaceC15580gug.a(this.a, "Header");
System.identityHashCode(this);
c(new Object[]{this, interfaceC15580gug});
interfaceC15580gug.b(this.a, "Header");
interfaceC15580gug.a(this.a, "Body");
b(interfaceC15580gug);
interfaceC15580gug.b(this.a, "Body");
interfaceC15580gug.b(this.a, "Envelope");
int i4 = m + 57;
r = i4 % 128;
if (i4 % 2 != 0) {
return;
}
Object obj = null;
obj.hashCode();
throw null;
}
/* JADX INFO: Access modifiers changed from: private */
public static /* synthetic */ Object c(Object[] objArr) {
int i = 0;
C15273gmG c15273gmG = (C15273gmG) objArr[0];
InterfaceC15580gug interfaceC15580gug = (InterfaceC15580gug) objArr[1];
int i2 = 2 % 2;
int i3 = r + 113;
int i4 = i3 % 128;
m = i4;
if (i3 % 2 != 0) {
C15332gnh[] c15332gnhArr = c15273gmG.d;
throw null;
}
if (c15273gmG.d != null) {
int i5 = i4 + 35;
r = i5 % 128;
if (i5 % 2 == 0) {
int i6 = 5 / 2;
}
while (true) {
C15332gnh[] c15332gnhArr2 = c15273gmG.d;
if (i >= c15332gnhArr2.length) {
break;
}
c15332gnhArr2[i].b(interfaceC15580gug);
i++;
}
}
return null;
}
public void b(InterfaceC15580gug interfaceC15580gug) throws IOException {
int i = 2 % 2;
int i2 = m;
int i3 = i2 + 97;
r = i3 % 128;
int i4 = i3 % 2;
String str = this.j;
if (str != null) {
int i5 = i2 + 117;
r = i5 % 128;
int i6 = i5 % 2;
interfaceC15580gug.c(this.a, "encodingStyle", str);
}
((C15334gnj) this.e).b(interfaceC15580gug);
int i7 = r + 69;
m = i7 % 128;
int i8 = i7 % 2;
}
private void c(InterfaceC15580gug interfaceC15580gug) throws IOException {
System.identityHashCode(this);
c(new Object[]{this, interfaceC15580gug});
}
public final void b(Object obj) {
int i = 2 % 2;
int i2 = r + 71;
int i3 = i2 % 128;
m = i3;
int i4 = i2 % 2;
this.e = obj;
int i5 = i3 + 119;
r = i5 % 128;
int i6 = i5 % 2;
}
}