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,123 @@
.class public Landroidx/appcompat/resources/Compatibility$Api21Impl;
.super Ljava/lang/Object;
.source "SourceFile"
# annotations
.annotation build Landroidx/annotation/RequiresApi;
value = 0x15
.end annotation
.annotation system Ldalvik/annotation/EnclosingClass;
value = Landroidx/appcompat/resources/Compatibility;
.end annotation
.annotation system Ldalvik/annotation/InnerClass;
accessFlags = 0x9
name = "Api21Impl"
.end annotation
# direct methods
.method private constructor <init>()V
.locals 0
.line 47
invoke-direct {p0}, Ljava/lang/Object;-><init>()V
return-void
.end method
.method public static createFromXmlInner(Landroid/content/res/Resources;Lorg/xmlpull/v1/XmlPullParser;Landroid/util/AttributeSet;Landroid/content/res/Resources$Theme;)Landroid/graphics/drawable/Drawable;
.locals 0
.param p0 # Landroid/content/res/Resources;
.annotation build Landroidx/annotation/NonNull;
.end annotation
.end param
.param p1 # Lorg/xmlpull/v1/XmlPullParser;
.annotation build Landroidx/annotation/NonNull;
.end annotation
.end param
.param p2 # Landroid/util/AttributeSet;
.annotation build Landroidx/annotation/NonNull;
.end annotation
.end param
.param p3 # Landroid/content/res/Resources$Theme;
.annotation build Landroidx/annotation/Nullable;
.end annotation
.end param
.annotation build Landroidx/annotation/DoNotInline;
.end annotation
.annotation build Landroidx/annotation/NonNull;
.end annotation
.annotation system Ldalvik/annotation/Throws;
value = {
Ljava/io/IOException;,
Lorg/xmlpull/v1/XmlPullParserException;
}
.end annotation
.line 68
invoke-static {p0, p1, p2, p3}, Landroid/graphics/drawable/Drawable;->createFromXmlInner(Landroid/content/res/Resources;Lorg/xmlpull/v1/XmlPullParser;Landroid/util/AttributeSet;Landroid/content/res/Resources$Theme;)Landroid/graphics/drawable/Drawable;
move-result-object p0
return-object p0
.end method
.method public static getChangingConfigurations(Landroid/content/res/TypedArray;)I
.locals 0
.param p0 # Landroid/content/res/TypedArray;
.annotation build Landroidx/annotation/NonNull;
.end annotation
.end param
.annotation build Landroidx/annotation/DoNotInline;
.end annotation
.line 60
invoke-virtual {p0}, Landroid/content/res/TypedArray;->getChangingConfigurations()I
move-result p0
return p0
.end method
.method public static inflate(Landroid/graphics/drawable/Drawable;Landroid/content/res/Resources;Lorg/xmlpull/v1/XmlPullParser;Landroid/util/AttributeSet;Landroid/content/res/Resources$Theme;)V
.locals 0
.param p0 # Landroid/graphics/drawable/Drawable;
.annotation build Landroidx/annotation/NonNull;
.end annotation
.end param
.param p1 # Landroid/content/res/Resources;
.annotation build Landroidx/annotation/NonNull;
.end annotation
.end param
.param p2 # Lorg/xmlpull/v1/XmlPullParser;
.annotation build Landroidx/annotation/NonNull;
.end annotation
.end param
.param p3 # Landroid/util/AttributeSet;
.annotation build Landroidx/annotation/NonNull;
.end annotation
.end param
.param p4 # Landroid/content/res/Resources$Theme;
.annotation build Landroidx/annotation/Nullable;
.end annotation
.end param
.annotation build Landroidx/annotation/DoNotInline;
.end annotation
.annotation system Ldalvik/annotation/Throws;
value = {
Ljava/io/IOException;,
Lorg/xmlpull/v1/XmlPullParserException;
}
.end annotation
.line 55
invoke-virtual {p0, p1, p2, p3, p4}, Landroid/graphics/drawable/Drawable;->inflate(Landroid/content/res/Resources;Lorg/xmlpull/v1/XmlPullParser;Landroid/util/AttributeSet;Landroid/content/res/Resources$Theme;)V
return-void
.end method

View File

@@ -0,0 +1,28 @@
.class public final Landroidx/appcompat/resources/Compatibility;
.super Ljava/lang/Object;
.source "SourceFile"
# annotations
.annotation build Landroidx/annotation/RestrictTo;
value = {
.enum Landroidx/annotation/RestrictTo$Scope;->LIBRARY:Landroidx/annotation/RestrictTo$Scope;
}
.end annotation
.annotation system Ldalvik/annotation/MemberClasses;
value = {
Landroidx/appcompat/resources/Compatibility$Api21Impl;
}
.end annotation
# direct methods
.method private constructor <init>()V
.locals 0
.line 41
invoke-direct {p0}, Ljava/lang/Object;-><init>()V
return-void
.end method

View File

