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,51 @@
.class public Lcom/facebook/ppml/receiver/IReceiverService$Default;
.super Ljava/lang/Object;
.source "SourceFile"
# interfaces
.implements Lcom/facebook/ppml/receiver/IReceiverService;
# annotations
.annotation system Ldalvik/annotation/EnclosingClass;
value = Lcom/facebook/ppml/receiver/IReceiverService;
.end annotation
.annotation system Ldalvik/annotation/InnerClass;
accessFlags = 0x9
name = "Default"
.end annotation
# direct methods
.method public constructor <init>()V
.locals 0
.line 8
invoke-direct {p0}, Ljava/lang/Object;-><init>()V
return-void
.end method
# virtual methods
.method public asBinder()Landroid/os/IBinder;
.locals 1
const/4 v0, 0x0
return-object v0
.end method
.method public sendEvents(Landroid/os/Bundle;)I
.locals 0
.annotation system Ldalvik/annotation/Throws;
value = {
Landroid/os/RemoteException;
}
.end annotation
const/4 p1, 0x0
return p1
.end method

View File

@@ -0,0 +1,170 @@
.class Lcom/facebook/ppml/receiver/IReceiverService$Stub$Proxy;
.super Ljava/lang/Object;
.source "SourceFile"
# interfaces
.implements Lcom/facebook/ppml/receiver/IReceiverService;
# annotations
.annotation system Ldalvik/annotation/EnclosingClass;
value = Lcom/facebook/ppml/receiver/IReceiverService$Stub;
.end annotation
.annotation system Ldalvik/annotation/InnerClass;
accessFlags = 0x9
name = "Proxy"
.end annotation
# static fields
.field public static sDefaultImpl:Lcom/facebook/ppml/receiver/IReceiverService;
# instance fields
.field private mRemote:Landroid/os/IBinder;
# direct methods
.method public constructor <init>(Landroid/os/IBinder;)V
.locals 0
.line 82
invoke-direct {p0}, Ljava/lang/Object;-><init>()V
iput-object p1, p0, Lcom/facebook/ppml/receiver/IReceiverService$Stub$Proxy;->mRemote:Landroid/os/IBinder;
return-void
.end method
# virtual methods
.method public asBinder()Landroid/os/IBinder;
.locals 1
iget-object v0, p0, Lcom/facebook/ppml/receiver/IReceiverService$Stub$Proxy;->mRemote:Landroid/os/IBinder;
return-object v0
.end method
.method public getInterfaceDescriptor()Ljava/lang/String;
.locals 1
const-string v0, "com.facebook.ppml.receiver.IReceiverService"
return-object v0
.end method
.method public sendEvents(Landroid/os/Bundle;)I
.locals 5
.annotation system Ldalvik/annotation/Throws;
value = {
Landroid/os/RemoteException;
}
.end annotation
.line 95
invoke-static {}, Landroid/os/Parcel;->obtain()Landroid/os/Parcel;
move-result-object v0
.line 96
invoke-static {}, Landroid/os/Parcel;->obtain()Landroid/os/Parcel;
move-result-object v1
:try_start_0
const-string v2, "com.facebook.ppml.receiver.IReceiverService"
.line 99
invoke-virtual {v0, v2}, Landroid/os/Parcel;->writeInterfaceToken(Ljava/lang/String;)V
const/4 v2, 0x1
const/4 v3, 0x0
if-eqz p1, :cond_0
.line 101
invoke-virtual {v0, v2}, Landroid/os/Parcel;->writeInt(I)V
.line 102
invoke-virtual {p1, v0, v3}, Landroid/os/Bundle;->writeToParcel(Landroid/os/Parcel;I)V
goto :goto_0
:catchall_0
move-exception p1
goto :goto_1
.line 105
:cond_0
invoke-virtual {v0, v3}, Landroid/os/Parcel;->writeInt(I)V
:goto_0
iget-object v4, p0, Lcom/facebook/ppml/receiver/IReceiverService$Stub$Proxy;->mRemote:Landroid/os/IBinder;
.line 107
invoke-interface {v4, v2, v0, v1, v3}, Landroid/os/IBinder;->transact(ILandroid/os/Parcel;Landroid/os/Parcel;I)Z
move-result v2
if-nez v2, :cond_1
.line 108
invoke-static {}, Lcom/facebook/ppml/receiver/IReceiverService$Stub;->getDefaultImpl()Lcom/facebook/ppml/receiver/IReceiverService;
move-result-object v2
if-eqz v2, :cond_1
.line 109
invoke-static {}, Lcom/facebook/ppml/receiver/IReceiverService$Stub;->getDefaultImpl()Lcom/facebook/ppml/receiver/IReceiverService;
move-result-object v2
invoke-interface {v2, p1}, Lcom/facebook/ppml/receiver/IReceiverService;->sendEvents(Landroid/os/Bundle;)I
move-result p1
:try_end_0
.catchall {:try_start_0 .. :try_end_0} :catchall_0
.line 115
invoke-virtual {v1}, Landroid/os/Parcel;->recycle()V
.line 116
invoke-virtual {v0}, Landroid/os/Parcel;->recycle()V
return p1
.line 111
:cond_1
:try_start_1
invoke-virtual {v1}, Landroid/os/Parcel;->readException()V
.line 112
invoke-virtual {v1}, Landroid/os/Parcel;->readInt()I
move-result p1
:try_end_1
.catchall {:try_start_1 .. :try_end_1} :catchall_0
.line 115
invoke-virtual {v1}, Landroid/os/Parcel;->recycle()V
.line 116
invoke-virtual {v0}, Landroid/os/Parcel;->recycle()V
return p1
.line 115
:goto_1
invoke-virtual {v1}, Landroid/os/Parcel;->recycle()V
.line 116
invoke-virtual {v0}, Landroid/os/Parcel;->recycle()V
.line 117
throw p1
.end method

