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,41 @@
.class public interface abstract Lorg/apache/http/cookie/ClientCookie;
.super Ljava/lang/Object;
.source "SourceFile"
# interfaces
.implements Lorg/apache/http/cookie/Cookie;
# annotations
.annotation runtime Ljava/lang/Deprecated;
.end annotation
# static fields
.field public static final COMMENTURL_ATTR:Ljava/lang/String; = "commenturl"
.field public static final COMMENT_ATTR:Ljava/lang/String; = "comment"
.field public static final DISCARD_ATTR:Ljava/lang/String; = "discard"
.field public static final DOMAIN_ATTR:Ljava/lang/String; = "domain"
.field public static final EXPIRES_ATTR:Ljava/lang/String; = "expires"
.field public static final MAX_AGE_ATTR:Ljava/lang/String; = "max-age"
.field public static final PATH_ATTR:Ljava/lang/String; = "path"
.field public static final PORT_ATTR:Ljava/lang/String; = "port"
.field public static final SECURE_ATTR:Ljava/lang/String; = "secure"
.field public static final VERSION_ATTR:Ljava/lang/String; = "version"
# virtual methods
.method public abstract containsAttribute(Ljava/lang/String;)Z
.end method
.method public abstract getAttribute(Ljava/lang/String;)Ljava/lang/String;
.end method

View File

