Files
rr3-apk/smali_classes3/com/helpshift/user/UserManager$2.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

118 lines
3.5 KiB
Smali

.class public Lcom/helpshift/user/UserManager$2;
.super Ljava/lang/Object;
.source "SourceFile"
# interfaces
.implements Ljava/lang/Runnable;
# annotations
.annotation system Ldalvik/annotation/EnclosingMethod;
value = Lcom/helpshift/user/UserManager;->startNotificationUpdatesSync()V
.end annotation
.annotation system Ldalvik/annotation/InnerClass;
accessFlags = 0x1
name = null
.end annotation
# instance fields
.field public final synthetic this$0:Lcom/helpshift/user/UserManager;
# direct methods
.method public constructor <init>(Lcom/helpshift/user/UserManager;)V
.locals 0
iput-object p1, p0, Lcom/helpshift/user/UserManager$2;->this$0:Lcom/helpshift/user/UserManager;
.line 350
invoke-direct {p0}, Ljava/lang/Object;-><init>()V
return-void
.end method
# virtual methods
.method public run()V
.locals 5
iget-object v0, p0, Lcom/helpshift/user/UserManager$2;->this$0:Lcom/helpshift/user/UserManager;
.line 354
invoke-static {v0}, Lcom/helpshift/user/UserManager;->access$000(Lcom/helpshift/user/UserManager;)Lcom/helpshift/poller/FetchNotificationUpdate;
move-result-object v0
invoke-virtual {v0}, Lcom/helpshift/poller/FetchNotificationUpdate;->execute()I
iget-object v0, p0, Lcom/helpshift/user/UserManager$2;->this$0:Lcom/helpshift/user/UserManager;
.line 357
invoke-virtual {v0}, Lcom/helpshift/user/UserManager;->shouldPoll()Z
move-result v0
if-nez v0, :cond_0
return-void
:cond_0
iget-object v0, p0, Lcom/helpshift/user/UserManager$2;->this$0:Lcom/helpshift/user/UserManager;
.line 361
invoke-static {v0}, Lcom/helpshift/user/UserManager;->access$200(Lcom/helpshift/user/UserManager;)Lcom/helpshift/storage/HSPersistentStorage;
move-result-object v0
invoke-virtual {v0}, Lcom/helpshift/storage/HSPersistentStorage;->getCurrentPushToken()Ljava/lang/String;
move-result-object v0
.line 364
invoke-static {v0}, Lcom/helpshift/util/Utils;->isEmpty(Ljava/lang/String;)Z
move-result v1
if-eqz v1, :cond_1
iget-object v0, p0, Lcom/helpshift/user/UserManager$2;->this$0:Lcom/helpshift/user/UserManager;
.line 365
invoke-static {v0}, Lcom/helpshift/user/UserManager;->access$300(Lcom/helpshift/user/UserManager;)Lcom/helpshift/poller/ConversationPoller;
move-result-object v0
invoke-virtual {v0}, Lcom/helpshift/poller/ConversationPoller;->startPoller()V
goto :goto_0
:cond_1
iget-object v1, p0, Lcom/helpshift/user/UserManager$2;->this$0:Lcom/helpshift/user/UserManager;
.line 368
invoke-static {v1}, Lcom/helpshift/user/UserManager;->access$100(Lcom/helpshift/user/UserManager;)Lcom/helpshift/notification/HSPushTokenManager;
move-result-object v1
iget-object v2, p0, Lcom/helpshift/user/UserManager$2;->this$0:Lcom/helpshift/user/UserManager;
.line 369
invoke-virtual {v2}, Lcom/helpshift/user/UserManager;->getActiveUserDataForNetworkCall()Ljava/util/Map;
move-result-object v2
new-instance v3, Lcom/helpshift/user/UserManager$UpdatePushSyncStatus;
iget-object v4, p0, Lcom/helpshift/user/UserManager$2;->this$0:Lcom/helpshift/user/UserManager;
invoke-direct {v3, v4}, Lcom/helpshift/user/UserManager$UpdatePushSyncStatus;-><init>(Lcom/helpshift/user/UserManager;)V
.line 368
invoke-virtual {v1, v0, v2, v3}, Lcom/helpshift/notification/HSPushTokenManager;->registerPushTokenWithBackend(Ljava/lang/String;Ljava/util/Map;Lcom/helpshift/util/ValueListener;)V
:goto_0
return-void
.end method