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
This commit is contained in:
2026-02-18 16:13:44 -08:00
parent c080f0d97f
commit f3960ee359
44288 changed files with 10998761 additions and 0 deletions

View File

@@ -0,0 +1,26 @@
.class public abstract Lcom/google/android/gms/common/internal/safeparcel/AbstractSafeParcelable;
.super Ljava/lang/Object;
.source "SourceFile"
# interfaces
.implements Lcom/google/android/gms/common/internal/safeparcel/SafeParcelable;
# direct methods
.method public constructor <init>()V
.locals 0
invoke-direct {p0}, Ljava/lang/Object;-><init>()V
return-void
.end method
# virtual methods
.method public final describeContents()I
.locals 1
const/4 v0, 0x0
return v0
.end method

View File

@@ -0,0 +1,63 @@
.class public Lcom/google/android/gms/common/internal/safeparcel/SafeParcelReader$ParseException;
.super Ljava/lang/RuntimeException;
.source "SourceFile"
# annotations
.annotation system Ldalvik/annotation/EnclosingClass;
value = Lcom/google/android/gms/common/internal/safeparcel/SafeParcelReader;
.end annotation
.annotation system Ldalvik/annotation/InnerClass;
accessFlags = 0x9
name = "ParseException"
.end annotation
# direct methods
.method public constructor <init>(Ljava/lang/String;Landroid/os/Parcel;)V
.locals 2
.param p1 # Ljava/lang/String;
.annotation build Landroidx/annotation/NonNull;
.end annotation
.end param
.param p2 # Landroid/os/Parcel;
.annotation build Landroidx/annotation/NonNull;
.end annotation
.end param
.line 1
invoke-virtual {p2}, Landroid/os/Parcel;->dataPosition()I
move-result v0
invoke-virtual {p2}, Landroid/os/Parcel;->dataSize()I
move-result p2
new-instance v1, Ljava/lang/StringBuilder;
invoke-direct {v1}, Ljava/lang/StringBuilder;-><init>()V
invoke-virtual {v1, p1}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;
const-string p1, " Parcel: pos="
invoke-virtual {v1, p1}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;
invoke-virtual {v1, v0}, Ljava/lang/StringBuilder;->append(I)Ljava/lang/StringBuilder;
const-string p1, " size="
invoke-virtual {v1, p1}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;
invoke-virtual {v1, p2}, Ljava/lang/StringBuilder;->append(I)Ljava/lang/StringBuilder;
invoke-virtual {v1}, Ljava/lang/StringBuilder;->toString()Ljava/lang/String;
move-result-object p1
invoke-direct {p0, p1}, Ljava/lang/RuntimeException;-><init>(Ljava/lang/String;)V
return-void
.end method

View File

@@ -0,0 +1,41 @@
.class public interface abstract annotation Lcom/google/android/gms/common/internal/safeparcel/SafeParcelable$Class;
.super Ljava/lang/Object;
.source "SourceFile"
# interfaces
.implements Ljava/lang/annotation/Annotation;
# annotations
.annotation system Ldalvik/annotation/AnnotationDefault;
value = .subannotation Lcom/google/android/gms/common/internal/safeparcel/SafeParcelable$Class;
creatorIsFinal = true
doNotParcelTypeDefaultValues = false
validate = false
.end subannotation
.end annotation
.annotation system Ldalvik/annotation/EnclosingClass;
value = Lcom/google/android/gms/common/internal/safeparcel/SafeParcelable;
.end annotation
.annotation system Ldalvik/annotation/InnerClass;
accessFlags = 0x2609
name = "Class"
.end annotation
# virtual methods
.method public abstract creator()Ljava/lang/String;
.annotation build Landroidx/annotation/NonNull;
.end annotation
.end method
.method public abstract creatorIsFinal()Z
.end method
.method public abstract doNotParcelTypeDefaultValues()Z
.end method
.method public abstract validate()Z
.end method

View File

@@ -0,0 +1,17 @@
.class public interface abstract annotation Lcom/google/android/gms/common/internal/safeparcel/SafeParcelable$Constructor;
.super Ljava/lang/Object;
.source "SourceFile"
# interfaces
.implements Ljava/lang/annotation/Annotation;
# annotations
.annotation system Ldalvik/annotation/EnclosingClass;
value = Lcom/google/android/gms/common/internal/safeparcel/SafeParcelable;
.end annotation
.annotation system Ldalvik/annotation/InnerClass;
accessFlags = 0x2609
name = "Constructor"
.end annotation

View File