@@ -0,0 +1,46 @@
.class public interface abstract Lorg/apache/http/cookie/Cookie;
.super Ljava/lang/Object;
.source "SourceFile"
# annotations
.annotation runtime Ljava/lang/Deprecated;
.end annotation
# virtual methods
.method public abstract getComment()Ljava/lang/String;
.end method
.method public abstract getCommentURL()Ljava/lang/String;
.end method
.method public abstract getDomain()Ljava/lang/String;
.end method
.method public abstract getExpiryDate()Ljava/util/Date;
.end method
.method public abstract getName()Ljava/lang/String;
.end method
.method public abstract getPath()Ljava/lang/String;
.end method
.method public abstract getPorts()[I
.end method
.method public abstract getValue()Ljava/lang/String;
.end method
.method public abstract getVersion()I
.end method
.method public abstract isExpired(Ljava/util/Date;)Z
.end method
.method public abstract isPersistent()Z
.end method
.method public abstract isSecure()Z
.end method

View File

@@ -0,0 +1,29 @@
.class public interface abstract Lorg/apache/http/cookie/CookieAttributeHandler;
.super Ljava/lang/Object;
.source "SourceFile"
# annotations
.annotation runtime Ljava/lang/Deprecated;
.end annotation
# virtual methods
.method public abstract match(Lorg/apache/http/cookie/Cookie;Lorg/apache/http/cookie/CookieOrigin;)Z
.end method
.method public abstract parse(Lorg/apache/http/cookie/SetCookie;Ljava/lang/String;)V
.annotation system Ldalvik/annotation/Throws;
value = {
Lorg/apache/http/cookie/MalformedCookieException;
}
.end annotation
.end method
.method public abstract validate(Lorg/apache/http/cookie/Cookie;Lorg/apache/http/cookie/CookieOrigin;)V
.annotation system Ldalvik/annotation/Throws;
value = {
Lorg/apache/http/cookie/MalformedCookieException;
}
.end annotation
.end method

View File

@@ -0,0 +1,69 @@
.class public Lorg/apache/http/cookie/CookieIdentityComparator;
.super Ljava/lang/Object;
.source "SourceFile"
# interfaces
.implements Ljava/io/Serializable;
.implements Ljava/util/Comparator;
# annotations
.annotation system Ldalvik/annotation/Signature;
value = {
"Ljava/lang/Object;",
"Ljava/io/Serializable;",
"Ljava/util/Comparator<",
"Lorg/apache/http/cookie/Cookie;",
">;"
}
.end annotation
.annotation runtime Ljava/lang/Deprecated;
.end annotation
# direct methods
.method public constructor <init>()V
.locals 2
.line 6
invoke-direct {p0}, Ljava/lang/Object;-><init>()V
new-instance v0, Ljava/lang/RuntimeException;
const-string v1, "Stub!"
invoke-direct {v0, v1}, Ljava/lang/RuntimeException;-><init>(Ljava/lang/String;)V
throw v0
.end method
# virtual methods
.method public bridge synthetic compare(Ljava/lang/Object;Ljava/lang/Object;)I
.locals 0
.line 2
check-cast p1, Lorg/apache/http/cookie/Cookie;
check-cast p2, Lorg/apache/http/cookie/Cookie;
invoke-virtual {p0, p1, p2}, Lorg/apache/http/cookie/CookieIdentityComparator;->compare(Lorg/apache/http/cookie/Cookie;Lorg/apache/http/cookie/Cookie;)I
move-result p1
return p1
.end method
.method public compare(Lorg/apache/http/cookie/Cookie;Lorg/apache/http/cookie/Cookie;)I
.locals 0
.line 7
new-instance p1, Ljava/lang/RuntimeException;
const-string p2, "Stub!"
invoke-direct {p1, p2}, Ljava/lang/RuntimeException;-><init>(Ljava/lang/String;)V
throw p1
.end method

View File

@@ -0,0 +1,92 @@
.class public final Lorg/apache/http/cookie/CookieOrigin;
.super Ljava/lang/Object;
.source "SourceFile"
# annotations
.annotation runtime Ljava/lang/Deprecated;
.end annotation
# direct methods
.method public constructor <init>(Ljava/lang/String;ILjava/lang/String;Z)V
.locals 0
.line 5
invoke-direct {p0}, Ljava/lang/Object;-><init>()V
new-instance p1, Ljava/lang/RuntimeException;
const-string p2, "Stub!"
invoke-direct {p1, p2}, Ljava/lang/RuntimeException;-><init>(Ljava/lang/String;)V
throw p1
.end method
# virtual methods
.method public getHost()Ljava/lang/String;
.locals 2
.line 6
new-instance v0, Ljava/lang/RuntimeException;
const-string v1, "Stub!"
invoke-direct {v0, v1}, Ljava/lang/RuntimeException;-><init>(Ljava/lang/String;)V
throw v0
.end method
.method public getPath()Ljava/lang/String;
.locals 2
.line 7
new-instance v0, Ljava/lang/RuntimeException;
const-string v1, "Stub!"
invoke-direct {v0, v1}, Ljava/lang/RuntimeException;-><init>(Ljava/lang/String;)V
throw v0
.end method
.method public getPort()I
.locals 2
.line 8
new-instance v0, Ljava/lang/RuntimeException;
const-string v1, "Stub!"
invoke-direct {v0, v1}, Ljava/lang/RuntimeException;-><init>(Ljava/lang/String;)V
throw v0
.end method
.method public isSecure()Z
.locals 2
.line 9
new-instance v0, Ljava/lang/RuntimeException;
const-string v1, "Stub!"
invoke-direct {v0, v1}, Ljava/lang/RuntimeException;-><init>(Ljava/lang/String;)V
throw v0
.end method
.method public toString()Ljava/lang/String;
.locals 2
.line 10
new-instance v0, Ljava/lang/RuntimeException;
const-string v1, "Stub!"
invoke-direct {v0, v1}, Ljava/lang/RuntimeException;-><init>(Ljava/lang/String;)V
throw v0
.end method

View File

@@ -0,0 +1,69 @@
.class public Lorg/apache/http/cookie/CookiePathComparator;
.super Ljava/lang/Object;
.source "SourceFile"
# interfaces
.implements Ljava/io/Serializable;
.implements Ljava/util/Comparator;
# annotations
.annotation system Ldalvik/annotation/Signature;
value = {
"Ljava/lang/Object;",
"Ljava/io/Serializable;",
"Ljava/util/Comparator<",
"Lorg/apache/http/cookie/Cookie;",
">;"
}
.end annotation
.annotation runtime Ljava/lang/Deprecated;
.end annotation
# direct methods
.method public constructor <init>()V
.locals 2
.line 6
invoke-direct {p0}, Ljava/lang/Object;-><init>()V
new-instance v0, Ljava/lang/RuntimeException;
const-string v1, "Stub!"
invoke-direct {v0, v1}, Ljava/lang/RuntimeException;-><init>(Ljava/lang/String;)V
throw v0
.end method
# virtual methods
.method public bridge synthetic compare(Ljava/lang/Object;Ljava/lang/Object;)I
.locals 0
.line 2
check-cast p1, Lorg/apache/http/cookie/Cookie;
check-cast p2, Lorg/apache/http/cookie/Cookie;
invoke-virtual {p0, p1, p2}, Lorg/apache/http/cookie/CookiePathComparator;->compare(Lorg/apache/http/cookie/Cookie;Lorg/apache/http/cookie/Cookie;)I
move-result p1
return p1
.end method
.method public compare(Lorg/apache/http/cookie/Cookie;Lorg/apache/http/cookie/Cookie;)I
.locals 0
.line 7
new-instance p1, Ljava/lang/RuntimeException;
const-string p2, "Stub!"
invoke-direct {p1, p2}, Ljava/lang/RuntimeException;-><init>(Ljava/lang/String;)V
throw p1
.end method

View File

@@ -0,0 +1,61 @@
.class public interface abstract Lorg/apache/http/cookie/CookieSpec;
.super Ljava/lang/Object;
.source "SourceFile"
# annotations
.annotation runtime Ljava/lang/Deprecated;
.end annotation
# virtual methods
.method public abstract formatCookies(Ljava/util/List;)Ljava/util/List;
.annotation system Ldalvik/annotation/Signature;
value = {
"(",
"Ljava/util/List<",
"Lorg/apache/http/cookie/Cookie;",
">;)",
"Ljava/util/List<",
"Lorg/apache/http/Header;",
">;"
}
.end annotation
.end method
.method public abstract getVersion()I
.end method
.method public abstract getVersionHeader()Lorg/apache/http/Header;
.end method
.method public abstract match(Lorg/apache/http/cookie/Cookie;Lorg/apache/http/cookie/CookieOrigin;)Z
.end method
.method public abstract parse(Lorg/apache/http/Header;Lorg/apache/http/cookie/CookieOrigin;)Ljava/util/List;
.annotation system Ldalvik/annotation/Signature;
value = {
"(",
"Lorg/apache/http/Header;",
"Lorg/apache/http/cookie/CookieOrigin;",
")",
"Ljava/util/List<",
"Lorg/apache/http/cookie/Cookie;",
">;"
}
.end annotation
.annotation system Ldalvik/annotation/Throws;
value = {
Lorg/apache/http/cookie/MalformedCookieException;
}
.end annotation
.end method
.method public abstract validate(Lorg/apache/http/cookie/Cookie;Lorg/apache/http/cookie/CookieOrigin;)V
.annotation system Ldalvik/annotation/Throws;
value = {
Lorg/apache/http/cookie/MalformedCookieException;
}
.end annotation
.end method

View File

@@ -0,0 +1,13 @@
.class public interface abstract Lorg/apache/http/cookie/CookieSpecFactory;
.super Ljava/lang/Object;
.source "SourceFile"
# annotations
.annotation runtime Ljava/lang/Deprecated;
.end annotation
# virtual methods
.method public abstract newInstance(Lorg/apache/http/params/HttpParams;)Lorg/apache/http/cookie/CookieSpec;
.end method

View File

@@ -0,0 +1,204 @@
.class public final Lorg/apache/http/cookie/CookieSpecRegistry;
.super Ljava/lang/Object;
.source "SourceFile"
# annotations
.annotation runtime Ljava/lang/Deprecated;
.end annotation
# direct methods
.method public constructor <init>()V
.locals 2
.line 5
invoke-direct {p0}, Ljava/lang/Object;-><init>()V
new-instance v0, Ljava/lang/RuntimeException;
const-string v1, "Stub!"
invoke-direct {v0, v1}, Ljava/lang/RuntimeException;-><init>(Ljava/lang/String;)V
throw v0
.end method
# virtual methods
.method public declared-synchronized getCookieSpec(Ljava/lang/String;)Lorg/apache/http/cookie/CookieSpec;
.locals 1
.annotation system Ldalvik/annotation/Throws;
value = {
Ljava/lang/IllegalStateException;
}
.end annotation
monitor-enter p0
.line 9
:try_start_0
new-instance p1, Ljava/lang/RuntimeException;
const-string v0, "Stub!"
invoke-direct {p1, v0}, Ljava/lang/RuntimeException;-><init>(Ljava/lang/String;)V
throw p1
:try_end_0
.catchall {:try_start_0 .. :try_end_0} :catchall_0
:catchall_0
move-exception p1
monitor-exit p0
throw p1
.end method
.method public declared-synchronized getCookieSpec(Ljava/lang/String;Lorg/apache/http/params/HttpParams;)Lorg/apache/http/cookie/CookieSpec;
.locals 0
.annotation system Ldalvik/annotation/Throws;
value = {
Ljava/lang/IllegalStateException;
}
.end annotation
monitor-enter p0
.line 8
:try_start_0
new-instance p1, Ljava/lang/RuntimeException;
const-string p2, "Stub!"
invoke-direct {p1, p2}, Ljava/lang/RuntimeException;-><init>(Ljava/lang/String;)V
throw p1
:try_end_0
.catchall {:try_start_0 .. :try_end_0} :catchall_0
:catchall_0
move-exception p1
monitor-exit p0
throw p1
.end method
.method public declared-synchronized getSpecNames()Ljava/util/List;
.locals 2
.annotation system Ldalvik/annotation/Signature;
value = {
"()",
"Ljava/util/List<",
"Ljava/lang/String;",
">;"
}
.end annotation
monitor-enter p0
.line 10
:try_start_0
new-instance v0, Ljava/lang/RuntimeException;
const-string v1, "Stub!"
invoke-direct {v0, v1}, Ljava/lang/RuntimeException;-><init>(Ljava/lang/String;)V
throw v0
:try_end_0
.catchall {:try_start_0 .. :try_end_0} :catchall_0
:catchall_0
move-exception v0
monitor-exit p0
throw v0
.end method
.method public declared-synchronized register(Ljava/lang/String;Lorg/apache/http/cookie/CookieSpecFactory;)V
.locals 0
monitor-enter p0
.line 6
:try_start_0
new-instance p1, Ljava/lang/RuntimeException;
const-string p2, "Stub!"
invoke-direct {p1, p2}, Ljava/lang/RuntimeException;-><init>(Ljava/lang/String;)V
throw p1
:try_end_0
.catchall {:try_start_0 .. :try_end_0} :catchall_0
:catchall_0
move-exception p1
monitor-exit p0
throw p1
.end method
.method public declared-synchronized setItems(Ljava/util/Map;)V
.locals 1
.annotation system Ldalvik/annotation/Signature;
value = {
"(",
"Ljava/util/Map<",
"Ljava/lang/String;",
"Lorg/apache/http/cookie/CookieSpecFactory;",
">;)V"
}
.end annotation
monitor-enter p0
.line 11
:try_start_0
new-instance p1, Ljava/lang/RuntimeException;
const-string v0, "Stub!"
invoke-direct {p1, v0}, Ljava/lang/RuntimeException;-><init>(Ljava/lang/String;)V
throw p1
:try_end_0
.catchall {:try_start_0 .. :try_end_0} :catchall_0
:catchall_0
move-exception p1
monitor-exit p0
throw p1
.end method
.method public declared-synchronized unregister(Ljava/lang/String;)V
.locals 1
monitor-enter p0
.line 7
:try_start_0
new-instance p1, Ljava/lang/RuntimeException;
const-string v0, "Stub!"
invoke-direct {p1, v0}, Ljava/lang/RuntimeException;-><init>(Ljava/lang/String;)V
throw p1
:try_end_0
.catchall {:try_start_0 .. :try_end_0} :catchall_0
:catchall_0
move-exception p1
monitor-exit p0
throw p1
.end method

View File

@@ -0,0 +1,55 @@
.class public Lorg/apache/http/cookie/MalformedCookieException;
.super Lorg/apache/http/ProtocolException;
.source "SourceFile"
# annotations
.annotation runtime Ljava/lang/Deprecated;
.end annotation
# direct methods
.method public constructor <init>()V
.locals 2
.line 6
invoke-direct {p0}, Lorg/apache/http/ProtocolException;-><init>()V
new-instance v0, Ljava/lang/RuntimeException;
const-string v1, "Stub!"
invoke-direct {v0, v1}, Ljava/lang/RuntimeException;-><init>(Ljava/lang/String;)V
throw v0
.end method
.method public constructor <init>(Ljava/lang/String;)V
.locals 1
.line 7
invoke-direct {p0}, Lorg/apache/http/ProtocolException;-><init>()V
new-instance p1, Ljava/lang/RuntimeException;
const-string v0, "Stub!"
invoke-direct {p1, v0}, Ljava/lang/RuntimeException;-><init>(Ljava/lang/String;)V
throw p1
.end method
.method public constructor <init>(Ljava/lang/String;Ljava/lang/Throwable;)V
.locals 0
.line 8
invoke-direct {p0}, Lorg/apache/http/ProtocolException;-><init>()V
new-instance p1, Ljava/lang/RuntimeException;
const-string p2, "Stub!"
invoke-direct {p1, p2}, Ljava/lang/RuntimeException;-><init>(Ljava/lang/String;)V
throw p1
.end method

View File

@@ -0,0 +1,18 @@
.class public interface abstract Lorg/apache/http/cookie/SM;
.super Ljava/lang/Object;
.source "SourceFile"
# annotations
.annotation runtime Ljava/lang/Deprecated;
.end annotation
# static fields
.field public static final COOKIE:Ljava/lang/String; = "Cookie"
.field public static final COOKIE2:Ljava/lang/String; = "Cookie2"
.field public static final SET_COOKIE:Ljava/lang/String; = "Set-Cookie"
.field public static final SET_COOKIE2:Ljava/lang/String; = "Set-Cookie2"

View File

@@ -0,0 +1,34 @@
.class public interface abstract Lorg/apache/http/cookie/SetCookie;
.super Ljava/lang/Object;
.source "SourceFile"
# interfaces
.implements Lorg/apache/http/cookie/Cookie;
# annotations
.annotation runtime Ljava/lang/Deprecated;
.end annotation
# virtual methods
.method public abstract setComment(Ljava/lang/String;)V
.end method
.method public abstract setDomain(Ljava/lang/String;)V
.end method
.method public abstract setExpiryDate(Ljava/util/Date;)V
.end method
.method public abstract setPath(Ljava/lang/String;)V
.end method
.method public abstract setSecure(Z)V
.end method
.method public abstract setValue(Ljava/lang/String;)V
.end method
.method public abstract setVersion(I)V
.end method

View File

@@ -0,0 +1,22 @@
.class public interface abstract Lorg/apache/http/cookie/SetCookie2;
.super Ljava/lang/Object;
.source "SourceFile"
# interfaces
.implements Lorg/apache/http/cookie/SetCookie;
# annotations
.annotation runtime Ljava/lang/Deprecated;
.end annotation
# virtual methods
.method public abstract setCommentURL(Ljava/lang/String;)V
.end method
.method public abstract setDiscard(Z)V
.end method
.method public abstract setPorts([I)V
.end method

View File

@@ -0,0 +1,14 @@
.class public interface abstract Lorg/apache/http/cookie/params/CookieSpecPNames;
.super Ljava/lang/Object;
.source "SourceFile"
# annotations
.annotation runtime Ljava/lang/Deprecated;
.end annotation
# static fields
.field public static final DATE_PATTERNS:Ljava/lang/String; = "http.protocol.cookie-datepatterns"
.field public static final SINGLE_COOKIE_HEADER:Ljava/lang/String; = "http.protocol.single-cookie-header"

View File

@@ -0,0 +1,63 @@
.class public Lorg/apache/http/cookie/params/CookieSpecParamBean;
.super Lorg/apache/http/params/HttpAbstractParamBean;
.source "SourceFile"
# annotations
.annotation runtime Ljava/lang/Deprecated;
.end annotation
# direct methods
.method public constructor <init>(Lorg/apache/http/params/HttpParams;)V
.locals 1
const/4 p1, 0x0
.line 6
invoke-direct {p0, p1}, Lorg/apache/http/params/HttpAbstractParamBean;-><init>(Lorg/apache/http/params/HttpParams;)V
new-instance p1, Ljava/lang/RuntimeException;
const-string v0, "Stub!"
invoke-direct {p1, v0}, Ljava/lang/RuntimeException;-><init>(Ljava/lang/String;)V
throw p1
.end method
# virtual methods
.method public setDatePatterns(Ljava/util/Collection;)V
.locals 1
.annotation system Ldalvik/annotation/Signature;
value = {
"(",
"Ljava/util/Collection<",
"Ljava/lang/String;",
">;)V"
}
.end annotation
.line 7
new-instance p1, Ljava/lang/RuntimeException;
const-string v0, "Stub!"
invoke-direct {p1, v0}, Ljava/lang/RuntimeException;-><init>(Ljava/lang/String;)V
throw p1
.end method
.method public setSingleHeader(Z)V
.locals 1
.line 8
new-instance p1, Ljava/lang/RuntimeException;
const-string v0, "Stub!"
invoke-direct {p1, v0}, Ljava/lang/RuntimeException;-><init>(Ljava/lang/String;)V
throw p1
.end method