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,88 @@
.class public Lcom/facebook/ads/internal/bridge/fbsdk/FBLoginASID;
.super Ljava/lang/Object;
.source "SourceFile"
# annotations
.annotation build Landroidx/annotation/Keep;
.end annotation
.annotation build Lcom/facebook/infer/annotation/Nullsafe;
value = .enum Lcom/facebook/infer/annotation/Nullsafe$Mode;->LOCAL:Lcom/facebook/infer/annotation/Nullsafe$Mode;
.end annotation
# direct methods
.method public constructor <init>()V
.locals 0
.line 13
invoke-direct {p0}, Ljava/lang/Object;-><init>()V
return-void
.end method
.method public static getFBLoginASID()Ljava/lang/String;
.locals 6
.annotation build Landroid/annotation/SuppressLint;
value = {
"CatchGeneralException"
}
.end annotation
.annotation build Landroidx/annotation/Nullable;
.end annotation
const-class v0, Lcom/facebook/AccessToken;
const/4 v1, 0x0
.line 20
:try_start_0
sget-object v2, Lcom/facebook/AccessToken;->Companion:Lcom/facebook/AccessToken$Companion;
const-string v2, "getCurrentAccessToken"
const/4 v3, 0x0
new-array v4, v3, [Ljava/lang/Class;
invoke-virtual {v0, v2, v4}, Ljava/lang/Class;->getDeclaredMethod(Ljava/lang/String;[Ljava/lang/Class;)Ljava/lang/reflect/Method;
move-result-object v2
new-array v4, v3, [Ljava/lang/Object;
.line 21
invoke-virtual {v2, v1, v4}, Ljava/lang/reflect/Method;->invoke(Ljava/lang/Object;[Ljava/lang/Object;)Ljava/lang/Object;
move-result-object v2
if-eqz v2, :cond_0
const-string v4, "getUserId"
new-array v5, v3, [Ljava/lang/Class;
.line 24
invoke-virtual {v0, v4, v5}, Ljava/lang/Class;->getDeclaredMethod(Ljava/lang/String;[Ljava/lang/Class;)Ljava/lang/reflect/Method;
move-result-object v0
new-array v3, v3, [Ljava/lang/Object;
.line 25
invoke-virtual {v0, v2, v3}, Ljava/lang/reflect/Method;->invoke(Ljava/lang/Object;[Ljava/lang/Object;)Ljava/lang/Object;
move-result-object v0
check-cast v0, Ljava/lang/String;
:try_end_0
.catchall {:try_start_0 .. :try_end_0} :catchall_0
return-object v0
:catchall_0
:cond_0
return-object v1
.end method

View File

@@ -0,0 +1,94 @@
.class public Lcom/facebook/ads/internal/bridge/gms/AdvertisingId;
.super Ljava/lang/Object;
.source "SourceFile"
# annotations
.annotation build Landroidx/annotation/Keep;
.end annotation
.annotation build Lcom/facebook/infer/annotation/Nullsafe;
value = .enum Lcom/facebook/infer/annotation/Nullsafe$Mode;->LOCAL:Lcom/facebook/infer/annotation/Nullsafe$Mode;
.end annotation
# instance fields
.field private final mId:Ljava/lang/String;
.field private final mLimitAdTracking:Z
# direct methods
.method public constructor <init>(Ljava/lang/String;Z)V
.locals 0
.line 19
invoke-direct {p0}, Ljava/lang/Object;-><init>()V
iput-object p1, p0, Lcom/facebook/ads/internal/bridge/gms/AdvertisingId;->mId:Ljava/lang/String;
iput-boolean p2, p0, Lcom/facebook/ads/internal/bridge/gms/AdvertisingId;->mLimitAdTracking:Z
return-void
.end method
.method public static getAdvertisingIdInfoDirectly(Landroid/content/Context;)Lcom/facebook/ads/internal/bridge/gms/AdvertisingId;
.locals 2
.annotation build Landroid/annotation/SuppressLint;
value = {
"CatchGeneralException"
}
.end annotation
.annotation build Landroidx/annotation/Nullable;
.end annotation
.line 38
:try_start_0
invoke-static {p0}, Lcom/google/android/gms/ads/identifier/AdvertisingIdClient;->getAdvertisingIdInfo(Landroid/content/Context;)Lcom/google/android/gms/ads/identifier/AdvertisingIdClient$Info;
move-result-object p0
if-eqz p0, :cond_0
.line 40
new-instance v0, Lcom/facebook/ads/internal/bridge/gms/AdvertisingId;
invoke-virtual {p0}, Lcom/google/android/gms/ads/identifier/AdvertisingIdClient$Info;->getId()Ljava/lang/String;
move-result-object v1
invoke-virtual {p0}, Lcom/google/android/gms/ads/identifier/AdvertisingIdClient$Info;->isLimitAdTrackingEnabled()Z
move-result p0
invoke-direct {v0, v1, p0}, Lcom/facebook/ads/internal/bridge/gms/AdvertisingId;-><init>(Ljava/lang/String;Z)V
:try_end_0
.catchall {:try_start_0 .. :try_end_0} :catchall_0
return-object v0
:catchall_0
:cond_0
const/4 p0, 0x0
return-object p0
.end method
# virtual methods
.method public getId()Ljava/lang/String;
.locals 1
iget-object v0, p0, Lcom/facebook/ads/internal/bridge/gms/AdvertisingId;->mId:Ljava/lang/String;
return-object v0
.end method
.method public isLimitAdTracking()Z
.locals 1
iget-boolean v0, p0, Lcom/facebook/ads/internal/bridge/gms/AdvertisingId;->mLimitAdTracking:Z
return v0
.end method