- 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
94 lines
2.6 KiB
Smali
94 lines
2.6 KiB
Smali
.class public Lcom/ea/eadp/pushnotification/forwarding/FCMMessageReceiver;
|
|
.super Lcom/google/firebase/messaging/FirebaseMessagingService;
|
|
.source "SourceFile"
|
|
|
|
|
|
# direct methods
|
|
.method public constructor <init>()V
|
|
.locals 0
|
|
|
|
.line 11
|
|
invoke-direct {p0}, Lcom/google/firebase/messaging/FirebaseMessagingService;-><init>()V
|
|
|
|
return-void
|
|
.end method
|
|
|
|
|
|
# virtual methods
|
|
.method public getIntentServiceName()Ljava/lang/String;
|
|
.locals 1
|
|
|
|
const-class v0, Lcom/ea/eadp/pushnotification/forwarding/FCMMessageService;
|
|
|
|
.line 37
|
|
invoke-virtual {v0}, Ljava/lang/Class;->getName()Ljava/lang/String;
|
|
|
|
move-result-object v0
|
|
|
|
return-object v0
|
|
.end method
|
|
|
|
.method public final onMessageReceived(Lcom/google/firebase/messaging/RemoteMessage;)V
|
|
.locals 3
|
|
|
|
.line 18
|
|
new-instance v0, Landroid/content/ComponentName;
|
|
|
|
invoke-virtual {p0}, Landroid/content/Context;->getApplicationContext()Landroid/content/Context;
|
|
|
|
move-result-object v1
|
|
|
|
invoke-virtual {v1}, Landroid/content/Context;->getPackageName()Ljava/lang/String;
|
|
|
|
move-result-object v1
|
|
|
|
.line 19
|
|
invoke-virtual {p0}, Lcom/ea/eadp/pushnotification/forwarding/FCMMessageReceiver;->getIntentServiceName()Ljava/lang/String;
|
|
|
|
move-result-object v2
|
|
|
|
invoke-direct {v0, v1, v2}, Landroid/content/ComponentName;-><init>(Ljava/lang/String;Ljava/lang/String;)V
|
|
|
|
.line 20
|
|
invoke-virtual {p1}, Lcom/google/firebase/messaging/RemoteMessage;->toIntent()Landroid/content/Intent;
|
|
|
|
move-result-object p1
|
|
|
|
.line 21
|
|
invoke-virtual {p1, v0}, Landroid/content/Intent;->setComponent(Landroid/content/ComponentName;)Landroid/content/Intent;
|
|
|
|
.line 23
|
|
invoke-virtual {p0}, Landroid/content/Context;->getApplicationContext()Landroid/content/Context;
|
|
|
|
move-result-object v0
|
|
|
|
invoke-virtual {p0}, Lcom/ea/eadp/pushnotification/forwarding/FCMMessageReceiver;->getIntentServiceName()Ljava/lang/String;
|
|
|
|
move-result-object v1
|
|
|
|
invoke-static {v0, v1, p1}, Lcom/ea/eadp/pushnotification/forwarding/FCMMessageService;->enqueueWork(Landroid/content/Context;Ljava/lang/String;Landroid/content/Intent;)V
|
|
|
|
return-void
|
|
.end method
|
|
|
|
.method public final onNewToken(Ljava/lang/String;)V
|
|
.locals 1
|
|
|
|
.line 29
|
|
invoke-static {}, Lcom/ea/nimble/ApplicationEnvironment;->isMainApplicationActive()Z
|
|
|
|
move-result v0
|
|
|
|
if-eqz v0, :cond_0
|
|
|
|
.line 31
|
|
invoke-static {}, Lcom/ea/nimble/pushtng/PushNotification;->getComponent()Lcom/ea/nimble/pushtng/IPushNotification;
|
|
|
|
move-result-object v0
|
|
|
|
invoke-interface {v0, p1}, Lcom/ea/nimble/pushtng/IPushNotification;->updateToken(Ljava/lang/String;)V
|
|
|
|
:cond_0
|
|
return-void
|
|
.end method
|