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

811 lines
24 KiB
Java
Raw Permalink Normal View History

2024-07-27 18:17:47 +07:00
package o;
import android.media.AudioTrack;
import android.os.SystemClock;
import android.text.TextUtils;
import android.util.TypedValue;
import android.view.KeyEvent;
import android.view.View;
import android.view.ViewConfiguration;
import com.google.android.gms.maps.model.BitmapDescriptorFactory;
import com.google.common.base.Ascii;
import com.scb.phone.domain.errors.RetrofitException;
import java.lang.reflect.Method;
import net.sf.scuba.smartcards.ISOFileInfo;
import o.C0690Mh;
import o.C5536bus;
import o.IIr;
import o.ZI;
import o.wRi;
/* renamed from: o.bus, reason: case insensitive filesystem */
/* loaded from: classes4.dex */
public class C5536bus extends ZI<InterfaceC9340dhr> {
private fSC a;
private ND b;
private final zWC c;
private final nEP d;
private final IIr e;
private final CLj h;
private static final byte[] $$a = {75, -3, Ascii.EM, 97};
private static final int $$b = 225;
private static int $10 = 0;
private static int $11 = 1;
private static int k = 0;
private static int l = 1;
private static char[] g = {16292};
private static int i = 1934311316;
private static boolean m = true;
private static boolean n = true;
public static /* synthetic */ Object d(Object[] objArr, int i2, int i3, int i4) {
int i5 = ~i2;
int i6 = ~i3;
int i7 = ~i4;
int i8 = (i2 * (-519)) + (i3 * 521) + (((~(i3 | i4)) | (~(i5 | i6 | i7))) * 520);
int i9 = ~(i6 | i7);
int i10 = ~(i4 | i2);
int i11 = i8 + ((i9 | i10) * (-1040)) + (((~(i2 | i6)) | (~(i5 | i7)) | i10) * 520);
if (i11 == 1) {
return a(objArr);
}
if (i11 == 2) {
return b(objArr);
}
if (i11 != 3) {
C5536bus c5536bus = (C5536bus) objArr[0];
Throwable th = (Throwable) objArr[1];
int i12 = 2 % 2;
int i13 = k + 117;
l = i13 % 128;
int i14 = i13 % 2;
if (c5536bus.b(th)) {
c5536bus.d(c5536bus.j.e(th));
int i15 = k + 123;
l = i15 % 128;
int i16 = i15 % 2;
}
return null;
}
return d(objArr);
}
private static void p(int i2, int i3, int i4, Object[] objArr) {
int i5 = i2 + 4;
int i6 = i3 * 2;
byte[] bArr = $$a;
int i7 = 122 - (i4 * 57);
byte[] bArr2 = new byte[1 - i6];
int i8 = 0 - i6;
int i9 = -1;
if (bArr == null) {
i7 += i8;
}
while (true) {
i9++;
bArr2[i9] = (byte) i7;
if (i9 == i8) {
objArr[0] = new String(bArr2, 0);
return;
} else {
i5++;
i7 += bArr[i5];
}
}
}
static /* synthetic */ void a(C5536bus c5536bus, Throwable th, Runnable runnable) {
int i2 = 2 % 2;
int i3 = k + 95;
l = i3 % 128;
int i4 = i3 % 2;
if (c5536bus.b(th)) {
int i5 = l + 105;
k = i5 % 128;
if (i5 % 2 != 0) {
c5536bus.d(c5536bus.j.c(th, runnable));
throw null;
}
c5536bus.d(c5536bus.j.c(th, runnable));
}
int i6 = k + 3;
l = i6 % 128;
if (i6 % 2 == 0) {
throw null;
}
}
static /* synthetic */ void a(C5536bus c5536bus, Throwable th, C0690Mh.IeS ieS) {
int i2 = 2 % 2;
int i3 = k + 31;
l = i3 % 128;
if (i3 % 2 == 0) {
c5536bus.b(th);
Object obj = null;
obj.hashCode();
throw null;
}
if (c5536bus.b(th)) {
c5536bus.d(c5536bus.j.d(th, ieS));
}
int i4 = k + 51;
l = i4 % 128;
int i5 = i4 % 2;
}
private static /* synthetic */ Object d(Object[] objArr) {
boolean z = false;
C5536bus c5536bus = (C5536bus) objArr[0];
int i2 = 2 % 2;
int i3 = l + 45;
k = i3 % 128;
int i4 = i3 % 2;
if (c5536bus.f != 0) {
int i5 = k + 11;
l = i5 % 128;
int i6 = i5 % 2;
z = true;
}
if (!z) {
return null;
}
c5536bus.f.ar_();
int i7 = l + 69;
k = i7 % 128;
if (i7 % 2 == 0) {
return null;
}
int i8 = 5 % 3;
return null;
}
static /* synthetic */ void d(C5536bus c5536bus) {
int i2 = 2 % 2;
int i3 = l + 115;
k = i3 % 128;
int i4 = i3 % 2;
if (c5536bus.f != 0) {
int i5 = l;
int i6 = i5 + 93;
k = i6 % 128;
int i7 = i6 % 2;
int i8 = i5 + 85;
k = i8 % 128;
if (i8 % 2 == 0) {
c5536bus.f.ar_();
} else {
c5536bus.f.ar_();
throw null;
}
}
}
@InterfaceC13391fZD
public C5536bus(CLj cLj, zWC zwc, nEP nep, IIr iIr, C16903sI c16903sI) {
super(c16903sI);
this.a = new fSC();
this.h = cLj;
this.c = zwc;
this.d = nep;
this.e = iIr;
}
private /* synthetic */ void a(InterfaceC9340dhr interfaceC9340dhr) {
int i2 = 2 % 2;
if (bTI.BUSINESS_OWNER == this.c.a.f()) {
int i3 = k + 65;
int i4 = i3 % 128;
l = i4;
r3 = i3 % 2 != 0;
int i5 = i4 + 119;
k = i5 % 128;
int i6 = i5 % 2;
}
interfaceC9340dhr.c(r3);
}
public final void j() {
int i2 = 2 % 2;
ZI.IeS ieS = new ZI.IeS(this) { // from class: o.buB
private C5536bus e;
@Override // o.ZI.IeS
public final void e(Object obj) {
C5536bus.d(new Object[]{this.e, (InterfaceC9340dhr) obj}, -813208896, 813208897, (int) System.currentTimeMillis());
}
{
this.e = this;
}
};
if (this.f != 0) {
int i3 = k + 51;
int i4 = i3 % 128;
l = i4;
int i5 = i3 % 2;
int i6 = i4 + 97;
k = i6 % 128;
if (i6 % 2 != 0) {
ieS.e(this.f);
throw null;
}
ieS.e(this.f);
}
int i7 = k + 33;
l = i7 % 128;
int i8 = i7 % 2;
}
/* JADX INFO: Access modifiers changed from: package-private */
public static /* synthetic */ void a(ND nd, InterfaceC9340dhr interfaceC9340dhr) {
int i2 = 2 % 2;
int i3 = l + 13;
k = i3 % 128;
int i4 = i3 % 2;
interfaceC9340dhr.b(nd);
if (i4 != 0) {
throw null;
}
}
public final void a(final ND nd) {
int i2 = 2 % 2;
this.b = nd;
ZI.IeS ieS = new ZI.IeS(nd) { // from class: o.buD
private ND e;
@Override // o.ZI.IeS
public final void e(Object obj) {
C5536bus.a(this.e, (InterfaceC9340dhr) obj);
}
{
this.e = nd;
}
};
if (this.f != 0) {
int i3 = k + 59;
int i4 = i3 % 128;
l = i4;
int i5 = i3 % 2;
int i6 = i4 + 59;
k = i6 % 128;
int i7 = i6 % 2;
ieS.e(this.f);
int i8 = k + 67;
l = i8 % 128;
int i9 = i8 % 2;
}
int i10 = k + 123;
l = i10 % 128;
if (i10 % 2 == 0) {
throw null;
}
}
/* JADX INFO: Access modifiers changed from: package-private */
public static /* synthetic */ CharSequence c(WY wy) {
int i2 = 2 % 2;
StringBuilder sb = new StringBuilder();
sb.append(wy.c);
sb.append(" ");
sb.append(wy.a);
String obj = sb.toString();
int i3 = l + 45;
k = i3 % 128;
if (i3 % 2 == 0) {
return obj;
}
throw null;
}
/* JADX INFO: Access modifiers changed from: package-private */
public static /* synthetic */ void a(NU nu, InterfaceC9340dhr interfaceC9340dhr) {
int i2 = 2 % 2;
int i3 = k + 91;
l = i3 % 128;
int i4 = i3 % 2;
interfaceC9340dhr.a(nu);
int i5 = k + 77;
l = i5 % 128;
int i6 = i5 % 2;
}
public final void b(int i2) {
int i3 = 2 % 2;
int i4 = l + 85;
k = i4 % 128;
Object obj = null;
if (i4 % 2 != 0) {
this.b.a.get(i2);
obj.hashCode();
throw null;
}
final NU nu = this.b.a.get(i2);
if (nu != null) {
int i5 = k + 83;
l = i5 % 128;
if (i5 % 2 == 0) {
WZ wz = nu.j;
obj.hashCode();
throw null;
}
if (nu.j != null) {
WZ wz2 = nu.j;
if (wz2.c != null) {
C14881gav.d(wz2.c, "#####", "", "", -1, "", new InterfaceC14894gbR() { // from class: o.but
@Override // o.InterfaceC14894gbR
public final Object invoke(Object obj2) {
return C5536bus.c((WY) obj2);
}
});
int i6 = k + 107;
l = i6 % 128;
int i7 = i6 % 2;
}
}
}
ZI.IeS ieS = new ZI.IeS(nu) { // from class: o.buv
private NU d;
@Override // o.ZI.IeS
public final void e(Object obj2) {
C5536bus.a(this.d, (InterfaceC9340dhr) obj2);
}
{
this.d = nu;
}
};
if (this.f != 0) {
int i8 = k + 123;
l = i8 % 128;
int i9 = i8 % 2;
ieS.e(this.f);
}
}
private static /* synthetic */ Object b(Object[] objArr) {
double doubleValue = ((Number) objArr[0]).doubleValue();
InterfaceC9340dhr interfaceC9340dhr = (InterfaceC9340dhr) objArr[1];
int i2 = 2 % 2;
int i3 = l + 119;
k = i3 % 128;
int i4 = i3 % 2;
interfaceC9340dhr.d((String) C6583cXR.c(new Object[]{Double.valueOf(doubleValue)}, -150997759, 150997764, (int) System.currentTimeMillis()));
int i5 = k + 9;
l = i5 % 128;
Object obj = null;
if (i5 % 2 != 0) {
return null;
}
obj.hashCode();
throw null;
}
public final void c(final double d) {
boolean z;
int i2 = 2 % 2;
ZI.IeS ieS = new ZI.IeS(d) { // from class: o.buA
private double e;
@Override // o.ZI.IeS
public final void e(Object obj) {
C5536bus.d(new Object[]{Double.valueOf(this.e), (InterfaceC9340dhr) obj}, 582229049, -582229047, (int) System.currentTimeMillis());
}
{
this.e = d;
}
};
if (this.f != 0) {
int i3 = l + 87;
int i4 = i3 % 128;
k = i4;
int i5 = i3 % 2;
int i6 = i4 + 39;
l = i6 % 128;
int i7 = i6 % 2;
z = true;
} else {
z = false;
}
if (z) {
ieS.e(this.f);
}
int i8 = l + 63;
k = i8 % 128;
if (i8 % 2 != 0) {
throw null;
}
}
private /* synthetic */ void e(InterfaceC9340dhr interfaceC9340dhr) {
int i2 = 2 % 2;
int i3 = l + 9;
k = i3 % 128;
int i4 = i3 % 2;
String lowerCase = this.c.a.f().toString().toLowerCase();
this.d.d();
interfaceC9340dhr.e(lowerCase);
int i5 = l + 15;
k = i5 % 128;
int i6 = i5 % 2;
}
/* JADX INFO: Access modifiers changed from: package-private */
/* renamed from: o.bus$3, reason: invalid class name */
/* loaded from: classes4.dex */
public final class AnonymousClass3 implements InterfaceC13154fSb {
final C5536bus b;
@Override // o.InterfaceC13154fSb
public final void onSubscribe(fSJ fsj) {
}
AnonymousClass3(C5536bus c5536bus) {
this.b = c5536bus;
}
@Override // o.InterfaceC13154fSb
public final void onComplete() {
C5536bus.d(this.b);
C5536bus c5536bus = this.b;
C5496buE c5496buE = new C5496buE();
if (c5536bus.f != 0) {
c5496buE.e(c5536bus.f);
}
}
@Override // o.InterfaceC13154fSb
public final void onError(Throwable th) {
RetrofitException retrofitException = (RetrofitException) th;
if (th != null && retrofitException.e != null && "3073".equals(retrofitException.e.c.e)) {
C5536bus.a(this.b, th, new Runnable(this) { // from class: o.buF
private C5536bus.AnonymousClass3 d;
@Override // java.lang.Runnable
public final void run() {
C5536bus c5536bus = this.d.b;
C5496buE c5496buE = new C5496buE();
if (c5536bus.f != 0) {
c5496buE.e(c5536bus.f);
}
}
{
this.d = this;
}
});
} else {
C5536bus.a(this.b, th, C0690Mh.IeS.JUST_DISMISS);
}
}
}
public final void a(final String str) {
int i2 = 2 % 2;
if (this.f != 0) {
int i3 = l + 71;
k = i3 % 128;
int i4 = i3 % 2;
this.f.y();
}
ZI.IeS ieS = new ZI.IeS(this, str) { // from class: o.buC
private C5536bus a;
private String c;
@Override // o.ZI.IeS
public final void e(Object obj) {
C5536bus.c(this.a, (InterfaceC9340dhr) obj);
}
{
this.a = this;
this.c = str;
}
};
if (this.f != 0) {
int i5 = l + 81;
int i6 = i5 % 128;
k = i6;
int i7 = i5 % 2;
int i8 = i6 + 91;
l = i8 % 128;
if (i8 % 2 == 0) {
ieS.e(this.f);
throw null;
}
ieS.e(this.f);
} else {
int i9 = l + 3;
k = i9 % 128;
int i10 = i9 % 2;
}
this.e.b(new AnonymousClass3(this), new IIr.LWm(C6583cXR.y(str)), this.a);
}
public final void d() {
int i2 = 2 % 2;
ZI.IeS ieS = new ZI.IeS() { // from class: o.buw
@Override // o.ZI.IeS
public final void e(Object obj) {
((InterfaceC9340dhr) obj).d();
}
};
if (this.f != 0) {
int i3 = l + 1;
k = i3 % 128;
int i4 = i3 % 2;
ieS.e(this.f);
return;
}
int i5 = k + 53;
l = i5 % 128;
int i6 = i5 % 2;
}
public final void c() {
int i2 = 2 % 2;
int i3 = l + 17;
k = i3 % 128;
int i4 = i3 % 2;
if (this.f != 0) {
this.f.y();
}
CLj cLj = this.h;
Object[] objArr = new Object[1];
o(null, new byte[]{ISOFileInfo.DATA_BYTES2}, null, (ViewConfiguration.getScrollBarSize() >> 8) + 127, objArr);
this.h.d(cLj.a(((String) objArr[0]).intern(), null), new Sts(this, (byte) 0));
int i5 = l + 91;
k = i5 % 128;
if (i5 % 2 != 0) {
throw null;
}
}
public final void b() {
int i2 = 2 % 2;
ZI.IeS ieS = new ZI.IeS() { // from class: o.buy
@Override // o.ZI.IeS
public final void e(Object obj) {
((InterfaceC9340dhr) obj).aZ_();
}
};
if (this.f != 0) {
int i3 = k + 107;
l = i3 % 128;
int i4 = i3 % 2;
ieS.e(this.f);
int i5 = l + 25;
k = i5 % 128;
int i6 = i5 % 2;
}
}
public final void a() {
boolean z;
int i2 = 2 % 2;
C5543buz c5543buz = new C5543buz();
if (this.f != 0) {
int i3 = k + 93;
l = i3 % 128;
int i4 = i3 % 2;
z = true;
} else {
z = false;
}
if (!z) {
return;
}
int i5 = l + 27;
k = i5 % 128;
int i6 = i5 % 2;
c5543buz.e(this.f);
}
/* renamed from: o.bus$Sts */
/* loaded from: classes4.dex */
class Sts extends wRi.LWm<Boolean> {
private C5536bus a;
private Sts(C5536bus c5536bus) {
this.a = c5536bus;
}
@Override // o.wRi.LWm, o.InterfaceC13174fSv
public final void onComplete() {
C5536bus.d(new Object[]{this.a}, -1507151953, 1507151956, (int) System.currentTimeMillis());
C5536bus c5536bus = this.a;
C5543buz c5543buz = new C5543buz();
if (c5536bus.f != 0) {
c5543buz.e(c5536bus.f);
}
}
@Override // o.wRi.LWm, o.InterfaceC13174fSv
public final void onError(Throwable th) {
C5536bus.d(new Object[]{this.a, th}, -67646525, 67646525, (int) System.currentTimeMillis());
}
/* synthetic */ Sts(C5536bus c5536bus, byte b) {
this(c5536bus);
}
}
@Override // o.ZI
public final void w_() {
int i2 = 2 % 2;
int i3 = k + 63;
l = i3 % 128;
int i4 = i3 % 2;
CLj cLj = this.h;
if (!cLj.h.isDisposed()) {
int i5 = l + 19;
k = i5 % 128;
if (i5 % 2 != 0) {
cLj.h.dispose();
throw null;
}
cLj.h.dispose();
int i6 = l + 65;
k = i6 % 128;
int i7 = i6 % 2;
}
this.a.dispose();
super.w_();
}
private static void o(char[] cArr, byte[] bArr, int[] iArr, int i2, Object[] objArr) {
int length;
char[] cArr2;
int i3;
int i4 = 2 % 2;
C3614bBe c3614bBe = new C3614bBe();
char[] cArr3 = g;
int i5 = -1;
float f = BitmapDescriptorFactory.HUE_RED;
if (cArr3 != null) {
int i6 = $11 + 77;
int i7 = i6 % 128;
$10 = i7;
if (i6 % 2 != 0) {
length = cArr3.length;
cArr2 = new char[length];
i3 = 1;
} else {
length = cArr3.length;
cArr2 = new char[length];
i3 = 0;
}
int i8 = i7 + 83;
$11 = i8 % 128;
int i9 = i8 % 2;
while (i3 < length) {
try {
Object[] objArr2 = {Integer.valueOf(cArr3[i3])};
Object obj = xzZ.y.get(-950481649);
if (obj == null) {
Class cls = (Class) xzZ.c(337 - KeyEvent.normalizeMetaState(0), View.MeasureSpec.getSize(0) + 5, (char) (TypedValue.complexToFloat(0) > f ? 1 : (TypedValue.complexToFloat(0) == f ? 0 : -1)));
byte b = (byte) i5;
byte b2 = (byte) (b + 1);
Object[] objArr3 = new Object[1];
p(b, b2, (byte) (b2 + 1), objArr3);
obj = cls.getMethod((String) objArr3[0], Integer.TYPE);
xzZ.y.put(-950481649, obj);
}
cArr2[i3] = ((Character) ((Method) obj).invoke(null, objArr2)).charValue();
i3++;
i5 = -1;
f = BitmapDescriptorFactory.HUE_RED;
} catch (Throwable th) {
Throwable cause = th.getCause();
if (cause == null) {
throw th;
}
throw cause;
}
}
int i10 = $11 + 85;
$10 = i10 % 128;
int i11 = i10 % 2;
cArr3 = cArr2;
}
try {
Object[] objArr4 = {Integer.valueOf(i)};
Object obj2 = xzZ.y.get(-1521625011);
if (obj2 == null) {
Class cls2 = (Class) xzZ.c(283 - (ViewConfiguration.getEdgeSlop() >> 16), KeyEvent.keyCodeFromString("") + 5, (char) ((AudioTrack.getMinVolume() > BitmapDescriptorFactory.HUE_RED ? 1 : (AudioTrack.getMinVolume() == BitmapDescriptorFactory.HUE_RED ? 0 : -1)) + 39813));
byte b3 = (byte) (-1);
byte b4 = (byte) (b3 + 1);
Object[] objArr5 = new Object[1];
p(b3, b4, b4, objArr5);
obj2 = cls2.getMethod((String) objArr5[0], Integer.TYPE);
xzZ.y.put(-1521625011, obj2);
}
int intValue = ((Integer) ((Method) obj2).invoke(null, objArr4)).intValue();
if (n) {
int i12 = $10 + 95;
$11 = i12 % 128;
int i13 = i12 % 2;
c3614bBe.c = bArr.length;
char[] cArr4 = new char[c3614bBe.c];
c3614bBe.a = 0;
while (c3614bBe.a < c3614bBe.c) {
cArr4[c3614bBe.a] = (char) (cArr3[bArr[(c3614bBe.c - 1) - c3614bBe.a] + i2] - intValue);
Object[] objArr6 = {c3614bBe, c3614bBe};
Object obj3 = xzZ.y.get(1779759091);
if (obj3 == null) {
obj3 = ((Class) xzZ.c(TextUtils.getOffsetBefore("", 0) + 40, TextUtils.indexOf((CharSequence) "", '0', 0) + 6, (char) TextUtils.getOffsetBefore("", 0))).getMethod("D", Object.class, Object.class);
xzZ.y.put(1779759091, obj3);
}
((Method) obj3).invoke(null, objArr6);
}
objArr[0] = new String(cArr4);
return;
}
if (!m) {
c3614bBe.c = iArr.length;
char[] cArr5 = new char[c3614bBe.c];
c3614bBe.a = 0;
while (c3614bBe.a < c3614bBe.c) {
cArr5[c3614bBe.a] = (char) (cArr3[iArr[(c3614bBe.c - 1) - c3614bBe.a] - i2] - intValue);
c3614bBe.a++;
}
objArr[0] = new String(cArr5);
return;
}
c3614bBe.c = cArr.length;
char[] cArr6 = new char[c3614bBe.c];
c3614bBe.a = 0;
while (c3614bBe.a < c3614bBe.c) {
int i14 = $11 + 91;
$10 = i14 % 128;
int i15 = i14 % 2;
cArr6[c3614bBe.a] = (char) (cArr3[cArr[(c3614bBe.c - 1) - c3614bBe.a] - i2] - intValue);
Object[] objArr7 = {c3614bBe, c3614bBe};
Object obj4 = xzZ.y.get(1779759091);
if (obj4 == null) {
obj4 = ((Class) xzZ.c(40 - (ViewConfiguration.getMaximumDrawingCacheSize() >> 24), (SystemClock.currentThreadTimeMillis() > (-1L) ? 1 : (SystemClock.currentThreadTimeMillis() == (-1L) ? 0 : -1)) + 4, (char) (1 - (ViewConfiguration.getGlobalActionKeyTimeout() > 0L ? 1 : (ViewConfiguration.getGlobalActionKeyTimeout() == 0L ? 0 : -1))))).getMethod("D", Object.class, Object.class);
xzZ.y.put(1779759091, obj4);
}
((Method) obj4).invoke(null, objArr7);
}
objArr[0] = new String(cArr6);
} catch (Throwable th2) {
Throwable cause2 = th2.getCause();
if (cause2 == null) {
throw th2;
}
throw cause2;
}
}
private static /* synthetic */ Object a(Object[] objArr) {
C5536bus c5536bus = (C5536bus) objArr[0];
InterfaceC9340dhr interfaceC9340dhr = (InterfaceC9340dhr) objArr[1];
int i2 = 2 % 2;
int i3 = k + 87;
l = i3 % 128;
int i4 = i3 % 2;
c5536bus.a(interfaceC9340dhr);
int i5 = l + 17;
k = i5 % 128;
if (i5 % 2 != 0) {
int i6 = 19 / 0;
}
return null;
}
public static /* synthetic */ void c(C5536bus c5536bus, InterfaceC9340dhr interfaceC9340dhr) {
int i2 = 2 % 2;
int i3 = k + 65;
l = i3 % 128;
int i4 = i3 % 2;
c5536bus.e(interfaceC9340dhr);
int i5 = l + 121;
k = i5 % 128;
int i6 = i5 % 2;
}
}