what-the-bank/sources/com/google/android/libraries/places/widget/AutocompleteActivity.java

612 lines
33 KiB
Java
Raw Normal View History

2024-07-27 18:17:47 +07:00
package com.google.android.libraries.places.widget;
import android.content.Context;
import android.content.Intent;
import android.graphics.Color;
import android.graphics.drawable.Drawable;
import android.media.AudioTrack;
import android.os.Process;
import android.os.SystemClock;
import android.text.AndroidCharacter;
import android.text.TextUtils;
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.appcompat.app.AppCompatActivity;
import com.google.android.gms.common.api.Status;
import com.google.android.gms.maps.model.BitmapDescriptorFactory;
import com.google.android.libraries.places.R;
import com.google.android.libraries.places.api.model.Place;
import com.google.android.libraries.places.internal.zzgb;
import com.google.android.libraries.places.widget.internal.ui.AutocompleteImplFragment;
import com.google.android.libraries.places.widget.listener.PlaceSelectionListener;
import com.kofax.mobile.sdk._internal.impl.extraction.kta.KtaJsonExactionHelper;
import com.pingan.ai.p;
import java.lang.reflect.Method;
import o.Nhs;
import o.dQY;
import o.xzZ;
import org.bouncycastle.crypto.tls.CipherSuite;
/* loaded from: classes2.dex */
public class AutocompleteActivity extends AppCompatActivity implements PlaceSelectionListener {
public static final int RESULT_ERROR = 2;
private int zza;
private int zzb;
private boolean zzc;
private static final byte[] $$a = {85, -17, 4, -90};
private static final int $$b = CipherSuite.TLS_RSA_WITH_CAMELLIA_128_CBC_SHA256;
private static int $10 = 0;
private static int $11 = 1;
private static int f = 0;
private static int i = 1;
private static long e = -635691863834038554L;
private static int d = 452713125;
private static char c = 55973;
private static char[] a = {48848, 50524, 18904, 52252, 20665, 36791, 62504, 30932, 64895, 24964, 58952, 27254, 61123, 21367, 55231, 23568, 49260, 17600, 51548, 19893, 45579, 13924, 47870, 16211, 41896, 10321, 44188, 4259, 38222, 6561, 40508, 658, 34489, 2880, 36819, 62514, 30850, 64741, 24957, 58839, 27259, 61063, 21266, 55072, 23448, 49188, 17640, 51523, 19820, 45511, 13915, 47796, 16216, 41782, 10226, 44036, 4269, 38225, 6546, 40439, 536, 34474, 2921, 36755, 62434, 30788, 64648, 24931, 58847, 10339, 21410, 57090, 23289, 50691, 16841, 52727, 18767, 62704, 28771, 64449, 26607, 58176, 28302, 60002, 5586, 37347, 7544, 39124, 1146, 36819, 2890, 46885, 12952, 48673, 14818, 42260, 8559, 44186, 10252, 21483, 57102, 23350, 50936, 16979, 52735, 18775, 62664, 28835, 64539, 26615, 58218, 28359, 60089, 5700, 37337, 7524, 39055, 1248, 32895, 2944, 46962, 13012, 48707, 14882, 42444, 8562, 44219, 10260, 21611, 57239, 23298, 50865, 16989};
private static long b = -2029218987337845686L;
public AutocompleteActivity() {
super(R.layout.places_autocomplete_activity);
this.zzc = false;
}
private static void j(int i2, byte b2, int i3, Object[] objArr) {
byte[] bArr = $$a;
int i4 = 115 - i2;
int i5 = i3 * 3;
int i6 = 4 - (b2 * 3);
byte[] bArr2 = new byte[1 - i5];
int i7 = 0 - i5;
int i8 = -1;
if (bArr == null) {
i6++;
i4 = (-i4) + i6;
i8 = -1;
}
while (true) {
int i9 = i8 + 1;
bArr2[i9] = (byte) i4;
if (i9 == i7) {
objArr[0] = new String(bArr2, 0);
return;
}
byte b3 = bArr[i6];
i6++;
i4 = (-b3) + i4;
i8 = i9;
}
}
private final void zzc(int i2, Place place, Status status) {
int i3 = 2 % 2;
try {
Intent intent = new Intent();
if (place != null) {
int i4 = i + 67;
f = i4 % 128;
int i5 = i4 % 2;
intent.putExtra("places/selected_place", place);
}
intent.putExtra("places/status", status);
setResult(i2, intent);
finish();
int i6 = f + 33;
i = i6 % 128;
int i7 = i6 % 2;
} catch (Error | RuntimeException e2) {
zzgb.zzb(e2);
throw e2;
}
}
@Override // com.google.android.libraries.places.widget.listener.PlaceSelectionListener
public void onError(Status status) {
int i2 = 2 % 2;
int i3 = f + 15;
i = i3 % 128;
int i4 = i3 % 2;
zzc(true != status.isCanceled() ? 2 : 0, null, status);
int i5 = i + 65;
f = i5 % 128;
if (i5 % 2 != 0) {
throw null;
}
}
@Override // com.google.android.libraries.places.widget.listener.PlaceSelectionListener
public void onPlaceSelected(Place place) {
int i2 = 2 % 2;
int i3 = i + 21;
f = i3 % 128;
int i4 = i3 % 2;
zzc(-1, place, Status.RESULT_SUCCESS);
int i5 = f + 121;
i = i5 % 128;
if (i5 % 2 != 0) {
return;
}
Object obj = null;
obj.hashCode();
throw null;
}
/* JADX INFO: Access modifiers changed from: package-private */
public final /* synthetic */ void zza(View view) {
int i2 = 2 % 2;
int i3 = i + 53;
f = i3 % 128;
if (i3 % 2 != 0) {
int i4 = 53 / 0;
if (!this.zzc) {
return;
}
} else if (!this.zzc) {
return;
}
zzc(0, null, new Status(16));
int i5 = i + 47;
f = i5 % 128;
int i6 = i5 % 2;
}
/* JADX INFO: Access modifiers changed from: package-private */
public final /* synthetic */ boolean zzb(AutocompleteImplFragment autocompleteImplFragment, View view, View view2, MotionEvent motionEvent) {
int i2 = 2 % 2;
this.zzc = false;
if (autocompleteImplFragment.getView() == null) {
int i3 = f + 69;
i = i3 % 128;
int i4 = i3 % 2;
return false;
}
if (motionEvent.getY() <= r2.getBottom()) {
return false;
}
this.zzc = true;
view.performClick();
int i5 = i + 77;
f = i5 % 128;
int i6 = i5 % 2;
return true;
}
private static void h(int i2, int i3, char c2, Object[] objArr) {
int i4 = 2;
int i5 = 2 % 2;
dQY dqy = new dQY();
long[] jArr = new long[i3];
dqy.a = 0;
while (dqy.a < i3) {
int i6 = $10 + 33;
$11 = i6 % 128;
if (i6 % i4 == 0) {
int i7 = dqy.a;
try {
Object[] objArr2 = {Integer.valueOf(a[i2 >> dqy.a])};
Object obj = xzZ.y.get(1095064095);
if (obj == null) {
Class cls = (Class) xzZ.c(TextUtils.getTrimmedLength("") + 308, (ViewConfiguration.getDoubleTapTimeout() >> 16) + 5, (char) (TextUtils.lastIndexOf("", '0', 0) + 32798));
byte b2 = (byte) 0;
Object[] objArr3 = new Object[1];
j((byte) (-$$a[1]), b2, b2, objArr3);
obj = cls.getMethod((String) objArr3[0], Integer.TYPE);
xzZ.y.put(1095064095, obj);
}
try {
Object[] objArr4 = {Long.valueOf(((Long) ((Method) obj).invoke(null, objArr2)).longValue()), Long.valueOf(dqy.a), Long.valueOf(b), Integer.valueOf(c2)};
Object obj2 = xzZ.y.get(-548438098);
if (obj2 == null) {
Class cls2 = (Class) xzZ.c(412 - Color.blue(0), 5 - TextUtils.indexOf("", ""), (char) Color.argb(0, 0, 0, 0));
byte b3 = (byte) 0;
Object[] objArr5 = new Object[1];
j((byte) ($$b & 84), b3, b3, objArr5);
obj2 = cls2.getMethod((String) objArr5[0], Long.TYPE, Long.TYPE, Long.TYPE, Integer.TYPE);
xzZ.y.put(-548438098, obj2);
}
jArr[i7] = ((Long) ((Method) obj2).invoke(null, objArr4)).longValue();
try {
Object[] objArr6 = {dqy, dqy};
Object obj3 = xzZ.y.get(1071125919);
if (obj3 == null) {
Class cls3 = (Class) xzZ.c(407 - (ViewConfiguration.getScrollDefaultDelay() >> 16), 5 - (Process.myTid() >> 22), (char) (Gravity.getAbsoluteGravity(0, 0) + 29234));
byte b4 = (byte) 0;
Object[] objArr7 = new Object[1];
j((byte) 9, b4, b4, objArr7);
obj3 = cls3.getMethod((String) objArr7[0], Object.class, Object.class);
xzZ.y.put(1071125919, obj3);
}
((Method) obj3).invoke(null, objArr6);
} catch (Throwable th) {
Throwable cause = th.getCause();
if (cause == null) {
throw th;
}
throw cause;
}
} catch (Throwable th2) {
Throwable cause2 = th2.getCause();
if (cause2 == null) {
throw th2;
}
throw cause2;
}
} catch (Throwable th3) {
Throwable cause3 = th3.getCause();
if (cause3 == null) {
throw th3;
}
throw cause3;
}
} else {
int i8 = dqy.a;
try {
Object[] objArr8 = {Integer.valueOf(a[i2 + dqy.a])};
Object obj4 = xzZ.y.get(1095064095);
if (obj4 == null) {
Class cls4 = (Class) xzZ.c((SystemClock.elapsedRealtimeNanos() > 0L ? 1 : (SystemClock.elapsedRealtimeNanos() == 0L ? 0 : -1)) + 307, TextUtils.indexOf("", "", 0, 0) + 5, (char) (32796 - TextUtils.lastIndexOf("", '0', 0)));
byte b5 = (byte) 0;
Object[] objArr9 = new Object[1];
j((byte) (-$$a[1]), b5, b5, objArr9);
obj4 = cls4.getMethod((String) objArr9[0], Integer.TYPE);
xzZ.y.put(1095064095, obj4);
}
Object[] objArr10 = {Long.valueOf(((Long) ((Method) obj4).invoke(null, objArr8)).longValue()), Long.valueOf(dqy.a), Long.valueOf(b), Integer.valueOf(c2)};
Object obj5 = xzZ.y.get(-548438098);
if (obj5 == null) {
Class cls5 = (Class) xzZ.c((ViewConfiguration.getScrollBarFadeDuration() >> 16) + 412, 4 - TextUtils.lastIndexOf("", '0', 0), (char) ((-1) - TextUtils.lastIndexOf("", '0', 0, 0)));
byte b6 = (byte) 0;
Object[] objArr11 = new Object[1];
j((byte) ($$b & 84), b6, b6, objArr11);
obj5 = cls5.getMethod((String) objArr11[0], Long.TYPE, Long.TYPE, Long.TYPE, Integer.TYPE);
xzZ.y.put(-548438098, obj5);
}
jArr[i8] = ((Long) ((Method) obj5).invoke(null, objArr10)).longValue();
Object[] objArr12 = {dqy, dqy};
Object obj6 = xzZ.y.get(1071125919);
if (obj6 == null) {
Class cls6 = (Class) xzZ.c(ExpandableListView.getPackedPositionGroup(0L) + 407, 5 - (ViewConfiguration.getKeyRepeatTimeout() >> 16), (char) (29234 - Color.alpha(0)));
byte b7 = (byte) 0;
Object[] objArr13 = new Object[1];
j((byte) 9, b7, b7, objArr13);
obj6 = cls6.getMethod((String) objArr13[0], Object.class, Object.class);
xzZ.y.put(1071125919, obj6);
}
((Method) obj6).invoke(null, objArr12);
} catch (Throwable th4) {
Throwable cause4 = th4.getCause();
if (cause4 == null) {
throw th4;
}
throw cause4;
}
}
int i9 = $11 + 81;
$10 = i9 % 128;
int i10 = i9 % 2;
i4 = 2;
}
char[] cArr = new char[i3];
dqy.a = 0;
while (dqy.a < i3) {
cArr[dqy.a] = (char) jArr[dqy.a];
Object[] objArr14 = {dqy, dqy};
Object obj7 = xzZ.y.get(1071125919);
if (obj7 == null) {
Class cls7 = (Class) xzZ.c((ViewConfiguration.getFadingEdgeLength() >> 16) + 407, (ViewConfiguration.getTouchSlop() >> 8) + 5, (char) (29234 - TextUtils.indexOf("", "", 0)));
byte b8 = (byte) 0;
Object[] objArr15 = new Object[1];
j((byte) 9, b8, b8, objArr15);
obj7 = cls7.getMethod((String) objArr15[0], Object.class, Object.class);
xzZ.y.put(1071125919, obj7);
}
((Method) obj7).invoke(null, objArr14);
}
objArr[0] = new String(cArr);
}
/* JADX WARN: Code restructure failed: missing block: B:4:0x00f9, code lost:
if (r7 > 99999) goto L6;
*/
@Override // androidx.appcompat.app.AppCompatActivity, 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 void onCreate(android.os.Bundle r23) {
/*
Method dump skipped, instructions count: 1754
To view this dump add '--comments-level debug' option
*/
throw new UnsupportedOperationException("Method not decompiled: com.google.android.libraries.places.widget.AutocompleteActivity.onCreate(android.os.Bundle):void");
}
@Override // androidx.appcompat.app.AppCompatActivity, androidx.fragment.app.FragmentActivity, androidx.activity.ComponentActivity, androidx.core.app.ComponentActivity, android.app.Activity
public void onResume() {
int i2 = 2 % 2;
int i3 = f + 113;
i = i3 % 128;
if (i3 % 2 == 0) {
getBaseContext();
throw null;
}
Context baseContext = getBaseContext();
if (baseContext == null) {
Object[] objArr = new Object[1];
g((char) (((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getPackageName().length() + 59183), new char[]{49829, 46173, 52481, 58326, 31816, 31264, 13548, 18578, 24814, 18640, 20412, 44687, 44136, 62006, 32703, 61752, 52190, 34070, 29684, 7593, 10544, 11177, 64182, 13541, 51509, 43885}, new char[]{44017, 1639, 15459, 31463}, new char[]{13379, 14187, 20538, 35510}, ((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getPackageName().length() - 13, objArr);
Class<?> cls = Class.forName((String) objArr[0]);
Object[] objArr2 = new Object[1];
g((char) (((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getApplicationInfo().targetSdkVersion + 53880), new char[]{49140, 44026, 22828, 5727, 21292, 39091, 37708, 32244, 33970, 25915, 15649, 34467, 19953, 41925, 5859, 49833, 19957, 46305}, new char[]{18012, 22577, 39538, 23250}, new char[]{13379, 14187, 20538, 35510}, ExpandableListView.getPackedPositionChild(0L) + 1, objArr2);
baseContext = (Context) cls.getMethod((String) objArr2[0], new Class[0]).invoke(null, null);
}
if (baseContext != null) {
baseContext = baseContext.getApplicationContext();
}
if (baseContext != null) {
int i4 = f + 87;
i = i4 % 128;
try {
if (i4 % 2 == 0) {
Object obj = xzZ.y.get(125943855);
if (obj == null) {
obj = ((Class) xzZ.c(TextUtils.lastIndexOf("", '0', 0, 0) + 493, 5 - TextUtils.indexOf("", "", 0, 0), (char) (AudioTrack.getMinVolume() > BitmapDescriptorFactory.HUE_RED ? 1 : (AudioTrack.getMinVolume() == BitmapDescriptorFactory.HUE_RED ? 0 : -1)))).getMethod("a", null);
xzZ.y.put(125943855, obj);
}
Object invoke = ((Method) obj).invoke(null, null);
Object[] objArr3 = {baseContext};
Object obj2 = xzZ.y.get(1378719468);
if (obj2 == null) {
obj2 = ((Class) xzZ.c(487 - (ExpandableListView.getPackedPositionForGroup(0) > 0L ? 1 : (ExpandableListView.getPackedPositionForGroup(0) == 0L ? 0 : -1)), 5 - (ViewConfiguration.getFadingEdgeLength() >> 16), (char) View.MeasureSpec.makeMeasureSpec(0, 0))).getMethod(KtaJsonExactionHelper.OBJECT, Context.class);
xzZ.y.put(1378719468, obj2);
}
((Method) obj2).invoke(invoke, objArr3);
throw null;
}
Object obj3 = xzZ.y.get(125943855);
if (obj3 == null) {
obj3 = ((Class) xzZ.c(491 - TextUtils.indexOf((CharSequence) "", '0', 0, 0), 4 - MotionEvent.axisFromString(""), (char) View.MeasureSpec.getMode(0))).getMethod("a", null);
xzZ.y.put(125943855, obj3);
}
Object invoke2 = ((Method) obj3).invoke(null, null);
Object[] objArr4 = {baseContext};
Object obj4 = xzZ.y.get(1378719468);
if (obj4 == null) {
obj4 = ((Class) xzZ.c((ViewConfiguration.getScrollDefaultDelay() >> 16) + 487, (SystemClock.uptimeMillis() > 0L ? 1 : (SystemClock.uptimeMillis() == 0L ? 0 : -1)) + 4, (char) TextUtils.indexOf("", "", 0))).getMethod(KtaJsonExactionHelper.OBJECT, Context.class);
xzZ.y.put(1378719468, obj4);
}
((Method) obj4).invoke(invoke2, objArr4);
} catch (Throwable th) {
Throwable cause = th.getCause();
if (cause == null) {
throw th;
}
throw cause;
}
}
super.onResume();
}
private static void g(char c2, char[] cArr, char[] cArr2, char[] cArr3, int i2, Object[] objArr) {
int i3;
int i4 = 2;
int i5 = 2 % 2;
Nhs nhs = new Nhs();
int length = cArr2.length;
char[] cArr4 = new char[length];
int length2 = cArr3.length;
char[] cArr5 = new char[length2];
int i6 = 0;
System.arraycopy(cArr2, 0, cArr4, 0, length);
System.arraycopy(cArr3, 0, cArr5, 0, length2);
cArr4[0] = (char) (cArr4[0] ^ c2);
cArr5[2] = (char) (cArr5[2] + ((char) i2));
int length3 = cArr.length;
char[] cArr6 = new char[length3];
nhs.a = 0;
int i7 = $10 + 73;
$11 = i7 % 128;
if (i7 % 2 == 0) {
int i8 = 3 / 5;
}
while (nhs.a < length3) {
int i9 = $10 + 101;
$11 = i9 % 128;
int i10 = i9 % i4;
try {
Object[] objArr2 = {nhs};
Object obj = xzZ.y.get(263693715);
if (obj == null) {
Class cls = (Class) xzZ.c((Process.myTid() >> 22) + 45, Gravity.getAbsoluteGravity(i6, i6) + 5, (char) (1 - (ViewConfiguration.getScrollFriction() > BitmapDescriptorFactory.HUE_RED ? 1 : (ViewConfiguration.getScrollFriction() == BitmapDescriptorFactory.HUE_RED ? 0 : -1))));
Class<?>[] clsArr = new Class[1];
clsArr[i6] = Object.class;
obj = cls.getMethod("t", clsArr);
xzZ.y.put(263693715, obj);
}
int intValue = ((Integer) ((Method) obj).invoke(null, objArr2)).intValue();
Object[] objArr3 = {nhs};
Object obj2 = xzZ.y.get(-484664112);
if (obj2 == null) {
Class cls2 = (Class) xzZ.c((ViewConfiguration.getTouchSlop() >> 8) + 352, AndroidCharacter.getMirror('0') - '+', (char) ((ViewConfiguration.getScrollDefaultDelay() >> 16) + 52128));
byte b2 = (byte) i6;
byte b3 = b2;
Object[] objArr4 = new Object[1];
j(b2, b3, b3, objArr4);
String str = (String) objArr4[i6];
Class<?>[] clsArr2 = new Class[1];
clsArr2[i6] = Object.class;
obj2 = cls2.getMethod(str, clsArr2);
xzZ.y.put(-484664112, obj2);
}
int intValue2 = ((Integer) ((Method) obj2).invoke(null, objArr3)).intValue();
int i11 = cArr4[nhs.a % 4] * 32718;
Object[] objArr5 = new Object[3];
objArr5[2] = Integer.valueOf(cArr5[intValue]);
objArr5[1] = Integer.valueOf(i11);
objArr5[i6] = nhs;
Object obj3 = xzZ.y.get(430099516);
if (obj3 == null) {
Class cls3 = (Class) xzZ.c((SystemClock.elapsedRealtimeNanos() > 0L ? 1 : (SystemClock.elapsedRealtimeNanos() == 0L ? 0 : -1)) + 747, ExpandableListView.getPackedPositionGroup(0L) + 5, (char) TextUtils.getOffsetBefore("", i6));
Class<?>[] clsArr3 = new Class[3];
clsArr3[i6] = Object.class;
clsArr3[1] = Integer.TYPE;
clsArr3[2] = Integer.TYPE;
obj3 = cls3.getMethod(p.a, clsArr3);
xzZ.y.put(430099516, obj3);
}
((Method) obj3).invoke(null, objArr5);
int i12 = cArr4[intValue2] * 32718;
Object[] objArr6 = new Object[2];
objArr6[1] = Integer.valueOf(cArr5[intValue]);
objArr6[i6] = Integer.valueOf(i12);
Object obj4 = xzZ.y.get(1019894806);
if (obj4 != null) {
i3 = 2;
} else {
Class cls4 = (Class) xzZ.c(402 - TextUtils.indexOf("", ""), 5 - KeyEvent.getDeadChar(i6, i6), (char) ((ViewConfiguration.getLongPressTimeout() >> 16) + 21608));
byte b4 = (byte) 1;
byte b5 = (byte) (b4 - 1);
Object[] objArr7 = new Object[1];
j(b4, b5, b5, objArr7);
String str2 = (String) objArr7[i6];
i3 = 2;
Class<?>[] clsArr4 = new Class[2];
clsArr4[i6] = Integer.TYPE;
clsArr4[1] = Integer.TYPE;
obj4 = cls4.getMethod(str2, clsArr4);
xzZ.y.put(1019894806, obj4);
}
cArr5[intValue2] = ((Character) ((Method) obj4).invoke(null, objArr6)).charValue();
cArr4[intValue2] = nhs.c;
cArr6[nhs.a] = (char) ((((int) (d ^ 9051040786702654117L)) ^ ((cArr4[intValue2] ^ cArr[nhs.a]) ^ (e ^ 9051040786702654117L))) ^ ((char) (c ^ 9051040786702654117L)));
nhs.a++;
i4 = i3;
i6 = 0;
} catch (Throwable th) {
Throwable cause = th.getCause();
if (cause == null) {
throw th;
}
throw cause;
}
}
objArr[0] = new String(cArr6);
}
/* JADX WARN: Code restructure failed: missing block: B:28:0x0025, code lost:
r8 = (java.lang.Object[]) null;
r8 = new java.lang.Object[1];
g((char) (((android.content.Context) java.lang.Class.forName("android.app.ActivityThread").getMethod("currentApplication", new java.lang.Class[0]).invoke(null, null)).getApplicationContext().getApplicationInfo().targetSdkVersion + 59162), new char[]{49829, 46173, 52481, 58326, 31816, 31264, 13548, 18578, 24814, 18640, 20412, 44687, 44136, 62006, 32703, 61752, 52190, 34070, 29684, 7593, 10544, 11177, 64182, 13541, 51509, 43885}, new char[]{44017, 1639, 15459, 31463}, new char[]{13379, 14187, 20538, 35510}, ((android.content.Context) java.lang.Class.forName("android.app.ActivityThread").getMethod("currentApplication", new java.lang.Class[0]).invoke(null, null)).getApplicationContext().getApplicationInfo().targetSdkVersion - 34, r8);
r8 = java.lang.Class.forName((java.lang.String) r8[0]);
r1 = new java.lang.Object[1];
g((char) (((android.content.Context) java.lang.Class.forName("android.app.ActivityThread").getMethod("currentApplication", new java.lang.Class[0]).invoke(null, null)).getApplicationContext().getApplicationInfo().targetSdkVersion + 53880), new char[]{49140, 44026, 22828, 5727, 21292, 39091, 37708, 32244, 33970, 25915, 15649, 34467, 19953, 41925, 5859, 49833, 19957, 46305}, new char[]{18012, 22577, 39538, 23250}, new char[]{13379, 14187, 20538, 35510}, (-1) - android.text.TextUtils.indexOf((java.lang.CharSequence) "", '0', 0), r1);
r1 = (android.content.Context) r8.getMethod((java.lang.String) r1[0], new java.lang.Class[0]).invoke(null, null);
*/
/* JADX WARN: Code restructure failed: missing block: B:30:0x0023, code lost:
if (r1 == null) goto L9;
*/
/* JADX WARN: Code restructure failed: missing block: B:4:0x001c, code lost:
if (r1 == null) goto L9;
*/
@Override // androidx.appcompat.app.AppCompatActivity, 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 void onPause() {
/*
Method dump skipped, instructions count: 468
To view this dump add '--comments-level debug' option
*/
throw new UnsupportedOperationException("Method not decompiled: com.google.android.libraries.places.widget.AutocompleteActivity.onPause():void");
}
@Override // androidx.appcompat.app.AppCompatActivity, 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) {
Context context2;
int i2 = 2 % 2;
super.attachBaseContext(context);
Object[] objArr = new Object[1];
g((char) (4012 - ExpandableListView.getPackedPositionGroup(0L)), new char[]{18040, 27724, 50350, 11552, 35586, 577, 59255, 46305, 13029, 46945, 29805, 44467, 28635, 38778, 47393, 28164, 33601, 24102}, new char[]{36662, 27462, 44102, 11535}, new char[]{13379, 14187, 20538, 35510}, (-1) - TextUtils.lastIndexOf("", '0'), objArr);
Class<?> cls = Class.forName((String) objArr[0]);
Object[] objArr2 = new Object[1];
h(ViewConfiguration.getDoubleTapTimeout() >> 16, ExpandableListView.getPackedPositionChild(0L) + 6, (char) ((ViewConfiguration.getKeyRepeatDelay() >> 16) + 12655), 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 i3 = i + 11;
f = i3 % 128;
if (i3 % 2 != 0) {
context2 = context.getApplicationContext();
int i4 = 81 / 0;
} else {
context2 = context.getApplicationContext();
}
} else {
context2 = context;
}
if (context2 != null) {
int i5 = i + 5;
f = i5 % 128;
int i6 = i5 % 2;
try {
Object obj = xzZ.y.get(125943855);
if (obj == null) {
obj = ((Class) xzZ.c(491 - TextUtils.lastIndexOf("", '0'), 5 - KeyEvent.getDeadChar(0, 0), (char) View.MeasureSpec.getSize(0))).getMethod("a", null);
xzZ.y.put(125943855, obj);
}
Object invoke = ((Method) obj).invoke(null, null);
Object[] objArr3 = new Object[1];
g((char) (ViewConfiguration.getKeyRepeatTimeout() >> 16), new char[]{51529, 40918, 38281, 37733, 49939, 8080, 51660, 53033, 54481, 54968, 16014, 13330, 37078, 64474, 21405, 6975, 31943, 36283, 28759, 12064, 40644, 49802, 42625, 5229, 65449, 20205, 62198, 55565, 28585, 51052, 58778, 1095, 16877, 11017, 37736, 7699, 46297, 22605, 27086, 22199, 43539, 41707, 4726, 47781, 9681, 51139, 6511, 11926}, new char[]{48753, 15572, 20175, 56751}, new char[]{13379, 14187, 20538, 35510}, AndroidCharacter.getMirror('0') - '0', objArr3);
String str = (String) objArr3[0];
Object[] objArr4 = new Object[1];
h(5 - (ViewConfiguration.getFadingEdgeLength() >> 16), 64 - Color.red(0), (char) (ViewConfiguration.getDoubleTapTimeout() >> 16), objArr4);
String str2 = (String) objArr4[0];
Object[] objArr5 = new Object[1];
h(TextUtils.indexOf("", "", 0, 0) + 69, 64 - View.MeasureSpec.getMode(0), (char) (42961 - (SystemClock.uptimeMillis() > 0L ? 1 : (SystemClock.uptimeMillis() == 0L ? 0 : -1))), objArr5);
String str3 = (String) objArr5[0];
Object[] objArr6 = new Object[1];
g((char) (ViewConfiguration.getLongPressTimeout() >> 16), new char[]{5662, 27412, 31874, 3777, 24630, 46719, 64964, 53630, 52506, 8165, 49632, 752, 19950, 49950, 19913, 55658, 31535, 7868, 44725, 16549, 34826, 63400, 16288, 57193, 57181, 36947, 22045, 19295, 5051, 22782, 39759, 48871, 33096, 40176, 54589, 35664, 38104, 26271, 26422, 58936, 24978, 29820, 49068, 41936, 19932, 39805, 62990, 34364, 53897, 34138, 24061, 29121, 41137, 20151, 26426, 50125, 54610, 3218, 32163, 42161, 17027, 36002, 4638, 34659, 44772, 60794, 39756, 1481, 57520, 56973, 26410, 2174, 33328, 28431}, new char[]{238, 45237, 29415, 5267}, new char[]{13379, 14187, 20538, 35510}, KeyEvent.getDeadChar(0, 0), objArr6);
String str4 = (String) objArr6[0];
Object[] objArr7 = new Object[1];
g((char) ((ViewConfiguration.getMaximumDrawingCacheSize() >> 24) + 21000), new char[]{31709, 23675, 59438, 29138, 53328}, new char[]{25152, 22869, 2295, 23634}, new char[]{13379, 14187, 20538, 35510}, (SystemClock.currentThreadTimeMillis() > (-1L) ? 1 : (SystemClock.currentThreadTimeMillis() == (-1L) ? 0 : -1)) - 145140383, objArr7);
String str5 = (String) objArr7[0];
Object[] objArr8 = new Object[1];
g((char) Drawable.resolveOpacity(0, 0), new char[]{2992, 6394, 42294, 12352, 26653, 48157, 61896, 18253, 5755, 17667, 53238, 32645, 32003, 56053, 11493, 27904, 46830, 20529, 40922, 65314, 32190, 14819, 50502, 44293, 4046, 17273, 59617, 24360, 36031, 17399, 48433, 1743, 48664, 28459, 55667, 52218}, new char[]{23255, 40902, 4117, 9102}, new char[]{13379, 14187, 20538, 35510}, KeyEvent.getDeadChar(0, 0), objArr8);
Object[] objArr9 = {context2, str, str2, str3, str4, true, str5, (String) objArr8[0]};
Object obj2 = xzZ.y.get(1656189573);
if (obj2 == null) {
obj2 = ((Class) xzZ.c((ViewConfiguration.getMaximumFlingVelocity() >> 16) + 487, TextUtils.indexOf("", "", 0, 0) + 5, (char) (ViewConfiguration.getTouchSlop() >> 8))).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;
}
}
}
}
@Override // androidx.appcompat.app.AppCompatActivity, androidx.fragment.app.FragmentActivity, androidx.activity.ComponentActivity, androidx.core.app.ComponentActivity, android.app.Activity
public void onStart() {
int i2 = 2 % 2;
int i3 = i + 63;
f = i3 % 128;
int i4 = i3 % 2;
super.onStart();
int i5 = f + 89;
i = i5 % 128;
int i6 = i5 % 2;
}
}