- 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
82 lines
1.9 KiB
Smali
82 lines
1.9 KiB
Smali
.class public Lcom/firemint/realracing/RRHelpshiftService;
|
|
.super Lcom/google/firebase/messaging/FirebaseMessagingService;
|
|
.source "SourceFile"
|
|
|
|
|
|
# direct methods
|
|
.method public constructor <init>()V
|
|
.locals 0
|
|
|
|
.line 9
|
|
invoke-direct {p0}, Lcom/google/firebase/messaging/FirebaseMessagingService;-><init>()V
|
|
|
|
return-void
|
|
.end method
|
|
|
|
|
|
# virtual methods
|
|
.method public onCreate()V
|
|
.locals 1
|
|
|
|
.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 2
|
|
|
|
.line 27
|
|
invoke-super {p0, p1}, Lcom/google/firebase/messaging/FirebaseMessagingService;->onMessageReceived(Lcom/google/firebase/messaging/RemoteMessage;)V
|
|
|
|
if-eqz p1, :cond_0
|
|
|
|
.line 30
|
|
invoke-virtual {p1}, Lcom/google/firebase/messaging/RemoteMessage;->getData()Ljava/util/Map;
|
|
|
|
move-result-object p1
|
|
|
|
const-string v0, "origin"
|
|
|
|
.line 31
|
|
invoke-interface {p1, v0}, Ljava/util/Map;->get(Ljava/lang/Object;)Ljava/lang/Object;
|
|
|
|
move-result-object v0
|
|
|
|
check-cast v0, Ljava/lang/String;
|
|
|
|
if-eqz v0, :cond_0
|
|
|
|
const-string v1, "helpshift"
|
|
|
|
.line 32
|
|
invoke-virtual {v0, v1}, Ljava/lang/String;->equals(Ljava/lang/Object;)Z
|
|
|
|
move-result v0
|
|
|
|
if-eqz v0, :cond_0
|
|
|
|
.line 34
|
|
invoke-static {p1}, Lcom/helpshift/Helpshift;->handlePush(Ljava/util/Map;)V
|
|
|
|
:cond_0
|
|
return-void
|
|
.end method
|
|
|
|
.method public onNewToken(Ljava/lang/String;)V
|
|
.locals 0
|
|
|
|
.line 14
|
|
invoke-super {p0, p1}, Lcom/google/firebase/messaging/FirebaseMessagingService;->onNewToken(Ljava/lang/String;)V
|
|
|
|
.line 15
|
|
invoke-static {p1}, Lcom/helpshift/Helpshift;->registerPushToken(Ljava/lang/String;)V
|
|
|
|
return-void
|
|
.end method
|