@@ -0,0 +1,51 @@
.class public interface abstract annotation Lcom/google/android/gms/common/internal/safeparcel/SafeParcelable$Field;
.super Ljava/lang/Object;
.source "SourceFile"
# interfaces
.implements Ljava/lang/annotation/Annotation;
# annotations
.annotation system Ldalvik/annotation/AnnotationDefault;
value = .subannotation Lcom/google/android/gms/common/internal/safeparcel/SafeParcelable$Field;
defaultValue = "SAFE_PARCELABLE_NULL_STRING"
defaultValueUnchecked = "SAFE_PARCELABLE_NULL_STRING"
getter = "SAFE_PARCELABLE_NULL_STRING"
type = "SAFE_PARCELABLE_NULL_STRING"
.end subannotation
.end annotation
.annotation system Ldalvik/annotation/EnclosingClass;
value = Lcom/google/android/gms/common/internal/safeparcel/SafeParcelable;
.end annotation
.annotation system Ldalvik/annotation/InnerClass;
accessFlags = 0x2609
name = "Field"
.end annotation
# virtual methods
.method public abstract defaultValue()Ljava/lang/String;
.annotation build Landroidx/annotation/NonNull;
.end annotation
.end method
.method public abstract defaultValueUnchecked()Ljava/lang/String;
.annotation build Landroidx/annotation/NonNull;
.end annotation
.end method
.method public abstract getter()Ljava/lang/String;
.annotation build Landroidx/annotation/NonNull;
.end annotation
.end method
.method public abstract id()I
.end method
.method public abstract type()Ljava/lang/String;
.annotation build Landroidx/annotation/NonNull;
.end annotation
.end method

View File

@@ -0,0 +1,30 @@
.class public interface abstract annotation Lcom/google/android/gms/common/internal/safeparcel/SafeParcelable$Indicator;
.super Ljava/lang/Object;
.source "SourceFile"
# interfaces
.implements Ljava/lang/annotation/Annotation;
# annotations
.annotation system Ldalvik/annotation/AnnotationDefault;
value = .subannotation Lcom/google/android/gms/common/internal/safeparcel/SafeParcelable$Indicator;
getter = "SAFE_PARCELABLE_NULL_STRING"
.end subannotation
.end annotation
.annotation system Ldalvik/annotation/EnclosingClass;
value = Lcom/google/android/gms/common/internal/safeparcel/SafeParcelable;
.end annotation
.annotation system Ldalvik/annotation/InnerClass;
accessFlags = 0x2609
name = "Indicator"
.end annotation
# virtual methods
.method public abstract getter()Ljava/lang/String;
.annotation build Landroidx/annotation/NonNull;
.end annotation
.end method

View File

@@ -0,0 +1,22 @@
.class public interface abstract annotation Lcom/google/android/gms/common/internal/safeparcel/SafeParcelable$Param;
.super Ljava/lang/Object;
.source "SourceFile"
# interfaces
.implements Ljava/lang/annotation/Annotation;
# annotations
.annotation system Ldalvik/annotation/EnclosingClass;
value = Lcom/google/android/gms/common/internal/safeparcel/SafeParcelable;
.end annotation
.annotation system Ldalvik/annotation/InnerClass;
accessFlags = 0x2609
name = "Param"
.end annotation
# virtual methods
.method public abstract id()I
.end method

View File

@@ -0,0 +1,39 @@
.class public interface abstract annotation Lcom/google/android/gms/common/internal/safeparcel/SafeParcelable$RemovedParam;
.super Ljava/lang/Object;
.source "SourceFile"
# interfaces
.implements Ljava/lang/annotation/Annotation;
# annotations
.annotation system Ldalvik/annotation/AnnotationDefault;
value = .subannotation Lcom/google/android/gms/common/internal/safeparcel/SafeParcelable$RemovedParam;
defaultValue = "SAFE_PARCELABLE_NULL_STRING"
defaultValueUnchecked = "SAFE_PARCELABLE_NULL_STRING"
.end subannotation
.end annotation
.annotation system Ldalvik/annotation/EnclosingClass;
value = Lcom/google/android/gms/common/internal/safeparcel/SafeParcelable;
.end annotation
.annotation system Ldalvik/annotation/InnerClass;
accessFlags = 0x2609
name = "RemovedParam"
.end annotation
# virtual methods
.method public abstract defaultValue()Ljava/lang/String;
.annotation build Landroidx/annotation/NonNull;
.end annotation
.end method
.method public abstract defaultValueUnchecked()Ljava/lang/String;
.annotation build Landroidx/annotation/NonNull;
.end annotation
.end method
.method public abstract id()I
.end method

View File