@@ -0,0 +1,28 @@
.class public final Landroidx/appcompat/resources/R$drawable;
.super Ljava/lang/Object;
.source "SourceFile"
# annotations
.annotation system Ldalvik/annotation/EnclosingClass;
value = Landroidx/appcompat/resources/R;
.end annotation
.annotation system Ldalvik/annotation/InnerClass;
accessFlags = 0x19
name = "drawable"
.end annotation
# static fields
.field public static abc_vector_test:I = 0x7f080059
# direct methods
.method private constructor <init>()V
.locals 0
invoke-direct {p0}, Ljava/lang/Object;-><init>()V
return-void
.end method

View File

@@ -0,0 +1,144 @@
.class public final Landroidx/appcompat/resources/R$styleable;
.super Ljava/lang/Object;
.source "SourceFile"
# annotations
.annotation system Ldalvik/annotation/EnclosingClass;
value = Landroidx/appcompat/resources/R;
.end annotation
.annotation system Ldalvik/annotation/InnerClass;
accessFlags = 0x19
name = "styleable"
.end annotation
# static fields
.field public static AnimatedStateListDrawableCompat:[I = null
.field public static AnimatedStateListDrawableCompat_android_constantSize:I = 0x3
.field public static AnimatedStateListDrawableCompat_android_dither:I = 0x0
.field public static AnimatedStateListDrawableCompat_android_enterFadeDuration:I = 0x4
.field public static AnimatedStateListDrawableCompat_android_exitFadeDuration:I = 0x5
.field public static AnimatedStateListDrawableCompat_android_variablePadding:I = 0x2
.field public static AnimatedStateListDrawableCompat_android_visible:I = 0x1
.field public static AnimatedStateListDrawableItem:[I = null
.field public static AnimatedStateListDrawableItem_android_drawable:I = 0x1
.field public static AnimatedStateListDrawableItem_android_id:I = 0x0
.field public static AnimatedStateListDrawableTransition:[I = null
.field public static AnimatedStateListDrawableTransition_android_drawable:I = 0x0
.field public static AnimatedStateListDrawableTransition_android_fromId:I = 0x2
.field public static AnimatedStateListDrawableTransition_android_reversible:I = 0x3
.field public static AnimatedStateListDrawableTransition_android_toId:I = 0x1
.field public static StateListDrawable:[I = null
.field public static StateListDrawableItem:[I = null
.field public static StateListDrawableItem_android_drawable:I = 0x0
.field public static StateListDrawable_android_constantSize:I = 0x3
.field public static StateListDrawable_android_dither:I = 0x0
.field public static StateListDrawable_android_enterFadeDuration:I = 0x4
.field public static StateListDrawable_android_exitFadeDuration:I = 0x5
.field public static StateListDrawable_android_variablePadding:I = 0x2
.field public static StateListDrawable_android_visible:I = 0x1
# direct methods
.method public static constructor <clinit>()V
.locals 5
const/4 v0, 0x6
new-array v1, v0, [I
fill-array-data v1, :array_0
sput-object v1, Landroidx/appcompat/resources/R$styleable;->AnimatedStateListDrawableCompat:[I
const v1, 0x10100d0
const v2, 0x1010199
filled-new-array {v1, v2}, [I
move-result-object v1
sput-object v1, Landroidx/appcompat/resources/R$styleable;->AnimatedStateListDrawableItem:[I
const v1, 0x101044a
const v3, 0x101044b
const v4, 0x1010449
filled-new-array {v2, v4, v1, v3}, [I
move-result-object v1
sput-object v1, Landroidx/appcompat/resources/R$styleable;->AnimatedStateListDrawableTransition:[I
new-array v0, v0, [I
fill-array-data v0, :array_1
sput-object v0, Landroidx/appcompat/resources/R$styleable;->StateListDrawable:[I
filled-new-array {v2}, [I
move-result-object v0
sput-object v0, Landroidx/appcompat/resources/R$styleable;->StateListDrawableItem:[I
return-void
nop
:array_0
.array-data 4
0x101011c
0x1010194
0x1010195
0x1010196
0x101030c
0x101030d
.end array-data
:array_1
.array-data 4
0x101011c
0x1010194
0x1010195
0x1010196
0x101030c
0x101030d
.end array-data
.end method
.method private constructor <init>()V
.locals 0
invoke-direct {p0}, Ljava/lang/Object;-><init>()V
return-void
.end method

View File

@@ -0,0 +1,22 @@
.class public final Landroidx/appcompat/resources/R;
.super Ljava/lang/Object;
.source "SourceFile"
# annotations
.annotation system Ldalvik/annotation/MemberClasses;
value = {
Landroidx/appcompat/resources/R$drawable;,
Landroidx/appcompat/resources/R$styleable;
}
.end annotation
# direct methods
.method private constructor <init>()V
.locals 0
invoke-direct {p0}, Ljava/lang/Object;-><init>()V
return-void
.end method