Files
rr3-apk/smali_classes3/com/helpshift/Helpshift$16.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

87 lines
2.3 KiB
Smali

.class public Lcom/helpshift/Helpshift$16;
.super Ljava/lang/Object;
.source "SourceFile"
# interfaces
.implements Ljava/lang/Runnable;
# annotations
.annotation system Ldalvik/annotation/EnclosingMethod;
value = Lcom/helpshift/Helpshift;->handlePush(Ljava/util/Map;)V
.end annotation
.annotation system Ldalvik/annotation/InnerClass;
accessFlags = 0x1
name = null
.end annotation
# instance fields
.field public final synthetic val$data:Ljava/util/Map;
.field public final synthetic val$hsContext:Lcom/helpshift/core/HSContext;
# direct methods
.method public constructor <init>(Lcom/helpshift/core/HSContext;Ljava/util/Map;)V
.locals 0
iput-object p1, p0, Lcom/helpshift/Helpshift$16;->val$hsContext:Lcom/helpshift/core/HSContext;
iput-object p2, p0, Lcom/helpshift/Helpshift$16;->val$data:Ljava/util/Map;
.line 666
invoke-direct {p0}, Ljava/lang/Object;-><init>()V
return-void
.end method
# virtual methods
.method public run()V
.locals 4
iget-object v0, p0, Lcom/helpshift/Helpshift$16;->val$hsContext:Lcom/helpshift/core/HSContext;
.line 669
invoke-virtual {v0}, Lcom/helpshift/core/HSContext;->isWebchatUIOpen()Z
move-result v0
const/4 v1, 0x1
if-nez v0, :cond_0
iget-object v0, p0, Lcom/helpshift/Helpshift$16;->val$hsContext:Lcom/helpshift/core/HSContext;
.line 671
invoke-virtual {v0}, Lcom/helpshift/core/HSContext;->getUserManager()Lcom/helpshift/user/UserManager;
move-result-object v0
invoke-virtual {v0, v1}, Lcom/helpshift/user/UserManager;->updatePushUnreadCountBy(I)V
:cond_0
iget-object v0, p0, Lcom/helpshift/Helpshift$16;->val$hsContext:Lcom/helpshift/core/HSContext;
.line 673
invoke-virtual {v0}, Lcom/helpshift/core/HSContext;->getNotificationManager()Lcom/helpshift/notification/CoreNotificationManager;
move-result-object v0
iget-object v2, p0, Lcom/helpshift/Helpshift$16;->val$data:Ljava/util/Map;
const-string v3, "alert"
invoke-interface {v2, v3}, Ljava/util/Map;->get(Ljava/lang/Object;)Ljava/lang/Object;
move-result-object v2
check-cast v2, Ljava/lang/String;
invoke-interface {v0, v2, v1}, Lcom/helpshift/notification/CoreNotificationManager;->showNotification(Ljava/lang/String;Z)V
return-void
.end method