@@ -0,0 +1,24 @@
.class public interface abstract annotation Lcom/google/android/gms/common/internal/safeparcel/SafeParcelable$Reserved;
.super Ljava/lang/Object;
.source "SourceFile"
# interfaces
.implements Ljava/lang/annotation/Annotation;
# annotations
.annotation system Ldalvik/annotation/EnclosingClass;
value = Lcom/google/android/gms/common/internal/safeparcel/SafeParcelable;
.end annotation
.annotation system Ldalvik/annotation/InnerClass;
accessFlags = 0x2609
name = "Reserved"
.end annotation
# virtual methods
.method public abstract value()[I
.annotation build Landroidx/annotation/NonNull;
.end annotation
.end method

View File

@@ -0,0 +1,39 @@
.class public interface abstract annotation Lcom/google/android/gms/common/internal/safeparcel/SafeParcelable$VersionField;
.super Ljava/lang/Object;
.source "SourceFile"
# interfaces
.implements Ljava/lang/annotation/Annotation;
# annotations
.annotation system Ldalvik/annotation/AnnotationDefault;
value = .subannotation Lcom/google/android/gms/common/internal/safeparcel/SafeParcelable$VersionField;
getter = "SAFE_PARCELABLE_NULL_STRING"
type = "SAFE_PARCELABLE_NULL_STRING"
.end subannotation
.end annotation
.annotation system Ldalvik/annotation/EnclosingClass;
value = Lcom/google/android/gms/common/internal/safeparcel/SafeParcelable;
.end annotation
.annotation system Ldalvik/annotation/InnerClass;
accessFlags = 0x2609
name = "VersionField"
.end annotation
# virtual methods
.method public abstract getter()Ljava/lang/String;
.annotation build Landroidx/annotation/NonNull;
.end annotation
.end method
.method public abstract id()I
.end method
.method public abstract type()Ljava/lang/String;
.annotation build Landroidx/annotation/NonNull;
.end annotation
.end method

View File

@@ -0,0 +1,28 @@
.class public interface abstract Lcom/google/android/gms/common/internal/safeparcel/SafeParcelable;
.super Ljava/lang/Object;
.source "SourceFile"
# interfaces
.implements Landroid/os/Parcelable;
# annotations
.annotation system Ldalvik/annotation/MemberClasses;
value = {
Lcom/google/android/gms/common/internal/safeparcel/SafeParcelable$Reserved;,
Lcom/google/android/gms/common/internal/safeparcel/SafeParcelable$RemovedParam;,
Lcom/google/android/gms/common/internal/safeparcel/SafeParcelable$Param;,
Lcom/google/android/gms/common/internal/safeparcel/SafeParcelable$Constructor;,
Lcom/google/android/gms/common/internal/safeparcel/SafeParcelable$Indicator;,
Lcom/google/android/gms/common/internal/safeparcel/SafeParcelable$VersionField;,
Lcom/google/android/gms/common/internal/safeparcel/SafeParcelable$Field;,
Lcom/google/android/gms/common/internal/safeparcel/SafeParcelable$Class;
}
.end annotation
# static fields
.field public static final NULL:Ljava/lang/String; = "SAFE_PARCELABLE_NULL_STRING"
.annotation build Landroidx/annotation/NonNull;
.end annotation
.end field

View File

@@ -0,0 +1,880 @@
.class public final Lcom/google/android/gms/common/internal/safeparcel/SafeParcelableSerializer;
.super Ljava/lang/Object;
.source "SourceFile"
# annotations
.annotation build Lcom/google/android/gms/common/annotation/KeepForSdk;
.end annotation
# direct methods
.method private constructor <init>()V
.locals 0
invoke-direct {p0}, Ljava/lang/Object;-><init>()V
return-void
.end method
.method public static deserializeFromBytes([BLandroid/os/Parcelable$Creator;)Lcom/google/android/gms/common/internal/safeparcel/SafeParcelable;
.locals 3
.param p0 # [B
.annotation build Landroidx/annotation/NonNull;
.end annotation
.end param
.param p1 # Landroid/os/Parcelable$Creator;
.annotation build Landroidx/annotation/NonNull;
.end annotation
.end param
.annotation build Landroidx/annotation/NonNull;
.end annotation
.annotation build Lcom/google/android/gms/common/annotation/KeepForSdk;
.end annotation
.annotation system Ldalvik/annotation/Signature;
value = {
"<T::",
"Lcom/google/android/gms/common/internal/safeparcel/SafeParcelable;",
">([B",
"Landroid/os/Parcelable$Creator<",
"TT;>;)TT;"
}
.end annotation
.line 1
invoke-static {p1}, Lcom/google/android/gms/common/internal/Preconditions;->checkNotNull(Ljava/lang/Object;)Ljava/lang/Object;
.line 2
invoke-static {}, Landroid/os/Parcel;->obtain()Landroid/os/Parcel;
move-result-object v0
.line 3
array-length v1, p0
const/4 v2, 0x0
invoke-virtual {v0, p0, v2, v1}, Landroid/os/Parcel;->unmarshall([BII)V
.line 4
invoke-virtual {v0, v2}, Landroid/os/Parcel;->setDataPosition(I)V
.line 5
invoke-interface {p1, v0}, Landroid/os/Parcelable$Creator;->createFromParcel(Landroid/os/Parcel;)Ljava/lang/Object;
move-result-object p0
check-cast p0, Lcom/google/android/gms/common/internal/safeparcel/SafeParcelable;
.line 6
invoke-virtual {v0}, Landroid/os/Parcel;->recycle()V
return-object p0
.end method
.method public static deserializeFromIntentExtra(Landroid/content/Intent;Ljava/lang/String;Landroid/os/Parcelable$Creator;)Lcom/google/android/gms/common/internal/safeparcel/SafeParcelable;
.locals 0
.param p0 # Landroid/content/Intent;
.annotation build Landroidx/annotation/NonNull;
.end annotation
.end param
.param p1 # Ljava/lang/String;
.annotation build Landroidx/annotation/NonNull;
.end annotation
.end param
.param p2 # Landroid/os/Parcelable$Creator;
.annotation build Landroidx/annotation/NonNull;
.end annotation
.end param
.annotation build Landroidx/annotation/Nullable;
.end annotation
.annotation build Lcom/google/android/gms/common/annotation/KeepForSdk;
.end annotation
.annotation system Ldalvik/annotation/Signature;
value = {
"<T::",
"Lcom/google/android/gms/common/internal/safeparcel/SafeParcelable;",
">(",
"Landroid/content/Intent;",
"Ljava/lang/String;",
"Landroid/os/Parcelable$Creator<",
"TT;>;)TT;"
}
.end annotation
.line 1
invoke-virtual {p0, p1}, Landroid/content/Intent;->getByteArrayExtra(Ljava/lang/String;)[B
move-result-object p0
if-nez p0, :cond_0
const/4 p0, 0x0
return-object p0
.line 2
:cond_0
invoke-static {p0, p2}, Lcom/google/android/gms/common/internal/safeparcel/SafeParcelableSerializer;->deserializeFromBytes([BLandroid/os/Parcelable$Creator;)Lcom/google/android/gms/common/internal/safeparcel/SafeParcelable;
move-result-object p0
return-object p0
.end method
.method public static deserializeFromString(Ljava/lang/String;Landroid/os/Parcelable$Creator;)Lcom/google/android/gms/common/internal/safeparcel/SafeParcelable;
.locals 0
.param p0 # Ljava/lang/String;
.annotation build Landroidx/annotation/NonNull;
.end annotation
.end param
.param p1 # Landroid/os/Parcelable$Creator;
.annotation build Landroidx/annotation/NonNull;
.end annotation
.end param
.annotation build Landroidx/annotation/NonNull;
.end annotation
.annotation build Lcom/google/android/gms/common/annotation/KeepForSdk;
.end annotation
.annotation system Ldalvik/annotation/Signature;
value = {
"<T::",
"Lcom/google/android/gms/common/internal/safeparcel/SafeParcelable;",
">(",
"Ljava/lang/String;",
"Landroid/os/Parcelable$Creator<",
"TT;>;)TT;"
}
.end annotation
.line 1
invoke-static {p0}, Lcom/google/android/gms/common/util/Base64Utils;->decodeUrlSafe(Ljava/lang/String;)[B
move-result-object p0
invoke-static {p0, p1}, Lcom/google/android/gms/common/internal/safeparcel/SafeParcelableSerializer;->deserializeFromBytes([BLandroid/os/Parcelable$Creator;)Lcom/google/android/gms/common/internal/safeparcel/SafeParcelable;
move-result-object p0
return-object p0
.end method
.method public static deserializeIterableFromBundle(Landroid/os/Bundle;Ljava/lang/String;Landroid/os/Parcelable$Creator;)Ljava/util/ArrayList;
.locals 3
.param p0 # Landroid/os/Bundle;
.annotation build Landroidx/annotation/NonNull;
.end annotation
.end param
.param p1 # Ljava/lang/String;
.annotation build Landroidx/annotation/NonNull;
.end annotation
.end param
.param p2 # Landroid/os/Parcelable$Creator;
.annotation build Landroidx/annotation/NonNull;
.end annotation
.end param
.annotation build Landroidx/annotation/Nullable;
.end annotation
.annotation system Ldalvik/annotation/Signature;
value = {
"<T::",
"Lcom/google/android/gms/common/internal/safeparcel/SafeParcelable;",
">(",
"Landroid/os/Bundle;",
"Ljava/lang/String;",
"Landroid/os/Parcelable$Creator<",
"TT;>;)",
"Ljava/util/ArrayList<",
"TT;>;"
}
.end annotation
.annotation runtime Ljava/lang/Deprecated;
.end annotation
.line 1
invoke-virtual {p0, p1}, Landroid/os/Bundle;->getSerializable(Ljava/lang/String;)Ljava/io/Serializable;
move-result-object p0
check-cast p0, Ljava/util/ArrayList;
if-nez p0, :cond_0
const/4 p0, 0x0
return-object p0
:cond_0
new-instance p1, Ljava/util/ArrayList;
.line 2
invoke-virtual {p0}, Ljava/util/ArrayList;->size()I
move-result v0
invoke-direct {p1, v0}, Ljava/util/ArrayList;-><init>(I)V
invoke-interface {p0}, Ljava/util/List;->size()I
move-result v0
const/4 v1, 0x0
:goto_0
if-ge v1, v0, :cond_1
invoke-interface {p0, v1}, Ljava/util/List;->get(I)Ljava/lang/Object;
move-result-object v2
.line 3
check-cast v2, [B
.line 4
invoke-static {v2, p2}, Lcom/google/android/gms/common/internal/safeparcel/SafeParcelableSerializer;->deserializeFromBytes([BLandroid/os/Parcelable$Creator;)Lcom/google/android/gms/common/internal/safeparcel/SafeParcelable;
move-result-object v2
invoke-virtual {p1, v2}, Ljava/util/ArrayList;->add(Ljava/lang/Object;)Z
add-int/lit8 v1, v1, 0x1
goto :goto_0
:cond_1
return-object p1
.end method
.method public static deserializeIterableFromBundleSafe(Landroid/os/Bundle;Ljava/lang/String;Landroid/os/Parcelable$Creator;)Ljava/util/ArrayList;
.locals 0
.param p0 # Landroid/os/Bundle;
.annotation build Landroidx/annotation/NonNull;
.end annotation
.end param
.param p1 # Ljava/lang/String;
.annotation build Landroidx/annotation/NonNull;
.end annotation
.end param
.param p2 # Landroid/os/Parcelable$Creator;
.annotation build Landroidx/annotation/NonNull;
.end annotation
.end param
.annotation build Landroidx/annotation/Nullable;
.end annotation
.annotation build Lcom/google/android/gms/common/annotation/KeepForSdk;
.end annotation
.annotation system Ldalvik/annotation/Signature;
value = {
"<T::",
"Lcom/google/android/gms/common/internal/safeparcel/SafeParcelable;",
">(",
"Landroid/os/Bundle;",
"Ljava/lang/String;",
"Landroid/os/Parcelable$Creator<",
"TT;>;)",
"Ljava/util/ArrayList<",
"TT;>;"
}
.end annotation
.line 1
invoke-virtual {p0, p1}, Landroid/os/Bundle;->getByteArray(Ljava/lang/String;)[B
move-result-object p0
.line 2
invoke-static {p0, p2}, Lcom/google/android/gms/common/internal/safeparcel/SafeParcelableSerializer;->deserializeIterableFromBytes([BLandroid/os/Parcelable$Creator;)Ljava/util/ArrayList;
move-result-object p0
return-object p0
.end method
.method public static deserializeIterableFromBytes([BLandroid/os/Parcelable$Creator;)Ljava/util/ArrayList;
.locals 3
.param p0 # [B
.annotation build Landroidx/annotation/Nullable;
.end annotation
.end param
.param p1 # Landroid/os/Parcelable$Creator;
.annotation build Landroidx/annotation/NonNull;
.end annotation
.end param
.annotation build Landroidx/annotation/Nullable;
.end annotation
.annotation system Ldalvik/annotation/Signature;
value = {
"<T::",
"Lcom/google/android/gms/common/internal/safeparcel/SafeParcelable;",
">([B",
"Landroid/os/Parcelable$Creator<",
"TT;>;)",
"Ljava/util/ArrayList<",
"TT;>;"
}
.end annotation
if-nez p0, :cond_0
const/4 p0, 0x0
return-object p0
.line 1
:cond_0
invoke-static {}, Landroid/os/Parcel;->obtain()Landroid/os/Parcel;
move-result-object v0
array-length v1, p0
const/4 v2, 0x0
.line 2
invoke-virtual {v0, p0, v2, v1}, Landroid/os/Parcel;->unmarshall([BII)V
.line 3
invoke-virtual {v0, v2}, Landroid/os/Parcel;->setDataPosition(I)V
:try_start_0
new-instance p0, Ljava/util/ArrayList;
.line 4
invoke-direct {p0}, Ljava/util/ArrayList;-><init>()V
.line 5
invoke-virtual {v0, p0, p1}, Landroid/os/Parcel;->readTypedList(Ljava/util/List;Landroid/os/Parcelable$Creator;)V
:try_end_0
.catchall {:try_start_0 .. :try_end_0} :catchall_0
.line 6
invoke-virtual {v0}, Landroid/os/Parcel;->recycle()V
return-object p0
:catchall_0
move-exception p0
invoke-virtual {v0}, Landroid/os/Parcel;->recycle()V
.line 7
throw p0
.end method
.method public static deserializeIterableFromIntentExtra(Landroid/content/Intent;Ljava/lang/String;Landroid/os/Parcelable$Creator;)Ljava/util/ArrayList;
.locals 3
.param p0 # Landroid/content/Intent;
.annotation build Landroidx/annotation/NonNull;
.end annotation
.end param
.param p1 # Ljava/lang/String;
.annotation build Landroidx/annotation/NonNull;
.end annotation
.end param
.param p2 # Landroid/os/Parcelable$Creator;
.annotation build Landroidx/annotation/NonNull;
.end annotation
.end param
.annotation build Landroidx/annotation/Nullable;
.end annotation
.annotation build Lcom/google/android/gms/common/annotation/KeepForSdk;
.end annotation
.annotation system Ldalvik/annotation/Signature;
value = {
"<T::",
"Lcom/google/android/gms/common/internal/safeparcel/SafeParcelable;",
">(",
"Landroid/content/Intent;",
"Ljava/lang/String;",
"Landroid/os/Parcelable$Creator<",
"TT;>;)",
"Ljava/util/ArrayList<",
"TT;>;"
}
.end annotation
.annotation runtime Ljava/lang/Deprecated;
.end annotation
.line 1
invoke-virtual {p0, p1}, Landroid/content/Intent;->getSerializableExtra(Ljava/lang/String;)Ljava/io/Serializable;
move-result-object p0
check-cast p0, Ljava/util/ArrayList;
if-nez p0, :cond_0
const/4 p0, 0x0
return-object p0
:cond_0
new-instance p1, Ljava/util/ArrayList;
.line 2
invoke-virtual {p0}, Ljava/util/ArrayList;->size()I
move-result v0
invoke-direct {p1, v0}, Ljava/util/ArrayList;-><init>(I)V
invoke-interface {p0}, Ljava/util/List;->size()I
move-result v0
const/4 v1, 0x0
:goto_0
if-ge v1, v0, :cond_1
invoke-interface {p0, v1}, Ljava/util/List;->get(I)Ljava/lang/Object;
move-result-object v2
.line 3
check-cast v2, [B
.line 4
invoke-static {v2, p2}, Lcom/google/android/gms/common/internal/safeparcel/SafeParcelableSerializer;->deserializeFromBytes([BLandroid/os/Parcelable$Creator;)Lcom/google/android/gms/common/internal/safeparcel/SafeParcelable;
move-result-object v2
invoke-virtual {p1, v2}, Ljava/util/ArrayList;->add(Ljava/lang/Object;)Z
add-int/lit8 v1, v1, 0x1
goto :goto_0
:cond_1
return-object p1
.end method
.method public static deserializeIterableFromIntentExtraSafe(Landroid/content/Intent;Ljava/lang/String;Landroid/os/Parcelable$Creator;)Ljava/util/ArrayList;
.locals 0
.param p0 # Landroid/content/Intent;
.annotation build Landroidx/annotation/NonNull;
.end annotation
.end param
.param p1 # Ljava/lang/String;
.annotation build Landroidx/annotation/NonNull;
.end annotation
.end param
.param p2 # Landroid/os/Parcelable$Creator;
.annotation build Landroidx/annotation/NonNull;
.end annotation
.end param
.annotation build Landroidx/annotation/Nullable;
.end annotation
.annotation build Lcom/google/android/gms/common/annotation/KeepForSdk;
.end annotation
.annotation system Ldalvik/annotation/Signature;
value = {
"<T::",
"Lcom/google/android/gms/common/internal/safeparcel/SafeParcelable;",
">(",
"Landroid/content/Intent;",
"Ljava/lang/String;",
"Landroid/os/Parcelable$Creator<",
"TT;>;)",
"Ljava/util/ArrayList<",
"TT;>;"
}
.end annotation
.line 1
invoke-virtual {p0, p1}, Landroid/content/Intent;->getByteArrayExtra(Ljava/lang/String;)[B
move-result-object p0
.line 2
invoke-static {p0, p2}, Lcom/google/android/gms/common/internal/safeparcel/SafeParcelableSerializer;->deserializeIterableFromBytes([BLandroid/os/Parcelable$Creator;)Ljava/util/ArrayList;
move-result-object p0
return-object p0
.end method
.method public static serializeIterableToBundle(Ljava/lang/Iterable;Landroid/os/Bundle;Ljava/lang/String;)V
.locals 2
.param p0 # Ljava/lang/Iterable;
.annotation build Landroidx/annotation/NonNull;
.end annotation
.end param
.param p1 # Landroid/os/Bundle;
.annotation build Landroidx/annotation/NonNull;
.end annotation
.end param
.param p2 # Ljava/lang/String;
.annotation build Landroidx/annotation/NonNull;
.end annotation
.end param
.annotation system Ldalvik/annotation/Signature;
value = {
"<T::",
"Lcom/google/android/gms/common/internal/safeparcel/SafeParcelable;",
">(",
"Ljava/lang/Iterable<",
"TT;>;",
"Landroid/os/Bundle;",
"Ljava/lang/String;",
")V"
}
.end annotation
.annotation runtime Ljava/lang/Deprecated;
.end annotation
.line 1
new-instance v0, Ljava/util/ArrayList;
invoke-direct {v0}, Ljava/util/ArrayList;-><init>()V
.line 2
invoke-interface {p0}, Ljava/lang/Iterable;->iterator()Ljava/util/Iterator;
move-result-object p0
:goto_0
invoke-interface {p0}, Ljava/util/Iterator;->hasNext()Z
move-result v1
if-eqz v1, :cond_0
invoke-interface {p0}, Ljava/util/Iterator;->next()Ljava/lang/Object;
move-result-object v1
check-cast v1, Lcom/google/android/gms/common/internal/safeparcel/SafeParcelable;
.line 3
invoke-static {v1}, Lcom/google/android/gms/common/internal/safeparcel/SafeParcelableSerializer;->serializeToBytes(Lcom/google/android/gms/common/internal/safeparcel/SafeParcelable;)[B
move-result-object v1
invoke-virtual {v0, v1}, Ljava/util/ArrayList;->add(Ljava/lang/Object;)Z
goto :goto_0
.line 4
:cond_0
invoke-virtual {p1, p2, v0}, Landroid/os/Bundle;->putSerializable(Ljava/lang/String;Ljava/io/Serializable;)V
return-void
.end method
.method public static serializeIterableToBundleSafe(Ljava/lang/Iterable;Landroid/os/Bundle;Ljava/lang/String;)V
.locals 0
.param p0 # Ljava/lang/Iterable;
.annotation build Landroidx/annotation/NonNull;
.end annotation
.end param
.param p1 # Landroid/os/Bundle;
.annotation build Landroidx/annotation/NonNull;
.end annotation
.end param
.param p2 # Ljava/lang/String;
.annotation build Landroidx/annotation/NonNull;
.end annotation
.end param
.annotation system Ldalvik/annotation/Signature;
value = {
"<T::",
"Lcom/google/android/gms/common/internal/safeparcel/SafeParcelable;",
">(",
"Ljava/lang/Iterable<",
"TT;>;",
"Landroid/os/Bundle;",
"Ljava/lang/String;",
")V"
}
.end annotation
.line 1
invoke-static {p0}, Lcom/google/android/gms/common/internal/safeparcel/SafeParcelableSerializer;->zza(Ljava/lang/Iterable;)[B
move-result-object p0
.line 2
invoke-virtual {p1, p2, p0}, Landroid/os/Bundle;->putByteArray(Ljava/lang/String;[B)V
return-void
.end method
.method public static serializeIterableToIntentExtra(Ljava/lang/Iterable;Landroid/content/Intent;Ljava/lang/String;)V
.locals 2
.param p0 # Ljava/lang/Iterable;
.annotation build Landroidx/annotation/NonNull;
.end annotation
.end param
.param p1 # Landroid/content/Intent;
.annotation build Landroidx/annotation/NonNull;
.end annotation
.end param
.param p2 # Ljava/lang/String;
.annotation build Landroidx/annotation/NonNull;
.end annotation
.end param
.annotation build Lcom/google/android/gms/common/annotation/KeepForSdk;
.end annotation
.annotation system Ldalvik/annotation/Signature;
value = {
"<T::",
"Lcom/google/android/gms/common/internal/safeparcel/SafeParcelable;",
">(",
"Ljava/lang/Iterable<",
"TT;>;",
"Landroid/content/Intent;",
"Ljava/lang/String;",
")V"
}
.end annotation
.annotation runtime Ljava/lang/Deprecated;
.end annotation
.line 1
new-instance v0, Ljava/util/ArrayList;
invoke-direct {v0}, Ljava/util/ArrayList;-><init>()V
.line 2
invoke-interface {p0}, Ljava/lang/Iterable;->iterator()Ljava/util/Iterator;
move-result-object p0
:goto_0
invoke-interface {p0}, Ljava/util/Iterator;->hasNext()Z
move-result v1
if-eqz v1, :cond_0
invoke-interface {p0}, Ljava/util/Iterator;->next()Ljava/lang/Object;
move-result-object v1
check-cast v1, Lcom/google/android/gms/common/internal/safeparcel/SafeParcelable;
.line 3
invoke-static {v1}, Lcom/google/android/gms/common/internal/safeparcel/SafeParcelableSerializer;->serializeToBytes(Lcom/google/android/gms/common/internal/safeparcel/SafeParcelable;)[B
move-result-object v1
invoke-virtual {v0, v1}, Ljava/util/ArrayList;->add(Ljava/lang/Object;)Z
goto :goto_0
.line 4
:cond_0
invoke-virtual {p1, p2, v0}, Landroid/content/Intent;->putExtra(Ljava/lang/String;Ljava/io/Serializable;)Landroid/content/Intent;
return-void
.end method
.method public static serializeIterableToIntentExtraSafe(Ljava/lang/Iterable;Landroid/content/Intent;Ljava/lang/String;)V
.locals 0
.param p0 # Ljava/lang/Iterable;
.annotation build Landroidx/annotation/NonNull;
.end annotation
.end param
.param p1 # Landroid/content/Intent;
.annotation build Landroidx/annotation/NonNull;
.end annotation
.end param
.param p2 # Ljava/lang/String;
.annotation build Landroidx/annotation/NonNull;
.end annotation
.end param
.annotation build Lcom/google/android/gms/common/annotation/KeepForSdk;
.end annotation
.annotation system Ldalvik/annotation/Signature;
value = {
"<T::",
"Lcom/google/android/gms/common/internal/safeparcel/SafeParcelable;",
">(",
"Ljava/lang/Iterable<",
"TT;>;",
"Landroid/content/Intent;",
"Ljava/lang/String;",
")V"
}
.end annotation
.line 1
invoke-static {p0}, Lcom/google/android/gms/common/internal/safeparcel/SafeParcelableSerializer;->zza(Ljava/lang/Iterable;)[B
move-result-object p0
.line 2
invoke-virtual {p1, p2, p0}, Landroid/content/Intent;->putExtra(Ljava/lang/String;[B)Landroid/content/Intent;
return-void
.end method
.method public static serializeToBytes(Lcom/google/android/gms/common/internal/safeparcel/SafeParcelable;)[B
.locals 2
.param p0 # Lcom/google/android/gms/common/internal/safeparcel/SafeParcelable;
.annotation build Landroidx/annotation/NonNull;
.end annotation
.end param
.annotation build Landroidx/annotation/NonNull;
.end annotation
.annotation build Lcom/google/android/gms/common/annotation/KeepForSdk;
.end annotation
.annotation system Ldalvik/annotation/Signature;
value = {
"<T::",
"Lcom/google/android/gms/common/internal/safeparcel/SafeParcelable;",
">(TT;)[B"
}
.end annotation
.line 1
invoke-static {}, Landroid/os/Parcel;->obtain()Landroid/os/Parcel;
move-result-object v0
const/4 v1, 0x0
.line 2
invoke-interface {p0, v0, v1}, Landroid/os/Parcelable;->writeToParcel(Landroid/os/Parcel;I)V
.line 3
invoke-virtual {v0}, Landroid/os/Parcel;->marshall()[B
move-result-object p0
.line 4
invoke-virtual {v0}, Landroid/os/Parcel;->recycle()V
return-object p0
.end method
.method public static serializeToIntentExtra(Lcom/google/android/gms/common/internal/safeparcel/SafeParcelable;Landroid/content/Intent;Ljava/lang/String;)V
.locals 0
.param p0 # Lcom/google/android/gms/common/internal/safeparcel/SafeParcelable;
.annotation build Landroidx/annotation/NonNull;
.end annotation
.end param
.param p1 # Landroid/content/Intent;
.annotation build Landroidx/annotation/NonNull;
.end annotation
.end param
.param p2 # Ljava/lang/String;
.annotation build Landroidx/annotation/NonNull;
.end annotation
.end param
.annotation build Lcom/google/android/gms/common/annotation/KeepForSdk;
.end annotation
.annotation system Ldalvik/annotation/Signature;
value = {
"<T::",
"Lcom/google/android/gms/common/internal/safeparcel/SafeParcelable;",
">(TT;",
"Landroid/content/Intent;",
"Ljava/lang/String;",
")V"
}
.end annotation
.line 1
invoke-static {p0}, Lcom/google/android/gms/common/internal/safeparcel/SafeParcelableSerializer;->serializeToBytes(Lcom/google/android/gms/common/internal/safeparcel/SafeParcelable;)[B
move-result-object p0
invoke-virtual {p1, p2, p0}, Landroid/content/Intent;->putExtra(Ljava/lang/String;[B)Landroid/content/Intent;
return-void
.end method
.method public static serializeToString(Lcom/google/android/gms/common/internal/safeparcel/SafeParcelable;)Ljava/lang/String;
.locals 0
.param p0 # Lcom/google/android/gms/common/internal/safeparcel/SafeParcelable;
.annotation build Landroidx/annotation/NonNull;
.end annotation
.end param
.annotation build Landroidx/annotation/NonNull;
.end annotation
.annotation build Lcom/google/android/gms/common/annotation/KeepForSdk;
.end annotation
.annotation system Ldalvik/annotation/Signature;
value = {
"<T::",
"Lcom/google/android/gms/common/internal/safeparcel/SafeParcelable;",
">(TT;)",
"Ljava/lang/String;"
}
.end annotation
.line 1
invoke-static {p0}, Lcom/google/android/gms/common/internal/safeparcel/SafeParcelableSerializer;->serializeToBytes(Lcom/google/android/gms/common/internal/safeparcel/SafeParcelable;)[B
move-result-object p0
invoke-static {p0}, Lcom/google/android/gms/common/util/Base64Utils;->encodeUrlSafe([B)Ljava/lang/String;
move-result-object p0
return-object p0
.end method
.method private static zza(Ljava/lang/Iterable;)[B
.locals 1
.line 1
invoke-static {}, Landroid/os/Parcel;->obtain()Landroid/os/Parcel;
move-result-object v0
.line 2
:try_start_0
invoke-static {p0}, Lcom/google/android/gms/internal/common/zzag;->zzj(Ljava/lang/Iterable;)Lcom/google/android/gms/internal/common/zzag;
move-result-object p0
invoke-virtual {v0, p0}, Landroid/os/Parcel;->writeTypedList(Ljava/util/List;)V
.line 3
invoke-virtual {v0}, Landroid/os/Parcel;->marshall()[B
move-result-object p0
:try_end_0
.catchall {:try_start_0 .. :try_end_0} :catchall_0
.line 4
invoke-virtual {v0}, Landroid/os/Parcel;->recycle()V
return-object p0
:catchall_0
move-exception p0
invoke-virtual {v0}, Landroid/os/Parcel;->recycle()V
.line 5
throw p0
.end method