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

File diff suppressed because it is too large Load Diff

View File

@@ -0,0 +1,116 @@
.class public final Lcom/fyber/inneractive/sdk/player/exoplayer2/mediacodec/b$a;
.super Ljava/lang/Exception;
.source "SourceFile"
# annotations
.annotation system Ldalvik/annotation/EnclosingClass;
value = Lcom/fyber/inneractive/sdk/player/exoplayer2/mediacodec/b;
.end annotation
.annotation system Ldalvik/annotation/InnerClass;
accessFlags = 0x9
name = "a"
.end annotation
# direct methods
.method public constructor <init>(Lcom/fyber/inneractive/sdk/player/exoplayer2/j;Lcom/fyber/inneractive/sdk/player/exoplayer2/mediacodec/d$b;I)V
.locals 2
.line 1
new-instance v0, Ljava/lang/StringBuilder;
const-string v1, "Decoder init failed: ["
invoke-direct {v0, v1}, Ljava/lang/StringBuilder;-><init>(Ljava/lang/String;)V
invoke-virtual {v0, p3}, Ljava/lang/StringBuilder;->append(I)Ljava/lang/StringBuilder;
const-string v1, "], "
invoke-virtual {v0, v1}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;
invoke-virtual {v0, p1}, Ljava/lang/StringBuilder;->append(Ljava/lang/Object;)Ljava/lang/StringBuilder;
invoke-virtual {v0}, Ljava/lang/StringBuilder;->toString()Ljava/lang/String;
move-result-object v0
invoke-direct {p0, v0, p2}, Ljava/lang/Exception;-><init>(Ljava/lang/String;Ljava/lang/Throwable;)V
.line 2
iget-object p1, p1, Lcom/fyber/inneractive/sdk/player/exoplayer2/j;->f:Ljava/lang/String;
.line 5
invoke-static {p3}, Lcom/fyber/inneractive/sdk/player/exoplayer2/mediacodec/b$a;->a(I)V
return-void
.end method
.method public constructor <init>(Lcom/fyber/inneractive/sdk/player/exoplayer2/j;Ljava/lang/Exception;Ljava/lang/String;)V
.locals 2
.line 6
new-instance v0, Ljava/lang/StringBuilder;
const-string v1, "Decoder init failed: "
invoke-direct {v0, v1}, Ljava/lang/StringBuilder;-><init>(Ljava/lang/String;)V
invoke-virtual {v0, p3}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;
const-string p3, ", "
invoke-virtual {v0, p3}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;
invoke-virtual {v0, p1}, Ljava/lang/StringBuilder;->append(Ljava/lang/Object;)Ljava/lang/StringBuilder;
invoke-virtual {v0}, Ljava/lang/StringBuilder;->toString()Ljava/lang/String;
move-result-object p3
invoke-direct {p0, p3, p2}, Ljava/lang/Exception;-><init>(Ljava/lang/String;Ljava/lang/Throwable;)V
.line 7
iget-object p1, p1, Lcom/fyber/inneractive/sdk/player/exoplayer2/j;->f:Ljava/lang/String;
.line 10
sget p1, Lcom/fyber/inneractive/sdk/player/exoplayer2/util/s;->a:I
const/16 p3, 0x15
if-lt p1, p3, :cond_0
invoke-static {p2}, Lcom/fyber/inneractive/sdk/player/exoplayer2/mediacodec/b$a;->a(Ljava/lang/Exception;)V
:cond_0
return-void
.end method
.method public static a(I)V
.locals 0
.line 0
return-void
.end method
.method public static a(Ljava/lang/Exception;)V
.locals 1
.annotation build Landroid/annotation/TargetApi;
value = 0x15
.end annotation
.line 1
instance-of v0, p0, Landroid/media/MediaCodec$CodecException;
if-eqz v0, :cond_0
.line 2
check-cast p0, Landroid/media/MediaCodec$CodecException;
invoke-virtual {p0}, Landroid/media/MediaCodec$CodecException;->getDiagnosticInfo()Ljava/lang/String;
:cond_0
return-void
.end method

File diff suppressed because it is too large Load Diff

View File

