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

128 lines
3.6 KiB
Smali

.class public abstract Lkotlinx/coroutines/internal/MainDispatchersKt;
.super Ljava/lang/Object;
.source "SourceFile"
# static fields
.field public static final SUPPORT_MISSING:Z
# direct methods
.method static constructor <clinit>()V
.locals 0
return-void
.end method
.method public static final createMissingDispatcher(Ljava/lang/Throwable;Ljava/lang/String;)Lkotlinx/coroutines/internal/MissingMainCoroutineDispatcher;
.locals 1
sget-boolean v0, Lkotlinx/coroutines/internal/MainDispatchersKt;->SUPPORT_MISSING:Z
if-eqz v0, :cond_0
.line 77
new-instance v0, Lkotlinx/coroutines/internal/MissingMainCoroutineDispatcher;
invoke-direct {v0, p0, p1}, Lkotlinx/coroutines/internal/MissingMainCoroutineDispatcher;-><init>(Ljava/lang/Throwable;Ljava/lang/String;)V
return-object v0
:cond_0
if-eqz p0, :cond_1
.line 78
throw p0
:cond_1
invoke-static {}, Lkotlinx/coroutines/internal/MainDispatchersKt;->throwMissingMainDispatcherException()Ljava/lang/Void;
new-instance p0, Lkotlin/KotlinNothingValueException;
invoke-direct {p0}, Lkotlin/KotlinNothingValueException;-><init>()V
throw p0
.end method
.method public static synthetic createMissingDispatcher$default(Ljava/lang/Throwable;Ljava/lang/String;ILjava/lang/Object;)Lkotlinx/coroutines/internal/MissingMainCoroutineDispatcher;
.locals 1
and-int/lit8 p3, p2, 0x1
const/4 v0, 0x0
if-eqz p3, :cond_0
move-object p0, v0
:cond_0
and-int/lit8 p2, p2, 0x2
if-eqz p2, :cond_1
move-object p1, v0
.line 76
:cond_1
invoke-static {p0, p1}, Lkotlinx/coroutines/internal/MainDispatchersKt;->createMissingDispatcher(Ljava/lang/Throwable;Ljava/lang/String;)Lkotlinx/coroutines/internal/MissingMainCoroutineDispatcher;
move-result-object p0
return-object p0
.end method
.method public static final isMissing(Lkotlinx/coroutines/MainCoroutineDispatcher;)Z
.locals 0
.line 66
invoke-virtual {p0}, Lkotlinx/coroutines/MainCoroutineDispatcher;->getImmediate()Lkotlinx/coroutines/MainCoroutineDispatcher;
move-result-object p0
instance-of p0, p0, Lkotlinx/coroutines/internal/MissingMainCoroutineDispatcher;
return p0
.end method
.method public static final throwMissingMainDispatcherException()Ljava/lang/Void;
.locals 2
.line 81
new-instance v0, Ljava/lang/IllegalStateException;
const-string v1, "Module with the Main dispatcher is missing. Add dependency providing the Main dispatcher, e.g. \'kotlinx-coroutines-android\' and ensure it has the same version as \'kotlinx-coroutines-core\'"
invoke-direct {v0, v1}, Ljava/lang/IllegalStateException;-><init>(Ljava/lang/String;)V
throw v0
.end method
.method public static final tryCreateDispatcher(Lkotlinx/coroutines/internal/MainDispatcherFactory;Ljava/util/List;)Lkotlinx/coroutines/MainCoroutineDispatcher;
.locals 0
.line 57
:try_start_0
invoke-interface {p0, p1}, Lkotlinx/coroutines/internal/MainDispatcherFactory;->createDispatcher(Ljava/util/List;)Lkotlinx/coroutines/MainCoroutineDispatcher;
move-result-object p0
:try_end_0
.catchall {:try_start_0 .. :try_end_0} :catchall_0
goto :goto_0
:catchall_0
move-exception p1
.line 59
invoke-interface {p0}, Lkotlinx/coroutines/internal/MainDispatcherFactory;->hintOnError()Ljava/lang/String;
move-result-object p0
invoke-static {p1, p0}, Lkotlinx/coroutines/internal/MainDispatchersKt;->createMissingDispatcher(Ljava/lang/Throwable;Ljava/lang/String;)Lkotlinx/coroutines/internal/MissingMainCoroutineDispatcher;
move-result-object p0
:goto_0
return-object p0
.end method