- 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
189 lines
5.1 KiB
Smali
189 lines
5.1 KiB
Smali
.class public abstract Lcsdk/gluads/eventbus/GluEventBus;
|
|
.super Ljava/lang/Object;
|
|
.source "SourceFile"
|
|
|
|
|
|
# annotations
|
|
.annotation system Ldalvik/annotation/MemberClasses;
|
|
value = {
|
|
Lcsdk/gluads/eventbus/GluEventBus$RealEventBus;,
|
|
Lcsdk/gluads/eventbus/GluEventBus$DisconnectedEventBus;,
|
|
Lcsdk/gluads/eventbus/GluEventBus$Event;,
|
|
Lcsdk/gluads/eventbus/GluEventBus$IEventHandler;
|
|
}
|
|
.end annotation
|
|
|
|
|
|
# static fields
|
|
.field public static final DISCONNECTED:Lcsdk/gluads/eventbus/GluEventBus;
|
|
|
|
.field private static final EVT_ACTION:Ljava/lang/String; = "action"
|
|
|
|
.field private static final EVT_CHANNEL:Ljava/lang/String; = "channel"
|
|
|
|
.field private static final EVT_DATA:Ljava/lang/String; = "data"
|
|
|
|
.field private static final EVT_SENDER:Ljava/lang/String; = "sender"
|
|
|
|
.field public static final GLOBAL_TOKEN:Ljava/lang/Object;
|
|
|
|
.field private static final KEYS:Ljava/util/Set;
|
|
.annotation system Ldalvik/annotation/Signature;
|
|
value = {
|
|
"Ljava/util/Set<",
|
|
"Ljava/lang/String;",
|
|
">;"
|
|
}
|
|
.end annotation
|
|
.end field
|
|
|
|
.field public static final SHARED:Lcsdk/gluads/eventbus/GluEventBus;
|
|
|
|
|
|
# direct methods
|
|
.method static constructor <clinit>()V
|
|
.locals 2
|
|
|
|
.line 20
|
|
new-instance v0, Lcsdk/gluads/eventbus/GluEventBus$DisconnectedEventBus;
|
|
|
|
const/4 v1, 0x0
|
|
|
|
invoke-direct {v0, v1}, Lcsdk/gluads/eventbus/GluEventBus$DisconnectedEventBus;-><init>(Lcsdk/gluads/eventbus/GluEventBus$1;)V
|
|
|
|
sput-object v0, Lcsdk/gluads/eventbus/GluEventBus;->DISCONNECTED:Lcsdk/gluads/eventbus/GluEventBus;
|
|
|
|
.line 21
|
|
invoke-static {}, Lcsdk/gluads/eventbus/GluEventBus;->createEventBus()Lcsdk/gluads/eventbus/GluEventBus;
|
|
|
|
move-result-object v0
|
|
|
|
sput-object v0, Lcsdk/gluads/eventbus/GluEventBus;->SHARED:Lcsdk/gluads/eventbus/GluEventBus;
|
|
|
|
.line 22
|
|
invoke-virtual {v0}, Lcsdk/gluads/eventbus/GluEventBus;->globalToken()Ljava/lang/Object;
|
|
|
|
move-result-object v0
|
|
|
|
sput-object v0, Lcsdk/gluads/eventbus/GluEventBus;->GLOBAL_TOKEN:Ljava/lang/Object;
|
|
|
|
.line 27
|
|
invoke-static {}, Lcsdk/gluads/eventbus/GluEventBus;->createKeys()Ljava/util/Set;
|
|
|
|
move-result-object v0
|
|
|
|
sput-object v0, Lcsdk/gluads/eventbus/GluEventBus;->KEYS:Ljava/util/Set;
|
|
|
|
return-void
|
|
.end method
|
|
|
|
.method public constructor <init>()V
|
|
.locals 0
|
|
|
|
.line 17
|
|
invoke-direct {p0}, Ljava/lang/Object;-><init>()V
|
|
|
|
return-void
|
|
.end method
|
|
|
|
.method public static synthetic access$100()Ljava/util/Set;
|
|
.locals 1
|
|
|
|
sget-object v0, Lcsdk/gluads/eventbus/GluEventBus;->KEYS:Ljava/util/Set;
|
|
|
|
return-object v0
|
|
.end method
|
|
|
|
.method private static createEventBus()Lcsdk/gluads/eventbus/GluEventBus;
|
|
.locals 2
|
|
|
|
.line 41
|
|
:try_start_0
|
|
invoke-static {}, Lcsdk/glucentralservices/eventbus/ServerEventBus;->getShared()Lcsdk/glucentralservices/eventbus/IServerEventBus;
|
|
|
|
move-result-object v0
|
|
|
|
.line 42
|
|
new-instance v1, Lcsdk/gluads/eventbus/GluEventBus$RealEventBus;
|
|
|
|
invoke-direct {v1, v0}, Lcsdk/gluads/eventbus/GluEventBus$RealEventBus;-><init>(Lcsdk/glucentralservices/eventbus/IServerEventBus;)V
|
|
:try_end_0
|
|
.catch Ljava/lang/NoClassDefFoundError; {:try_start_0 .. :try_end_0} :catch_0
|
|
|
|
return-object v1
|
|
|
|
:catch_0
|
|
sget-object v0, Lcsdk/gluads/eventbus/GluEventBus;->DISCONNECTED:Lcsdk/gluads/eventbus/GluEventBus;
|
|
|
|
return-object v0
|
|
.end method
|
|
|
|
.method private static createKeys()Ljava/util/Set;
|
|
.locals 2
|
|
.annotation system Ldalvik/annotation/Signature;
|
|
value = {
|
|
"()",
|
|
"Ljava/util/Set<",
|
|
"Ljava/lang/String;",
|
|
">;"
|
|
}
|
|
.end annotation
|
|
|
|
.line 49
|
|
new-instance v0, Ljava/util/HashSet;
|
|
|
|
invoke-direct {v0}, Ljava/util/HashSet;-><init>()V
|
|
|
|
const-string v1, "channel"
|
|
|
|
.line 50
|
|
invoke-interface {v0, v1}, Ljava/util/Set;->add(Ljava/lang/Object;)Z
|
|
|
|
const-string v1, "action"
|
|
|
|
.line 51
|
|
invoke-interface {v0, v1}, Ljava/util/Set;->add(Ljava/lang/Object;)Z
|
|
|
|
const-string v1, "sender"
|
|
|
|
.line 52
|
|
invoke-interface {v0, v1}, Ljava/util/Set;->add(Ljava/lang/Object;)Z
|
|
|
|
const-string v1, "data"
|
|
|
|
.line 53
|
|
invoke-interface {v0, v1}, Ljava/util/Set;->add(Ljava/lang/Object;)Z
|
|
|
|
return-object v0
|
|
.end method
|
|
|
|
|
|
# virtual methods
|
|
.method public abstract globalToken()Ljava/lang/Object;
|
|
.end method
|
|
|
|
.method public abstract isConnected()Z
|
|
.end method
|
|
|
|
.method public abstract publish(Ljava/lang/Object;Lcsdk/gluads/eventbus/GluEventBus$Event;)V
|
|
.end method
|
|
|
|
.method public abstract subscribe(Ljava/lang/Object;Ljava/lang/String;Ljava/util/Collection;Lcsdk/gluads/eventbus/GluEventBus$IEventHandler;)Ljava/lang/Object;
|
|
.annotation system Ldalvik/annotation/Signature;
|
|
value = {
|
|
"(",
|
|
"Ljava/lang/Object;",
|
|
"Ljava/lang/String;",
|
|
"Ljava/util/Collection<",
|
|
"Ljava/lang/String;",
|
|
">;",
|
|
"Lcsdk/gluads/eventbus/GluEventBus$IEventHandler;",
|
|
")",
|
|
"Ljava/lang/Object;"
|
|
}
|
|
.end annotation
|
|
.end method
|
|
|
|
.method public abstract unsubscribe(Ljava/lang/Object;)V
|
|
.end method
|