@@ -0,0 +1,45 @@
.class public final Lcom/fyber/inneractive/sdk/player/exoplayer2/mediacodec/c$a;
.super Ljava/lang/Object;
.source "SourceFile"
# interfaces
.implements Lcom/fyber/inneractive/sdk/player/exoplayer2/mediacodec/c;
# annotations
.annotation system Ldalvik/annotation/EnclosingClass;
value = Lcom/fyber/inneractive/sdk/player/exoplayer2/mediacodec/c;
.end annotation
.annotation system Ldalvik/annotation/InnerClass;
accessFlags = 0x1
name = null
.end annotation
# 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 a(ZLjava/lang/String;)Lcom/fyber/inneractive/sdk/player/exoplayer2/mediacodec/a;
.locals 0
.annotation system Ldalvik/annotation/Throws;
value = {
Lcom/fyber/inneractive/sdk/player/exoplayer2/mediacodec/d$b;
}
.end annotation
.line 1
invoke-static {p1, p2}, Lcom/fyber/inneractive/sdk/player/exoplayer2/mediacodec/d;->a(ZLjava/lang/String;)Lcom/fyber/inneractive/sdk/player/exoplayer2/mediacodec/a;
move-result-object p1
return-object p1
.end method

View File

@@ -0,0 +1,32 @@
.class public interface abstract Lcom/fyber/inneractive/sdk/player/exoplayer2/mediacodec/c;
.super Ljava/lang/Object;
.source "SourceFile"
# static fields
.field public static final a:Lcom/fyber/inneractive/sdk/player/exoplayer2/mediacodec/c$a;
# direct methods
.method public static constructor <clinit>()V
.locals 1
.line 1
new-instance v0, Lcom/fyber/inneractive/sdk/player/exoplayer2/mediacodec/c$a;
invoke-direct {v0}, Lcom/fyber/inneractive/sdk/player/exoplayer2/mediacodec/c$a;-><init>()V
sput-object v0, Lcom/fyber/inneractive/sdk/player/exoplayer2/mediacodec/c;->a:Lcom/fyber/inneractive/sdk/player/exoplayer2/mediacodec/c$a;
return-void
.end method
# virtual methods
.method public abstract a(ZLjava/lang/String;)Lcom/fyber/inneractive/sdk/player/exoplayer2/mediacodec/a;
.annotation system Ldalvik/annotation/Throws;
value = {
Lcom/fyber/inneractive/sdk/player/exoplayer2/mediacodec/d$b;
}
.end annotation
.end method

View File

@@ -0,0 +1,135 @@
.class public final Lcom/fyber/inneractive/sdk/player/exoplayer2/mediacodec/d$a;
.super Ljava/lang/Object;
.source "SourceFile"
# annotations
.annotation system Ldalvik/annotation/EnclosingClass;
value = Lcom/fyber/inneractive/sdk/player/exoplayer2/mediacodec/d;
.end annotation
.annotation system Ldalvik/annotation/InnerClass;
accessFlags = 0x19
name = "a"
.end annotation
# instance fields
.field public final a:Ljava/lang/String;
.field public final b:Z
# direct methods
.method public constructor <init>(ZLjava/lang/String;)V
.locals 0
.line 1
invoke-direct {p0}, Ljava/lang/Object;-><init>()V
iput-object p2, p0, Lcom/fyber/inneractive/sdk/player/exoplayer2/mediacodec/d$a;->a:Ljava/lang/String;
iput-boolean p1, p0, Lcom/fyber/inneractive/sdk/player/exoplayer2/mediacodec/d$a;->b:Z
return-void
.end method
# virtual methods
.method public final equals(Ljava/lang/Object;)Z
.locals 4
const/4 v0, 0x1
if-ne p0, p1, :cond_0
return v0
:cond_0
const/4 v1, 0x0
if-eqz p1, :cond_3
.line 1
invoke-virtual {p1}, Ljava/lang/Object;->getClass()Ljava/lang/Class;
move-result-object v2
const-class v3, Lcom/fyber/inneractive/sdk/player/exoplayer2/mediacodec/d$a;
if-eq v2, v3, :cond_1
goto :goto_1
.line 4
:cond_1
check-cast p1, Lcom/fyber/inneractive/sdk/player/exoplayer2/mediacodec/d$a;
iget-object v2, p0, Lcom/fyber/inneractive/sdk/player/exoplayer2/mediacodec/d$a;->a:Ljava/lang/String;
.line 5
iget-object v3, p1, Lcom/fyber/inneractive/sdk/player/exoplayer2/mediacodec/d$a;->a:Ljava/lang/String;
invoke-static {v2, v3}, Landroid/text/TextUtils;->equals(Ljava/lang/CharSequence;Ljava/lang/CharSequence;)Z
move-result v2
if-eqz v2, :cond_2
iget-boolean v2, p0, Lcom/fyber/inneractive/sdk/player/exoplayer2/mediacodec/d$a;->b:Z
iget-boolean p1, p1, Lcom/fyber/inneractive/sdk/player/exoplayer2/mediacodec/d$a;->b:Z
if-ne v2, p1, :cond_2
goto :goto_0
:cond_2
move v0, v1
:goto_0
return v0
:cond_3
:goto_1
return v1
.end method
.method public final hashCode()I
.locals 2
iget-object v0, p0, Lcom/fyber/inneractive/sdk/player/exoplayer2/mediacodec/d$a;->a:Ljava/lang/String;
if-nez v0, :cond_0
const/4 v0, 0x0
goto :goto_0
.line 1
:cond_0
invoke-virtual {v0}, Ljava/lang/String;->hashCode()I
move-result v0
:goto_0
add-int/lit8 v0, v0, 0x1f
mul-int/lit8 v0, v0, 0x1f
iget-boolean v1, p0, Lcom/fyber/inneractive/sdk/player/exoplayer2/mediacodec/d$a;->b:Z
if-eqz v1, :cond_1
const/16 v1, 0x4cf
goto :goto_1
:cond_1
const/16 v1, 0x4d5
:goto_1
add-int/2addr v0, v1
return v0
.end method

