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,292 @@
.class public Lcom/google/android/gms/common/moduleinstall/ModuleInstallStatusUpdate;
.super Lcom/google/android/gms/common/internal/safeparcel/AbstractSafeParcelable;
.source "SourceFile"
# annotations
.annotation build Lcom/google/android/gms/common/internal/safeparcel/SafeParcelable$Class;
creator = "ModuleInstallStatusUpdateCreator"
.end annotation
.annotation system Ldalvik/annotation/MemberClasses;
value = {
Lcom/google/android/gms/common/moduleinstall/ModuleInstallStatusUpdate$ProgressInfo;,
Lcom/google/android/gms/common/moduleinstall/ModuleInstallStatusUpdate$InstallState;
}
.end annotation
# static fields
.field public static final CREATOR:Landroid/os/Parcelable$Creator;
.annotation build Landroidx/annotation/NonNull;
.end annotation
.annotation system Ldalvik/annotation/Signature;
value = {
"Landroid/os/Parcelable$Creator<",
"Lcom/google/android/gms/common/moduleinstall/ModuleInstallStatusUpdate;",
">;"
}
.end annotation
.end field
# instance fields
.field private final zaa:I
.annotation build Lcom/google/android/gms/common/internal/safeparcel/SafeParcelable$Field;
getter = "getSessionId"
id = 0x1
.end annotation
.end field
.field private final zab:I
.annotation build Lcom/google/android/gms/common/internal/safeparcel/SafeParcelable$Field;
getter = "getInstallState"
id = 0x2
.end annotation
.annotation build Lcom/google/android/gms/common/moduleinstall/ModuleInstallStatusUpdate$InstallState;
.end annotation
.end field
.field private final zac:Ljava/lang/Long;
.annotation build Landroidx/annotation/Nullable;
.end annotation
.annotation build Lcom/google/android/gms/common/internal/safeparcel/SafeParcelable$Field;
getter = "getBytesDownloaded"
id = 0x3
.end annotation
.end field
.field private final zad:Ljava/lang/Long;
.annotation build Landroidx/annotation/Nullable;
.end annotation
.annotation build Lcom/google/android/gms/common/internal/safeparcel/SafeParcelable$Field;
getter = "getTotalBytesToDownload"
id = 0x4
.end annotation
.end field
.field private final zae:I
.annotation build Lcom/google/android/gms/common/internal/safeparcel/SafeParcelable$Field;
getter = "getErrorCode"
id = 0x5
.end annotation
.end field
.field private final zaf:Lcom/google/android/gms/common/moduleinstall/ModuleInstallStatusUpdate$ProgressInfo;
.annotation build Landroidx/annotation/Nullable;
.end annotation
.end field
# direct methods
.method static constructor <clinit>()V
.locals 1
new-instance v0, Lcom/google/android/gms/common/moduleinstall/zae;
invoke-direct {v0}, Lcom/google/android/gms/common/moduleinstall/zae;-><init>()V
sput-object v0, Lcom/google/android/gms/common/moduleinstall/ModuleInstallStatusUpdate;->CREATOR:Landroid/os/Parcelable$Creator;
return-void
.end method
.method public constructor <init>(IILjava/lang/Long;Ljava/lang/Long;I)V
.locals 2
.param p1 # I
.annotation build Lcom/google/android/gms/common/internal/safeparcel/SafeParcelable$Param;
id = 0x1
.end annotation
.end param
.param p2 # I
.annotation build Lcom/google/android/gms/common/internal/safeparcel/SafeParcelable$Param;
id = 0x2
.end annotation
.annotation build Lcom/google/android/gms/common/moduleinstall/ModuleInstallStatusUpdate$InstallState;
.end annotation
.end param
.param p3 # Ljava/lang/Long;
.annotation build Landroidx/annotation/Nullable;
.end annotation
.annotation build Lcom/google/android/gms/common/internal/safeparcel/SafeParcelable$Param;
id = 0x3
.end annotation
.end param
.param p4 # Ljava/lang/Long;
.annotation build Landroidx/annotation/Nullable;
.end annotation
.annotation build Lcom/google/android/gms/common/internal/safeparcel/SafeParcelable$Param;
id = 0x4
.end annotation
.end param
.param p5 # I
.annotation build Lcom/google/android/gms/common/internal/safeparcel/SafeParcelable$Param;
id = 0x5
.end annotation
.end param
.annotation build Lcom/google/android/gms/common/annotation/KeepForSdk;
.end annotation
.annotation build Lcom/google/android/gms/common/internal/safeparcel/SafeParcelable$Constructor;
.end annotation
.line 1
invoke-direct {p0}, Lcom/google/android/gms/common/internal/safeparcel/AbstractSafeParcelable;-><init>()V
iput p1, p0, Lcom/google/android/gms/common/moduleinstall/ModuleInstallStatusUpdate;->zaa:I
iput p2, p0, Lcom/google/android/gms/common/moduleinstall/ModuleInstallStatusUpdate;->zab:I
iput-object p3, p0, Lcom/google/android/gms/common/moduleinstall/ModuleInstallStatusUpdate;->zac:Ljava/lang/Long;
iput-object p4, p0, Lcom/google/android/gms/common/moduleinstall/ModuleInstallStatusUpdate;->zad:Ljava/lang/Long;
iput p5, p0, Lcom/google/android/gms/common/moduleinstall/ModuleInstallStatusUpdate;->zae:I
if-eqz p3, :cond_0
if-eqz p4, :cond_0
.line 2
invoke-virtual {p4}, Ljava/lang/Long;->longValue()J
move-result-wide p1
const-wide/16 v0, 0x0
cmp-long p1, p1, v0
if-eqz p1, :cond_0
new-instance p1, Lcom/google/android/gms/common/moduleinstall/ModuleInstallStatusUpdate$ProgressInfo;
.line 3
invoke-virtual {p3}, Ljava/lang/Long;->longValue()J
move-result-wide p2
invoke-virtual {p4}, Ljava/lang/Long;->longValue()J
move-result-wide p4
invoke-direct {p1, p2, p3, p4, p5}, Lcom/google/android/gms/common/moduleinstall/ModuleInstallStatusUpdate$ProgressInfo;-><init>(JJ)V
:goto_0
iput-object p1, p0, Lcom/google/android/gms/common/moduleinstall/ModuleInstallStatusUpdate;->zaf:Lcom/google/android/gms/common/moduleinstall/ModuleInstallStatusUpdate$ProgressInfo;
return-void
:cond_0
const/4 p1, 0x0
goto :goto_0
.end method
# virtual methods
.method public getErrorCode()I
.locals 1
iget v0, p0, Lcom/google/android/gms/common/moduleinstall/ModuleInstallStatusUpdate;->zae:I
return v0
.end method
.method public getInstallState()I
.locals 1
.annotation build Lcom/google/android/gms/common/moduleinstall/ModuleInstallStatusUpdate$InstallState;
.end annotation
iget v0, p0, Lcom/google/android/gms/common/moduleinstall/ModuleInstallStatusUpdate;->zab:I
return v0
.end method
.method public getProgressInfo()Lcom/google/android/gms/common/moduleinstall/ModuleInstallStatusUpdate$ProgressInfo;
.locals 1
.annotation build Landroidx/annotation/Nullable;
.end annotation
iget-object v0, p0, Lcom/google/android/gms/common/moduleinstall/ModuleInstallStatusUpdate;->zaf:Lcom/google/android/gms/common/moduleinstall/ModuleInstallStatusUpdate$ProgressInfo;
return-object v0
.end method
.method public getSessionId()I
.locals 1
iget v0, p0, Lcom/google/android/gms/common/moduleinstall/ModuleInstallStatusUpdate;->zaa:I
return v0
.end method
.method public writeToParcel(Landroid/os/Parcel;I)V
.locals 3
.param p1 # Landroid/os/Parcel;
.annotation build Landroidx/annotation/NonNull;
.end annotation
.end param
.line 1
invoke-static {p1}, Lcom/google/android/gms/common/internal/safeparcel/SafeParcelWriter;->beginObjectHeader(Landroid/os/Parcel;)I
move-result p2
const/4 v0, 0x1
.line 2
invoke-virtual {p0}, Lcom/google/android/gms/common/moduleinstall/ModuleInstallStatusUpdate;->getSessionId()I
move-result v1
.line 3
invoke-static {p1, v0, v1}, Lcom/google/android/gms/common/internal/safeparcel/SafeParcelWriter;->writeInt(Landroid/os/Parcel;II)V
const/4 v0, 0x2
.line 4
invoke-virtual {p0}, Lcom/google/android/gms/common/moduleinstall/ModuleInstallStatusUpdate;->getInstallState()I
move-result v1
.line 5
invoke-static {p1, v0, v1}, Lcom/google/android/gms/common/internal/safeparcel/SafeParcelWriter;->writeInt(Landroid/os/Parcel;II)V
iget-object v0, p0, Lcom/google/android/gms/common/moduleinstall/ModuleInstallStatusUpdate;->zac:Ljava/lang/Long;
const/4 v1, 0x3
const/4 v2, 0x0
.line 6
invoke-static {p1, v1, v0, v2}, Lcom/google/android/gms/common/internal/safeparcel/SafeParcelWriter;->writeLongObject(Landroid/os/Parcel;ILjava/lang/Long;Z)V
const/4 v0, 0x4
iget-object v1, p0, Lcom/google/android/gms/common/moduleinstall/ModuleInstallStatusUpdate;->zad:Ljava/lang/Long;
.line 7
invoke-static {p1, v0, v1, v2}, Lcom/google/android/gms/common/internal/safeparcel/SafeParcelWriter;->writeLongObject(Landroid/os/Parcel;ILjava/lang/Long;Z)V
const/4 v0, 0x5
.line 8
invoke-virtual {p0}, Lcom/google/android/gms/common/moduleinstall/ModuleInstallStatusUpdate;->getErrorCode()I
move-result v1
.line 9
invoke-static {p1, v0, v1}, Lcom/google/android/gms/common/internal/safeparcel/SafeParcelWriter;->writeInt(Landroid/os/Parcel;II)V
.line 10
invoke-static {p1, p2}, Lcom/google/android/gms/common/internal/safeparcel/SafeParcelWriter;->finishObjectHeader(Landroid/os/Parcel;I)V
return-void
.end method