CrackMe.apk
Download file
package com.google.android.gms.common.config;
/* compiled from: com.google.android.gms:play-services-basement@@18.1.0 */
public abstract class GservicesValue<T> {
private static final Object zzc = new Object();
protected final String zza;
protected final Object zzb;
private Object zzd = null;
protected GservicesValue(String str, Object obj) {
this.zza = str;
this.zzb = obj;
}
public static boolean isInitialized() {
synchronized (zzc) {
}
return false;
}
public static GservicesValue<Float> value(String str, Float f) {
return new zzd(str, f);
}
public static GservicesValue<Integer> value(String str, Integer num) {
return new zzc(str, num);
}
public static GservicesValue<Long> value(String str, Long l) {
return new zzb(str, l);
}
public static GservicesValue<String> value(String str, String str2) {
return new zze(str, str2);
}
public static GservicesValue<Boolean> value(String str, boolean z) {
return new zza(str, Boolean.valueOf(z));
}
/* JADX WARNING: Code restructure failed: missing block: B:14:0x0019, code lost:
r1 = move-exception;
*/
/* JADX WARNING: Code restructure failed: missing block: B:16:?, code lost:
r1 = android.os.Binder.clearCallingIdentity();
*/
/* JADX WARNING: Code restructure failed: missing block: B:18:?, code lost:
r3 = zza(r4.zza);
*/
/* JADX WARNING: Code restructure failed: missing block: B:20:?, code lost:
android.os.Binder.restoreCallingIdentity(r1);
*/
/* JADX WARNING: Code restructure failed: missing block: B:21:0x0028, code lost:
android.os.StrictMode.setThreadPolicy(r0);
*/
/* JADX WARNING: Code restructure failed: missing block: B:22:0x002b, code lost:
return r3;
*/
/* JADX WARNING: Code restructure failed: missing block: B:23:0x002c, code lost:
r3 = move-exception;
*/
/* JADX WARNING: Code restructure failed: missing block: B:25:?, code lost:
android.os.Binder.restoreCallingIdentity(r1);
*/
/* JADX WARNING: Code restructure failed: missing block: B:26:0x0030, code lost:
throw r3;
*/
/* JADX WARNING: Code restructure failed: missing block: B:27:0x0031, code lost:
android.os.StrictMode.setThreadPolicy(r0);
*/
/* JADX WARNING: Code restructure failed: missing block: B:28:0x0034, code lost:
throw r1;
*/
/* JADX WARNING: Failed to process nested try/catch */
/* JADX WARNING: Missing exception handler attribute for start block: B:15:0x001b */
/* Code decompiled incorrectly, please refer to instructions dump. */
public final T get() {
/*
r4 = this;
java.lang.Object r0 = r4.zzd
if (r0 == 0) goto L_0x0005
return r0
L_0x0005:
android.os.StrictMode$ThreadPolicy r0 = android.os.StrictMode.allowThreadDiskReads()
java.lang.Object r1 = zzc
monitor-enter(r1)
monitor-exit(r1) // Catch:{ all -> 0x0038 }
monitor-enter(r1)
monitor-exit(r1) // Catch:{ all -> 0x0035 }
java.lang.String r1 = r4.zza // Catch:{ SecurityException -> 0x001b }
java.lang.Object r1 = r4.zza(r1) // Catch:{ SecurityException -> 0x001b }
android.os.StrictMode.setThreadPolicy(r0)
return r1
L_0x0019:
r1 = move-exception
goto L_0x0031
L_0x001b:
long r1 = android.os.Binder.clearCallingIdentity() // Catch:{ all -> 0x0019 }
java.lang.String r3 = r4.zza // Catch:{ all -> 0x002c }
java.lang.Object r3 = r4.zza(r3) // Catch:{ all -> 0x002c }
android.os.Binder.restoreCallingIdentity(r1) // Catch:{ all -> 0x0019 }
android.os.StrictMode.setThreadPolicy(r0)
return r3
L_0x002c:
r3 = move-exception
android.os.Binder.restoreCallingIdentity(r1) // Catch:{ all -> 0x0019 }
throw r3 // Catch:{ all -> 0x0019 }
L_0x0031:
android.os.StrictMode.setThreadPolicy(r0)
throw r1
L_0x0035:
r0 = move-exception
monitor-exit(r1) // Catch:{ all -> 0x0035 }
throw r0
L_0x0038:
r0 = move-exception
monitor-exit(r1) // Catch:{ all -> 0x0038 }
throw r0
*/
throw new UnsupportedOperationException("Method not decompiled: com.google.android.gms.common.config.GservicesValue.get():java.lang.Object");
}
@Deprecated
public final T getBinderSafe() {
return get();
}
/* JADX ERROR: IndexOutOfBoundsException in pass: RegionMakerVisitor
java.lang.IndexOutOfBoundsException: Index: 0, Size: 0
at java.util.ArrayList.rangeCheck(ArrayList.java:659)
at java.util.ArrayList.get(ArrayList.java:435)
at jadx.core.dex.nodes.InsnNode.getArg(InsnNode.java:101)
at jadx.core.dex.visitors.regions.RegionMaker.traverseMonitorExits(RegionMaker.java:611)
at jadx.core.dex.visitors.regions.RegionMaker.traverseMonitorExits(RegionMaker.java:619)
at jadx.core.dex.visitors.regions.RegionMaker.traverseMonitorExits(RegionMaker.java:619)
at jadx.core.dex.visitors.regions.RegionMaker.processMonitorEnter(RegionMaker.java:561)
at jadx.core.dex.visitors.regions.RegionMaker.traverse(RegionMaker.java:133)
at jadx.core.dex.visitors.regions.RegionMaker.makeRegion(RegionMaker.java:86)
at jadx.core.dex.visitors.regions.RegionMaker.processMonitorEnter(RegionMaker.java:598)
at jadx.core.dex.visitors.regions.RegionMaker.traverse(RegionMaker.java:133)
at jadx.core.dex.visitors.regions.RegionMaker.makeRegion(RegionMaker.java:86)
at jadx.core.dex.visitors.regions.RegionMakerVisitor.visit(RegionMakerVisitor.java:49)
*/
public void override(T r3) {
/*
r2 = this;
java.lang.String r0 = "GservicesValue"
java.lang.String r1 = "GservicesValue.override(): test should probably call initForTests() first"
android.util.Log.w(r0, r1)
r2.zzd = r3
java.lang.Object r3 = zzc
monitor-enter(r3)
monitor-enter(r3) // Catch:{ all -> 0x0013 }
monitor-exit(r3) // Catch:{ all -> 0x0010 }
monitor-exit(r3) // Catch:{ all -> 0x0013 }
return
L_0x0010:
r0 = move-exception
monitor-exit(r3) // Catch:{ all -> 0x0010 }
throw r0 // Catch:{ all -> 0x0013 }
L_0x0013:
r0 = move-exception
monitor-exit(r3) // Catch:{ all -> 0x0013 }
throw r0
*/
throw new UnsupportedOperationException("Method not decompiled: com.google.android.gms.common.config.GservicesValue.override(java.lang.Object):void");
}
public void resetOverride() {
this.zzd = null;
}
/* access modifiers changed from: protected */
public abstract Object zza(String str);
}
Download file