- 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
196 lines
5.5 KiB
Smali
196 lines
5.5 KiB
Smali
.class public final Lcom/google/android/gms/internal/ads/zzbka;
|
|
.super Ljava/lang/Object;
|
|
.source "SourceFile"
|
|
|
|
|
|
# annotations
|
|
.annotation build Landroidx/annotation/VisibleForTesting;
|
|
.end annotation
|
|
|
|
|
|
# direct methods
|
|
.method public static final zza(Landroid/net/Uri;Landroid/content/Context;Lcom/google/android/gms/internal/ads/zzava;Landroid/view/View;Lcom/google/android/gms/internal/ads/zzfcn;)Landroid/content/Intent;
|
|
.locals 0
|
|
.annotation build Landroidx/annotation/Nullable;
|
|
.end annotation
|
|
|
|
if-nez p0, :cond_0
|
|
|
|
const/4 p0, 0x0
|
|
|
|
return-object p0
|
|
|
|
.line 1
|
|
:cond_0
|
|
new-instance p1, Landroid/content/Intent;
|
|
|
|
const-string p2, "android.intent.action.VIEW"
|
|
|
|
invoke-direct {p1, p2}, Landroid/content/Intent;-><init>(Ljava/lang/String;)V
|
|
|
|
const/high16 p3, 0x10000000
|
|
|
|
.line 2
|
|
invoke-virtual {p1, p3}, Landroid/content/Intent;->addFlags(I)Landroid/content/Intent;
|
|
|
|
.line 3
|
|
invoke-virtual {p1, p0}, Landroid/content/Intent;->setData(Landroid/net/Uri;)Landroid/content/Intent;
|
|
|
|
.line 4
|
|
invoke-virtual {p1, p2}, Landroid/content/Intent;->setAction(Ljava/lang/String;)Landroid/content/Intent;
|
|
|
|
return-object p1
|
|
.end method
|
|
|
|
.method public static final zzb(Landroid/content/Intent;Landroid/content/pm/ResolveInfo;Landroid/content/Context;Lcom/google/android/gms/internal/ads/zzava;Landroid/view/View;Lcom/google/android/gms/internal/ads/zzfcn;)Landroid/content/Intent;
|
|
.locals 0
|
|
|
|
.line 1
|
|
new-instance p2, Landroid/content/Intent;
|
|
|
|
invoke-direct {p2, p0}, Landroid/content/Intent;-><init>(Landroid/content/Intent;)V
|
|
|
|
.line 2
|
|
iget-object p0, p1, Landroid/content/pm/ResolveInfo;->activityInfo:Landroid/content/pm/ActivityInfo;
|
|
|
|
iget-object p1, p0, Landroid/content/pm/ActivityInfo;->packageName:Ljava/lang/String;
|
|
|
|
iget-object p0, p0, Landroid/content/pm/ActivityInfo;->name:Ljava/lang/String;
|
|
|
|
invoke-virtual {p2, p1, p0}, Landroid/content/Intent;->setClassName(Ljava/lang/String;Ljava/lang/String;)Landroid/content/Intent;
|
|
|
|
return-object p2
|
|
.end method
|
|
|
|
.method public static final zzc(Landroid/content/Intent;Landroid/content/Context;Lcom/google/android/gms/internal/ads/zzava;Landroid/view/View;Lcom/google/android/gms/internal/ads/zzfcn;)Landroid/content/pm/ResolveInfo;
|
|
.locals 6
|
|
.annotation build Landroidx/annotation/VisibleForTesting;
|
|
.end annotation
|
|
|
|
.line 1
|
|
new-instance v1, Ljava/util/ArrayList;
|
|
|
|
invoke-direct {v1}, Ljava/util/ArrayList;-><init>()V
|
|
|
|
move-object v0, p0
|
|
|
|
move-object v2, p1
|
|
|
|
move-object v3, p2
|
|
|
|
move-object v4, p3
|
|
|
|
move-object v5, p4
|
|
|
|
invoke-static/range {v0 .. v5}, Lcom/google/android/gms/internal/ads/zzbka;->zzd(Landroid/content/Intent;Ljava/util/ArrayList;Landroid/content/Context;Lcom/google/android/gms/internal/ads/zzava;Landroid/view/View;Lcom/google/android/gms/internal/ads/zzfcn;)Landroid/content/pm/ResolveInfo;
|
|
|
|
move-result-object p0
|
|
|
|
return-object p0
|
|
.end method
|
|
|
|
.method public static final zzd(Landroid/content/Intent;Ljava/util/ArrayList;Landroid/content/Context;Lcom/google/android/gms/internal/ads/zzava;Landroid/view/View;Lcom/google/android/gms/internal/ads/zzfcn;)Landroid/content/pm/ResolveInfo;
|
|
.locals 1
|
|
.annotation build Landroidx/annotation/Nullable;
|
|
.end annotation
|
|
|
|
.annotation build Landroidx/annotation/VisibleForTesting;
|
|
.end annotation
|
|
|
|
const/4 p3, 0x0
|
|
|
|
.line 1
|
|
:try_start_0
|
|
invoke-virtual {p2}, Landroid/content/Context;->getPackageManager()Landroid/content/pm/PackageManager;
|
|
|
|
move-result-object p2
|
|
|
|
if-nez p2, :cond_0
|
|
|
|
return-object p3
|
|
|
|
:cond_0
|
|
const/high16 p4, 0x10000
|
|
|
|
.line 2
|
|
invoke-virtual {p2, p0, p4}, Landroid/content/pm/PackageManager;->queryIntentActivities(Landroid/content/Intent;I)Ljava/util/List;
|
|
|
|
move-result-object p5
|
|
|
|
.line 3
|
|
invoke-virtual {p2, p0, p4}, Landroid/content/pm/PackageManager;->resolveActivity(Landroid/content/Intent;I)Landroid/content/pm/ResolveInfo;
|
|
|
|
move-result-object p0
|
|
|
|
if-eqz p5, :cond_2
|
|
|
|
if-eqz p0, :cond_2
|
|
|
|
const/4 p2, 0x0
|
|
|
|
.line 4
|
|
:goto_0
|
|
invoke-interface {p5}, Ljava/util/List;->size()I
|
|
|
|
move-result p4
|
|
|
|
if-ge p2, p4, :cond_2
|
|
|
|
.line 5
|
|
invoke-interface {p5, p2}, Ljava/util/List;->get(I)Ljava/lang/Object;
|
|
|
|
move-result-object p4
|
|
|
|
check-cast p4, Landroid/content/pm/ResolveInfo;
|
|
|
|
.line 6
|
|
iget-object v0, p0, Landroid/content/pm/ResolveInfo;->activityInfo:Landroid/content/pm/ActivityInfo;
|
|
|
|
iget-object v0, v0, Landroid/content/pm/ActivityInfo;->name:Ljava/lang/String;
|
|
|
|
iget-object p4, p4, Landroid/content/pm/ResolveInfo;->activityInfo:Landroid/content/pm/ActivityInfo;
|
|
|
|
iget-object p4, p4, Landroid/content/pm/ActivityInfo;->name:Ljava/lang/String;
|
|
|
|
.line 7
|
|
invoke-virtual {v0, p4}, Ljava/lang/String;->equals(Ljava/lang/Object;)Z
|
|
|
|
move-result p4
|
|
|
|
if-eqz p4, :cond_1
|
|
|
|
move-object p3, p0
|
|
|
|
goto :goto_1
|
|
|
|
:cond_1
|
|
add-int/lit8 p2, p2, 0x1
|
|
|
|
goto :goto_0
|
|
|
|
.line 8
|
|
:cond_2
|
|
:goto_1
|
|
invoke-virtual {p1, p5}, Ljava/util/ArrayList;->addAll(Ljava/util/Collection;)Z
|
|
:try_end_0
|
|
.catchall {:try_start_0 .. :try_end_0} :catchall_0
|
|
|
|
goto :goto_2
|
|
|
|
:catchall_0
|
|
move-exception p0
|
|
|
|
const-string p1, "OpenSystemBrowserHandler.getDefaultBrowserResolverForIntent"
|
|
|
|
.line 9
|
|
invoke-static {}, Lcom/google/android/gms/ads/internal/zzv;->zzp()Lcom/google/android/gms/internal/ads/zzbzm;
|
|
|
|
move-result-object p2
|
|
|
|
.line 10
|
|
invoke-virtual {p2, p0, p1}, Lcom/google/android/gms/internal/ads/zzbzm;->zzw(Ljava/lang/Throwable;Ljava/lang/String;)V
|
|
|
|
:goto_2
|
|
return-object p3
|
|
.end method
|