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

269 lines
10 KiB
Java
Raw Normal View History

2024-07-27 18:17:47 +07:00
package o;
import android.graphics.Color;
import android.graphics.ImageFormat;
import android.media.AudioTrack;
import android.os.Process;
import android.text.TextUtils;
import android.view.View;
import android.view.ViewConfiguration;
import android.widget.ExpandableListView;
import com.google.android.gms.maps.model.BitmapDescriptorFactory;
import com.google.android.gms.tasks.OnCompleteListener;
import com.google.android.gms.tasks.Task;
import com.google.firebase.remoteconfig.FirebaseRemoteConfigSettings;
import com.google.firebase.remoteconfig.ktx.RemoteConfigKt;
import java.lang.reflect.Method;
import net.sf.scuba.smartcards.ISO7816;
import o.C9628dnP;
import org.bouncycastle.crypto.tls.CipherSuite;
/* renamed from: o.dop, reason: case insensitive filesystem */
/* loaded from: classes.dex */
public final class C9701dop implements InterfaceC9631dnT {
private final InterfaceC9670doG e;
private static final byte[] $$a = {61, 7, ISO7816.INS_READ_RECORD_STAMPED, 119};
private static final int $$b = 7;
private static int $10 = 0;
private static int $11 = 1;
private static int c = 0;
private static int b = 1;
private static int d = 2015661740;
/* JADX WARN: Removed duplicated region for block: B:10:0x0027 */
/* JADX WARN: Removed duplicated region for block: B:7:0x001f */
/* JADX WARN: Unsupported multi-entry loop pattern (BACK_EDGE: B:10:0x0027 -> B:4:0x0032). 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(byte r6, int r7, short r8, java.lang.Object[] r9) {
/*
int r6 = r6 * 3
int r0 = 1 - r6
int r8 = r8 + 4
byte[] r1 = o.C9701dop.$$a
int r7 = r7 * 7
int r7 = r7 + 69
byte[] r0 = new byte[r0]
r2 = 0
int r6 = 0 - r6
if (r1 != 0) goto L16
r3 = r8
r4 = r2
goto L32
L16:
r3 = r2
L17:
r5 = r8
r8 = r7
r7 = r5
byte r4 = (byte) r8
r0[r3] = r4
if (r3 != r6) goto L27
java.lang.String r6 = new java.lang.String
r6.<init>(r0, r2)
r9[r2] = r6
return
L27:
int r7 = r7 + 1
r4 = r1[r7]
int r3 = r3 + 1
r5 = r8
r8 = r7
r7 = r4
r4 = r3
r3 = r5
L32:
int r7 = r7 + r3
r3 = r4
goto L17
*/
throw new UnsupportedOperationException("Method not decompiled: o.C9701dop.g(byte, int, short, java.lang.Object[]):void");
}
@InterfaceC13391fZD
public C9701dop(InterfaceC9670doG interfaceC9670doG) {
C14957gcv.e(interfaceC9670doG, "");
this.e = interfaceC9670doG;
interfaceC9670doG.c(RemoteConfigKt.remoteConfigSettings(RVV.e));
interfaceC9670doG.e(C9628dnP.IeS.remote_config_defaults);
}
/* renamed from: o.dop$RVV */
/* loaded from: classes.dex */
static final class RVV extends AbstractC14961gcz implements InterfaceC14894gbR<FirebaseRemoteConfigSettings.Builder, C14866gag> {
public static final RVV e = new RVV();
@Override // o.InterfaceC14894gbR
public final /* synthetic */ C14866gag invoke(FirebaseRemoteConfigSettings.Builder builder) {
FirebaseRemoteConfigSettings.Builder builder2 = builder;
C14957gcv.e(builder2, "");
builder2.setMinimumFetchIntervalInSeconds(10800L);
return C14866gag.c;
}
RVV() {
super(1);
}
}
@Override // o.InterfaceC9631dnT
public final void b(InterfaceC14894gbR<? super String, C14866gag> interfaceC14894gbR) {
int i = 2 % 2;
int i2 = c + 125;
b = i2 % 128;
if (i2 % 2 == 0) {
C14957gcv.e(interfaceC14894gbR, "");
a(interfaceC14894gbR);
throw null;
}
C14957gcv.e(interfaceC14894gbR, "");
a(interfaceC14894gbR);
int i3 = c + 23;
b = i3 % 128;
int i4 = i3 % 2;
}
private final void a(final InterfaceC14894gbR<? super String, C14866gag> interfaceC14894gbR) {
int i = 2 % 2;
this.e.c().addOnCompleteListener(new OnCompleteListener(this, interfaceC14894gbR) { // from class: o.doq
private C9701dop a;
private InterfaceC14894gbR b;
@Override // com.google.android.gms.tasks.OnCompleteListener
public final void onComplete(Task task) {
C9701dop.e(this.a, this.b, task);
}
{
this.a = this;
this.b = interfaceC14894gbR;
}
});
int i2 = c + 77;
b = i2 % 128;
if (i2 % 2 == 0) {
int i3 = 91 / 0;
}
}
private static final void c(C9701dop c9701dop, InterfaceC14894gbR interfaceC14894gbR, Task task) {
int i = 2 % 2;
int i2 = b + 25;
c = i2 % 128;
int i3 = i2 % 2;
C14957gcv.e(c9701dop, "");
C14957gcv.e(interfaceC14894gbR, "");
C14957gcv.e(task, "");
guQ.d("Fetch remote config: %b", Boolean.valueOf(task.isSuccessful()));
Exception exception = task.getException();
if (exception != null) {
guQ.c(exception, "Fetch remote exception: %s", exception.getLocalizedMessage());
int i4 = c + 9;
b = i4 % 128;
int i5 = i4 % 2;
}
InterfaceC9670doG interfaceC9670doG = c9701dop.e;
Object[] objArr = new Object[1];
f((Process.getElapsedCpuTime() > 0L ? 1 : (Process.getElapsedCpuTime() == 0L ? 0 : -1)) + 17, 11 - (AudioTrack.getMaxVolume() > BitmapDescriptorFactory.HUE_RED ? 1 : (AudioTrack.getMaxVolume() == BitmapDescriptorFactory.HUE_RED ? 0 : -1)), (AudioTrack.getMinVolume() > BitmapDescriptorFactory.HUE_RED ? 1 : (AudioTrack.getMinVolume() == BitmapDescriptorFactory.HUE_RED ? 0 : -1)) + 243, new char[]{65527, 65531, 7, 6, 65534, 1, 65535, 65527, 14, 65482, 11, 65533, 65531, '\r', '\n', 1, '\f', 17}, false, objArr);
interfaceC14894gbR.invoke(interfaceC9670doG.b(((String) objArr[0]).intern()));
}
private static void f(int i, int i2, int i3, char[] cArr, boolean z, Object[] objArr) {
int i4 = 2 % 2;
zUI zui = new zUI();
char[] cArr2 = new char[i];
zui.d = 0;
int i5 = $10 + 31;
$11 = i5 % 128;
int i6 = i5 % 2;
while (zui.d < i) {
zui.c = cArr[zui.d];
cArr2[zui.d] = (char) (i3 + zui.c);
int i7 = zui.d;
try {
Object[] objArr2 = {Integer.valueOf(cArr2[i7]), Integer.valueOf(d)};
Object obj = xzZ.y.get(880493502);
if (obj == null) {
Class cls = (Class) xzZ.c((ViewConfiguration.getScrollBarFadeDuration() >> 16) + CipherSuite.TLS_DHE_PSK_WITH_3DES_EDE_CBC_SHA, (-16777209) - Color.rgb(0, 0, 0), (char) ((-1) - ImageFormat.getBitsPerPixel(0)));
byte b2 = (byte) 0;
byte b3 = b2;
Object[] objArr3 = new Object[1];
g(b2, b3, (byte) (b3 - 1), objArr3);
obj = cls.getMethod((String) objArr3[0], Integer.TYPE, Integer.TYPE);
xzZ.y.put(880493502, obj);
}
cArr2[i7] = ((Character) ((Method) obj).invoke(null, objArr2)).charValue();
Object[] objArr4 = {zui, zui};
Object obj2 = xzZ.y.get(1294990079);
if (obj2 == null) {
Class cls2 = (Class) xzZ.c(341 - Process.getGidForName(""), View.MeasureSpec.getMode(0) + 5, (char) (ViewConfiguration.getTouchSlop() >> 8));
byte b4 = (byte) 0;
byte b5 = (byte) (b4 + 1);
Object[] objArr5 = new Object[1];
g(b4, b5, (byte) (-b5), objArr5);
obj2 = cls2.getMethod((String) objArr5[0], Object.class, Object.class);
xzZ.y.put(1294990079, obj2);
}
((Method) obj2).invoke(null, objArr4);
} catch (Throwable th) {
Throwable cause = th.getCause();
if (cause == null) {
throw th;
}
throw cause;
}
}
if (i2 > 0) {
zui.a = i2;
char[] cArr3 = new char[i];
System.arraycopy(cArr2, 0, cArr3, 0, i);
System.arraycopy(cArr3, 0, cArr2, i - zui.a, zui.a);
System.arraycopy(cArr3, zui.a, cArr2, 0, i - zui.a);
}
if (z) {
char[] cArr4 = new char[i];
zui.d = 0;
int i8 = $11 + 45;
$10 = i8 % 128;
if (i8 % 2 != 0) {
int i9 = 3 % 4;
}
while (zui.d < i) {
int i10 = $10 + 67;
$11 = i10 % 128;
int i11 = i10 % 2;
cArr4[zui.d] = cArr2[(i - zui.d) - 1];
Object[] objArr6 = {zui, zui};
Object obj3 = xzZ.y.get(1294990079);
if (obj3 == null) {
Class cls3 = (Class) xzZ.c(341 - TextUtils.lastIndexOf("", '0', 0, 0), ExpandableListView.getPackedPositionType(0L) + 5, (char) (ViewConfiguration.getFadingEdgeLength() >> 16));
byte b6 = (byte) 0;
byte b7 = (byte) (b6 + 1);
Object[] objArr7 = new Object[1];
g(b6, b7, (byte) (-b7), objArr7);
obj3 = cls3.getMethod((String) objArr7[0], Object.class, Object.class);
xzZ.y.put(1294990079, obj3);
}
((Method) obj3).invoke(null, objArr6);
}
cArr2 = cArr4;
}
objArr[0] = new String(cArr2);
}
public static /* synthetic */ void e(C9701dop c9701dop, InterfaceC14894gbR interfaceC14894gbR, Task task) {
int i = 2 % 2;
int i2 = c + 97;
b = i2 % 128;
int i3 = i2 % 2;
c(c9701dop, interfaceC14894gbR, task);
int i4 = b + 31;
c = i4 % 128;
if (i4 % 2 != 0) {
throw null;
}
}
}