Files
rr3-apk/smali_classes4/csdk/glucustomersupport/push/GluCSFirebaseMessagingService.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

151 lines
3.5 KiB
Smali

.class public Lcsdk/glucustomersupport/push/GluCSFirebaseMessagingService;
.super Lcom/google/firebase/messaging/FirebaseMessagingService;
.source "SourceFile"
# direct methods
.method public constructor <init>()V
.locals 0
.line 17
invoke-direct {p0}, Lcom/google/firebase/messaging/FirebaseMessagingService;-><init>()V
return-void
.end method
# virtual methods
.method public onCreate()V
.locals 1
.line 20
invoke-super {p0}, Landroid/app/Service;->onCreate()V
.line 21
invoke-virtual {p0}, Landroid/app/Service;->getApplication()Landroid/app/Application;
move-result-object v0
invoke-static {v0}, Lcsdk/glucustomersupport/impl/GluHelpshift;->internal_Install(Landroid/app/Application;)V
return-void
.end method
.method public onMessageReceived(Lcom/google/firebase/messaging/RemoteMessage;)V
.locals 6
const-string v0, "CS"
.line 29
invoke-super {p0, p1}, Lcom/google/firebase/messaging/FirebaseMessagingService;->onMessageReceived(Lcom/google/firebase/messaging/RemoteMessage;)V
if-eqz p1, :cond_1
.line 32
invoke-virtual {p1}, Lcom/google/firebase/messaging/RemoteMessage;->getData()Ljava/util/Map;
move-result-object v1
const-string v2, "origin"
.line 33
invoke-interface {v1, v2}, Ljava/util/Map;->get(Ljava/lang/Object;)Ljava/lang/Object;
move-result-object v2
check-cast v2, Ljava/lang/String;
if-eqz v2, :cond_0
const-string v3, "helpshift"
.line 34
invoke-virtual {v2, v3}, Ljava/lang/String;->equals(Ljava/lang/Object;)Z
move-result v2
if-eqz v2, :cond_0
.line 35
invoke-static {v1}, Lcom/helpshift/Helpshift;->handlePush(Ljava/util/Map;)V
:cond_0
:try_start_0
const-string v1, "csdk.glumarketing.GluMKTFirebaseMessagingService"
.line 39
invoke-static {v1}, Ljava/lang/Class;->forName(Ljava/lang/String;)Ljava/lang/Class;
move-result-object v1
const-string v2, "handleMessage"
const/4 v3, 0x2
new-array v3, v3, [Ljava/lang/Class;
const-class v4, Landroid/content/Context;
const/4 v5, 0x0
aput-object v4, v3, v5
const-class v4, Lcom/google/firebase/messaging/RemoteMessage;
const/4 v5, 0x1
aput-object v4, v3, v5
.line 40
invoke-virtual {v1, v2, v3}, Ljava/lang/Class;->getMethod(Ljava/lang/String;[Ljava/lang/Class;)Ljava/lang/reflect/Method;
move-result-object v1
filled-new-array {p0, p1}, [Ljava/lang/Object;
move-result-object p1
const/4 v2, 0x0
.line 41
invoke-virtual {v1, v2, p1}, Ljava/lang/reflect/Method;->invoke(Ljava/lang/Object;[Ljava/lang/Object;)Ljava/lang/Object;
:try_end_0
.catch Ljava/lang/ClassNotFoundException; {:try_start_0 .. :try_end_0} :catch_2
.catch Ljava/lang/NoSuchMethodException; {:try_start_0 .. :try_end_0} :catch_1
.catch Ljava/lang/Exception; {:try_start_0 .. :try_end_0} :catch_0
goto :goto_0
:catch_0
move-exception p1
.line 47
invoke-virtual {p1}, Ljava/lang/Throwable;->printStackTrace()V
goto :goto_0
:catch_1
const-string p1, "handleMessage not found"
.line 45
invoke-static {v0, p1}, Landroid/util/Log;->e(Ljava/lang/String;Ljava/lang/String;)I
goto :goto_0
:catch_2
const-string p1, "GluMKTFirebaseMessagingService not found"
.line 43
invoke-static {v0, p1}, Landroid/util/Log;->e(Ljava/lang/String;Ljava/lang/String;)I
:cond_1
:goto_0
return-void
.end method
.method public onNewToken(Ljava/lang/String;)V
.locals 0
return-void
.end method