- 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
101 lines
3.0 KiB
Smali
101 lines
3.0 KiB
Smali
.class public final Lcom/google/android/gms/common/api/BatchResult;
|
|
.super Ljava/lang/Object;
|
|
.source "SourceFile"
|
|
|
|
# interfaces
|
|
.implements Lcom/google/android/gms/common/api/Result;
|
|
|
|
|
|
# instance fields
|
|
.field private final zaa:Lcom/google/android/gms/common/api/Status;
|
|
|
|
.field private final zab:[Lcom/google/android/gms/common/api/PendingResult;
|
|
|
|
|
|
# direct methods
|
|
.method public constructor <init>(Lcom/google/android/gms/common/api/Status;[Lcom/google/android/gms/common/api/PendingResult;)V
|
|
.locals 0
|
|
|
|
invoke-direct {p0}, Ljava/lang/Object;-><init>()V
|
|
|
|
iput-object p1, p0, Lcom/google/android/gms/common/api/BatchResult;->zaa:Lcom/google/android/gms/common/api/Status;
|
|
|
|
iput-object p2, p0, Lcom/google/android/gms/common/api/BatchResult;->zab:[Lcom/google/android/gms/common/api/PendingResult;
|
|
|
|
return-void
|
|
.end method
|
|
|
|
|
|
# virtual methods
|
|
.method public getStatus()Lcom/google/android/gms/common/api/Status;
|
|
.locals 1
|
|
.annotation build Landroidx/annotation/NonNull;
|
|
.end annotation
|
|
|
|
iget-object v0, p0, Lcom/google/android/gms/common/api/BatchResult;->zaa:Lcom/google/android/gms/common/api/Status;
|
|
|
|
return-object v0
|
|
.end method
|
|
|
|
.method public take(Lcom/google/android/gms/common/api/BatchResultToken;)Lcom/google/android/gms/common/api/Result;
|
|
.locals 3
|
|
.param p1 # Lcom/google/android/gms/common/api/BatchResultToken;
|
|
.annotation build Landroidx/annotation/NonNull;
|
|
.end annotation
|
|
.end param
|
|
.annotation build Landroidx/annotation/NonNull;
|
|
.end annotation
|
|
|
|
.annotation runtime Lcom/google/errorprone/annotations/ResultIgnorabilityUnspecified;
|
|
.end annotation
|
|
|
|
.annotation system Ldalvik/annotation/Signature;
|
|
value = {
|
|
"<R::",
|
|
"Lcom/google/android/gms/common/api/Result;",
|
|
">(",
|
|
"Lcom/google/android/gms/common/api/BatchResultToken<",
|
|
"TR;>;)TR;"
|
|
}
|
|
.end annotation
|
|
|
|
iget-object v0, p0, Lcom/google/android/gms/common/api/BatchResult;->zab:[Lcom/google/android/gms/common/api/PendingResult;
|
|
|
|
.line 1
|
|
iget v1, p1, Lcom/google/android/gms/common/api/BatchResultToken;->mId:I
|
|
|
|
array-length v0, v0
|
|
|
|
if-ge v1, v0, :cond_0
|
|
|
|
const/4 v0, 0x1
|
|
|
|
goto :goto_0
|
|
|
|
:cond_0
|
|
const/4 v0, 0x0
|
|
|
|
:goto_0
|
|
const-string v1, "The result token does not belong to this batch"
|
|
|
|
invoke-static {v0, v1}, Lcom/google/android/gms/common/internal/Preconditions;->checkArgument(ZLjava/lang/Object;)V
|
|
|
|
iget-object v0, p0, Lcom/google/android/gms/common/api/BatchResult;->zab:[Lcom/google/android/gms/common/api/PendingResult;
|
|
|
|
.line 2
|
|
iget p1, p1, Lcom/google/android/gms/common/api/BatchResultToken;->mId:I
|
|
|
|
aget-object p1, v0, p1
|
|
|
|
const-wide/16 v0, 0x0
|
|
|
|
sget-object v2, Ljava/util/concurrent/TimeUnit;->MILLISECONDS:Ljava/util/concurrent/TimeUnit;
|
|
|
|
.line 3
|
|
invoke-virtual {p1, v0, v1, v2}, Lcom/google/android/gms/common/api/PendingResult;->await(JLjava/util/concurrent/TimeUnit;)Lcom/google/android/gms/common/api/Result;
|
|
|
|
move-result-object p1
|
|
|
|
return-object p1
|
|
.end method
|