View File

@@ -0,0 +1,27 @@
.class public final Lcom/fyber/inneractive/sdk/player/exoplayer2/mediacodec/d$b;
.super Ljava/lang/Exception;
.source "SourceFile"
# annotations
.annotation system Ldalvik/annotation/EnclosingClass;
value = Lcom/fyber/inneractive/sdk/player/exoplayer2/mediacodec/d;
.end annotation
.annotation system Ldalvik/annotation/InnerClass;
accessFlags = 0x9
name = "b"
.end annotation
# direct methods
.method public constructor <init>(Ljava/lang/Exception;)V
.locals 1
const-string v0, "Failed to query underlying media codecs"
.line 1
invoke-direct {p0, v0, p1}, Ljava/lang/Exception;-><init>(Ljava/lang/String;Ljava/lang/Throwable;)V
return-void
.end method

View File

@@ -0,0 +1,28 @@
.class public interface abstract Lcom/fyber/inneractive/sdk/player/exoplayer2/mediacodec/d$c;
.super Ljava/lang/Object;
.source "SourceFile"
# annotations
.annotation system Ldalvik/annotation/EnclosingClass;
value = Lcom/fyber/inneractive/sdk/player/exoplayer2/mediacodec/d;
.end annotation
.annotation system Ldalvik/annotation/InnerClass;
accessFlags = 0x609
name = "c"
.end annotation
# virtual methods
.method public abstract a()I
.end method
.method public abstract a(I)Landroid/media/MediaCodecInfo;
.end method
.method public abstract a(Ljava/lang/String;Landroid/media/MediaCodecInfo$CodecCapabilities;)Z
.end method
.method public abstract b()Z
.end method

View File

@@ -0,0 +1,72 @@
.class public final Lcom/fyber/inneractive/sdk/player/exoplayer2/mediacodec/d$d;
.super Ljava/lang/Object;
.source "SourceFile"
# interfaces
.implements Lcom/fyber/inneractive/sdk/player/exoplayer2/mediacodec/d$c;
# annotations
.annotation system Ldalvik/annotation/EnclosingClass;
value = Lcom/fyber/inneractive/sdk/player/exoplayer2/mediacodec/d;
.end annotation
.annotation system Ldalvik/annotation/InnerClass;
accessFlags = 0x19
name = "d"
.end annotation
# 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 a()I
.locals 1
.line 1
invoke-static {}, Landroid/media/MediaCodecList;->getCodecCount()I
move-result v0
return v0
.end method
.method public final a(I)Landroid/media/MediaCodecInfo;
.locals 0
.line 2
invoke-static {p1}, Landroid/media/MediaCodecList;->getCodecInfoAt(I)Landroid/media/MediaCodecInfo;
move-result-object p1
return-object p1
.end method
.method public final a(Ljava/lang/String;Landroid/media/MediaCodecInfo$CodecCapabilities;)Z
.locals 0
const-string p2, "video/avc"
.line 3
invoke-virtual {p2, p1}, Ljava/lang/String;->equals(Ljava/lang/Object;)Z
move-result p1
return p1
.end method
.method public final b()Z
.locals 1
const/4 v0, 0x0
return v0
.end method