View File

@@ -0,0 +1,201 @@
.class public abstract Lcom/facebook/ppml/receiver/IReceiverService$Stub;
.super Landroid/os/Binder;
.source "SourceFile"
# interfaces
.implements Lcom/facebook/ppml/receiver/IReceiverService;
# annotations
.annotation system Ldalvik/annotation/EnclosingClass;
value = Lcom/facebook/ppml/receiver/IReceiverService;
.end annotation
.annotation system Ldalvik/annotation/InnerClass;
accessFlags = 0x409
name = "Stub"
.end annotation
.annotation system Ldalvik/annotation/MemberClasses;
value = {
Lcom/facebook/ppml/receiver/IReceiverService$Stub$Proxy;
}
.end annotation
# static fields
.field private static final DESCRIPTOR:Ljava/lang/String; = "com.facebook.ppml.receiver.IReceiverService"
.field static final TRANSACTION_sendEvents:I = 0x1
# direct methods
.method public constructor <init>()V
.locals 1
.line 25
invoke-direct {p0}, Landroid/os/Binder;-><init>()V
const-string v0, "com.facebook.ppml.receiver.IReceiverService"
.line 26
invoke-virtual {p0, p0, v0}, Landroid/os/Binder;->attachInterface(Landroid/os/IInterface;Ljava/lang/String;)V
return-void
.end method
.method public static asInterface(Landroid/os/IBinder;)Lcom/facebook/ppml/receiver/IReceiverService;
.locals 2
if-nez p0, :cond_0
const/4 p0, 0x0
return-object p0
:cond_0
const-string v0, "com.facebook.ppml.receiver.IReceiverService"
.line 37
invoke-interface {p0, v0}, Landroid/os/IBinder;->queryLocalInterface(Ljava/lang/String;)Landroid/os/IInterface;
move-result-object v0
if-eqz v0, :cond_1
.line 38
instance-of v1, v0, Lcom/facebook/ppml/receiver/IReceiverService;
if-eqz v1, :cond_1
.line 39
check-cast v0, Lcom/facebook/ppml/receiver/IReceiverService;
return-object v0
.line 41
:cond_1
new-instance v0, Lcom/facebook/ppml/receiver/IReceiverService$Stub$Proxy;
invoke-direct {v0, p0}, Lcom/facebook/ppml/receiver/IReceiverService$Stub$Proxy;-><init>(Landroid/os/IBinder;)V
return-object v0
.end method
.method public static getDefaultImpl()Lcom/facebook/ppml/receiver/IReceiverService;
.locals 1
sget-object v0, Lcom/facebook/ppml/receiver/IReceiverService$Stub$Proxy;->sDefaultImpl:Lcom/facebook/ppml/receiver/IReceiverService;
return-object v0
.end method
.method public static setDefaultImpl(Lcom/facebook/ppml/receiver/IReceiverService;)Z
.locals 1
sget-object v0, Lcom/facebook/ppml/receiver/IReceiverService$Stub$Proxy;->sDefaultImpl:Lcom/facebook/ppml/receiver/IReceiverService;
if-nez v0, :cond_1
if-eqz p0, :cond_0
sput-object p0, Lcom/facebook/ppml/receiver/IReceiverService$Stub$Proxy;->sDefaultImpl:Lcom/facebook/ppml/receiver/IReceiverService;
const/4 p0, 0x1
return p0
:cond_0
const/4 p0, 0x0
return p0
.line 128
:cond_1
new-instance p0, Ljava/lang/IllegalStateException;
const-string v0, "setDefaultImpl() called twice"
invoke-direct {p0, v0}, Ljava/lang/IllegalStateException;-><init>(Ljava/lang/String;)V
throw p0
.end method
# virtual methods
.method public asBinder()Landroid/os/IBinder;
.locals 0
return-object p0
.end method
.method public onTransact(ILandroid/os/Parcel;Landroid/os/Parcel;I)Z
.locals 3
.annotation system Ldalvik/annotation/Throws;
value = {
Landroid/os/RemoteException;
}
.end annotation
const/4 v0, 0x1
const-string v1, "com.facebook.ppml.receiver.IReceiverService"
if-eq p1, v0, :cond_1
const v2, 0x5f4e5446
if-eq p1, v2, :cond_0
.line 74
invoke-super {p0, p1, p2, p3, p4}, Landroid/os/Binder;->onTransact(ILandroid/os/Parcel;Landroid/os/Parcel;I)Z
move-result p1
return p1
.line 54
:cond_0
invoke-virtual {p3, v1}, Landroid/os/Parcel;->writeString(Ljava/lang/String;)V
return v0
.line 59
:cond_1
invoke-virtual {p2, v1}, Landroid/os/Parcel;->enforceInterface(Ljava/lang/String;)V
.line 61
invoke-virtual {p2}, Landroid/os/Parcel;->readInt()I
move-result p1
if-eqz p1, :cond_2
.line 62
sget-object p1, Landroid/os/Bundle;->CREATOR:Landroid/os/Parcelable$Creator;
invoke-interface {p1, p2}, Landroid/os/Parcelable$Creator;->createFromParcel(Landroid/os/Parcel;)Ljava/lang/Object;
move-result-object p1
check-cast p1, Landroid/os/Bundle;
goto :goto_0
:cond_2
const/4 p1, 0x0
.line 67
:goto_0
invoke-interface {p0, p1}, Lcom/facebook/ppml/receiver/IReceiverService;->sendEvents(Landroid/os/Bundle;)I
move-result p1
.line 68
invoke-virtual {p3}, Landroid/os/Parcel;->writeNoException()V
.line 69
invoke-virtual {p3, p1}, Landroid/os/Parcel;->writeInt(I)V
return v0
.end method

View File

@@ -0,0 +1,25 @@
.class public interface abstract Lcom/facebook/ppml/receiver/IReceiverService;
.super Ljava/lang/Object;
.source "SourceFile"
# interfaces
.implements Landroid/os/IInterface;
# annotations
.annotation system Ldalvik/annotation/MemberClasses;
value = {
Lcom/facebook/ppml/receiver/IReceiverService$Stub;,
Lcom/facebook/ppml/receiver/IReceiverService$Default;
}
.end annotation
# virtual methods
.method public abstract sendEvents(Landroid/os/Bundle;)I
.annotation system Ldalvik/annotation/Throws;
value = {
Landroid/os/RemoteException;
}
.end annotation
.end method