- 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
89 lines
2.7 KiB
Smali
89 lines
2.7 KiB
Smali
.class public Lcom/helpshift/user/UserManager$1;
|
|
.super Ljava/lang/Object;
|
|
.source "SourceFile"
|
|
|
|
# interfaces
|
|
.implements Ljava/lang/Runnable;
|
|
|
|
|
|
# annotations
|
|
.annotation system Ldalvik/annotation/EnclosingMethod;
|
|
value = Lcom/helpshift/user/UserManager;->registerPushToken(Ljava/lang/String;)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;
|
|
|
|
.field public final synthetic val$token:Ljava/lang/String;
|
|
|
|
|
|
# direct methods
|
|
.method public constructor <init>(Lcom/helpshift/user/UserManager;Ljava/lang/String;)V
|
|
.locals 0
|
|
|
|
iput-object p1, p0, Lcom/helpshift/user/UserManager$1;->this$0:Lcom/helpshift/user/UserManager;
|
|
|
|
iput-object p2, p0, Lcom/helpshift/user/UserManager$1;->val$token:Ljava/lang/String;
|
|
|
|
.line 115
|
|
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$1;->this$0:Lcom/helpshift/user/UserManager;
|
|
|
|
.line 119
|
|
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$1;->this$0:Lcom/helpshift/user/UserManager;
|
|
|
|
.line 122
|
|
invoke-virtual {v0}, Lcom/helpshift/user/UserManager;->shouldPoll()Z
|
|
|
|
move-result v0
|
|
|
|
if-eqz v0, :cond_0
|
|
|
|
iget-object v0, p0, Lcom/helpshift/user/UserManager$1;->this$0:Lcom/helpshift/user/UserManager;
|
|
|
|
.line 123
|
|
invoke-static {v0}, Lcom/helpshift/user/UserManager;->access$100(Lcom/helpshift/user/UserManager;)Lcom/helpshift/notification/HSPushTokenManager;
|
|
|
|
move-result-object v0
|
|
|
|
iget-object v1, p0, Lcom/helpshift/user/UserManager$1;->val$token:Ljava/lang/String;
|
|
|
|
iget-object v2, p0, Lcom/helpshift/user/UserManager$1;->this$0:Lcom/helpshift/user/UserManager;
|
|
|
|
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$1;->this$0:Lcom/helpshift/user/UserManager;
|
|
|
|
invoke-direct {v3, v4}, Lcom/helpshift/user/UserManager$UpdatePushSyncStatus;-><init>(Lcom/helpshift/user/UserManager;)V
|
|
|
|
invoke-virtual {v0, v1, v2, v3}, Lcom/helpshift/notification/HSPushTokenManager;->registerPushTokenWithBackend(Ljava/lang/String;Ljava/util/Map;Lcom/helpshift/util/ValueListener;)V
|
|
|
|
:cond_0
|
|
return-void
|
|
.end method
|