View File

@@ -0,0 +1,121 @@
.class public final Lcom/fyber/inneractive/sdk/player/exoplayer2/mediacodec/d$e;
.super Ljava/lang/Object;
.source "SourceFile"
# interfaces
.implements Lcom/fyber/inneractive/sdk/player/exoplayer2/mediacodec/d$c;
# annotations
.annotation build Landroid/annotation/TargetApi;
value = 0x15
.end annotation
.annotation system Ldalvik/annotation/EnclosingClass;
value = Lcom/fyber/inneractive/sdk/player/exoplayer2/mediacodec/d;
.end annotation
.annotation system Ldalvik/annotation/InnerClass;
accessFlags = 0x19
name = "e"
.end annotation
# instance fields
.field public final a:I
.field public b:[Landroid/media/MediaCodecInfo;
# direct methods
.method public constructor <init>(Z)V
.locals 0
.line 1
invoke-direct {p0}, Ljava/lang/Object;-><init>()V
iput p1, p0, Lcom/fyber/inneractive/sdk/player/exoplayer2/mediacodec/d$e;->a:I
return-void
.end method
# virtual methods
.method public final a()I
.locals 2
iget-object v0, p0, Lcom/fyber/inneractive/sdk/player/exoplayer2/mediacodec/d$e;->b:[Landroid/media/MediaCodecInfo;
if-nez v0, :cond_0
.line 3
new-instance v0, Landroid/media/MediaCodecList;
iget v1, p0, Lcom/fyber/inneractive/sdk/player/exoplayer2/mediacodec/d$e;->a:I
invoke-direct {v0, v1}, Landroid/media/MediaCodecList;-><init>(I)V
invoke-virtual {v0}, Landroid/media/MediaCodecList;->getCodecInfos()[Landroid/media/MediaCodecInfo;
move-result-object v0
iput-object v0, p0, Lcom/fyber/inneractive/sdk/player/exoplayer2/mediacodec/d$e;->b:[Landroid/media/MediaCodecInfo;
:cond_0
iget-object v0, p0, Lcom/fyber/inneractive/sdk/player/exoplayer2/mediacodec/d$e;->b:[Landroid/media/MediaCodecInfo;
.line 4
array-length v0, v0
return v0
.end method
.method public final a(I)Landroid/media/MediaCodecInfo;
.locals 2
iget-object v0, p0, Lcom/fyber/inneractive/sdk/player/exoplayer2/mediacodec/d$e;->b:[Landroid/media/MediaCodecInfo;
if-nez v0, :cond_0
.line 6
new-instance v0, Landroid/media/MediaCodecList;
iget v1, p0, Lcom/fyber/inneractive/sdk/player/exoplayer2/mediacodec/d$e;->a:I
invoke-direct {v0, v1}, Landroid/media/MediaCodecList;-><init>(I)V
invoke-virtual {v0}, Landroid/media/MediaCodecList;->getCodecInfos()[Landroid/media/MediaCodecInfo;
move-result-object v0
iput-object v0, p0, Lcom/fyber/inneractive/sdk/player/exoplayer2/mediacodec/d$e;->b:[Landroid/media/MediaCodecInfo;
:cond_0
iget-object v0, p0, Lcom/fyber/inneractive/sdk/player/exoplayer2/mediacodec/d$e;->b:[Landroid/media/MediaCodecInfo;
.line 7
aget-object p1, v0, p1
return-object p1
.end method
.method public final a(Ljava/lang/String;Landroid/media/MediaCodecInfo$CodecCapabilities;)Z
.locals 0
const-string p1, "secure-playback"
.line 1
invoke-virtual {p2, p1}, Landroid/media/MediaCodecInfo$CodecCapabilities;->isFeatureSupported(Ljava/lang/String;)Z
move-result p1
return p1
.end method
.method public final b()Z
.locals 1
const/4 v0, 0x1
return v0
.end method

File diff suppressed because it is too large Load Diff