Files
rr3-apk/smali_classes5/kotlinx/coroutines/ExecutorsKt.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

74 lines
1.7 KiB
Smali

.class public abstract Lkotlinx/coroutines/ExecutorsKt;
.super Ljava/lang/Object;
.source "SourceFile"
# direct methods
.method public static final asExecutor(Lkotlinx/coroutines/CoroutineDispatcher;)Ljava/util/concurrent/Executor;
.locals 1
.line 108
instance-of v0, p0, Lkotlinx/coroutines/ExecutorCoroutineDispatcher;
if-eqz v0, :cond_0
move-object v0, p0
check-cast v0, Lkotlinx/coroutines/ExecutorCoroutineDispatcher;
goto :goto_0
:cond_0
const/4 v0, 0x0
:goto_0
if-eqz v0, :cond_1
invoke-virtual {v0}, Lkotlinx/coroutines/ExecutorCoroutineDispatcher;->getExecutor()Ljava/util/concurrent/Executor;
move-result-object v0
if-nez v0, :cond_2
:cond_1
new-instance v0, Lkotlinx/coroutines/DispatcherExecutor;
invoke-direct {v0, p0}, Lkotlinx/coroutines/DispatcherExecutor;-><init>(Lkotlinx/coroutines/CoroutineDispatcher;)V
:cond_2
return-object v0
.end method
.method public static final from(Ljava/util/concurrent/Executor;)Lkotlinx/coroutines/CoroutineDispatcher;
.locals 1
.line 100
instance-of v0, p0, Lkotlinx/coroutines/DispatcherExecutor;
if-eqz v0, :cond_0
move-object v0, p0
check-cast v0, Lkotlinx/coroutines/DispatcherExecutor;
goto :goto_0
:cond_0
const/4 v0, 0x0
:goto_0
if-eqz v0, :cond_1
iget-object v0, v0, Lkotlinx/coroutines/DispatcherExecutor;->dispatcher:Lkotlinx/coroutines/CoroutineDispatcher;
if-nez v0, :cond_2
:cond_1
new-instance v0, Lkotlinx/coroutines/ExecutorCoroutineDispatcherImpl;
invoke-direct {v0, p0}, Lkotlinx/coroutines/ExecutorCoroutineDispatcherImpl;-><init>(Ljava/util/concurrent/Executor;)V
:cond_2
return-object v0
.end method