what-the-bank/sources/com/google/firebase/auth/internal/GenericIdpActivity.java

921 lines
44 KiB
Java

package com.google.firebase.auth.internal;
import android.content.Context;
import android.content.Intent;
import android.content.SharedPreferences;
import android.content.pm.PackageManager;
import android.content.pm.ResolveInfo;
import android.graphics.Color;
import android.graphics.ImageFormat;
import android.graphics.PointF;
import android.media.AudioTrack;
import android.net.Uri;
import android.os.Bundle;
import android.os.Process;
import android.os.SystemClock;
import android.telephony.cdma.CdmaCellLocation;
import android.text.AndroidCharacter;
import android.text.TextUtils;
import android.util.TypedValue;
import android.view.Gravity;
import android.view.KeyEvent;
import android.view.MotionEvent;
import android.view.View;
import android.view.ViewConfiguration;
import android.widget.ExpandableListView;
import androidx.fragment.app.FragmentActivity;
import com.google.android.gms.common.api.Status;
import com.google.android.gms.common.internal.safeparcel.SafeParcelableSerializer;
import com.google.android.gms.common.util.AndroidUtilsLight;
import com.google.android.gms.common.util.DefaultClock;
import com.google.android.gms.common.util.Hex;
import com.google.android.gms.internal.p002firebaseauthapi.zzaay;
import com.google.android.gms.internal.p002firebaseauthapi.zzxe;
import com.google.android.gms.internal.p002firebaseauthapi.zzxg;
import com.google.android.gms.internal.p002firebaseauthapi.zzyz;
import com.google.android.gms.maps.model.BitmapDescriptorFactory;
import com.google.firebase.FirebaseApp;
import com.huawei.hms.support.api.entity.common.CommonConstant;
import com.kofax.mobile.sdk._internal.impl.extraction.kta.KtaJsonExactionHelper;
import com.scb.phone.R;
import java.io.IOException;
import java.lang.reflect.Method;
import java.net.HttpURLConnection;
import java.net.URL;
import java.util.List;
import java.util.Locale;
import java.util.concurrent.Executor;
import net.sf.scuba.smartcards.ISO7816;
import net.sf.scuba.smartcards.ISOFileInfo;
import o.C0198BcN;
import o.C3614bBe;
import o.C4593bdB;
import o.nMh;
import o.wpO;
import o.xzZ;
/* loaded from: classes2.dex */
public class GenericIdpActivity extends FragmentActivity implements zzxg {
private static char[] a;
private static boolean b;
private static int c;
private static boolean d;
private static long e;
private static int f;
private static long zzb;
private static final zzbm zzc;
private final Executor zzd = com.google.android.gms.internal.p002firebaseauthapi.zzf.zza().zza(1);
private boolean zze = false;
private static final byte[] $$a = {ISO7816.INS_DECREASE_STAMPED, -25, 126, 49};
private static final int $$b = 87;
private static int $10 = 0;
private static int $11 = 1;
private static int h = 0;
static {
f = 1;
b();
zzc = zzbm.zzc();
int i = h + 95;
f = i % 128;
if (i % 2 == 0) {
throw null;
}
}
/* 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:0x002e). 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 j(int r6, short r7, short r8, java.lang.Object[] r9) {
/*
int r8 = r8 + 65
int r6 = r6 * 4
int r6 = 3 - r6
byte[] r0 = com.google.firebase.auth.internal.GenericIdpActivity.$$a
int r7 = r7 * 3
int r7 = 1 - r7
byte[] r1 = new byte[r7]
r2 = 0
if (r0 != 0) goto L15
r3 = r8
r4 = r2
r8 = r6
goto L2e
L15:
r3 = r2
L16:
int r6 = r6 + 1
byte r4 = (byte) r8
r1[r3] = r4
int r3 = r3 + 1
if (r3 != r7) goto L27
java.lang.String r6 = new java.lang.String
r6.<init>(r1, r2)
r9[r2] = r6
return
L27:
r4 = r0[r6]
r5 = r8
r8 = r6
r6 = r4
r4 = r3
r3 = r5
L2e:
int r6 = r6 + r3
r3 = r4
r5 = r8
r8 = r6
r6 = r5
goto L16
*/
throw new UnsupportedOperationException("Method not decompiled: com.google.firebase.auth.internal.GenericIdpActivity.j(int, short, short, java.lang.Object[]):void");
}
private final void zzi(Status status) {
int i = 2 % 2;
zzb = 0L;
this.zze = false;
Intent intent = new Intent();
zzbl.zzc(intent, status);
intent.setAction("com.google.firebase.auth.ACTION_RECEIVE_FIREBASE_AUTH_INTENT");
if (!C0198BcN.d(this).zE_(intent)) {
int i2 = h + 21;
f = i2 % 128;
int i3 = i2 % 2;
zzc.zzf(getApplicationContext(), status);
int i4 = h + 83;
f = i4 % 128;
int i5 = i4 % 2;
} else {
zzc.zzd(this);
}
finish();
}
private final void zzh() {
int i;
int i2 = 2 % 2;
zzb = 0L;
this.zze = false;
Intent intent = new Intent();
intent.putExtra("com.google.firebase.auth.internal.EXTRA_CANCELED", true);
intent.setAction("com.google.firebase.auth.ACTION_RECEIVE_FIREBASE_AUTH_INTENT");
if (C0198BcN.d(this).zE_(intent)) {
zzc.zzd(this);
i = h + 113;
f = i % 128;
} else {
int i3 = f + 23;
h = i3 % 128;
int i4 = i3 % 2;
zzc.zzf(this, zzai.zza("WEB_CONTEXT_CANCELED"));
i = f + 27;
h = i % 128;
}
int i5 = i % 2;
finish();
}
private static void g(char[] cArr, int i, Object[] objArr) {
Object method;
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 = $10 + 45;
$11 = i3 % 128;
if (i3 % 2 == 0) {
int i4 = 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((ViewConfiguration.getGlobalActionKeyTimeout() > 0L ? 1 : (ViewConfiguration.getGlobalActionKeyTimeout() == 0L ? 0 : -1)) + 401, 5 - (ViewConfiguration.getMinimumFlingVelocity() >> 16), (char) (TextUtils.lastIndexOf("", '0', 0, 0) + 21609));
byte b2 = (byte) 0;
byte b3 = b2;
Object[] objArr3 = new Object[1];
j(b2, b3, (byte) (b3 | 12), objArr3);
obj = cls.getMethod((String) objArr3[0], Integer.TYPE, Object.class, Object.class);
xzZ.y.put(-1229953068, obj);
}
jArr[i4] = ((Long) ((Method) obj).invoke(null, objArr2)).longValue() / (e - (-6958928035870403642L));
Object[] objArr4 = {c4593bdB, c4593bdB};
Object obj2 = xzZ.y.get(-1143917229);
if (obj2 == null) {
Class cls2 = (Class) xzZ.c(238 - (ViewConfiguration.getWindowTouchSlop() >> 8), TextUtils.getCapsMode("", 0, 0) + 5, (char) (Process.myPid() >> 22));
byte b4 = (byte) 0;
byte b5 = b4;
Object[] objArr5 = new Object[1];
j(b4, b5, (byte) (b5 | 13), 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;
}
} else {
int i5 = c4593bdB.e;
Object[] objArr6 = {Integer.valueOf(cArr[c4593bdB.e]), c4593bdB, c4593bdB};
Object obj3 = xzZ.y.get(-1229953068);
if (obj3 == null) {
Class cls3 = (Class) xzZ.c(402 - View.combineMeasuredStates(0, 0), 5 - (ViewConfiguration.getMinimumFlingVelocity() >> 16), (char) ((TypedValue.complexToFloat(0) > BitmapDescriptorFactory.HUE_RED ? 1 : (TypedValue.complexToFloat(0) == BitmapDescriptorFactory.HUE_RED ? 0 : -1)) + 21608));
byte b6 = (byte) 0;
byte b7 = b6;
Object[] objArr7 = new Object[1];
j(b6, b7, (byte) (b7 | 12), objArr7);
obj3 = cls3.getMethod((String) objArr7[0], Integer.TYPE, Object.class, Object.class);
xzZ.y.put(-1229953068, obj3);
}
jArr[i5] = ((Long) ((Method) obj3).invoke(null, objArr6)).longValue() ^ (e ^ (-6958928035870403642L));
Object[] objArr8 = {c4593bdB, c4593bdB};
Object obj4 = xzZ.y.get(-1143917229);
if (obj4 == null) {
Class cls4 = (Class) xzZ.c((AudioTrack.getMaxVolume() > BitmapDescriptorFactory.HUE_RED ? 1 : (AudioTrack.getMaxVolume() == BitmapDescriptorFactory.HUE_RED ? 0 : -1)) + 237, 5 - TextUtils.getOffsetAfter("", 0), (char) (ViewConfiguration.getKeyRepeatDelay() >> 16));
byte b8 = (byte) 0;
byte b9 = b8;
Object[] objArr9 = new Object[1];
j(b8, b9, (byte) (b9 | 13), objArr9);
obj4 = cls4.getMethod((String) objArr9[0], Object.class, Object.class);
xzZ.y.put(-1143917229, obj4);
}
((Method) obj4).invoke(null, objArr8);
}
}
char[] cArr2 = new char[length];
c4593bdB.e = 0;
while (c4593bdB.e < cArr.length) {
int i6 = $10 + 95;
$11 = i6 % 128;
int i7 = i6 % 2;
cArr2[c4593bdB.e] = (char) jArr[c4593bdB.e];
try {
Object[] objArr10 = {c4593bdB, c4593bdB};
Object obj5 = xzZ.y.get(-1143917229);
if (obj5 != null) {
method = obj5;
} else {
Class cls5 = (Class) xzZ.c((PointF.length(BitmapDescriptorFactory.HUE_RED, BitmapDescriptorFactory.HUE_RED) > BitmapDescriptorFactory.HUE_RED ? 1 : (PointF.length(BitmapDescriptorFactory.HUE_RED, BitmapDescriptorFactory.HUE_RED) == BitmapDescriptorFactory.HUE_RED ? 0 : -1)) + 238, (Process.myPid() >> 22) + 5, (char) ExpandableListView.getPackedPositionType(0L));
byte b10 = (byte) 0;
byte b11 = b10;
Object[] objArr11 = new Object[1];
j(b10, b11, (byte) (b11 | 13), objArr11);
method = cls5.getMethod((String) objArr11[0], Object.class, Object.class);
xzZ.y.put(-1143917229, method);
}
((Method) method).invoke(null, objArr10);
} catch (Throwable th2) {
Throwable cause2 = th2.getCause();
if (cause2 == null) {
throw th2;
}
throw cause2;
}
}
objArr[0] = new String(cArr2);
}
@Override // androidx.activity.ComponentActivity, android.app.Activity
public final void onNewIntent(Intent intent) {
int i = 2 % 2;
int i2 = h + 65;
f = i2 % 128;
int i3 = i2 % 2;
super.onNewIntent(intent);
setIntent(intent);
int i4 = h + 79;
f = i4 % 128;
if (i4 % 2 == 0) {
throw null;
}
}
/* JADX WARN: Code restructure failed: missing block: B:4:0x008e, code lost:
if (r2 > 99999) goto L6;
*/
@Override // androidx.fragment.app.FragmentActivity, androidx.activity.ComponentActivity, androidx.core.app.ComponentActivity, android.app.Activity
/*
Code decompiled incorrectly, please refer to instructions dump.
To view partially-correct add '--show-bad-code' argument
*/
public final void onCreate(android.os.Bundle r17) {
/*
Method dump skipped, instructions count: 1080
To view this dump add '--comments-level debug' option
*/
throw new UnsupportedOperationException("Method not decompiled: com.google.firebase.auth.internal.GenericIdpActivity.onCreate(android.os.Bundle):void");
}
@Override // com.google.android.gms.internal.p002firebaseauthapi.zzxg
public final Context zza() {
int i = 2 % 2;
int i2 = h + 35;
f = i2 % 128;
if (i2 % 2 != 0) {
return getApplicationContext();
}
getApplicationContext();
Object obj = null;
obj.hashCode();
throw null;
}
@Override // com.google.android.gms.internal.p002firebaseauthapi.zzxg
public final String zzc(String str) {
int i = 2 % 2;
int i2 = h + 19;
f = i2 % 128;
if (i2 % 2 != 0) {
return zzyz.zzb(str);
}
zzyz.zzb(str);
throw null;
}
@Override // androidx.activity.ComponentActivity, androidx.core.app.ComponentActivity, android.app.Activity
public final void onSaveInstanceState(Bundle bundle) {
int i = 2 % 2;
int i2 = f + 31;
h = i2 % 128;
int i3 = i2 % 2;
super.onSaveInstanceState(bundle);
bundle.putBoolean("com.google.firebase.auth.internal.KEY_STARTED_SIGN_IN", this.zze);
int i4 = h + 21;
f = i4 % 128;
if (i4 % 2 != 0) {
return;
}
Object obj = null;
obj.hashCode();
throw null;
}
/* JADX WARN: Code restructure failed: missing block: B:10:0x002b, code lost:
throw null;
*/
/* JADX WARN: Code restructure failed: missing block: B:11:0x0017, code lost:
zzh();
*/
/* JADX WARN: Code restructure failed: missing block: B:12:0x001a, code lost:
return;
*/
/* JADX WARN: Code restructure failed: missing block: B:13:0x0015, code lost:
if (r4 == null) goto L8;
*/
/* JADX WARN: Code restructure failed: missing block: B:4:0x0012, code lost:
if (r4 == null) goto L8;
*/
/* JADX WARN: Code restructure failed: missing block: B:5:0x001b, code lost:
zzi(r4);
r4 = com.google.firebase.auth.internal.GenericIdpActivity.h + 15;
com.google.firebase.auth.internal.GenericIdpActivity.f = r4 % 128;
*/
/* JADX WARN: Code restructure failed: missing block: B:6:0x0027, code lost:
if ((r4 % 2) == 0) goto L13;
*/
/* JADX WARN: Code restructure failed: missing block: B:7:0x0029, code lost:
return;
*/
@Override // com.google.android.gms.internal.p002firebaseauthapi.zzxg
/*
Code decompiled incorrectly, please refer to instructions dump.
To view partially-correct add '--show-bad-code' argument
*/
public final void zze(java.lang.String r3, com.google.android.gms.common.api.Status r4) {
/*
r2 = this;
r3 = 2
int r0 = r3 % r3
int r0 = com.google.firebase.auth.internal.GenericIdpActivity.h
int r0 = r0 + 23
int r1 = r0 % 128
com.google.firebase.auth.internal.GenericIdpActivity.f = r1
int r0 = r0 % r3
if (r0 != 0) goto L15
r0 = 28
int r0 = r0 / 0
if (r4 != 0) goto L1b
goto L17
L15:
if (r4 != 0) goto L1b
L17:
r2.zzh()
return
L1b:
r2.zzi(r4)
int r4 = com.google.firebase.auth.internal.GenericIdpActivity.h
int r4 = r4 + 15
int r0 = r4 % 128
com.google.firebase.auth.internal.GenericIdpActivity.f = r0
int r4 = r4 % r3
if (r4 == 0) goto L2a
return
L2a:
r3 = 0
throw r3
*/
throw new UnsupportedOperationException("Method not decompiled: com.google.firebase.auth.internal.GenericIdpActivity.zze(java.lang.String, com.google.android.gms.common.api.Status):void");
}
@Override // com.google.android.gms.internal.p002firebaseauthapi.zzxg
public final Uri.Builder zzb(Intent intent, String str, String str2) {
int i = 2 % 2;
Uri.Builder zzg = zzg(new Uri.Builder().scheme("https").appendPath("__").appendPath("auth").appendPath("handler"), intent, str, str2);
int i2 = h + 25;
f = i2 % 128;
int i3 = i2 % 2;
return zzg;
}
@Override // com.google.android.gms.internal.p002firebaseauthapi.zzxg
public final HttpURLConnection zzd(URL url) {
int i = 2 % 2;
int i2 = f + 41;
h = i2 % 128;
int i3 = i2 % 2;
try {
HttpURLConnection httpURLConnection = (HttpURLConnection) url.openConnection();
int i4 = h + 47;
f = i4 % 128;
if (i4 % 2 == 0) {
int i5 = 29 / 0;
}
return httpURLConnection;
} catch (IOException unused) {
return null;
}
}
@Override // com.google.android.gms.internal.p002firebaseauthapi.zzxg
public final void zzf(Uri uri, String str) {
int i = 2 % 2;
if (getPackageManager().resolveActivity(new Intent(CommonConstant.ACTION.HWID_SCHEME_URL), 0) == null) {
zze(str, null);
return;
}
List<ResolveInfo> queryIntentServices = getPackageManager().queryIntentServices(new Intent("android.support.customtabs.action.CustomTabsService"), 0);
if (queryIntentServices != null) {
int i2 = h + 81;
f = i2 % 128;
if (i2 % 2 == 0) {
queryIntentServices.isEmpty();
throw null;
}
if (!queryIntentServices.isEmpty()) {
wpO c2 = new wpO.HBt().c();
c2.e.setData(uri);
nMh.startActivity(this, c2.e, c2.b);
int i3 = f + 31;
h = i3 % 128;
int i4 = i3 % 2;
return;
}
}
Intent intent = new Intent(CommonConstant.ACTION.HWID_SCHEME_URL, uri);
intent.putExtra("com.android.browser.application_id", str);
intent.addFlags(1073741824);
intent.addFlags(268435456);
startActivity(intent);
}
/* JADX WARN: Removed duplicated region for block: B:11:0x0121 */
/* JADX WARN: Removed duplicated region for block: B:14:0x012b */
/* JADX WARN: Removed duplicated region for block: B:29:0x0063 */
/* JADX WARN: Removed duplicated region for block: B:43:0x00bd A[Catch: JSONException -> 0x00c8, TRY_ENTER, TryCatch #1 {JSONException -> 0x00c8, blocks: (B:31:0x0068, B:33:0x0079, B:56:0x008a, B:59:0x009a, B:43:0x00bd, B:47:0x00c1, B:49:0x00c4, B:38:0x00a2), top: B:30:0x0068 }] */
/* JADX WARN: Removed duplicated region for block: B:46:0x00c1 A[SYNTHETIC] */
/* JADX WARN: Removed duplicated region for block: B:8:0x0060 */
/*
Code decompiled incorrectly, please refer to instructions dump.
To view partially-correct add '--show-bad-code' argument
*/
public final android.net.Uri.Builder zzg(android.net.Uri.Builder r22, android.content.Intent r23, java.lang.String r24, java.lang.String r25) {
/*
Method dump skipped, instructions count: 439
To view this dump add '--comments-level debug' option
*/
throw new UnsupportedOperationException("Method not decompiled: com.google.firebase.auth.internal.GenericIdpActivity.zzg(android.net.Uri$Builder, android.content.Intent, java.lang.String, java.lang.String):android.net.Uri$Builder");
}
private static void i(int[] iArr, char[] cArr, int i, byte[] bArr, Object[] objArr) {
int length;
char[] cArr2;
int i2;
int i3 = 2 % 2;
C3614bBe c3614bBe = new C3614bBe();
char[] cArr3 = a;
int i4 = 0;
if (cArr3 != null) {
int i5 = $11 + 65;
$10 = i5 % 128;
if (i5 % 2 != 0) {
length = cArr3.length;
cArr2 = new char[length];
i2 = 1;
} else {
length = cArr3.length;
cArr2 = new char[length];
i2 = 0;
}
while (i2 < length) {
try {
Object[] objArr2 = new Object[1];
objArr2[i4] = Integer.valueOf(cArr3[i2]);
Object obj = xzZ.y.get(-950481649);
if (obj == null) {
Class cls = (Class) xzZ.c(337 - TextUtils.getTrimmedLength(""), (ViewConfiguration.getTapTimeout() >> 16) + 5, (char) ((-1) - Process.getGidForName("")));
byte b2 = (byte) i4;
byte b3 = b2;
Object[] objArr3 = new Object[1];
j(b2, b3, b3, objArr3);
obj = cls.getMethod((String) objArr3[0], Integer.TYPE);
xzZ.y.put(-950481649, obj);
}
cArr2[i2] = ((Character) ((Method) obj).invoke(null, objArr2)).charValue();
i2++;
i4 = 0;
} catch (Throwable th) {
Throwable cause = th.getCause();
if (cause == null) {
throw th;
}
throw cause;
}
}
cArr3 = cArr2;
}
Object[] objArr4 = {Integer.valueOf(c)};
Object obj2 = xzZ.y.get(-1521625011);
if (obj2 == null) {
Class cls2 = (Class) xzZ.c(282 - TextUtils.lastIndexOf("", '0', 0, 0), TextUtils.getCapsMode("", 0, 0) + 5, (char) (39813 - TextUtils.indexOf("", "")));
byte b4 = (byte) 0;
byte b5 = b4;
Object[] objArr5 = new Object[1];
j(b4, b5, (byte) (b5 | 57), objArr5);
obj2 = cls2.getMethod((String) objArr5[0], Integer.TYPE);
xzZ.y.put(-1521625011, obj2);
}
int intValue = ((Integer) ((Method) obj2).invoke(null, objArr4)).intValue();
if (d) {
int i6 = $10 + 111;
$11 = i6 % 128;
int i7 = i6 % 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] + i] - intValue);
Object[] objArr6 = {c3614bBe, c3614bBe};
Object obj3 = xzZ.y.get(1779759091);
if (obj3 == null) {
obj3 = ((Class) xzZ.c(Color.rgb(0, 0, 0) + 16777256, (KeyEvent.getMaxKeyCode() >> 16) + 5, (char) (ViewConfiguration.getMinimumFlingVelocity() >> 16))).getMethod("D", Object.class, Object.class);
xzZ.y.put(1779759091, obj3);
}
((Method) obj3).invoke(null, objArr6);
}
objArr[0] = new String(cArr4);
return;
}
if (!b) {
c3614bBe.c = iArr.length;
char[] cArr5 = new char[c3614bBe.c];
c3614bBe.a = 0;
while (c3614bBe.a < c3614bBe.c) {
int i8 = $11 + 19;
$10 = i8 % 128;
int i9 = i8 % 2;
cArr5[c3614bBe.a] = (char) (cArr3[iArr[(c3614bBe.c - 1) - c3614bBe.a] - i] - intValue);
c3614bBe.a++;
int i10 = $10 + 43;
$11 = i10 % 128;
int i11 = i10 % 2;
}
String str = new String(cArr5);
int i12 = $10 + 99;
$11 = i12 % 128;
int i13 = i12 % 2;
objArr[0] = str;
return;
}
c3614bBe.c = cArr.length;
char[] cArr6 = new char[c3614bBe.c];
c3614bBe.a = 0;
while (c3614bBe.a < c3614bBe.c) {
int i14 = $11 + 9;
$10 = i14 % 128;
if (i14 % 2 != 0) {
cArr6[c3614bBe.a] = (char) (cArr3[cArr[(c3614bBe.c >>> 1) % c3614bBe.a] % i] << intValue);
Object[] objArr7 = {c3614bBe, c3614bBe};
Object obj4 = xzZ.y.get(1779759091);
if (obj4 == null) {
obj4 = ((Class) xzZ.c(Gravity.getAbsoluteGravity(0, 0) + 40, 4 - Process.getGidForName(""), (char) (PointF.length(BitmapDescriptorFactory.HUE_RED, BitmapDescriptorFactory.HUE_RED) > BitmapDescriptorFactory.HUE_RED ? 1 : (PointF.length(BitmapDescriptorFactory.HUE_RED, BitmapDescriptorFactory.HUE_RED) == BitmapDescriptorFactory.HUE_RED ? 0 : -1)))).getMethod("D", Object.class, Object.class);
xzZ.y.put(1779759091, obj4);
}
((Method) obj4).invoke(null, objArr7);
} else {
cArr6[c3614bBe.a] = (char) (cArr3[cArr[(c3614bBe.c - 1) - c3614bBe.a] - i] - intValue);
Object[] objArr8 = {c3614bBe, c3614bBe};
Object obj5 = xzZ.y.get(1779759091);
if (obj5 == null) {
obj5 = ((Class) xzZ.c(40 - TextUtils.getCapsMode("", 0, 0), 5 - TextUtils.getCapsMode("", 0, 0), (char) (TypedValue.complexToFloat(0) > BitmapDescriptorFactory.HUE_RED ? 1 : (TypedValue.complexToFloat(0) == BitmapDescriptorFactory.HUE_RED ? 0 : -1)))).getMethod("D", Object.class, Object.class);
xzZ.y.put(1779759091, obj5);
}
((Method) obj5).invoke(null, objArr8);
}
}
objArr[0] = new String(cArr6);
}
@Override // androidx.fragment.app.FragmentActivity, androidx.activity.ComponentActivity, androidx.core.app.ComponentActivity, android.app.Activity
public final void onResume() {
int i = 2 % 2;
Context baseContext = getBaseContext();
Object obj = null;
if (baseContext == null) {
Object[] objArr = new Object[1];
g(new char[]{237, 14271, 28242, 42729, 56727, 5172, 19654, 33577, 47621, 62137, 10590, 24669, 39057, 53078, 2030, 16022, 29994, 44488, 58482, 6930, 21404, 35397, 49408, 63922, 12373, 26877}, ((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getResources().getString(R.string.hml_business_owner_progress_loan_info).substring(92, 93).length() + 14172, objArr);
Class<?> cls = Class.forName((String) objArr[0]);
Object[] objArr2 = new Object[1];
i(null, null, 127 - (ViewConfiguration.getFadingEdgeLength() >> 16), new byte[]{ISOFileInfo.PROP_INFO, ISOFileInfo.SECURITY_ATTR_COMPACT, ISOFileInfo.LCS_BYTE, -122, ISOFileInfo.SECURITY_ATTR_EXP, ISOFileInfo.DATA_BYTES2, ISOFileInfo.LCS_BYTE, -119, -120, -120, ISOFileInfo.FCI_EXT, -122, ISOFileInfo.PROP_INFO, -124, ISOFileInfo.FILE_IDENTIFIER, ISOFileInfo.FILE_IDENTIFIER, -126, ISOFileInfo.DATA_BYTES2}, objArr2);
baseContext = (Context) cls.getMethod((String) objArr2[0], new Class[0]).invoke(null, null);
}
if (baseContext != null) {
baseContext = baseContext.getApplicationContext();
}
if (baseContext != null) {
try {
Object obj2 = xzZ.y.get(125943855);
if (obj2 == null) {
obj2 = ((Class) xzZ.c((ViewConfiguration.getTouchSlop() >> 8) + 492, (KeyEvent.getMaxKeyCode() >> 16) + 5, (char) (ViewConfiguration.getWindowTouchSlop() >> 8))).getMethod("a", null);
xzZ.y.put(125943855, obj2);
}
Object invoke = ((Method) obj2).invoke(null, null);
Object[] objArr3 = {baseContext};
Object obj3 = xzZ.y.get(1378719468);
if (obj3 == null) {
obj3 = ((Class) xzZ.c(ImageFormat.getBitsPerPixel(0) + 488, 5 - TextUtils.getTrimmedLength(""), (char) ((-1) - ExpandableListView.getPackedPositionChild(0L)))).getMethod(KtaJsonExactionHelper.OBJECT, Context.class);
xzZ.y.put(1378719468, obj3);
}
((Method) obj3).invoke(invoke, objArr3);
} catch (Throwable th) {
Throwable cause = th.getCause();
if (cause == null) {
throw th;
}
throw cause;
}
}
super.onResume();
if (!CommonConstant.ACTION.HWID_SCHEME_URL.equals(getIntent().getAction())) {
if (!(!this.zze)) {
zzh();
return;
}
int i2 = f + 33;
h = i2 % 128;
int i3 = i2 % 2;
String packageName = getPackageName();
try {
String lowerCase = Hex.bytesToStringUppercase(AndroidUtilsLight.getPackageCertificateHashBytes(this, packageName)).toLowerCase(Locale.US);
FirebaseApp firebaseApp = FirebaseApp.getInstance(getIntent().getStringExtra("com.google.firebase.auth.KEY_FIREBASE_APP_NAME"));
if (zzyz.zzg(firebaseApp)) {
zzf(zzg(Uri.parse(zzyz.zza(firebaseApp.getOptions().getApiKey())).buildUpon(), getIntent(), packageName, lowerCase).build(), packageName);
} else {
new zzxe(packageName, lowerCase, getIntent(), firebaseApp, this).executeOnExecutor(this.zzd, new Void[0]);
}
} catch (PackageManager.NameNotFoundException unused) {
zze(packageName, null);
}
this.zze = true;
int i4 = f + 53;
h = i4 % 128;
int i5 = i4 % 2;
return;
}
Intent intent = getIntent();
if (intent.hasExtra("firebaseError")) {
zzi(zzbl.zzb(intent.getStringExtra("firebaseError")));
return;
}
if (!intent.hasExtra("link") || !intent.hasExtra("eventId")) {
zzh();
return;
}
String stringExtra = intent.getStringExtra("link");
String stringExtra2 = intent.getStringExtra("eventId");
String packageName2 = getPackageName();
boolean booleanExtra = intent.getBooleanExtra("encryptionEnabled", true);
zzi zza = zzj.zzb().zza(this, packageName2, stringExtra2);
if (zza == null) {
int i6 = f + 73;
h = i6 % 128;
int i7 = i6 % 2;
zzh();
}
if (booleanExtra) {
stringExtra = zzk.zza(getApplicationContext(), FirebaseApp.getInstance(zza.zza()).getPersistenceKey()).zzb(stringExtra);
}
zzaay zzaayVar = new zzaay(zza, stringExtra);
String zze = zza.zze();
String zzb2 = zza.zzb();
zzaayVar.zzf(zze);
if ((!"com.google.firebase.auth.internal.NONGMSCORE_SIGN_IN".equals(zzb2)) && (true ^ "com.google.firebase.auth.internal.NONGMSCORE_LINK".equals(zzb2)) && !"com.google.firebase.auth.internal.NONGMSCORE_REAUTHENTICATE".equals(zzb2)) {
int i8 = h + 87;
f = i8 % 128;
if (i8 % 2 != 0) {
zzh();
return;
} else {
zzh();
obj.hashCode();
throw null;
}
}
zzb = 0L;
this.zze = false;
Intent intent2 = new Intent();
SafeParcelableSerializer.serializeToIntentExtra(zzaayVar, intent2, "com.google.firebase.auth.internal.VERIFY_ASSERTION_REQUEST");
intent2.putExtra("com.google.firebase.auth.internal.OPERATION", zzb2);
intent2.setAction("com.google.firebase.auth.ACTION_RECEIVE_FIREBASE_AUTH_INTENT");
if (C0198BcN.d(this).zE_(intent2)) {
zzc.zzd(this);
} else {
SharedPreferences.Editor edit = getApplicationContext().getSharedPreferences("com.google.firebase.auth.internal.ProcessDeathHelper", 0).edit();
edit.putString("verifyAssertionRequest", SafeParcelableSerializer.serializeToString(zzaayVar));
edit.putString("operation", zzb2);
edit.putString("tenantId", zze);
edit.putLong("timestamp", DefaultClock.getInstance().currentTimeMillis());
edit.commit();
}
finish();
}
@Override // androidx.fragment.app.FragmentActivity, androidx.activity.ComponentActivity, androidx.core.app.ComponentActivity, android.app.Activity
public void onPause() {
int i = 2 % 2;
Context baseContext = getBaseContext();
if (baseContext == null) {
Object[] objArr = new Object[1];
g(new char[]{237, 14271, 28242, 42729, 56727, 5172, 19654, 33577, 47621, 62137, 10590, 24669, 39057, 53078, 2030, 16022, 29994, 44488, 58482, 6930, 21404, 35397, 49408, 63922, 12373, 26877}, (ViewConfiguration.getLongPressTimeout() >> 16) + 14173, objArr);
Class<?> cls = Class.forName((String) objArr[0]);
Object[] objArr2 = new Object[1];
i(null, null, (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)) + 127, new byte[]{ISOFileInfo.PROP_INFO, ISOFileInfo.SECURITY_ATTR_COMPACT, ISOFileInfo.LCS_BYTE, -122, ISOFileInfo.SECURITY_ATTR_EXP, ISOFileInfo.DATA_BYTES2, ISOFileInfo.LCS_BYTE, -119, -120, -120, ISOFileInfo.FCI_EXT, -122, ISOFileInfo.PROP_INFO, -124, ISOFileInfo.FILE_IDENTIFIER, ISOFileInfo.FILE_IDENTIFIER, -126, ISOFileInfo.DATA_BYTES2}, objArr2);
baseContext = (Context) cls.getMethod((String) objArr2[0], new Class[0]).invoke(null, null);
}
if (baseContext != null) {
baseContext = baseContext.getApplicationContext();
}
if (baseContext != null) {
int i2 = h + 15;
f = i2 % 128;
try {
if (i2 % 2 == 0) {
Object obj = xzZ.y.get(125943855);
if (obj == null) {
obj = ((Class) xzZ.c((TypedValue.complexToFloat(0) > BitmapDescriptorFactory.HUE_RED ? 1 : (TypedValue.complexToFloat(0) == BitmapDescriptorFactory.HUE_RED ? 0 : -1)) + 492, (Process.getElapsedCpuTime() > 0L ? 1 : (Process.getElapsedCpuTime() == 0L ? 0 : -1)) + 4, (char) ((-1) - Process.getGidForName("")))).getMethod("a", null);
xzZ.y.put(125943855, obj);
}
Object invoke = ((Method) obj).invoke(null, null);
Object[] objArr3 = {baseContext};
Object obj2 = xzZ.y.get(1633456013);
if (obj2 == null) {
obj2 = ((Class) xzZ.c(((byte) KeyEvent.getModifierMetaStateMask()) + 488, (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)) + 5, (char) TextUtils.getOffsetAfter("", 0))).getMethod("c", Context.class);
xzZ.y.put(1633456013, obj2);
}
((Method) obj2).invoke(invoke, objArr3);
throw null;
}
Object obj3 = xzZ.y.get(125943855);
if (obj3 == null) {
obj3 = ((Class) xzZ.c((CdmaCellLocation.convertQuartSecToDecDegrees(0) > 0.0d ? 1 : (CdmaCellLocation.convertQuartSecToDecDegrees(0) == 0.0d ? 0 : -1)) + 492, 5 - (Process.myPid() >> 22), (char) ((SystemClock.uptimeMillis() > 0L ? 1 : (SystemClock.uptimeMillis() == 0L ? 0 : -1)) - 1))).getMethod("a", null);
xzZ.y.put(125943855, obj3);
}
Object invoke2 = ((Method) obj3).invoke(null, null);
Object[] objArr4 = {baseContext};
Object obj4 = xzZ.y.get(1633456013);
if (obj4 == null) {
obj4 = ((Class) xzZ.c(Color.argb(0, 0, 0, 0) + 487, 4 - ((byte) KeyEvent.getModifierMetaStateMask()), (char) (ViewConfiguration.getPressedStateDuration() >> 16))).getMethod("c", Context.class);
xzZ.y.put(1633456013, obj4);
}
((Method) obj4).invoke(invoke2, objArr4);
} catch (Throwable th) {
Throwable cause = th.getCause();
if (cause == null) {
throw th;
}
throw cause;
}
}
super.onPause();
int i3 = f + 85;
h = i3 % 128;
if (i3 % 2 != 0) {
throw null;
}
}
@Override // androidx.fragment.app.FragmentActivity, androidx.activity.ComponentActivity, androidx.core.app.ComponentActivity, android.app.Activity, android.view.ContextThemeWrapper, android.content.ContextWrapper
public void attachBaseContext(Context context) {
int i = 2 % 2;
super.attachBaseContext(context);
Object[] objArr = new Object[1];
g(new char[]{237, 16405, 33030, 49691, 831, 17462, 34082, 50787, 1883, 18512, 35076, 51777, 2922, 19560, 36205, 52880, 3983, 20632}, 16679 - AndroidCharacter.getMirror('0'), objArr);
Class<?> cls = Class.forName((String) objArr[0]);
Object[] objArr2 = new Object[1];
g(new char[]{225, 32694, 65119, 32044, 64996}, 32580 - (ViewConfiguration.getGlobalActionKeyTimeout() > 0L ? 1 : (ViewConfiguration.getGlobalActionKeyTimeout() == 0L ? 0 : -1)), objArr2);
int intValue = ((Integer) cls.getDeclaredMethod((String) objArr2[0], new Class[0]).invoke(null, new Object[0])).intValue() % 100000;
if (intValue < 99000 || intValue > 99999) {
if (context != null) {
int i2 = h + 33;
f = i2 % 128;
int i3 = i2 % 2;
context = context.getApplicationContext();
}
if (context != null) {
try {
Object obj = xzZ.y.get(125943855);
if (obj == null) {
obj = ((Class) xzZ.c((Process.myTid() >> 22) + 492, (Process.myTid() >> 22) + 5, (char) (ViewConfiguration.getKeyRepeatTimeout() >> 16))).getMethod("a", null);
xzZ.y.put(125943855, obj);
}
Object invoke = ((Method) obj).invoke(null, null);
Object[] objArr3 = new Object[1];
g(new char[]{189, 63690, 61530, 59837, 57723, 56026, 53836, 52218, 50022, 47948, 46292, 44086, 42483, 40275, 38545, 36395, 34814, 32574, 30540, 28887, 26731, 25085, 22875, 21138, 19058, 17331, 15253, 13138, 11443, 9336, 7638, 5394, 3741, 1576, 65462, 63438, 61198, 59580, 57384, 55769, 53526, 51873, 49727, 47682, 45955, 43881, 42151, 39943}, 63600 - MotionEvent.axisFromString(""), objArr3);
String str = (String) objArr3[0];
Object[] objArr4 = new Object[1];
i(null, null, 126 - MotionEvent.axisFromString(""), new byte[]{-124, ISOFileInfo.SECURITY_ATTR_EXP, ISOFileInfo.ENV_TEMP_EF, ISOFileInfo.CHANNEL_SECURITY, -105, -108, ISOFileInfo.DATA_BYTES2, -105, ISOFileInfo.ENV_TEMP_EF, -111, -105, ISOFileInfo.DATA_BYTES2, -109, -103, -105, -104, ISOFileInfo.ENV_TEMP_EF, ISOFileInfo.CHANNEL_SECURITY, -108, -111, ISOFileInfo.CHANNEL_SECURITY, ISOFileInfo.SECURITY_ATTR_EXP, ISOFileInfo.ENV_TEMP_EF, ISOFileInfo.CHANNEL_SECURITY, ISOFileInfo.ENV_TEMP_EF, ISOFileInfo.ENV_TEMP_EF, -105, -111, ISOFileInfo.SECURITY_ATTR_EXP, -111, -109, -109, -105, -106, -112, -110, ISOFileInfo.DATA_BYTES2, -106, ISOFileInfo.CHANNEL_SECURITY, -107, -113, ISOFileInfo.SECURITY_ATTR_EXP, ISOFileInfo.CHANNEL_SECURITY, ISOFileInfo.DATA_BYTES2, -110, -108, -113, ISOFileInfo.CHANNEL_SECURITY, -108, -109, ISOFileInfo.CHANNEL_SECURITY, -110, ISOFileInfo.CHANNEL_SECURITY, -110, -111, -124, -112, -113, ISOFileInfo.ENV_TEMP_EF, ISOFileInfo.CHANNEL_SECURITY, -124, ISOFileInfo.CHANNEL_SECURITY, ISOFileInfo.ENV_TEMP_EF, -124}, objArr4);
String str2 = (String) objArr4[0];
Object[] objArr5 = new Object[1];
i(null, null, 127 - (CdmaCellLocation.convertQuartSecToDecDegrees(0) > 0.0d ? 1 : (CdmaCellLocation.convertQuartSecToDecDegrees(0) == 0.0d ? 0 : -1)), new byte[]{-109, ISOFileInfo.DATA_BYTES2, -105, -111, ISOFileInfo.SECURITY_ATTR_EXP, -103, ISOFileInfo.SECURITY_ATTR_EXP, -106, -103, -106, -112, ISOFileInfo.CHANNEL_SECURITY, -105, -110, -124, ISOFileInfo.ENV_TEMP_EF, -124, ISOFileInfo.CHANNEL_SECURITY, ISOFileInfo.DATA_BYTES2, -103, -107, -111, -106, -111, -108, -108, -110, -111, -111, ISOFileInfo.SECURITY_ATTR_EXP, ISOFileInfo.ENV_TEMP_EF, -113, -104, -112, ISOFileInfo.CHANNEL_SECURITY, -105, -124, -103, -105, ISOFileInfo.DATA_BYTES2, -110, -109, -106, -108, -106, -103, ISOFileInfo.ENV_TEMP_EF, ISOFileInfo.SECURITY_ATTR_EXP, -105, -106, -113, ISOFileInfo.ENV_TEMP_EF, -124, -107, -112, -110, -124, -124, -107, ISOFileInfo.SECURITY_ATTR_EXP, -107, -106, -105, ISOFileInfo.SECURITY_ATTR_EXP}, objArr5);
String str3 = (String) objArr5[0];
Object[] objArr6 = new Object[1];
g(new char[]{228, 45723, 25662, 6101, 51571, 31577, 12017, 57366, 37863, 17822, 63283, 43680, 23627, 4068, 49547, 29484, 9945, 55405, 35353, 15804, 61265, 41727, 21612, 1544, 47530, 27468, 7852, 53385, 33328, 13769, 59251, 39184, 19608, 65068, 45515, 25462, 5396, 51437, 31321, 11756, 57237, 37157, 17622, 63070, 43513, 23454, 3367, 49363, 29305, 9297, 55225, 35162, 15613, 61148, 40975, 21433, 1357, 47272, 27275, 7219, 53215, 33150, 13061, 59045, 39011, 19417, 64824, 44874, 25253, 5205, 51195, 31127, 11040, 57028}, 45667 - View.resolveSize(0, 0), objArr6);
String str4 = (String) objArr6[0];
Object[] objArr7 = new Object[1];
g(new char[]{181, 39079, 12478, 51373, 24744}, (ViewConfiguration.getTouchSlop() >> 8) + 38917, objArr7);
String str5 = (String) objArr7[0];
Object[] objArr8 = new Object[1];
i(null, null, (KeyEvent.getMaxKeyCode() >> 16) + 127, new byte[]{-124, -108, -111, -113, -111, ISOFileInfo.DATA_BYTES2, -124, -109, ISOFileInfo.SECURITY_ATTR_EXP, -110, ISOFileInfo.DATA_BYTES2, -110, -102, ISOFileInfo.DATA_BYTES2, -124, ISOFileInfo.ENV_TEMP_EF, ISOFileInfo.SECURITY_ATTR_EXP, -102, -108, -108, -110, -113, -102, ISOFileInfo.ENV_TEMP_EF, -124, -106, ISOFileInfo.CHANNEL_SECURITY, -102, -106, -113, -112, -104, -113, -110, ISOFileInfo.SECURITY_ATTR_EXP, -124}, objArr8);
Object[] objArr9 = {context, str, str2, str3, str4, true, str5, (String) objArr8[0]};
Object obj2 = xzZ.y.get(1656189573);
if (obj2 == null) {
obj2 = ((Class) xzZ.c((ViewConfiguration.getKeyRepeatDelay() >> 16) + 487, 5 - View.MeasureSpec.getSize(0), (char) KeyEvent.normalizeMetaState(0))).getMethod("e", Context.class, String.class, String.class, String.class, String.class, Boolean.TYPE, String.class, String.class);
xzZ.y.put(1656189573, obj2);
}
((Method) obj2).invoke(invoke, objArr9);
} catch (Throwable th) {
Throwable cause = th.getCause();
if (cause == null) {
throw th;
}
throw cause;
}
}
}
int i4 = h + 25;
f = i4 % 128;
int i5 = i4 % 2;
}
static void b() {
e = -3308594115874647222L;
a = new char[]{15888, 15874, 15887, 15890, 15883, 15873, 16126, 15885, 15881, 15894, 15902, 15884, 15903, 16067, 16065, 16070, 16066, 16079, 16068, 16078, 16064, 16077, 16069, 15889, 15891, 16074};
c = 1934311101;
b = true;
d = true;
}
@Override // androidx.fragment.app.FragmentActivity, androidx.activity.ComponentActivity, androidx.core.app.ComponentActivity, android.app.Activity
public void onStart() {
int i = 2 % 2;
int i2 = h + 29;
f = i2 % 128;
int i3 = i2 % 2;
super.onStart();
int i4 = f + 35;
h = i4 % 128;
if (i4 % 2 != 0) {
int i5 = 14 / 0;
}
}
}