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,13 @@
.class public interface abstract Lorg/apache/http/conn/scheme/HostNameResolver;
.super Ljava/lang/Object;
.source "SourceFile"
# virtual methods
.method public abstract resolve(Ljava/lang/String;)Ljava/net/InetAddress;
.annotation system Ldalvik/annotation/Throws;
value = {
Ljava/io/IOException;
}
.end annotation
.end method

View File

@@ -0,0 +1,133 @@
.class public final Lorg/apache/http/conn/scheme/PlainSocketFactory;
.super Ljava/lang/Object;
.source "SourceFile"
# interfaces
.implements Lorg/apache/http/conn/scheme/SocketFactory;
# annotations
.annotation runtime Ljava/lang/Deprecated;
.end annotation
# direct methods
.method public constructor <init>()V
.locals 2
.line 7
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
.method public constructor <init>(Lorg/apache/http/conn/scheme/HostNameResolver;)V
.locals 1
.line 6
invoke-direct {p0}, Ljava/lang/Object;-><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 static getSocketFactory()Lorg/apache/http/conn/scheme/PlainSocketFactory;
.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
# virtual methods
.method public connectSocket(Ljava/net/Socket;Ljava/lang/String;ILjava/net/InetAddress;ILorg/apache/http/params/HttpParams;)Ljava/net/Socket;
.locals 0
.annotation system Ldalvik/annotation/Throws;
value = {
Ljava/io/IOException;
}
.end annotation
.line 10
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
.method public createSocket()Ljava/net/Socket;
.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 equals(Ljava/lang/Object;)Z
.locals 1
.line 12
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 hashCode()I
.locals 2
.line 13
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 final isSecure(Ljava/net/Socket;)Z
.locals 1
.annotation system Ldalvik/annotation/Throws;
value = {
Ljava/lang/IllegalArgumentException;
}
.end annotation
.line 11
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

View File

@@ -0,0 +1,131 @@
.class public final Lorg/apache/http/conn/scheme/Scheme;
.super Ljava/lang/Object;
.source "SourceFile"
# annotations
.annotation runtime Ljava/lang/Deprecated;
.end annotation
# direct methods
.method public constructor <init>(Ljava/lang/String;Lorg/apache/http/conn/scheme/SocketFactory;I)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 final equals(Ljava/lang/Object;)Z
.locals 1
.line 12
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 final getDefaultPort()I
.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 final getName()Ljava/lang/String;
.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 final getSocketFactory()Lorg/apache/http/conn/scheme/SocketFactory;
.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 hashCode()I
.locals 2
.line 13
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 final isLayered()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 final resolvePort(I)I
.locals 1
.line 10
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 final toString()Ljava/lang/String;
.locals 2
.line 11
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,219 @@
.class public final Lorg/apache/http/conn/scheme/SchemeRegistry;
.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 final declared-synchronized get(Ljava/lang/String;)Lorg/apache/http/conn/scheme/Scheme;
.locals 1
monitor-enter p0
.line 8
: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 final declared-synchronized getScheme(Ljava/lang/String;)Lorg/apache/http/conn/scheme/Scheme;
.locals 1
monitor-enter p0
.line 6
: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 final declared-synchronized getScheme(Lorg/apache/http/HttpHost;)Lorg/apache/http/conn/scheme/Scheme;
.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
.method public final declared-synchronized getSchemeNames()Ljava/util/List;
.locals 2
.annotation system Ldalvik/annotation/Signature;
value = {
"()",
"Ljava/util/List<",
"Ljava/lang/String;",
">;"
}
.end annotation
monitor-enter p0
.line 11
: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 final declared-synchronized register(Lorg/apache/http/conn/scheme/Scheme;)Lorg/apache/http/conn/scheme/Scheme;
.locals 1
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 setItems(Ljava/util/Map;)V
.locals 1
.annotation system Ldalvik/annotation/Signature;
value = {
"(",
"Ljava/util/Map<",
"Ljava/lang/String;",
"Lorg/apache/http/conn/scheme/Scheme;",
">;)V"
}
.end annotation
monitor-enter p0
.line 12
: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 final declared-synchronized unregister(Ljava/lang/String;)Lorg/apache/http/conn/scheme/Scheme;
.locals 1
monitor-enter p0
.line 10
: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,31 @@
.class public interface abstract Lorg/apache/http/conn/scheme/SocketFactory;
.super Ljava/lang/Object;
.source "SourceFile"
# virtual methods
.method public abstract connectSocket(Ljava/net/Socket;Ljava/lang/String;ILjava/net/InetAddress;ILorg/apache/http/params/HttpParams;)Ljava/net/Socket;
.annotation system Ldalvik/annotation/Throws;
value = {
Ljava/io/IOException;,
Ljava/net/UnknownHostException;,
Lorg/apache/http/conn/ConnectTimeoutException;
}
.end annotation
.end method
.method public abstract createSocket()Ljava/net/Socket;
.annotation system Ldalvik/annotation/Throws;
value = {
Ljava/io/IOException;
}
.end annotation
.end method
.method public abstract isSecure(Ljava/net/Socket;)Z
.annotation system Ldalvik/annotation/Throws;
value = {
Ljava/lang/IllegalArgumentException;
}
.end annotation
.end method