Files
rr3-apk/smali/androidx/concurrent/futures/CallbackToFutureAdapter.smali
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

90 lines
3.0 KiB
Smali

.class public final Landroidx/concurrent/futures/CallbackToFutureAdapter;
.super Ljava/lang/Object;
.source "SourceFile"
# annotations
.annotation system Ldalvik/annotation/MemberClasses;
value = {
Landroidx/concurrent/futures/CallbackToFutureAdapter$FutureGarbageCollectedException;,
Landroidx/concurrent/futures/CallbackToFutureAdapter$Completer;,
Landroidx/concurrent/futures/CallbackToFutureAdapter$SafeFuture;,
Landroidx/concurrent/futures/CallbackToFutureAdapter$Resolver;
}
.end annotation
# direct methods
.method private constructor <init>()V
.locals 0
.line 77
invoke-direct {p0}, Ljava/lang/Object;-><init>()V
return-void
.end method
.method public static getFuture(Landroidx/concurrent/futures/CallbackToFutureAdapter$Resolver;)Lcom/google/common/util/concurrent/ListenableFuture;
.locals 3
.param p0 # Landroidx/concurrent/futures/CallbackToFutureAdapter$Resolver;
.annotation build Landroidx/annotation/NonNull;
.end annotation
.end param
.annotation build Landroidx/annotation/NonNull;
.end annotation
.annotation system Ldalvik/annotation/Signature;
value = {
"<T:",
"Ljava/lang/Object;",
">(",
"Landroidx/concurrent/futures/CallbackToFutureAdapter$Resolver<",
"TT;>;)",
"Lcom/google/common/util/concurrent/ListenableFuture;"
}
.end annotation
.line 89
new-instance v0, Landroidx/concurrent/futures/CallbackToFutureAdapter$Completer;
invoke-direct {v0}, Landroidx/concurrent/futures/CallbackToFutureAdapter$Completer;-><init>()V
.line 90
new-instance v1, Landroidx/concurrent/futures/CallbackToFutureAdapter$SafeFuture;
invoke-direct {v1, v0}, Landroidx/concurrent/futures/CallbackToFutureAdapter$SafeFuture;-><init>(Landroidx/concurrent/futures/CallbackToFutureAdapter$Completer;)V
iput-object v1, v0, Landroidx/concurrent/futures/CallbackToFutureAdapter$Completer;->future:Landroidx/concurrent/futures/CallbackToFutureAdapter$SafeFuture;
.line 98
invoke-virtual {p0}, Ljava/lang/Object;->getClass()Ljava/lang/Class;
move-result-object v2
iput-object v2, v0, Landroidx/concurrent/futures/CallbackToFutureAdapter$Completer;->tag:Ljava/lang/Object;
.line 102
:try_start_0
invoke-interface {p0, v0}, Landroidx/concurrent/futures/CallbackToFutureAdapter$Resolver;->attachCompleter(Landroidx/concurrent/futures/CallbackToFutureAdapter$Completer;)Ljava/lang/Object;
move-result-object p0
if-eqz p0, :cond_0
iput-object p0, v0, Landroidx/concurrent/futures/CallbackToFutureAdapter$Completer;->tag:Ljava/lang/Object;
:try_end_0
.catch Ljava/lang/Exception; {:try_start_0 .. :try_end_0} :catch_0
goto :goto_0
:catch_0
move-exception p0
.line 107
invoke-virtual {v1, p0}, Landroidx/concurrent/futures/CallbackToFutureAdapter$SafeFuture;->setException(Ljava/lang/Throwable;)Z
:cond_0
:goto_0
return-object v1
.end method