Files
Daniel Elliott f3960ee359 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
2026-02-18 16:13:44 -08:00

399 lines
9.7 KiB
Smali

.class public final Lcom/facebook/internal/AppCall;
.super Ljava/lang/Object;
.source "SourceFile"
# annotations
.annotation system Ldalvik/annotation/MemberClasses;
value = {
Lcom/facebook/internal/AppCall$Companion;
}
.end annotation
# static fields
.field public static final Companion:Lcom/facebook/internal/AppCall$Companion;
.field private static currentPendingCall:Lcom/facebook/internal/AppCall;
# instance fields
.field private final callId:Ljava/util/UUID;
.field private requestCode:I
.field private requestIntent:Landroid/content/Intent;
# direct methods
.method static constructor <clinit>()V
.locals 2
new-instance v0, Lcom/facebook/internal/AppCall$Companion;
const/4 v1, 0x0
invoke-direct {v0, v1}, Lcom/facebook/internal/AppCall$Companion;-><init>(Lkotlin/jvm/internal/DefaultConstructorMarker;)V
sput-object v0, Lcom/facebook/internal/AppCall;->Companion:Lcom/facebook/internal/AppCall$Companion;
return-void
.end method
.method public constructor <init>(I)V
.locals 2
.line 0
const/4 v0, 0x0
const/4 v1, 0x2
invoke-direct {p0, p1, v0, v1, v0}, Lcom/facebook/internal/AppCall;-><init>(ILjava/util/UUID;ILkotlin/jvm/internal/DefaultConstructorMarker;)V
return-void
.end method
.method public constructor <init>(ILjava/util/UUID;)V
.locals 1
const-string v0, "callId"
invoke-static {p2, v0}, Lkotlin/jvm/internal/Intrinsics;->checkNotNullParameter(Ljava/lang/Object;Ljava/lang/String;)V
.line 20
invoke-direct {p0}, Ljava/lang/Object;-><init>()V
iput p1, p0, Lcom/facebook/internal/AppCall;->requestCode:I
iput-object p2, p0, Lcom/facebook/internal/AppCall;->callId:Ljava/util/UUID;
return-void
.end method
.method public synthetic constructor <init>(ILjava/util/UUID;ILkotlin/jvm/internal/DefaultConstructorMarker;)V
.locals 0
and-int/lit8 p3, p3, 0x2
if-eqz p3, :cond_0
.line 40
invoke-static {}, Ljava/util/UUID;->randomUUID()Ljava/util/UUID;
move-result-object p2
const-string p3, "randomUUID()"
invoke-static {p2, p3}, Lkotlin/jvm/internal/Intrinsics;->checkNotNullExpressionValue(Ljava/lang/Object;Ljava/lang/String;)V
.line 28
:cond_0
invoke-direct {p0, p1, p2}, Lcom/facebook/internal/AppCall;-><init>(ILjava/util/UUID;)V
return-void
.end method
.method public static final synthetic access$getCurrentPendingCall$cp()Lcom/facebook/internal/AppCall;
.locals 3
const-class v0, Lcom/facebook/internal/AppCall;
invoke-static {v0}, Lcom/facebook/internal/instrument/crashshield/CrashShieldHandler;->isObjectCrashing(Ljava/lang/Object;)Z
move-result v1
const/4 v2, 0x0
if-eqz v1, :cond_0
return-object v2
:cond_0
:try_start_0
sget-object v0, Lcom/facebook/internal/AppCall;->currentPendingCall:Lcom/facebook/internal/AppCall;
:try_end_0
.catchall {:try_start_0 .. :try_end_0} :catchall_0
return-object v0
:catchall_0
move-exception v1
.line 20
invoke-static {v1, v0}, Lcom/facebook/internal/instrument/crashshield/CrashShieldHandler;->handleThrowable(Ljava/lang/Throwable;Ljava/lang/Object;)V
return-object v2
.end method
.method public static final synthetic access$setCurrentPendingCall$cp(Lcom/facebook/internal/AppCall;)V
.locals 2
const-class v0, Lcom/facebook/internal/AppCall;
invoke-static {v0}, Lcom/facebook/internal/instrument/crashshield/CrashShieldHandler;->isObjectCrashing(Ljava/lang/Object;)Z
move-result v1
if-eqz v1, :cond_0
return-void
:cond_0
:try_start_0
sput-object p0, Lcom/facebook/internal/AppCall;->currentPendingCall:Lcom/facebook/internal/AppCall;
:try_end_0
.catchall {:try_start_0 .. :try_end_0} :catchall_0
return-void
:catchall_0
move-exception p0
.line 20
invoke-static {p0, v0}, Lcom/facebook/internal/instrument/crashshield/CrashShieldHandler;->handleThrowable(Ljava/lang/Throwable;Ljava/lang/Object;)V
return-void
.end method
.method public static final declared-synchronized finishPendingCall(Ljava/util/UUID;I)Lcom/facebook/internal/AppCall;
.locals 3
const-class v0, Lcom/facebook/internal/AppCall;
monitor-enter v0
:try_start_0
const-class v1, Lcom/facebook/internal/AppCall;
invoke-static {v1}, Lcom/facebook/internal/instrument/crashshield/CrashShieldHandler;->isObjectCrashing(Ljava/lang/Object;)Z
move-result v1
:try_end_0
.catchall {:try_start_0 .. :try_end_0} :catchall_1
const/4 v2, 0x0
if-eqz v1, :cond_0
monitor-exit v0
return-object v2
:cond_0
:try_start_1
sget-object v1, Lcom/facebook/internal/AppCall;->Companion:Lcom/facebook/internal/AppCall$Companion;
invoke-virtual {v1, p0, p1}, Lcom/facebook/internal/AppCall$Companion;->finishPendingCall(Ljava/util/UUID;I)Lcom/facebook/internal/AppCall;
move-result-object p0
:try_end_1
.catchall {:try_start_1 .. :try_end_1} :catchall_0
monitor-exit v0
return-object p0
:catchall_0
move-exception p0
:try_start_2
const-class p1, Lcom/facebook/internal/AppCall;
invoke-static {p0, p1}, Lcom/facebook/internal/instrument/crashshield/CrashShieldHandler;->handleThrowable(Ljava/lang/Throwable;Ljava/lang/Object;)V
:try_end_2
.catchall {:try_start_2 .. :try_end_2} :catchall_1
monitor-exit v0
return-object v2
:catchall_1
move-exception p0
monitor-exit v0
throw p0
.end method
# virtual methods
.method public final getCallId()Ljava/util/UUID;
.locals 2
invoke-static {p0}, Lcom/facebook/internal/instrument/crashshield/CrashShieldHandler;->isObjectCrashing(Ljava/lang/Object;)Z
move-result v0
const/4 v1, 0x0
if-eqz v0, :cond_0
return-object v1
:cond_0
:try_start_0
iget-object v0, p0, Lcom/facebook/internal/AppCall;->callId:Ljava/util/UUID;
:try_end_0
.catchall {:try_start_0 .. :try_end_0} :catchall_0
return-object v0
:catchall_0
move-exception v0
.line 40
invoke-static {v0, p0}, Lcom/facebook/internal/instrument/crashshield/CrashShieldHandler;->handleThrowable(Ljava/lang/Throwable;Ljava/lang/Object;)V
return-object v1
.end method
.method public final getRequestCode()I
.locals 2
invoke-static {p0}, Lcom/facebook/internal/instrument/crashshield/CrashShieldHandler;->isObjectCrashing(Ljava/lang/Object;)Z
move-result v0
const/4 v1, 0x0
if-eqz v0, :cond_0
return v1
:cond_0
:try_start_0
iget v0, p0, Lcom/facebook/internal/AppCall;->requestCode:I
:try_end_0
.catchall {:try_start_0 .. :try_end_0} :catchall_0
return v0
:catchall_0
move-exception v0
.line 34
invoke-static {v0, p0}, Lcom/facebook/internal/instrument/crashshield/CrashShieldHandler;->handleThrowable(Ljava/lang/Throwable;Ljava/lang/Object;)V
return v1
.end method
.method public final getRequestIntent()Landroid/content/Intent;
.locals 2
invoke-static {p0}, Lcom/facebook/internal/instrument/crashshield/CrashShieldHandler;->isObjectCrashing(Ljava/lang/Object;)Z
move-result v0
const/4 v1, 0x0
if-eqz v0, :cond_0
return-object v1
:cond_0
:try_start_0
iget-object v0, p0, Lcom/facebook/internal/AppCall;->requestIntent:Landroid/content/Intent;
:try_end_0
.catchall {:try_start_0 .. :try_end_0} :catchall_0
return-object v0
:catchall_0
move-exception v0
.line 48
invoke-static {v0, p0}, Lcom/facebook/internal/instrument/crashshield/CrashShieldHandler;->handleThrowable(Ljava/lang/Throwable;Ljava/lang/Object;)V
return-object v1
.end method
.method public final setPending()Z
.locals 2
invoke-static {p0}, Lcom/facebook/internal/instrument/crashshield/CrashShieldHandler;->isObjectCrashing(Ljava/lang/Object;)Z
move-result v0
const/4 v1, 0x0
if-eqz v0, :cond_0
return v1
:cond_0
:try_start_0
sget-object v0, Lcom/facebook/internal/AppCall;->Companion:Lcom/facebook/internal/AppCall$Companion;
.line 54
invoke-static {v0, p0}, Lcom/facebook/internal/AppCall$Companion;->access$setCurrentPendingCall(Lcom/facebook/internal/AppCall$Companion;Lcom/facebook/internal/AppCall;)Z
move-result v0
:try_end_0
.catchall {:try_start_0 .. :try_end_0} :catchall_0
return v0
:catchall_0
move-exception v0
invoke-static {v0, p0}, Lcom/facebook/internal/instrument/crashshield/CrashShieldHandler;->handleThrowable(Ljava/lang/Throwable;Ljava/lang/Object;)V
return v1
.end method
.method public final setRequestCode(I)V
.locals 1
invoke-static {p0}, Lcom/facebook/internal/instrument/crashshield/CrashShieldHandler;->isObjectCrashing(Ljava/lang/Object;)Z
move-result v0
if-eqz v0, :cond_0
return-void
:cond_0
:try_start_0
iput p1, p0, Lcom/facebook/internal/AppCall;->requestCode:I
:try_end_0
.catchall {:try_start_0 .. :try_end_0} :catchall_0
return-void
:catchall_0
move-exception p1
.line 34
invoke-static {p1, p0}, Lcom/facebook/internal/instrument/crashshield/CrashShieldHandler;->handleThrowable(Ljava/lang/Throwable;Ljava/lang/Object;)V
return-void
.end method
.method public final setRequestIntent(Landroid/content/Intent;)V
.locals 1
invoke-static {p0}, Lcom/facebook/internal/instrument/crashshield/CrashShieldHandler;->isObjectCrashing(Ljava/lang/Object;)Z
move-result v0
if-eqz v0, :cond_0
return-void
:cond_0
:try_start_0
iput-object p1, p0, Lcom/facebook/internal/AppCall;->requestIntent:Landroid/content/Intent;
:try_end_0
.catchall {:try_start_0 .. :try_end_0} :catchall_0
return-void
:catchall_0
move-exception p1
.line 48
invoke-static {p1, p0}, Lcom/facebook/internal/instrument/crashshield/CrashShieldHandler;->handleThrowable(Ljava/lang/Throwable;Ljava/lang/Object;)V
return-void
.end method