- Added realracing3-community.apk (71.57 MB) - Removed 32-bit support (armeabi-v7a) - Only includes arm64-v8a libraries - Decompiled source code included - Added README-community.md with analysis
133 lines
6.9 KiB
Java
133 lines
6.9 KiB
Java
package com.google.android.gms.internal.ads;
|
|
|
|
import android.media.MediaCodecInfo;
|
|
import androidx.annotation.RequiresApi;
|
|
import java.util.List;
|
|
|
|
@RequiresApi(29)
|
|
/* loaded from: classes3.dex */
|
|
final class zzsh {
|
|
/* JADX WARN: Removed duplicated region for block: B:14:0x004e A[RETURN] */
|
|
/*
|
|
Code decompiled incorrectly, please refer to instructions dump.
|
|
To view partially-correct add '--show-bad-code' argument
|
|
*/
|
|
public static int zza(android.media.MediaCodecInfo.VideoCapabilities r2, int r3, int r4, double r5) {
|
|
/*
|
|
java.util.List r2 = com.google.android.gms.internal.ads.zzsh$$ExternalSyntheticApiModelOutline2.m(r2)
|
|
r0 = 0
|
|
if (r2 == 0) goto L50
|
|
boolean r1 = r2.isEmpty()
|
|
if (r1 == 0) goto Le
|
|
goto L50
|
|
Le:
|
|
int r5 = (int) r5
|
|
android.media.MediaCodecInfo$VideoCapabilities$PerformancePoint r3 = com.google.android.gms.internal.ads.zzsh$$ExternalSyntheticApiModelOutline3.m(r3, r4, r5)
|
|
int r2 = zzc(r2, r3)
|
|
r3 = 1
|
|
if (r2 != r3) goto L4f
|
|
java.lang.Boolean r4 = com.google.android.gms.internal.ads.zzsi.zzb()
|
|
if (r4 != 0) goto L4f
|
|
int r4 = com.google.android.gms.internal.ads.zzei.zza
|
|
r5 = 35
|
|
if (r4 < r5) goto L28
|
|
L26:
|
|
r3 = r0
|
|
goto L3d
|
|
L28:
|
|
int r4 = zzb(r0)
|
|
int r5 = zzb(r3)
|
|
if (r4 != 0) goto L33
|
|
goto L3d
|
|
L33:
|
|
r6 = 2
|
|
if (r5 != 0) goto L39
|
|
if (r4 == r6) goto L26
|
|
goto L3d
|
|
L39:
|
|
if (r4 != r6) goto L3d
|
|
if (r5 == r6) goto L26
|
|
L3d:
|
|
java.lang.Boolean r3 = java.lang.Boolean.valueOf(r3)
|
|
com.google.android.gms.internal.ads.zzsi.zzc(r3)
|
|
java.lang.Boolean r3 = com.google.android.gms.internal.ads.zzsi.zzb()
|
|
boolean r3 = r3.booleanValue()
|
|
if (r3 == 0) goto L4f
|
|
return r0
|
|
L4f:
|
|
return r2
|
|
L50:
|
|
return r0
|
|
*/
|
|
throw new UnsupportedOperationException("Method not decompiled: com.google.android.gms.internal.ads.zzsh.zza(android.media.MediaCodecInfo$VideoCapabilities, int, int, double):int");
|
|
}
|
|
|
|
/* JADX WARN: Code restructure failed: missing block: B:12:0x0038, code lost:
|
|
|
|
r2 = ((com.google.android.gms.internal.ads.zzsg) r4.get(r1)).zzd.getVideoCapabilities().getSupportedPerformancePoints();
|
|
*/
|
|
/*
|
|
Code decompiled incorrectly, please refer to instructions dump.
|
|
To view partially-correct add '--show-bad-code' argument
|
|
*/
|
|
private static int zzb(boolean r4) {
|
|
/*
|
|
r0 = 0
|
|
com.google.android.gms.internal.ads.zzz r1 = new com.google.android.gms.internal.ads.zzz // Catch: com.google.android.gms.internal.ads.zzsu -> L65
|
|
r1.<init>() // Catch: com.google.android.gms.internal.ads.zzsu -> L65
|
|
java.lang.String r2 = "video/avc"
|
|
r1.zzaa(r2) // Catch: com.google.android.gms.internal.ads.zzsu -> L65
|
|
com.google.android.gms.internal.ads.zzab r1 = r1.zzag() // Catch: com.google.android.gms.internal.ads.zzsu -> L65
|
|
java.lang.String r2 = r1.zzo // Catch: com.google.android.gms.internal.ads.zzsu -> L65
|
|
if (r2 == 0) goto L65
|
|
com.google.android.gms.internal.ads.zzsp r2 = com.google.android.gms.internal.ads.zzsp.zza // Catch: com.google.android.gms.internal.ads.zzsu -> L65
|
|
java.util.List r4 = com.google.android.gms.internal.ads.zzta.zze(r2, r1, r4, r0) // Catch: com.google.android.gms.internal.ads.zzsu -> L65
|
|
r1 = r0
|
|
L1a:
|
|
int r2 = r4.size() // Catch: com.google.android.gms.internal.ads.zzsu -> L65
|
|
if (r1 >= r2) goto L65
|
|
java.lang.Object r2 = r4.get(r1) // Catch: com.google.android.gms.internal.ads.zzsu -> L65
|
|
com.google.android.gms.internal.ads.zzsg r2 = (com.google.android.gms.internal.ads.zzsg) r2 // Catch: com.google.android.gms.internal.ads.zzsu -> L65
|
|
android.media.MediaCodecInfo$CodecCapabilities r2 = r2.zzd // Catch: com.google.android.gms.internal.ads.zzsu -> L65
|
|
if (r2 == 0) goto L62
|
|
java.lang.Object r2 = r4.get(r1) // Catch: com.google.android.gms.internal.ads.zzsu -> L65
|
|
com.google.android.gms.internal.ads.zzsg r2 = (com.google.android.gms.internal.ads.zzsg) r2 // Catch: com.google.android.gms.internal.ads.zzsu -> L65
|
|
android.media.MediaCodecInfo$CodecCapabilities r2 = r2.zzd // Catch: com.google.android.gms.internal.ads.zzsu -> L65
|
|
android.media.MediaCodecInfo$VideoCapabilities r2 = r2.getVideoCapabilities() // Catch: com.google.android.gms.internal.ads.zzsu -> L65
|
|
if (r2 == 0) goto L62
|
|
java.lang.Object r2 = r4.get(r1) // Catch: com.google.android.gms.internal.ads.zzsu -> L65
|
|
com.google.android.gms.internal.ads.zzsg r2 = (com.google.android.gms.internal.ads.zzsg) r2 // Catch: com.google.android.gms.internal.ads.zzsu -> L65
|
|
android.media.MediaCodecInfo$CodecCapabilities r2 = r2.zzd // Catch: com.google.android.gms.internal.ads.zzsu -> L65
|
|
android.media.MediaCodecInfo$VideoCapabilities r2 = r2.getVideoCapabilities() // Catch: com.google.android.gms.internal.ads.zzsu -> L65
|
|
java.util.List r2 = com.google.android.gms.internal.ads.zzsh$$ExternalSyntheticApiModelOutline2.m(r2) // Catch: com.google.android.gms.internal.ads.zzsu -> L65
|
|
if (r2 == 0) goto L62
|
|
boolean r3 = r2.isEmpty() // Catch: com.google.android.gms.internal.ads.zzsu -> L65
|
|
if (r3 != 0) goto L62
|
|
com.google.android.gms.internal.ads.zzsh$$ExternalSyntheticApiModelOutline4.m() // Catch: com.google.android.gms.internal.ads.zzsu -> L65
|
|
r4 = 720(0x2d0, float:1.009E-42)
|
|
r1 = 60
|
|
r3 = 1280(0x500, float:1.794E-42)
|
|
android.media.MediaCodecInfo$VideoCapabilities$PerformancePoint r4 = com.google.android.gms.internal.ads.zzsh$$ExternalSyntheticApiModelOutline3.m(r3, r4, r1) // Catch: com.google.android.gms.internal.ads.zzsu -> L65
|
|
int r4 = zzc(r2, r4) // Catch: com.google.android.gms.internal.ads.zzsu -> L65
|
|
return r4
|
|
L62:
|
|
int r1 = r1 + 1
|
|
goto L1a
|
|
L65:
|
|
return r0
|
|
*/
|
|
throw new UnsupportedOperationException("Method not decompiled: com.google.android.gms.internal.ads.zzsh.zzb(boolean):int");
|
|
}
|
|
|
|
private static int zzc(List list, MediaCodecInfo.VideoCapabilities.PerformancePoint performancePoint) {
|
|
boolean covers;
|
|
for (int i = 0; i < list.size(); i++) {
|
|
covers = zzsh$$ExternalSyntheticApiModelOutline0.m(list.get(i)).covers(performancePoint);
|
|
if (covers) {
|
|
return 2;
|
|
}
|
|
}
|
|
return 1;
|
|
}
|
|
}
|