- Imported from https://github.com/supermegamestre/Project-Real-Resurrection-3 - APKTool decompilation (Smali bytecode) for modding and rebuilding APK - Supports both 32-bit (armeabi-v7a) and 64-bit (arm64-v8a) architectures - Includes full Smali source, resources, and native libraries - Ready to rebuild APK after modifications with apktool b command - Added comprehensive README-apktool.md with modding guide This branch complements the JADX branches: - Use JADX (main/discord-community) to UNDERSTAND code (readable Java) - Use APKTool (this branch) to MODIFY and REBUILD APK (editable Smali) Total: 44,417 files, 538.51 MB Smali source code
149 lines
2.9 KiB
Smali
149 lines
2.9 KiB
Smali
.class public final Lcom/google/android/gms/internal/ads/zzdf;
|
|
.super Ljava/lang/Object;
|
|
.source "SourceFile"
|
|
|
|
|
|
# direct methods
|
|
.method public static zza(ZLjava/lang/String;)V
|
|
.locals 0
|
|
.annotation system Ldalvik/annotation/Throws;
|
|
value = {
|
|
Lcom/google/android/gms/internal/ads/zzde;
|
|
}
|
|
.end annotation
|
|
|
|
if-eqz p0, :cond_0
|
|
|
|
return-void
|
|
|
|
.line 1
|
|
:cond_0
|
|
new-instance p0, Lcom/google/android/gms/internal/ads/zzde;
|
|
|
|
invoke-direct {p0, p1}, Lcom/google/android/gms/internal/ads/zzde;-><init>(Ljava/lang/String;)V
|
|
|
|
throw p0
|
|
.end method
|
|
|
|
.method public static zzb(Landroid/content/Context;)Z
|
|
.locals 4
|
|
|
|
.line 1
|
|
sget v0, Lcom/google/android/gms/internal/ads/zzei;->zza:I
|
|
|
|
const/16 v1, 0x18
|
|
|
|
if-ge v0, v1, :cond_0
|
|
|
|
goto :goto_0
|
|
|
|
:cond_0
|
|
const/16 v1, 0x1a
|
|
|
|
if-ge v0, v1, :cond_1
|
|
|
|
const-string v2, "samsung"
|
|
|
|
sget-object v3, Lcom/google/android/gms/internal/ads/zzei;->zzc:Ljava/lang/String;
|
|
|
|
.line 2
|
|
invoke-virtual {v2, v3}, Ljava/lang/String;->equals(Ljava/lang/Object;)Z
|
|
|
|
move-result v2
|
|
|
|
if-nez v2, :cond_2
|
|
|
|
const-string v2, "XT1650"
|
|
|
|
sget-object v3, Lcom/google/android/gms/internal/ads/zzei;->zzd:Ljava/lang/String;
|
|
|
|
invoke-virtual {v2, v3}, Ljava/lang/String;->equals(Ljava/lang/Object;)Z
|
|
|
|
move-result v2
|
|
|
|
if-nez v2, :cond_2
|
|
|
|
:cond_1
|
|
if-ge v0, v1, :cond_3
|
|
|
|
.line 3
|
|
invoke-virtual {p0}, Landroid/content/Context;->getPackageManager()Landroid/content/pm/PackageManager;
|
|
|
|
move-result-object p0
|
|
|
|
const-string v0, "android.hardware.vr.high_performance"
|
|
|
|
.line 4
|
|
invoke-virtual {p0, v0}, Landroid/content/pm/PackageManager;->hasSystemFeature(Ljava/lang/String;)Z
|
|
|
|
move-result p0
|
|
|
|
if-eqz p0, :cond_2
|
|
|
|
goto :goto_1
|
|
|
|
:cond_2
|
|
:goto_0
|
|
const/4 p0, 0x0
|
|
|
|
return p0
|
|
|
|
:cond_3
|
|
:goto_1
|
|
const-string p0, "EGL_EXT_protected_content"
|
|
|
|
.line 5
|
|
invoke-static {p0}, Lcom/google/android/gms/internal/ads/zzdf;->zzd(Ljava/lang/String;)Z
|
|
|
|
move-result p0
|
|
|
|
return p0
|
|
.end method
|
|
|
|
.method public static zzc()Z
|
|
.locals 1
|
|
|
|
const-string v0, "EGL_KHR_surfaceless_context"
|
|
|
|
.line 1
|
|
invoke-static {v0}, Lcom/google/android/gms/internal/ads/zzdf;->zzd(Ljava/lang/String;)Z
|
|
|
|
move-result v0
|
|
|
|
return v0
|
|
.end method
|
|
|
|
.method private static zzd(Ljava/lang/String;)Z
|
|
.locals 3
|
|
|
|
const/4 v0, 0x0
|
|
|
|
.line 1
|
|
invoke-static {v0}, Landroid/opengl/EGL14;->eglGetDisplay(I)Landroid/opengl/EGLDisplay;
|
|
|
|
move-result-object v1
|
|
|
|
const/16 v2, 0x3055
|
|
|
|
.line 2
|
|
invoke-static {v1, v2}, Landroid/opengl/EGL14;->eglQueryString(Landroid/opengl/EGLDisplay;I)Ljava/lang/String;
|
|
|
|
move-result-object v1
|
|
|
|
if-eqz v1, :cond_0
|
|
|
|
.line 3
|
|
invoke-virtual {v1, p0}, Ljava/lang/String;->contains(Ljava/lang/CharSequence;)Z
|
|
|
|
move-result p0
|
|
|
|
if-eqz p0, :cond_0
|
|
|
|
const/4 p0, 0x1
|
|
|
|
return p0
|
|
|
|
:cond_0
|
|
return v0
|
|
.end method
|