Files
rr3-apk/smali_classes3/com/google/android/gms/internal/drive/zzeg.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

212 lines
5.7 KiB
Smali

.class final Lcom/google/android/gms/internal/drive/zzeg;
.super Lcom/google/android/gms/internal/drive/zzir;
.source "SourceFile"
# instance fields
.field private final zzgw:Landroid/content/Context;
# direct methods
.method private constructor <init>(Landroid/os/Looper;Landroid/content/Context;)V
.locals 0
.line 1
invoke-direct {p0, p1}, Lcom/google/android/gms/internal/drive/zzir;-><init>(Landroid/os/Looper;)V
iput-object p2, p0, Lcom/google/android/gms/internal/drive/zzeg;->zzgw:Landroid/content/Context;
return-void
.end method
.method public synthetic constructor <init>(Landroid/os/Looper;Landroid/content/Context;Lcom/google/android/gms/internal/drive/zzef;)V
.locals 0
.line 34
invoke-direct {p0, p1, p2}, Lcom/google/android/gms/internal/drive/zzeg;-><init>(Landroid/os/Looper;Landroid/content/Context;)V
return-void
.end method
# virtual methods
.method public final handleMessage(Landroid/os/Message;)V
.locals 4
.line 4
iget v0, p1, Landroid/os/Message;->what:I
const-string v1, "EventCallback"
const/4 v2, 0x1
if-eq v0, v2, :cond_0
.line 32
invoke-static {}, Lcom/google/android/gms/internal/drive/zzee;->zzai()Lcom/google/android/gms/common/internal/GmsLogger;
move-result-object p1
iget-object v0, p0, Lcom/google/android/gms/internal/drive/zzeg;->zzgw:Landroid/content/Context;
filled-new-array {v0}, [Ljava/lang/Object;
move-result-object v0
const-string v2, "Don\'t know how to handle this event in context %s"
invoke-virtual {p1, v1, v2, v0}, Lcom/google/android/gms/common/internal/GmsLogger;->efmt(Ljava/lang/String;Ljava/lang/String;[Ljava/lang/Object;)V
return-void
.line 5
:cond_0
iget-object p1, p1, Landroid/os/Message;->obj:Ljava/lang/Object;
check-cast p1, Landroid/util/Pair;
.line 6
iget-object v0, p1, Landroid/util/Pair;->first:Ljava/lang/Object;
check-cast v0, Lcom/google/android/gms/drive/events/zzi;
.line 7
iget-object p1, p1, Landroid/util/Pair;->second:Ljava/lang/Object;
check-cast p1, Lcom/google/android/gms/drive/events/DriveEvent;
.line 8
invoke-interface {p1}, Lcom/google/android/gms/drive/events/DriveEvent;->getType()I
move-result v3
if-eq v3, v2, :cond_7
const/4 v2, 0x2
if-eq v3, v2, :cond_6
const/4 v2, 0x3
if-eq v3, v2, :cond_3
const/4 v2, 0x4
if-eq v3, v2, :cond_2
const/16 v2, 0x8
if-eq v3, v2, :cond_1
.line 30
invoke-static {}, Lcom/google/android/gms/internal/drive/zzee;->zzai()Lcom/google/android/gms/common/internal/GmsLogger;
move-result-object v0
const-string v2, "Unexpected event: %s"
filled-new-array {p1}, [Ljava/lang/Object;
move-result-object p1
invoke-virtual {v0, v1, v2, p1}, Lcom/google/android/gms/common/internal/GmsLogger;->wfmt(Ljava/lang/String;Ljava/lang/String;[Ljava/lang/Object;)V
return-void
.line 24
:cond_1
check-cast p1, Lcom/google/android/gms/drive/events/zzr;
.line 25
invoke-virtual {p1}, Lcom/google/android/gms/drive/events/zzr;->zzac()Lcom/google/android/gms/internal/drive/zzh;
move-result-object p1
.line 26
new-instance v1, Lcom/google/android/gms/internal/drive/zze;
invoke-direct {v1, p1}, Lcom/google/android/gms/internal/drive/zze;-><init>(Lcom/google/android/gms/internal/drive/zzh;)V
.line 27
check-cast v0, Lcom/google/android/gms/drive/events/zzl;
.line 28
invoke-interface {v0, v1}, Lcom/google/android/gms/drive/events/zzl;->zza(Lcom/google/android/gms/drive/events/zzk;)V
return-void
.line 21
:cond_2
check-cast v0, Lcom/google/android/gms/drive/events/zzd;
check-cast p1, Lcom/google/android/gms/drive/events/zzb;
.line 22
invoke-interface {v0, p1}, Lcom/google/android/gms/drive/events/zzd;->zza(Lcom/google/android/gms/drive/events/zzb;)V
return-void
.line 13
:cond_3
check-cast v0, Lcom/google/android/gms/drive/events/zzq;
check-cast p1, Lcom/google/android/gms/drive/events/zzo;
.line 14
invoke-virtual {p1}, Lcom/google/android/gms/drive/events/zzo;->zzz()Lcom/google/android/gms/common/data/DataHolder;
move-result-object v1
if-eqz v1, :cond_4
.line 16
new-instance v2, Lcom/google/android/gms/drive/MetadataBuffer;
invoke-direct {v2, v1}, Lcom/google/android/gms/drive/MetadataBuffer;-><init>(Lcom/google/android/gms/common/data/DataHolder;)V
.line 17
new-instance v1, Lcom/google/android/gms/internal/drive/zzeh;
invoke-direct {v1, v2}, Lcom/google/android/gms/internal/drive/zzeh;-><init>(Lcom/google/android/gms/drive/MetadataBuffer;)V
invoke-interface {v0, v1}, Lcom/google/android/gms/drive/events/zzq;->zza(Lcom/google/android/gms/drive/events/zzn;)V
.line 18
:cond_4
invoke-virtual {p1}, Lcom/google/android/gms/drive/events/zzo;->zzaa()Z
move-result v1
if-eqz v1, :cond_5
.line 19
invoke-virtual {p1}, Lcom/google/android/gms/drive/events/zzo;->zzab()I
move-result p1
invoke-interface {v0, p1}, Lcom/google/android/gms/drive/events/zzq;->zzc(I)V
:cond_5
return-void
.line 11
:cond_6
check-cast v0, Lcom/google/android/gms/drive/events/CompletionListener;
check-cast p1, Lcom/google/android/gms/drive/events/CompletionEvent;
invoke-interface {v0, p1}, Lcom/google/android/gms/drive/events/CompletionListener;->onCompletion(Lcom/google/android/gms/drive/events/CompletionEvent;)V
return-void
.line 9
:cond_7
check-cast v0, Lcom/google/android/gms/drive/events/ChangeListener;
check-cast p1, Lcom/google/android/gms/drive/events/ChangeEvent;
invoke-interface {v0, p1}, Lcom/google/android/gms/drive/events/ChangeListener;->onChange(Lcom/google/android/gms/drive/events/ChangeEvent;)V
return-void
.end method