Files
rr3-apk/smali_classes2/com/google/android/gms/ads/VideoController.smali
Daniel Elliott f3960ee359 Add Discord APKTool decompilation (Smali source for modding)
- 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
2026-02-18 16:13:44 -08:00

767 lines
17 KiB
Smali

.class public final Lcom/google/android/gms/ads/VideoController;
.super Ljava/lang/Object;
.source "SourceFile"
# annotations
.annotation system Ldalvik/annotation/MemberClasses;
value = {
Lcom/google/android/gms/ads/VideoController$VideoLifecycleCallbacks;
}
.end annotation
# static fields
.field public static final PLAYBACK_STATE_ENDED:I = 0x3
.annotation build Lcom/google/android/gms/common/annotation/KeepForSdk;
.end annotation
.end field
.field public static final PLAYBACK_STATE_PAUSED:I = 0x2
.annotation build Lcom/google/android/gms/common/annotation/KeepForSdk;
.end annotation
.end field
.field public static final PLAYBACK_STATE_PLAYING:I = 0x1
.annotation build Lcom/google/android/gms/common/annotation/KeepForSdk;
.end annotation
.end field
.field public static final PLAYBACK_STATE_READY:I = 0x5
.annotation build Lcom/google/android/gms/common/annotation/KeepForSdk;
.end annotation
.end field
.field public static final PLAYBACK_STATE_UNKNOWN:I
.annotation build Lcom/google/android/gms/common/annotation/KeepForSdk;
.end annotation
.end field
# instance fields
.field private final zza:Ljava/lang/Object;
.field private zzb:Lcom/google/android/gms/ads/internal/client/zzeb;
.annotation build Landroidx/annotation/Nullable;
.end annotation
.end field
.field private zzc:Lcom/google/android/gms/ads/VideoController$VideoLifecycleCallbacks;
.annotation build Landroidx/annotation/Nullable;
.end annotation
.end field
# direct methods
.method public constructor <init>()V
.locals 1
invoke-direct {p0}, Ljava/lang/Object;-><init>()V
new-instance v0, Ljava/lang/Object;
invoke-direct {v0}, Ljava/lang/Object;-><init>()V
iput-object v0, p0, Lcom/google/android/gms/ads/VideoController;->zza:Ljava/lang/Object;
return-void
.end method
# virtual methods
.method public getPlaybackState()I
.locals 4
.annotation build Lcom/google/android/gms/common/annotation/KeepForSdk;
.end annotation
iget-object v0, p0, Lcom/google/android/gms/ads/VideoController;->zza:Ljava/lang/Object;
.line 4
monitor-enter v0
:try_start_0
iget-object v1, p0, Lcom/google/android/gms/ads/VideoController;->zzb:Lcom/google/android/gms/ads/internal/client/zzeb;
const/4 v2, 0x0
if-nez v1, :cond_0
monitor-exit v0
:try_end_0
.catchall {:try_start_0 .. :try_end_0} :catchall_0
return v2
:catchall_0
move-exception v1
goto :goto_0
.line 1
:cond_0
:try_start_1
invoke-interface {v1}, Lcom/google/android/gms/ads/internal/client/zzeb;->zzh()I
move-result v1
:try_end_1
.catch Landroid/os/RemoteException; {:try_start_1 .. :try_end_1} :catch_0
.catchall {:try_start_1 .. :try_end_1} :catchall_0
:try_start_2
monitor-exit v0
return v1
:catch_0
move-exception v1
const-string v3, "Unable to call getPlaybackState on video controller."
.line 2
invoke-static {v3, v1}, Lcom/google/android/gms/ads/internal/util/client/zzo;->zzh(Ljava/lang/String;Ljava/lang/Throwable;)V
.line 3
monitor-exit v0
return v2
.line 5
:goto_0
monitor-exit v0
:try_end_2
.catchall {:try_start_2 .. :try_end_2} :catchall_0
throw v1
.end method
.method public getVideoLifecycleCallbacks()Lcom/google/android/gms/ads/VideoController$VideoLifecycleCallbacks;
.locals 2
.annotation build Landroidx/annotation/Nullable;
.end annotation
iget-object v0, p0, Lcom/google/android/gms/ads/VideoController;->zza:Ljava/lang/Object;
.line 1
monitor-enter v0
:try_start_0
iget-object v1, p0, Lcom/google/android/gms/ads/VideoController;->zzc:Lcom/google/android/gms/ads/VideoController$VideoLifecycleCallbacks;
monitor-exit v0
return-object v1
:catchall_0
move-exception v1
.line 2
monitor-exit v0
:try_end_0
.catchall {:try_start_0 .. :try_end_0} :catchall_0
throw v1
.end method
.method public hasVideoContent()Z
.locals 2
iget-object v0, p0, Lcom/google/android/gms/ads/VideoController;->zza:Ljava/lang/Object;
.line 1
monitor-enter v0
:try_start_0
iget-object v1, p0, Lcom/google/android/gms/ads/VideoController;->zzb:Lcom/google/android/gms/ads/internal/client/zzeb;
if-eqz v1, :cond_0
const/4 v1, 0x1
goto :goto_0
:cond_0
const/4 v1, 0x0
:goto_0
monitor-exit v0
return v1
:catchall_0
move-exception v1
.line 2
monitor-exit v0
:try_end_0
.catchall {:try_start_0 .. :try_end_0} :catchall_0
throw v1
.end method
.method public isClickToExpandEnabled()Z
.locals 4
iget-object v0, p0, Lcom/google/android/gms/ads/VideoController;->zza:Ljava/lang/Object;
.line 4
monitor-enter v0
:try_start_0
iget-object v1, p0, Lcom/google/android/gms/ads/VideoController;->zzb:Lcom/google/android/gms/ads/internal/client/zzeb;
const/4 v2, 0x0
if-nez v1, :cond_0
monitor-exit v0
:try_end_0
.catchall {:try_start_0 .. :try_end_0} :catchall_0
return v2
:catchall_0
move-exception v1
goto :goto_0
.line 1
:cond_0
:try_start_1
invoke-interface {v1}, Lcom/google/android/gms/ads/internal/client/zzeb;->zzo()Z
move-result v1
:try_end_1
.catch Landroid/os/RemoteException; {:try_start_1 .. :try_end_1} :catch_0
.catchall {:try_start_1 .. :try_end_1} :catchall_0
:try_start_2
monitor-exit v0
return v1
:catch_0
move-exception v1
const-string v3, "Unable to call isClickToExpandEnabled."
.line 2
invoke-static {v3, v1}, Lcom/google/android/gms/ads/internal/util/client/zzo;->zzh(Ljava/lang/String;Ljava/lang/Throwable;)V
.line 3
monitor-exit v0
return v2
.line 5
:goto_0
monitor-exit v0
:try_end_2
.catchall {:try_start_2 .. :try_end_2} :catchall_0
throw v1
.end method
.method public isCustomControlsEnabled()Z
.locals 4
iget-object v0, p0, Lcom/google/android/gms/ads/VideoController;->zza:Ljava/lang/Object;
.line 4
monitor-enter v0
:try_start_0
iget-object v1, p0, Lcom/google/android/gms/ads/VideoController;->zzb:Lcom/google/android/gms/ads/internal/client/zzeb;
const/4 v2, 0x0
if-nez v1, :cond_0
monitor-exit v0
:try_end_0
.catchall {:try_start_0 .. :try_end_0} :catchall_0
return v2
:catchall_0
move-exception v1
goto :goto_0
.line 1
:cond_0
:try_start_1
invoke-interface {v1}, Lcom/google/android/gms/ads/internal/client/zzeb;->zzp()Z
move-result v1
:try_end_1
.catch Landroid/os/RemoteException; {:try_start_1 .. :try_end_1} :catch_0
.catchall {:try_start_1 .. :try_end_1} :catchall_0
:try_start_2
monitor-exit v0
return v1
:catch_0
move-exception v1
const-string v3, "Unable to call isUsingCustomPlayerControls."
.line 2
invoke-static {v3, v1}, Lcom/google/android/gms/ads/internal/util/client/zzo;->zzh(Ljava/lang/String;Ljava/lang/Throwable;)V
.line 3
monitor-exit v0
return v2
.line 5
:goto_0
monitor-exit v0
:try_end_2
.catchall {:try_start_2 .. :try_end_2} :catchall_0
throw v1
.end method
.method public isMuted()Z
.locals 4
iget-object v0, p0, Lcom/google/android/gms/ads/VideoController;->zza:Ljava/lang/Object;
.line 4
monitor-enter v0
:try_start_0
iget-object v1, p0, Lcom/google/android/gms/ads/VideoController;->zzb:Lcom/google/android/gms/ads/internal/client/zzeb;
const/4 v2, 0x1
if-nez v1, :cond_0
monitor-exit v0
:try_end_0
.catchall {:try_start_0 .. :try_end_0} :catchall_0
return v2
:catchall_0
move-exception v1
goto :goto_0
.line 1
:cond_0
:try_start_1
invoke-interface {v1}, Lcom/google/android/gms/ads/internal/client/zzeb;->zzq()Z
move-result v1
:try_end_1
.catch Landroid/os/RemoteException; {:try_start_1 .. :try_end_1} :catch_0
.catchall {:try_start_1 .. :try_end_1} :catchall_0
:try_start_2
monitor-exit v0
return v1
:catch_0
move-exception v1
const-string v3, "Unable to call isMuted on video controller."
.line 2
invoke-static {v3, v1}, Lcom/google/android/gms/ads/internal/util/client/zzo;->zzh(Ljava/lang/String;Ljava/lang/Throwable;)V
.line 3
monitor-exit v0
return v2
.line 5
:goto_0
monitor-exit v0
:try_end_2
.catchall {:try_start_2 .. :try_end_2} :catchall_0
throw v1
.end method
.method public mute(Z)V
.locals 2
iget-object v0, p0, Lcom/google/android/gms/ads/VideoController;->zza:Ljava/lang/Object;
.line 4
monitor-enter v0
:try_start_0
iget-object v1, p0, Lcom/google/android/gms/ads/VideoController;->zzb:Lcom/google/android/gms/ads/internal/client/zzeb;
if-nez v1, :cond_0
monitor-exit v0
:try_end_0
.catchall {:try_start_0 .. :try_end_0} :catchall_0
return-void
:catchall_0
move-exception p1
goto :goto_1
.line 1
:cond_0
:try_start_1
invoke-interface {v1, p1}, Lcom/google/android/gms/ads/internal/client/zzeb;->zzj(Z)V
:try_end_1
.catch Landroid/os/RemoteException; {:try_start_1 .. :try_end_1} :catch_0
.catchall {:try_start_1 .. :try_end_1} :catchall_0
goto :goto_0
:catch_0
move-exception p1
:try_start_2
const-string v1, "Unable to call mute on video controller."
.line 2
invoke-static {v1, p1}, Lcom/google/android/gms/ads/internal/util/client/zzo;->zzh(Ljava/lang/String;Ljava/lang/Throwable;)V
.line 3
:goto_0
monitor-exit v0
return-void
:goto_1
monitor-exit v0
:try_end_2
.catchall {:try_start_2 .. :try_end_2} :catchall_0
throw p1
.end method
.method public pause()V
.locals 3
iget-object v0, p0, Lcom/google/android/gms/ads/VideoController;->zza:Ljava/lang/Object;
.line 4
monitor-enter v0
:try_start_0
iget-object v1, p0, Lcom/google/android/gms/ads/VideoController;->zzb:Lcom/google/android/gms/ads/internal/client/zzeb;
if-nez v1, :cond_0
monitor-exit v0
:try_end_0
.catchall {:try_start_0 .. :try_end_0} :catchall_0
return-void
:catchall_0
move-exception v1
goto :goto_1
.line 1
:cond_0
:try_start_1
invoke-interface {v1}, Lcom/google/android/gms/ads/internal/client/zzeb;->zzk()V
:try_end_1
.catch Landroid/os/RemoteException; {:try_start_1 .. :try_end_1} :catch_0
.catchall {:try_start_1 .. :try_end_1} :catchall_0
goto :goto_0
:catch_0
move-exception v1
:try_start_2
const-string v2, "Unable to call pause on video controller."
.line 2
invoke-static {v2, v1}, Lcom/google/android/gms/ads/internal/util/client/zzo;->zzh(Ljava/lang/String;Ljava/lang/Throwable;)V
.line 3
:goto_0
monitor-exit v0
return-void
:goto_1
monitor-exit v0
:try_end_2
.catchall {:try_start_2 .. :try_end_2} :catchall_0
throw v1
.end method
.method public play()V
.locals 3
iget-object v0, p0, Lcom/google/android/gms/ads/VideoController;->zza:Ljava/lang/Object;
.line 4
monitor-enter v0
:try_start_0
iget-object v1, p0, Lcom/google/android/gms/ads/VideoController;->zzb:Lcom/google/android/gms/ads/internal/client/zzeb;
if-nez v1, :cond_0
monitor-exit v0
:try_end_0
.catchall {:try_start_0 .. :try_end_0} :catchall_0
return-void
:catchall_0
move-exception v1
goto :goto_1
.line 1
:cond_0
:try_start_1
invoke-interface {v1}, Lcom/google/android/gms/ads/internal/client/zzeb;->zzl()V
:try_end_1
.catch Landroid/os/RemoteException; {:try_start_1 .. :try_end_1} :catch_0
.catchall {:try_start_1 .. :try_end_1} :catchall_0
goto :goto_0
:catch_0
move-exception v1
:try_start_2
const-string v2, "Unable to call play on video controller."
.line 2
invoke-static {v2, v1}, Lcom/google/android/gms/ads/internal/util/client/zzo;->zzh(Ljava/lang/String;Ljava/lang/Throwable;)V
.line 3
:goto_0
monitor-exit v0
return-void
:goto_1
monitor-exit v0
:try_end_2
.catchall {:try_start_2 .. :try_end_2} :catchall_0
throw v1
.end method
.method public setVideoLifecycleCallbacks(Lcom/google/android/gms/ads/VideoController$VideoLifecycleCallbacks;)V
.locals 3
.param p1 # Lcom/google/android/gms/ads/VideoController$VideoLifecycleCallbacks;
.annotation build Landroidx/annotation/Nullable;
.end annotation
.end param
iget-object v0, p0, Lcom/google/android/gms/ads/VideoController;->zza:Ljava/lang/Object;
.line 5
monitor-enter v0
:try_start_0
iput-object p1, p0, Lcom/google/android/gms/ads/VideoController;->zzc:Lcom/google/android/gms/ads/VideoController$VideoLifecycleCallbacks;
iget-object v1, p0, Lcom/google/android/gms/ads/VideoController;->zzb:Lcom/google/android/gms/ads/internal/client/zzeb;
if-nez v1, :cond_0
monitor-exit v0
:try_end_0
.catchall {:try_start_0 .. :try_end_0} :catchall_0
return-void
:catchall_0
move-exception p1
goto :goto_2
:cond_0
if-nez p1, :cond_1
const/4 p1, 0x0
goto :goto_0
.line 4
:cond_1
:try_start_1
new-instance v2, Lcom/google/android/gms/ads/internal/client/zzfz;
.line 1
invoke-direct {v2, p1}, Lcom/google/android/gms/ads/internal/client/zzfz;-><init>(Lcom/google/android/gms/ads/VideoController$VideoLifecycleCallbacks;)V
move-object p1, v2
.line 2
:goto_0
invoke-interface {v1, p1}, Lcom/google/android/gms/ads/internal/client/zzeb;->zzm(Lcom/google/android/gms/ads/internal/client/zzee;)V
:try_end_1
.catch Landroid/os/RemoteException; {:try_start_1 .. :try_end_1} :catch_0
.catchall {:try_start_1 .. :try_end_1} :catchall_0
goto :goto_1
:catch_0
move-exception p1
:try_start_2
const-string v1, "Unable to call setVideoLifecycleCallbacks on video controller."
.line 3
invoke-static {v1, p1}, Lcom/google/android/gms/ads/internal/util/client/zzo;->zzh(Ljava/lang/String;Ljava/lang/Throwable;)V
.line 4
:goto_1
monitor-exit v0
return-void
:goto_2
monitor-exit v0
:try_end_2
.catchall {:try_start_2 .. :try_end_2} :catchall_0
throw p1
.end method
.method public stop()V
.locals 3
iget-object v0, p0, Lcom/google/android/gms/ads/VideoController;->zza:Ljava/lang/Object;
.line 4
monitor-enter v0
:try_start_0
iget-object v1, p0, Lcom/google/android/gms/ads/VideoController;->zzb:Lcom/google/android/gms/ads/internal/client/zzeb;
if-nez v1, :cond_0
monitor-exit v0
:try_end_0
.catchall {:try_start_0 .. :try_end_0} :catchall_0
return-void
:catchall_0
move-exception v1
goto :goto_1
.line 1
:cond_0
:try_start_1
invoke-interface {v1}, Lcom/google/android/gms/ads/internal/client/zzeb;->zzn()V
:try_end_1
.catch Landroid/os/RemoteException; {:try_start_1 .. :try_end_1} :catch_0
.catchall {:try_start_1 .. :try_end_1} :catchall_0
goto :goto_0
:catch_0
move-exception v1
:try_start_2
const-string v2, "Unable to call stop on video controller."
.line 2
invoke-static {v2, v1}, Lcom/google/android/gms/ads/internal/util/client/zzo;->zzh(Ljava/lang/String;Ljava/lang/Throwable;)V
.line 3
:goto_0
monitor-exit v0
return-void
:goto_1
monitor-exit v0
:try_end_2
.catchall {:try_start_2 .. :try_end_2} :catchall_0
throw v1
.end method
.method public final zza()Lcom/google/android/gms/ads/internal/client/zzeb;
.locals 2
.annotation build Landroidx/annotation/Nullable;
.end annotation
iget-object v0, p0, Lcom/google/android/gms/ads/VideoController;->zza:Ljava/lang/Object;
.line 1
monitor-enter v0
:try_start_0
iget-object v1, p0, Lcom/google/android/gms/ads/VideoController;->zzb:Lcom/google/android/gms/ads/internal/client/zzeb;
monitor-exit v0
return-object v1
:catchall_0
move-exception v1
.line 2
monitor-exit v0
:try_end_0
.catchall {:try_start_0 .. :try_end_0} :catchall_0
throw v1
.end method
.method public final zzb(Lcom/google/android/gms/ads/internal/client/zzeb;)V
.locals 1
.param p1 # Lcom/google/android/gms/ads/internal/client/zzeb;
.annotation build Landroidx/annotation/Nullable;
.end annotation
.end param
iget-object v0, p0, Lcom/google/android/gms/ads/VideoController;->zza:Ljava/lang/Object;
.line 1
monitor-enter v0
:try_start_0
iput-object p1, p0, Lcom/google/android/gms/ads/VideoController;->zzb:Lcom/google/android/gms/ads/internal/client/zzeb;
iget-object p1, p0, Lcom/google/android/gms/ads/VideoController;->zzc:Lcom/google/android/gms/ads/VideoController$VideoLifecycleCallbacks;
if-eqz p1, :cond_0
invoke-virtual {p0, p1}, Lcom/google/android/gms/ads/VideoController;->setVideoLifecycleCallbacks(Lcom/google/android/gms/ads/VideoController$VideoLifecycleCallbacks;)V
goto :goto_0
:catchall_0
move-exception p1
goto :goto_1
.line 2
:cond_0
:goto_0
monitor-exit v0
return-void
:goto_1
monitor-exit v0
:try_end_0
.catchall {:try_start_0 .. :try_end_0} :catchall_0
throw p1
.end method