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

665 lines
24 KiB
Java

package o;
import android.media.AudioTrack;
import android.telephony.cdma.CdmaCellLocation;
import android.text.AndroidCharacter;
import android.text.TextUtils;
import android.view.Gravity;
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.data.entity.transfer.SingleDataEntity;
import com.scb.phone.data.network.service.EkycService;
import java.lang.reflect.Method;
import java.util.List;
import retrofit2.Response;
import retrofit2.adapter.rxjava3.Result;
/* loaded from: classes3.dex */
public final class yHF {
private static short[] j;
private EkycService b;
private static final byte[] $$a = {Ascii.SUB, 97, -29, 95};
private static final int $$b = 50;
private static int $10 = 0;
private static int $11 = 1;
private static int f = 0;
private static int g = 1;
private static int e = 1905410196;
private static int d = 1406017032;
private static int c = -1348405449;
private static byte[] a = {Ascii.NAK};
public static /* synthetic */ Object e(Object[] objArr, int i, int i2, int i3) {
int i4 = (i * 569) + (i2 * 569);
int i5 = ~i;
int i6 = ~i2;
int i7 = i5 | i6;
int i8 = ~i7;
int i9 = ~i3;
int i10 = i | i9;
int i11 = i4 + ((i8 | (~(i5 | i9)) | (~(i6 | i9))) * (-1136)) + (((~(i5 | i3)) | (~(i6 | i3)) | (~(i10 | i2))) * (-568)) + (((~i10) | (~(i2 | i9)) | (~(i7 | i3))) * 568);
if (i11 != 1) {
return i11 != 2 ? i11 != 3 ? e(objArr) : b(objArr) : c(objArr);
}
int i12 = 2 % 2;
InterfaceC13169fSq flatMap = ((yHF) objArr[0]).b.getEkycRegistration().flatMap(new fSS() { // from class: o.Azv
@Override // o.fSS
public final Object a(Object obj) {
return yHF.d((Result) obj);
}
});
int i13 = f + 123;
g = i13 % 128;
int i14 = i13 % 2;
return flatMap;
}
/* JADX WARN: Multi-variable type inference failed */
/* JADX WARN: Removed duplicated region for block: B:10:0x0026 */
/* JADX WARN: Removed duplicated region for block: B:7:0x001e */
/* JADX WARN: Type inference failed for: r6v2, types: [int] */
/* JADX WARN: Unsupported multi-entry loop pattern (BACK_EDGE: B:10:0x0026 -> 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 k(byte r6, byte r7, byte r8, java.lang.Object[] r9) {
/*
int r8 = r8 * 2
int r8 = r8 + 1
byte[] r0 = o.yHF.$$a
int r7 = r7 * 2
int r7 = r7 + 108
int r6 = r6 * 2
int r6 = r6 + 4
byte[] r1 = new byte[r8]
r2 = 0
if (r0 != 0) goto L16
r3 = r6
r5 = r2
goto L28
L16:
r3 = r2
L17:
byte r4 = (byte) r7
int r5 = r3 + 1
r1[r3] = r4
if (r5 != r8) goto L26
java.lang.String r6 = new java.lang.String
r6.<init>(r1, r2)
r9[r2] = r6
return
L26:
r3 = r0[r6]
L28:
int r6 = r6 + 1
int r3 = -r3
int r7 = r7 + r3
r3 = r5
goto L17
*/
throw new UnsupportedOperationException("Method not decompiled: o.yHF.k(byte, byte, byte, java.lang.Object[]):void");
}
@InterfaceC13391fZD
public yHF(EkycService ekycService) {
this.b = ekycService;
}
public final AbstractC13163fSk<SingleDataEntity<C9063dce>> e(C7636cs c7636cs) {
int i = 2 % 2;
int i2 = f + 21;
g = i2 % 128;
int i3 = i2 % 2;
AbstractC13163fSk<SingleDataEntity<C9063dce>> initiateEkycRegistration = this.b.initiateEkycRegistration(c7636cs);
int i4 = f + 67;
g = i4 % 128;
if (i4 % 2 != 0) {
return initiateEkycRegistration;
}
throw null;
}
/* JADX INFO: Access modifiers changed from: package-private */
/* JADX WARN: Code restructure failed: missing block: B:10:0x002a, code lost:
r0 = 24 / 0;
*/
/* JADX WARN: Code restructure failed: missing block: B:11:?, code lost:
return o.AbstractC13163fSk.error(r3.error());
*/
/* JADX WARN: Code restructure failed: missing block: B:13:0x003f, code lost:
return o.AbstractC13163fSk.error(r3.error());
*/
/* JADX WARN: Code restructure failed: missing block: B:15:0x001d, code lost:
if (r3.isError() != false) goto L9;
*/
/* JADX WARN: Code restructure failed: missing block: B:4:0x0016, code lost:
if (r3.isError() != false) goto L9;
*/
/* JADX WARN: Code restructure failed: missing block: B:6:0x0048, code lost:
return o.AbstractC13163fSk.just(r3.response());
*/
/* JADX WARN: Code restructure failed: missing block: B:8:0x001f, code lost:
r1 = o.yHF.g + 125;
o.yHF.f = r1 % 128;
*/
/* JADX WARN: Code restructure failed: missing block: B:9:0x0028, code lost:
if ((r1 % 2) == 0) goto L12;
*/
/*
Code decompiled incorrectly, please refer to instructions dump.
To view partially-correct add '--show-bad-code' argument
*/
public static /* synthetic */ o.InterfaceC13169fSq d(retrofit2.adapter.rxjava3.Result r3) throws java.lang.Throwable {
/*
r0 = 2
int r1 = r0 % r0
int r1 = o.yHF.f
int r1 = r1 + 115
int r2 = r1 % 128
o.yHF.g = r2
int r1 = r1 % r0
if (r1 != 0) goto L19
boolean r1 = r3.isError()
r2 = 92
int r2 = r2 / 0
if (r1 == 0) goto L40
goto L1f
L19:
boolean r1 = r3.isError()
if (r1 == 0) goto L40
L1f:
int r1 = o.yHF.g
int r1 = r1 + 125
int r2 = r1 % 128
o.yHF.f = r2
int r1 = r1 % r0
if (r1 == 0) goto L37
java.lang.Throwable r3 = r3.error()
o.fSk r3 = o.AbstractC13163fSk.error(r3)
r0 = 24
int r0 = r0 / 0
goto L3f
L37:
java.lang.Throwable r3 = r3.error()
o.fSk r3 = o.AbstractC13163fSk.error(r3)
L3f:
return r3
L40:
retrofit2.Response r3 = r3.response()
o.fSk r3 = o.AbstractC13163fSk.just(r3)
return r3
*/
throw new UnsupportedOperationException("Method not decompiled: o.yHF.d(retrofit2.adapter.rxjava3.Result):o.fSq");
}
private static /* synthetic */ Object e(Object[] objArr) {
yHF yhf = (yHF) objArr[0];
int i = 2 % 2;
int i2 = g + 33;
f = i2 % 128;
if (i2 % 2 == 0) {
return yhf.b.getFatca();
}
yhf.b.getFatca();
Object obj = null;
obj.hashCode();
throw null;
}
public final AbstractC13163fSk<SingleDataEntity<C9063dce>> b(C7426co c7426co) {
int i = 2 % 2;
int i2 = f + 31;
g = i2 % 128;
if (i2 % 2 == 0) {
this.b.submitRegistration(c7426co);
Object obj = null;
obj.hashCode();
throw null;
}
AbstractC13163fSk<SingleDataEntity<C9063dce>> submitRegistration = this.b.submitRegistration(c7426co);
int i3 = g + 33;
f = i3 % 128;
int i4 = i3 % 2;
return submitRegistration;
}
public final AbstractC13163fSk<SingleDataEntity<Adi>> b() {
int i = 2 % 2;
int i2 = f + 33;
g = i2 % 128;
int i3 = i2 % 2;
EkycService ekycService = this.b;
Object[] objArr = new Object[1];
h((short) ((-1) - TextUtils.lastIndexOf("", '0', 0)), (byte) (ViewConfiguration.getMaximumDrawingCacheSize() >> 24), (-28) - (KeyEvent.getMaxKeyCode() >> 16), (-576478850) - TextUtils.indexOf((CharSequence) "", '0', 0), 5951 - AndroidCharacter.getMirror('0'), objArr);
AbstractC13163fSk<SingleDataEntity<Adi>> depositProductList = ekycService.getDepositProductList(((String) objArr[0]).intern());
int i4 = f + 39;
g = i4 % 128;
if (i4 % 2 != 0) {
return depositProductList;
}
throw null;
}
public final AbstractC13163fSk<SingleDataEntity<gNs>> a(String str) {
int i = 2 % 2;
int i2 = f + 19;
g = i2 % 128;
if (i2 % 2 == 0) {
this.b.getDepositProductDetail(str);
Object obj = null;
obj.hashCode();
throw null;
}
AbstractC13163fSk<SingleDataEntity<gNs>> depositProductDetail = this.b.getDepositProductDetail(str);
int i3 = g + 1;
f = i3 % 128;
int i4 = i3 % 2;
return depositProductDetail;
}
public final AbstractC13163fSk<SingleDataEntity<C17341vtT>> e(String str) {
int i = 2 % 2;
int i2 = f + 45;
g = i2 % 128;
int i3 = i2 % 2;
AbstractC13163fSk<SingleDataEntity<C17341vtT>> productTermCondition = this.b.getProductTermCondition(str);
int i4 = f + 113;
g = i4 % 128;
if (i4 % 2 != 0) {
return productTermCondition;
}
Object obj = null;
obj.hashCode();
throw null;
}
public final AbstractC13163fSk<SingleDataEntity<C9063dce>> i(C7426co c7426co) {
int i = 2 % 2;
int i2 = g + 125;
f = i2 % 128;
if (i2 % 2 != 0) {
this.b.submitRegistration(c7426co);
Object obj = null;
obj.hashCode();
throw null;
}
AbstractC13163fSk<SingleDataEntity<C9063dce>> submitRegistration = this.b.submitRegistration(c7426co);
int i3 = g + 93;
f = i3 % 128;
int i4 = i3 % 2;
return submitRegistration;
}
public final AbstractC13163fSk<SingleDataEntity<C9063dce>> j(C7426co c7426co) {
int i = 2 % 2;
int i2 = f + 95;
g = i2 % 128;
if (i2 % 2 != 0) {
return this.b.submitRegistration(c7426co);
}
this.b.submitRegistration(c7426co);
throw null;
}
private static /* synthetic */ Object b(Object[] objArr) {
yHF yhf = (yHF) objArr[0];
C7426co c7426co = (C7426co) objArr[1];
int i = 2 % 2;
int i2 = g + 107;
f = i2 % 128;
if (i2 % 2 == 0) {
return yhf.b.submitRegistration(c7426co);
}
AbstractC13163fSk<SingleDataEntity<C9063dce>> submitRegistration = yhf.b.submitRegistration(c7426co);
int i3 = 57 / 0;
return submitRegistration;
}
public final AbstractC13163fSk<SingleDataEntity<C9063dce>> c(C7426co c7426co) {
int i = 2 % 2;
int i2 = f + 97;
g = i2 % 128;
if (i2 % 2 != 0) {
return this.b.submitRegistration(c7426co);
}
int i3 = 0 / 0;
return this.b.submitRegistration(c7426co);
}
public final AbstractC13163fSk<SingleDataEntity<C9063dce>> d(C7426co c7426co) {
int i = 2 % 2;
int i2 = f + 37;
g = i2 % 128;
int i3 = i2 % 2;
AbstractC13163fSk<SingleDataEntity<C9063dce>> submitRegistration = this.b.submitRegistration(c7426co);
int i4 = f + 113;
g = i4 % 128;
if (i4 % 2 == 0) {
int i5 = 11 / 0;
}
return submitRegistration;
}
public final AbstractC13163fSk<Response<SingleDataEntity<PLz>>> e(String str, String str2, MID mid) {
int i = 2 % 2;
AbstractC13163fSk flatMap = this.b.confirmRegistration(str, str2, mid).flatMap(new fSS() { // from class: o.phm
@Override // o.fSS
public final Object a(Object obj) {
return yHF.c((Result) obj);
}
});
int i2 = g + 19;
f = i2 % 128;
int i3 = i2 % 2;
return flatMap;
}
/* JADX INFO: Access modifiers changed from: package-private */
public static /* synthetic */ InterfaceC13169fSq c(Result result) throws Throwable {
int i = 2 % 2;
int i2 = f + 47;
g = i2 % 128;
int i3 = i2 % 2;
if (!result.isError()) {
return AbstractC13163fSk.just(result.response());
}
int i4 = g + 83;
f = i4 % 128;
int i5 = i4 % 2;
AbstractC13163fSk error = AbstractC13163fSk.error(result.error());
int i6 = g + 93;
f = i6 % 128;
int i7 = i6 % 2;
return error;
}
public final AbstractC13163fSk<SingleDataEntity<sCP>> b(String str) {
int i = 2 % 2;
int i2 = g + 125;
f = i2 % 128;
Object obj = null;
if (i2 % 2 != 0) {
this.b.getTitleList(str);
throw null;
}
AbstractC13163fSk<SingleDataEntity<sCP>> titleList = this.b.getTitleList(str);
int i3 = f + 47;
g = i3 % 128;
if (i3 % 2 != 0) {
return titleList;
}
obj.hashCode();
throw null;
}
public final AbstractC13163fSk<C16562pOe> d(C7847cw c7847cw) {
int i = 2 % 2;
int i2 = f + 41;
g = i2 % 128;
if (i2 % 2 == 0) {
this.b.uploadNationalId(c7847cw);
Object obj = null;
obj.hashCode();
throw null;
}
AbstractC13163fSk<C16562pOe> uploadNationalId = this.b.uploadNationalId(c7847cw);
int i3 = f + 55;
g = i3 % 128;
int i4 = i3 % 2;
return uploadNationalId;
}
public final AbstractC13163fSk<C16562pOe> e() {
int i = 2 % 2;
int i2 = g + 111;
f = i2 % 128;
if (i2 % 2 == 0) {
DiG.e("9102");
DiG.e("9101");
return this.b.completeSubmission();
}
DiG.e("9102");
DiG.e("9101");
this.b.completeSubmission();
throw null;
}
/* JADX INFO: Access modifiers changed from: package-private */
public static /* synthetic */ C14168foB b(SingleDataEntity singleDataEntity) throws Throwable {
C14168foB c14168foB;
int i = 2 % 2;
int i2 = f;
int i3 = i2 + 63;
g = i3 % 128;
int i4 = i3 % 2;
if (singleDataEntity != null) {
int i5 = i2 + 59;
g = i5 % 128;
int i6 = i5 % 2;
c14168foB = (C14168foB) singleDataEntity.getData();
if (i6 == 0) {
int i7 = 58 / 0;
}
} else {
c14168foB = null;
}
int i8 = f + 71;
g = i8 % 128;
int i9 = i8 % 2;
return c14168foB;
}
public final AbstractC13163fSk<C14168foB> b(String str, String str2, String str3) {
int i = 2 % 2;
AbstractC13163fSk map = this.b.getOccupationList(str, str2, str3).map(new fSS() { // from class: o.gNm
@Override // o.fSS
public final Object a(Object obj) {
return yHF.b((SingleDataEntity) obj);
}
});
int i2 = f + 17;
g = i2 % 128;
if (i2 % 2 != 0) {
return map;
}
throw null;
}
public final AbstractC13163fSk<SingleDataEntity<List<C0364FKu>>> a() {
int i = 2 % 2;
int i2 = f + 93;
g = i2 % 128;
int i3 = i2 % 2;
AbstractC13163fSk<SingleDataEntity<List<C0364FKu>>> objectives = this.b.getObjectives();
int i4 = g + 101;
f = i4 % 128;
if (i4 % 2 == 0) {
return objectives;
}
throw null;
}
private static /* synthetic */ Object c(Object[] objArr) {
yHF yhf = (yHF) objArr[0];
C7426co c7426co = (C7426co) objArr[1];
int i = 2 % 2;
int i2 = g + 3;
f = i2 % 128;
if (i2 % 2 == 0) {
return yhf.b.submitConsent(c7426co);
}
AbstractC13163fSk<SingleDataEntity<C9063dce>> submitConsent = yhf.b.submitConsent(c7426co);
int i3 = 4 / 0;
return submitConsent;
}
public final AbstractC13175fSw<SingleDataEntity<TRd>> e(C5386bs c5386bs) {
int i = 2 % 2;
int i2 = f + 107;
g = i2 % 128;
if (i2 % 2 == 0) {
this.b.postEkycStatusInquiry(c5386bs);
throw null;
}
AbstractC13175fSw<SingleDataEntity<TRd>> postEkycStatusInquiry = this.b.postEkycStatusInquiry(c5386bs);
int i3 = g + 3;
f = i3 % 128;
int i4 = i3 % 2;
return postEkycStatusInquiry;
}
private static void h(short s, byte b, int i, int i2, int i3, Object[] objArr) {
int i4 = 2 % 2;
DFY dfy = new DFY();
StringBuilder sb = new StringBuilder();
try {
Object[] objArr2 = {Integer.valueOf(i), Integer.valueOf(d)};
Object obj = xzZ.y.get(-2092856797);
if (obj == null) {
Class cls = (Class) xzZ.c(337 - (CdmaCellLocation.convertQuartSecToDecDegrees(0) > 0.0d ? 1 : (CdmaCellLocation.convertQuartSecToDecDegrees(0) == 0.0d ? 0 : -1)), 5 - (ViewConfiguration.getWindowTouchSlop() >> 8), (char) (ViewConfiguration.getKeyRepeatDelay() >> 16));
byte b2 = (byte) 0;
byte b3 = (byte) (b2 + 1);
Object[] objArr3 = new Object[1];
k(b2, b3, (byte) (b3 - 1), objArr3);
obj = cls.getMethod((String) objArr3[0], Integer.TYPE, Integer.TYPE);
xzZ.y.put(-2092856797, obj);
}
int intValue = ((Integer) ((Method) obj).invoke(null, objArr2)).intValue();
boolean z = intValue == -1;
if (z) {
int i5 = $10 + 113;
$11 = i5 % 128;
int i6 = i5 % 2;
byte[] bArr = a;
if (bArr != null) {
int length = bArr.length;
byte[] bArr2 = new byte[length];
for (int i7 = 0; i7 < length; i7++) {
Object[] objArr4 = {Integer.valueOf(bArr[i7])};
Object obj2 = xzZ.y.get(-1648115392);
if (obj2 == null) {
Class cls2 = (Class) xzZ.c((ViewConfiguration.getEdgeSlop() >> 16) + 60, 5 - (ViewConfiguration.getMaximumDrawingCacheSize() >> 24), (char) TextUtils.getOffsetAfter("", 0));
byte b4 = (byte) 0;
byte b5 = b4;
Object[] objArr5 = new Object[1];
k(b4, b5, b5, objArr5);
obj2 = cls2.getMethod((String) objArr5[0], Integer.TYPE);
xzZ.y.put(-1648115392, obj2);
}
bArr2[i7] = ((Byte) ((Method) obj2).invoke(null, objArr4)).byteValue();
}
bArr = bArr2;
}
if (bArr != null) {
byte[] bArr3 = a;
Object[] objArr6 = {Integer.valueOf(i2), Integer.valueOf(e)};
Object obj3 = xzZ.y.get(-2092856797);
if (obj3 == null) {
Class cls3 = (Class) xzZ.c(337 - View.resolveSizeAndState(0, 0, 0), Gravity.getAbsoluteGravity(0, 0) + 5, (char) ((AudioTrack.getMaxVolume() > BitmapDescriptorFactory.HUE_RED ? 1 : (AudioTrack.getMaxVolume() == BitmapDescriptorFactory.HUE_RED ? 0 : -1)) - 1));
byte b6 = (byte) 0;
byte b7 = (byte) (b6 + 1);
Object[] objArr7 = new Object[1];
k(b6, b7, (byte) (b7 - 1), objArr7);
obj3 = cls3.getMethod((String) objArr7[0], Integer.TYPE, Integer.TYPE);
xzZ.y.put(-2092856797, obj3);
}
intValue = (byte) (((byte) (bArr3[((Integer) ((Method) obj3).invoke(null, objArr6)).intValue()] ^ (-7303220121662775787L))) + ((int) (d ^ (-7303220121662775787L))));
} else {
intValue = (short) (((short) (j[i2 + ((int) (e ^ (-7303220121662775787L)))] ^ (-7303220121662775787L))) + ((int) (d ^ (-7303220121662775787L))));
}
}
if (intValue > 0) {
int i8 = $10 + 83;
$11 = i8 % 128;
int i9 = i8 % 2;
dfy.c = ((i2 + intValue) - 2) + ((int) (e ^ (-7303220121662775787L))) + (!(z ^ true) ? 1 : 0);
try {
Object[] objArr8 = {dfy, Integer.valueOf(i3), Integer.valueOf(c), sb};
Object obj4 = xzZ.y.get(1546973421);
if (obj4 == null) {
obj4 = ((Class) xzZ.c((ViewConfiguration.getMaximumFlingVelocity() >> 16) + 748, 5 - (ViewConfiguration.getKeyRepeatTimeout() >> 16), (char) (ViewConfiguration.getMinimumFlingVelocity() >> 16))).getMethod("q", Object.class, Integer.TYPE, Integer.TYPE, Object.class);
xzZ.y.put(1546973421, obj4);
}
((StringBuilder) ((Method) obj4).invoke(null, objArr8)).append(dfy.a);
dfy.e = dfy.a;
byte[] bArr4 = a;
if (bArr4 != null) {
int length2 = bArr4.length;
byte[] bArr5 = new byte[length2];
int i10 = $11 + 55;
$10 = i10 % 128;
int i11 = i10 % 2;
for (int i12 = 0; i12 < length2; i12++) {
int i13 = $11 + 103;
$10 = i13 % 128;
int i14 = i13 % 2;
bArr5[i12] = (byte) (bArr4[i12] ^ (-7303220121662775787L));
}
bArr4 = bArr5;
}
boolean z2 = bArr4 != null;
dfy.d = 1;
while (dfy.d < intValue) {
int i15 = $11 + 63;
$10 = i15 % 128;
int i16 = i15 % 2;
if (z2) {
byte[] bArr6 = a;
dfy.c = dfy.c - 1;
dfy.a = (char) (dfy.e + (((byte) (((byte) (bArr6[r8] ^ (-7303220121662775787L))) + s)) ^ b));
} else {
short[] sArr = j;
dfy.c = dfy.c - 1;
dfy.a = (char) (dfy.e + (((short) (((short) (sArr[r8] ^ (-7303220121662775787L))) + s)) ^ b));
}
sb.append(dfy.a);
dfy.e = dfy.a;
dfy.d++;
}
} catch (Throwable th) {
Throwable cause = th.getCause();
if (cause == null) {
throw th;
}
throw cause;
}
}
objArr[0] = sb.toString();
} catch (Throwable th2) {
Throwable cause2 = th2.getCause();
if (cause2 == null) {
throw th2;
}
throw cause2;
}
}
public final AbstractC13163fSk<SingleDataEntity<C9063dce>> e(C7426co c7426co) {
return (AbstractC13163fSk) e(new Object[]{this, c7426co}, -966582005, 966582008, System.identityHashCode(this));
}
public final AbstractC13163fSk<SingleDataEntity<C9063dce>> a(C7426co c7426co) {
return (AbstractC13163fSk) e(new Object[]{this, c7426co}, 1628460254, -1628460252, System.identityHashCode(this));
}
public final AbstractC13163fSk<SingleDataEntity<GSH>> c() {
return (AbstractC13163fSk) e(new Object[]{this}, -321194785, 321194785, System.identityHashCode(this));
}
public final AbstractC13163fSk<Response<SingleDataEntity<C9063dce>>> d() {
return (AbstractC13163fSk) e(new Object[]{this}, -737662580, 737662581, System.identityHashCode(this));
}
}