- 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
117 lines
3.0 KiB
Smali
117 lines
3.0 KiB
Smali
.class final Lcom/google/android/gms/games/internal/zzaf;
|
|
.super Lcom/google/android/gms/games/internal/zza;
|
|
.source "SourceFile"
|
|
|
|
|
|
# instance fields
|
|
.field private final zza:Lcom/google/android/gms/tasks/TaskCompletionSource;
|
|
|
|
|
|
# direct methods
|
|
.method public constructor <init>(Lcom/google/android/gms/tasks/TaskCompletionSource;)V
|
|
.locals 0
|
|
|
|
.line 1
|
|
invoke-direct {p0}, Lcom/google/android/gms/games/internal/zza;-><init>()V
|
|
|
|
iput-object p1, p0, Lcom/google/android/gms/games/internal/zzaf;->zza:Lcom/google/android/gms/tasks/TaskCompletionSource;
|
|
|
|
return-void
|
|
.end method
|
|
|
|
|
|
# virtual methods
|
|
.method public final zzj(Lcom/google/android/gms/common/data/DataHolder;)V
|
|
.locals 5
|
|
|
|
.line 1
|
|
invoke-virtual {p1}, Lcom/google/android/gms/common/data/DataHolder;->getStatusCode()I
|
|
|
|
move-result v0
|
|
|
|
const/4 v1, 0x3
|
|
|
|
if-eqz v0, :cond_1
|
|
|
|
if-ne v0, v1, :cond_0
|
|
|
|
goto :goto_0
|
|
|
|
:cond_0
|
|
iget-object v1, p0, Lcom/google/android/gms/games/internal/zzaf;->zza:Lcom/google/android/gms/tasks/TaskCompletionSource;
|
|
|
|
.line 9
|
|
invoke-static {v1, v0}, Lcom/google/android/gms/games/GamesStatusUtils;->zza(Lcom/google/android/gms/tasks/TaskCompletionSource;I)V
|
|
|
|
.line 10
|
|
invoke-virtual {p1}, Lcom/google/android/gms/common/data/DataHolder;->close()V
|
|
|
|
return-void
|
|
|
|
.line 2
|
|
:cond_1
|
|
:goto_0
|
|
new-instance v2, Lcom/google/android/gms/games/PlayerBuffer;
|
|
|
|
invoke-direct {v2, p1}, Lcom/google/android/gms/games/PlayerBuffer;-><init>(Lcom/google/android/gms/common/data/DataHolder;)V
|
|
|
|
.line 3
|
|
:try_start_0
|
|
invoke-virtual {v2}, Lcom/google/android/gms/common/data/AbstractDataBuffer;->getCount()I
|
|
|
|
move-result p1
|
|
|
|
const/4 v3, 0x0
|
|
|
|
if-lez p1, :cond_2
|
|
|
|
.line 4
|
|
invoke-virtual {v2, v3}, Lcom/google/android/gms/games/PlayerBuffer;->get(I)Lcom/google/android/gms/games/Player;
|
|
|
|
move-result-object p1
|
|
|
|
.line 5
|
|
new-instance v4, Lcom/google/android/gms/games/PlayerEntity;
|
|
|
|
invoke-direct {v4, p1}, Lcom/google/android/gms/games/PlayerEntity;-><init>(Lcom/google/android/gms/games/Player;)V
|
|
:try_end_0
|
|
.catchall {:try_start_0 .. :try_end_0} :catchall_0
|
|
|
|
goto :goto_1
|
|
|
|
:catchall_0
|
|
move-exception p1
|
|
|
|
goto :goto_2
|
|
|
|
:cond_2
|
|
const/4 v4, 0x0
|
|
|
|
.line 6
|
|
:goto_1
|
|
invoke-virtual {v2}, Lcom/google/android/gms/common/data/AbstractDataBuffer;->release()V
|
|
|
|
if-ne v0, v1, :cond_3
|
|
|
|
const/4 v3, 0x1
|
|
|
|
:cond_3
|
|
iget-object p1, p0, Lcom/google/android/gms/games/internal/zzaf;->zza:Lcom/google/android/gms/tasks/TaskCompletionSource;
|
|
|
|
new-instance v0, Lcom/google/android/gms/games/AnnotatedData;
|
|
|
|
invoke-direct {v0, v4, v3}, Lcom/google/android/gms/games/AnnotatedData;-><init>(Ljava/lang/Object;Z)V
|
|
|
|
.line 8
|
|
invoke-virtual {p1, v0}, Lcom/google/android/gms/tasks/TaskCompletionSource;->setResult(Ljava/lang/Object;)V
|
|
|
|
return-void
|
|
|
|
.line 6
|
|
:goto_2
|
|
invoke-virtual {v2}, Lcom/google/android/gms/common/data/AbstractDataBuffer;->release()V
|
|
|
|
.line 7
|
|
throw p1
|
|
.end method
|