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,18 @@
.class public interface abstract annotation Lcom/mbridge/msdk/newreward/function/command/retention/AutoNew;
.super Ljava/lang/Object;
.source "SourceFile"
# interfaces
.implements Ljava/lang/annotation/Annotation;
# annotations
.annotation runtime Ljava/lang/annotation/Retention;
value = .enum Ljava/lang/annotation/RetentionPolicy;->RUNTIME:Ljava/lang/annotation/RetentionPolicy;
.end annotation
.annotation runtime Ljava/lang/annotation/Target;
value = {
.enum Ljava/lang/annotation/ElementType;->FIELD:Ljava/lang/annotation/ElementType;
}
.end annotation

View File

@@ -0,0 +1,135 @@
.class public Lcom/mbridge/msdk/newreward/function/command/retention/AutoNewProcess;
.super Ljava/lang/Object;
.source "SourceFile"
# direct methods
.method public constructor <init>()V
.locals 0
invoke-direct {p0}, Ljava/lang/Object;-><init>()V
return-void
.end method
.method public static bind(Ljava/lang/Object;)V
.locals 7
.line 9
invoke-virtual {p0}, Ljava/lang/Object;->getClass()Ljava/lang/Class;
move-result-object v0
.line 10
invoke-virtual {v0}, Ljava/lang/Class;->getDeclaredFields()[Ljava/lang/reflect/Field;
move-result-object v0
.line 11
array-length v1, v0
const/4 v2, 0x0
move v3, v2
:goto_0
if-ge v3, v1, :cond_1
aget-object v4, v0, v3
const-class v5, Lcom/mbridge/msdk/newreward/function/command/retention/AutoNew;
.line 12
invoke-virtual {v4, v5}, Ljava/lang/reflect/Field;->getAnnotation(Ljava/lang/Class;)Ljava/lang/annotation/Annotation;
move-result-object v5
check-cast v5, Lcom/mbridge/msdk/newreward/function/command/retention/AutoNew;
if-eqz v5, :cond_0
const/4 v5, 0x1
.line 14
invoke-virtual {v4, v5}, Ljava/lang/reflect/AccessibleObject;->setAccessible(Z)V
.line 16
:try_start_0
invoke-virtual {v4}, Ljava/lang/reflect/Field;->getType()Ljava/lang/Class;
move-result-object v5
new-array v6, v2, [Ljava/lang/Class;
.line 17
invoke-virtual {v5, v6}, Ljava/lang/Class;->getConstructor([Ljava/lang/Class;)Ljava/lang/reflect/Constructor;
move-result-object v5
new-array v6, v2, [Ljava/lang/Object;
.line 18
invoke-virtual {v5, v6}, Ljava/lang/reflect/Constructor;->newInstance([Ljava/lang/Object;)Ljava/lang/Object;
move-result-object v5
invoke-virtual {v4, p0, v5}, Ljava/lang/reflect/Field;->set(Ljava/lang/Object;Ljava/lang/Object;)V
:try_end_0
.catch Ljava/lang/NoSuchMethodException; {:try_start_0 .. :try_end_0} :catch_3
.catch Ljava/lang/InstantiationException; {:try_start_0 .. :try_end_0} :catch_2
.catch Ljava/lang/IllegalAccessException; {:try_start_0 .. :try_end_0} :catch_1
.catch Ljava/lang/reflect/InvocationTargetException; {:try_start_0 .. :try_end_0} :catch_0
goto :goto_5
:catch_0
move-exception v4
goto :goto_1
:catch_1
move-exception v4
goto :goto_2
:catch_2
move-exception v4
goto :goto_3
:catch_3
move-exception v4
goto :goto_4
.line 26
:goto_1
invoke-virtual {v4}, Ljava/lang/Throwable;->printStackTrace()V
goto :goto_5
.line 24
:goto_2
invoke-virtual {v4}, Ljava/lang/Throwable;->printStackTrace()V
goto :goto_5
.line 22
:goto_3
invoke-virtual {v4}, Ljava/lang/Throwable;->printStackTrace()V
goto :goto_5
.line 20
:goto_4
invoke-virtual {v4}, Ljava/lang/Throwable;->printStackTrace()V
:cond_0
:goto_5
add-int/lit8 v3, v3, 0x1
goto :goto_0
:cond_1
return-void
.end method

View File

@@ -0,0 +1,29 @@
.class public interface abstract annotation Lcom/mbridge/msdk/newreward/function/command/retention/BridgeParameter;
.super Ljava/lang/Object;
.source "SourceFile"
# interfaces
.implements Ljava/lang/annotation/Annotation;
# annotations
.annotation system Ldalvik/annotation/AnnotationDefault;
value = .subannotation Lcom/mbridge/msdk/newreward/function/command/retention/BridgeParameter;
key = ""
.end subannotation
.end annotation
.annotation runtime Ljava/lang/annotation/Retention;
value = .enum Ljava/lang/annotation/RetentionPolicy;->RUNTIME:Ljava/lang/annotation/RetentionPolicy;
.end annotation
.annotation runtime Ljava/lang/annotation/Target;
value = {
.enum Ljava/lang/annotation/ElementType;->PARAMETER:Ljava/lang/annotation/ElementType;
}
.end annotation
# virtual methods
.method public abstract key()Ljava/lang/String;
.end method

View File

@@ -0,0 +1,32 @@
.class public interface abstract annotation Lcom/mbridge/msdk/newreward/function/command/retention/ReportAnnotation$ClassInfo;
.super Ljava/lang/Object;
.source "SourceFile"
# interfaces
.implements Ljava/lang/annotation/Annotation;
# annotations
.annotation system Ldalvik/annotation/EnclosingClass;
value = Lcom/mbridge/msdk/newreward/function/command/retention/ReportAnnotation;
.end annotation
.annotation system Ldalvik/annotation/InnerClass;
accessFlags = 0x2609
name = "ClassInfo"
.end annotation
.annotation runtime Ljava/lang/annotation/Retention;
value = .enum Ljava/lang/annotation/RetentionPolicy;->RUNTIME:Ljava/lang/annotation/RetentionPolicy;
.end annotation
.annotation runtime Ljava/lang/annotation/Target;
value = {
.enum Ljava/lang/annotation/ElementType;->TYPE:Ljava/lang/annotation/ElementType;
}
.end annotation
# virtual methods
.method public abstract value()Ljava/lang/String;
.end method

View File

@@ -0,0 +1,33 @@
.class public interface abstract annotation Lcom/mbridge/msdk/newreward/function/command/retention/ReportAnnotation$FieldInfo;
.super Ljava/lang/Object;
.source "SourceFile"
# interfaces
.implements Ljava/lang/annotation/Annotation;
# annotations
.annotation system Ldalvik/annotation/EnclosingClass;
value = Lcom/mbridge/msdk/newreward/function/command/retention/ReportAnnotation;
.end annotation
.annotation system Ldalvik/annotation/InnerClass;
accessFlags = 0x2609
name = "FieldInfo"
.end annotation
.annotation runtime Ljava/lang/annotation/Retention;
value = .enum Ljava/lang/annotation/RetentionPolicy;->RUNTIME:Ljava/lang/annotation/RetentionPolicy;
.end annotation
.annotation runtime Ljava/lang/annotation/Target;
value = {
.enum Ljava/lang/annotation/ElementType;->LOCAL_VARIABLE:Ljava/lang/annotation/ElementType;,
.enum Ljava/lang/annotation/ElementType;->FIELD:Ljava/lang/annotation/ElementType;
}
.end annotation
# virtual methods
.method public abstract value()[I
.end method

View File

@@ -0,0 +1,58 @@
.class public interface abstract annotation Lcom/mbridge/msdk/newreward/function/command/retention/ReportAnnotation$MethodInfo;
.super Ljava/lang/Object;
.source "SourceFile"
# interfaces
.implements Ljava/lang/annotation/Annotation;
# annotations
.annotation system Ldalvik/annotation/AnnotationDefault;
value = .subannotation Lcom/mbridge/msdk/newreward/function/command/retention/ReportAnnotation$MethodInfo;
className = "-1"
isParameter = false
key = "-1"
methodName = "-1"
methodParameter = "-1"
reportType = "-1"
.end subannotation
.end annotation
.annotation system Ldalvik/annotation/EnclosingClass;
value = Lcom/mbridge/msdk/newreward/function/command/retention/ReportAnnotation;
.end annotation
.annotation system Ldalvik/annotation/InnerClass;
accessFlags = 0x2609
name = "MethodInfo"
.end annotation
.annotation runtime Ljava/lang/annotation/Retention;
value = .enum Ljava/lang/annotation/RetentionPolicy;->RUNTIME:Ljava/lang/annotation/RetentionPolicy;
.end annotation
.annotation runtime Ljava/lang/annotation/Target;
value = {
.enum Ljava/lang/annotation/ElementType;->METHOD:Ljava/lang/annotation/ElementType;
}
.end annotation
# virtual methods
.method public abstract className()Ljava/lang/String;
.end method
.method public abstract isParameter()Z
.end method
.method public abstract key()Ljava/lang/String;
.end method
.method public abstract methodName()Ljava/lang/String;
.end method
.method public abstract methodParameter()Ljava/lang/String;
.end method
.method public abstract reportType()Ljava/lang/String;
.end method

View File

@@ -0,0 +1,32 @@
.class public interface abstract annotation Lcom/mbridge/msdk/newreward/function/command/retention/ReportAnnotation$PackageInfo;
.super Ljava/lang/Object;
.source "SourceFile"
# interfaces
.implements Ljava/lang/annotation/Annotation;
# annotations
.annotation system Ldalvik/annotation/EnclosingClass;
value = Lcom/mbridge/msdk/newreward/function/command/retention/ReportAnnotation;
.end annotation
.annotation system Ldalvik/annotation/InnerClass;
accessFlags = 0x2609
name = "PackageInfo"
.end annotation
.annotation runtime Ljava/lang/annotation/Retention;
value = .enum Ljava/lang/annotation/RetentionPolicy;->RUNTIME:Ljava/lang/annotation/RetentionPolicy;
.end annotation
.annotation runtime Ljava/lang/annotation/Target;
value = {
.enum Ljava/lang/annotation/ElementType;->PACKAGE:Ljava/lang/annotation/ElementType;
}
.end annotation
# virtual methods
.method public abstract value()Ljava/lang/String;
.end method

View File

@@ -0,0 +1,24 @@
.class public Lcom/mbridge/msdk/newreward/function/command/retention/ReportAnnotation;
.super Ljava/lang/Object;
.source "SourceFile"
# annotations
.annotation system Ldalvik/annotation/MemberClasses;
value = {
Lcom/mbridge/msdk/newreward/function/command/retention/ReportAnnotation$MethodInfo;,
Lcom/mbridge/msdk/newreward/function/command/retention/ReportAnnotation$FieldInfo;,
Lcom/mbridge/msdk/newreward/function/command/retention/ReportAnnotation$ClassInfo;,
Lcom/mbridge/msdk/newreward/function/command/retention/ReportAnnotation$PackageInfo;
}
.end annotation
# direct methods
.method public constructor <init>()V
.locals 0
invoke-direct {p0}, Ljava/lang/Object;-><init>()V
return-void
.end method

View File

@@ -0,0 +1,75 @@
.class public Lcom/mbridge/msdk/newreward/function/command/retention/ReportProcess;
.super Ljava/lang/Object;
.source "SourceFile"
# static fields
.field static adapterModel:Lcom/mbridge/msdk/newreward/a/e;
# direct methods
.method public constructor <init>()V
.locals 0
invoke-direct {p0}, Ljava/lang/Object;-><init>()V
return-void
.end method
.method public static init(Lcom/mbridge/msdk/newreward/a/e;)V
.locals 0
sput-object p0, Lcom/mbridge/msdk/newreward/function/command/retention/ReportProcess;->adapterModel:Lcom/mbridge/msdk/newreward/a/e;
return-void
.end method
.method public static reportProcessAtThisTime(Ljava/lang/Object;)V
.locals 5
.line 19
invoke-virtual {p0}, Ljava/lang/Object;->getClass()Ljava/lang/Class;
move-result-object p0
.line 20
invoke-virtual {p0}, Ljava/lang/Class;->getDeclaredMethods()[Ljava/lang/reflect/Method;
move-result-object p0
.line 21
array-length v0, p0
const/4 v1, 0x0
:goto_0
if-ge v1, v0, :cond_1
aget-object v2, p0, v1
const-class v3, Lcom/mbridge/msdk/newreward/function/command/retention/ReportAnnotation$MethodInfo;
.line 22
invoke-virtual {v2, v3}, Ljava/lang/reflect/AccessibleObject;->isAnnotationPresent(Ljava/lang/Class;)Z
move-result v4
if-nez v4, :cond_0
return-void
.line 24
:cond_0
invoke-virtual {v2, v3}, Ljava/lang/reflect/Method;->getAnnotation(Ljava/lang/Class;)Ljava/lang/annotation/Annotation;
move-result-object v2
check-cast v2, Lcom/mbridge/msdk/newreward/function/command/retention/ReportAnnotation$MethodInfo;
add-int/lit8 v1, v1, 0x1
goto :goto_0
:cond_1
return-void
.end method