- 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
250 lines
9.2 KiB
Smali
250 lines
9.2 KiB
Smali
.class public Lcom/helpshift/faq/HSHelpcenterEventsHandler;
|
|
.super Ljava/lang/Object;
|
|
.source "SourceFile"
|
|
|
|
|
|
# instance fields
|
|
.field public configManager:Lcom/helpshift/config/HSConfigManager;
|
|
|
|
.field public resourceCacheManager:Lcom/helpshift/cache/HelpshiftResourceCacheManager;
|
|
|
|
.field public threadingService:Lcom/helpshift/concurrency/HSThreadingService;
|
|
|
|
.field public uiCallback:Ljava/lang/ref/WeakReference;
|
|
|
|
|
|
# direct methods
|
|
.method public constructor <init>(Lcom/helpshift/config/HSConfigManager;Lcom/helpshift/concurrency/HSThreadingService;Lcom/helpshift/cache/HelpshiftResourceCacheManager;)V
|
|
.locals 0
|
|
|
|
.line 33
|
|
invoke-direct {p0}, Ljava/lang/Object;-><init>()V
|
|
|
|
iput-object p1, p0, Lcom/helpshift/faq/HSHelpcenterEventsHandler;->configManager:Lcom/helpshift/config/HSConfigManager;
|
|
|
|
iput-object p2, p0, Lcom/helpshift/faq/HSHelpcenterEventsHandler;->threadingService:Lcom/helpshift/concurrency/HSThreadingService;
|
|
|
|
iput-object p3, p0, Lcom/helpshift/faq/HSHelpcenterEventsHandler;->resourceCacheManager:Lcom/helpshift/cache/HelpshiftResourceCacheManager;
|
|
|
|
return-void
|
|
.end method
|
|
|
|
.method public static synthetic access$000(Lcom/helpshift/faq/HSHelpcenterEventsHandler;)Lcom/helpshift/config/HSConfigManager;
|
|
.locals 0
|
|
|
|
.line 19
|
|
iget-object p0, p0, Lcom/helpshift/faq/HSHelpcenterEventsHandler;->configManager:Lcom/helpshift/config/HSConfigManager;
|
|
|
|
return-object p0
|
|
.end method
|
|
|
|
.method public static synthetic access$100(Lcom/helpshift/faq/HSHelpcenterEventsHandler;)Ljava/lang/ref/WeakReference;
|
|
.locals 0
|
|
|
|
.line 19
|
|
iget-object p0, p0, Lcom/helpshift/faq/HSHelpcenterEventsHandler;->uiCallback:Ljava/lang/ref/WeakReference;
|
|
|
|
return-object p0
|
|
.end method
|
|
|
|
.method public static synthetic access$200(Lcom/helpshift/faq/HSHelpcenterEventsHandler;)Lcom/helpshift/cache/HelpshiftResourceCacheManager;
|
|
.locals 0
|
|
|
|
.line 19
|
|
iget-object p0, p0, Lcom/helpshift/faq/HSHelpcenterEventsHandler;->resourceCacheManager:Lcom/helpshift/cache/HelpshiftResourceCacheManager;
|
|
|
|
return-object p0
|
|
.end method
|
|
|
|
|
|
# virtual methods
|
|
.method public addWebviewToUi(Landroid/webkit/WebView;)V
|
|
.locals 2
|
|
|
|
iget-object v0, p0, Lcom/helpshift/faq/HSHelpcenterEventsHandler;->threadingService:Lcom/helpshift/concurrency/HSThreadingService;
|
|
|
|
.line 129
|
|
new-instance v1, Lcom/helpshift/faq/HSHelpcenterEventsHandler$7;
|
|
|
|
invoke-direct {v1, p0, p1}, Lcom/helpshift/faq/HSHelpcenterEventsHandler$7;-><init>(Lcom/helpshift/faq/HSHelpcenterEventsHandler;Landroid/webkit/WebView;)V
|
|
|
|
invoke-virtual {v0, v1}, Lcom/helpshift/concurrency/HSThreadingService;->runOnUIThread(Ljava/lang/Runnable;)V
|
|
|
|
return-void
|
|
.end method
|
|
|
|
.method public closeHelpcenter()V
|
|
.locals 2
|
|
|
|
iget-object v0, p0, Lcom/helpshift/faq/HSHelpcenterEventsHandler;->threadingService:Lcom/helpshift/concurrency/HSThreadingService;
|
|
|
|
.line 79
|
|
new-instance v1, Lcom/helpshift/faq/HSHelpcenterEventsHandler$3;
|
|
|
|
invoke-direct {v1, p0}, Lcom/helpshift/faq/HSHelpcenterEventsHandler$3;-><init>(Lcom/helpshift/faq/HSHelpcenterEventsHandler;)V
|
|
|
|
invoke-virtual {v0, v1}, Lcom/helpshift/concurrency/HSThreadingService;->runOnUIThread(Ljava/lang/Runnable;)V
|
|
|
|
return-void
|
|
.end method
|
|
|
|
.method public final deleteAllCachedFilesOfHelpcenter()V
|
|
.locals 2
|
|
|
|
iget-object v0, p0, Lcom/helpshift/faq/HSHelpcenterEventsHandler;->threadingService:Lcom/helpshift/concurrency/HSThreadingService;
|
|
|
|
.line 171
|
|
new-instance v1, Lcom/helpshift/faq/HSHelpcenterEventsHandler$10;
|
|
|
|
invoke-direct {v1, p0}, Lcom/helpshift/faq/HSHelpcenterEventsHandler$10;-><init>(Lcom/helpshift/faq/HSHelpcenterEventsHandler;)V
|
|
|
|
invoke-virtual {v0, v1}, Lcom/helpshift/concurrency/HSThreadingService;->runSerial(Ljava/lang/Runnable;)V
|
|
|
|
return-void
|
|
.end method
|
|
|
|
.method public getWebchatData()V
|
|
.locals 2
|
|
|
|
iget-object v0, p0, Lcom/helpshift/faq/HSHelpcenterEventsHandler;->threadingService:Lcom/helpshift/concurrency/HSThreadingService;
|
|
|
|
.line 180
|
|
new-instance v1, Lcom/helpshift/faq/HSHelpcenterEventsHandler$11;
|
|
|
|
invoke-direct {v1, p0}, Lcom/helpshift/faq/HSHelpcenterEventsHandler$11;-><init>(Lcom/helpshift/faq/HSHelpcenterEventsHandler;)V
|
|
|
|
invoke-virtual {v0, v1}, Lcom/helpshift/concurrency/HSThreadingService;->runSerial(Ljava/lang/Runnable;)V
|
|
|
|
return-void
|
|
.end method
|
|
|
|
.method public hcActionSync(Ljava/lang/String;)V
|
|
.locals 2
|
|
|
|
iget-object v0, p0, Lcom/helpshift/faq/HSHelpcenterEventsHandler;->threadingService:Lcom/helpshift/concurrency/HSThreadingService;
|
|
|
|
.line 192
|
|
new-instance v1, Lcom/helpshift/faq/HSHelpcenterEventsHandler$12;
|
|
|
|
invoke-direct {v1, p0, p1}, Lcom/helpshift/faq/HSHelpcenterEventsHandler$12;-><init>(Lcom/helpshift/faq/HSHelpcenterEventsHandler;Ljava/lang/String;)V
|
|
|
|
invoke-virtual {v0, v1}, Lcom/helpshift/concurrency/HSThreadingService;->runSerial(Ljava/lang/Runnable;)V
|
|
|
|
return-void
|
|
.end method
|
|
|
|
.method public onHelpcenterError()V
|
|
.locals 2
|
|
|
|
.line 153
|
|
invoke-virtual {p0}, Lcom/helpshift/faq/HSHelpcenterEventsHandler;->deleteAllCachedFilesOfHelpcenter()V
|
|
|
|
iget-object v0, p0, Lcom/helpshift/faq/HSHelpcenterEventsHandler;->threadingService:Lcom/helpshift/concurrency/HSThreadingService;
|
|
|
|
.line 154
|
|
new-instance v1, Lcom/helpshift/faq/HSHelpcenterEventsHandler$9;
|
|
|
|
invoke-direct {v1, p0}, Lcom/helpshift/faq/HSHelpcenterEventsHandler$9;-><init>(Lcom/helpshift/faq/HSHelpcenterEventsHandler;)V
|
|
|
|
invoke-virtual {v0, v1}, Lcom/helpshift/concurrency/HSThreadingService;->runOnUIThread(Ljava/lang/Runnable;)V
|
|
|
|
return-void
|
|
.end method
|
|
|
|
.method public onHelpcenterLoaded(Ljava/lang/String;)V
|
|
.locals 2
|
|
|
|
iget-object v0, p0, Lcom/helpshift/faq/HSHelpcenterEventsHandler;->threadingService:Lcom/helpshift/concurrency/HSThreadingService;
|
|
|
|
.line 105
|
|
new-instance v1, Lcom/helpshift/faq/HSHelpcenterEventsHandler$5;
|
|
|
|
invoke-direct {v1, p0, p1}, Lcom/helpshift/faq/HSHelpcenterEventsHandler$5;-><init>(Lcom/helpshift/faq/HSHelpcenterEventsHandler;Ljava/lang/String;)V
|
|
|
|
invoke-virtual {v0, v1}, Lcom/helpshift/concurrency/HSThreadingService;->runOnUIThread(Ljava/lang/Runnable;)V
|
|
|
|
iget-object v0, p0, Lcom/helpshift/faq/HSHelpcenterEventsHandler;->threadingService:Lcom/helpshift/concurrency/HSThreadingService;
|
|
|
|
.line 120
|
|
new-instance v1, Lcom/helpshift/faq/HSHelpcenterEventsHandler$6;
|
|
|
|
invoke-direct {v1, p0, p1}, Lcom/helpshift/faq/HSHelpcenterEventsHandler$6;-><init>(Lcom/helpshift/faq/HSHelpcenterEventsHandler;Ljava/lang/String;)V
|
|
|
|
invoke-virtual {v0, v1}, Lcom/helpshift/concurrency/HSThreadingService;->runSerial(Ljava/lang/Runnable;)V
|
|
|
|
return-void
|
|
.end method
|
|
|
|
.method public onRemoveAdditionalHelpcenterData(Ljava/lang/String;)V
|
|
.locals 2
|
|
|
|
iget-object v0, p0, Lcom/helpshift/faq/HSHelpcenterEventsHandler;->threadingService:Lcom/helpshift/concurrency/HSThreadingService;
|
|
|
|
.line 65
|
|
new-instance v1, Lcom/helpshift/faq/HSHelpcenterEventsHandler$2;
|
|
|
|
invoke-direct {v1, p0, p1}, Lcom/helpshift/faq/HSHelpcenterEventsHandler$2;-><init>(Lcom/helpshift/faq/HSHelpcenterEventsHandler;Ljava/lang/String;)V
|
|
|
|
invoke-virtual {v0, v1}, Lcom/helpshift/concurrency/HSThreadingService;->runSerial(Ljava/lang/Runnable;)V
|
|
|
|
return-void
|
|
.end method
|
|
|
|
.method public onSetAdditionalHelpcenterData(Ljava/lang/String;)V
|
|
.locals 2
|
|
|
|
iget-object v0, p0, Lcom/helpshift/faq/HSHelpcenterEventsHandler;->threadingService:Lcom/helpshift/concurrency/HSThreadingService;
|
|
|
|
.line 50
|
|
new-instance v1, Lcom/helpshift/faq/HSHelpcenterEventsHandler$1;
|
|
|
|
invoke-direct {v1, p0, p1}, Lcom/helpshift/faq/HSHelpcenterEventsHandler$1;-><init>(Lcom/helpshift/faq/HSHelpcenterEventsHandler;Ljava/lang/String;)V
|
|
|
|
invoke-virtual {v0, v1}, Lcom/helpshift/concurrency/HSThreadingService;->runSerial(Ljava/lang/Runnable;)V
|
|
|
|
return-void
|
|
.end method
|
|
|
|
.method public openWebchat()V
|
|
.locals 2
|
|
|
|
iget-object v0, p0, Lcom/helpshift/faq/HSHelpcenterEventsHandler;->threadingService:Lcom/helpshift/concurrency/HSThreadingService;
|
|
|
|
.line 92
|
|
new-instance v1, Lcom/helpshift/faq/HSHelpcenterEventsHandler$4;
|
|
|
|
invoke-direct {v1, p0}, Lcom/helpshift/faq/HSHelpcenterEventsHandler$4;-><init>(Lcom/helpshift/faq/HSHelpcenterEventsHandler;)V
|
|
|
|
invoke-virtual {v0, v1}, Lcom/helpshift/concurrency/HSThreadingService;->runOnUIThread(Ljava/lang/Runnable;)V
|
|
|
|
return-void
|
|
.end method
|
|
|
|
.method public sendEventToSystemApp(Landroid/content/Intent;)V
|
|
.locals 2
|
|
|
|
iget-object v0, p0, Lcom/helpshift/faq/HSHelpcenterEventsHandler;->threadingService:Lcom/helpshift/concurrency/HSThreadingService;
|
|
|
|
.line 141
|
|
new-instance v1, Lcom/helpshift/faq/HSHelpcenterEventsHandler$8;
|
|
|
|
invoke-direct {v1, p0, p1}, Lcom/helpshift/faq/HSHelpcenterEventsHandler$8;-><init>(Lcom/helpshift/faq/HSHelpcenterEventsHandler;Landroid/content/Intent;)V
|
|
|
|
invoke-virtual {v0, v1}, Lcom/helpshift/concurrency/HSThreadingService;->runOnUIThread(Ljava/lang/Runnable;)V
|
|
|
|
return-void
|
|
.end method
|
|
|
|
.method public setHelpcenterUiCallback(Lcom/helpshift/faq/HelpcenterToUiCallback;)V
|
|
.locals 1
|
|
|
|
.line 40
|
|
new-instance v0, Ljava/lang/ref/WeakReference;
|
|
|
|
invoke-direct {v0, p1}, Ljava/lang/ref/WeakReference;-><init>(Ljava/lang/Object;)V
|
|
|
|
iput-object v0, p0, Lcom/helpshift/faq/HSHelpcenterEventsHandler;->uiCallback:Ljava/lang/ref/WeakReference;
|
|
|
|
return-void
|
|
.end method
|