Files
rr3-apk/smali_classes3/com/helpshift/faq/HelpcenterToNativeBridge.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

183 lines
5.6 KiB
Smali

.class public Lcom/helpshift/faq/HelpcenterToNativeBridge;
.super Ljava/lang/Object;
.source "SourceFile"
# instance fields
.field public eventsHandler:Lcom/helpshift/faq/HSHelpcenterEventsHandler;
# direct methods
.method public constructor <init>(Lcom/helpshift/faq/HSHelpcenterEventsHandler;)V
.locals 0
.line 16
invoke-direct {p0}, Ljava/lang/Object;-><init>()V
iput-object p1, p0, Lcom/helpshift/faq/HelpcenterToNativeBridge;->eventsHandler:Lcom/helpshift/faq/HSHelpcenterEventsHandler;
return-void
.end method
# virtual methods
.method public closeHelpcenter()V
.locals 2
.annotation runtime Landroid/webkit/JavascriptInterface;
.end annotation
const-string v0, "HelpcnterToNatve"
const-string v1, "Received event to close Helpcenter"
.line 25
invoke-static {v0, v1}, Lcom/helpshift/log/HSLogger;->d(Ljava/lang/String;Ljava/lang/String;)V
iget-object v0, p0, Lcom/helpshift/faq/HelpcenterToNativeBridge;->eventsHandler:Lcom/helpshift/faq/HSHelpcenterEventsHandler;
.line 26
invoke-virtual {v0}, Lcom/helpshift/faq/HSHelpcenterEventsHandler;->closeHelpcenter()V
return-void
.end method
.method public getWebchatData()V
.locals 2
.annotation runtime Landroid/webkit/JavascriptInterface;
.end annotation
const-string v0, "HelpcnterToNatve"
const-string v1, "Received event to getWCLocalStorageData from HC WebView."
.line 83
invoke-static {v0, v1}, Lcom/helpshift/log/HSLogger;->d(Ljava/lang/String;Ljava/lang/String;)V
iget-object v0, p0, Lcom/helpshift/faq/HelpcenterToNativeBridge;->eventsHandler:Lcom/helpshift/faq/HSHelpcenterEventsHandler;
.line 84
invoke-virtual {v0}, Lcom/helpshift/faq/HSHelpcenterEventsHandler;->getWebchatData()V
return-void
.end method
.method public hcActionSync(Ljava/lang/String;)V
.locals 2
.annotation runtime Landroid/webkit/JavascriptInterface;
.end annotation
const-string v0, "HelpcnterToNatve"
const-string v1, "Received event to ActionSync from HC WebView."
.line 92
invoke-static {v0, v1}, Lcom/helpshift/log/HSLogger;->d(Ljava/lang/String;Ljava/lang/String;)V
iget-object v0, p0, Lcom/helpshift/faq/HelpcenterToNativeBridge;->eventsHandler:Lcom/helpshift/faq/HSHelpcenterEventsHandler;
.line 93
invoke-virtual {v0, p1}, Lcom/helpshift/faq/HSHelpcenterEventsHandler;->hcActionSync(Ljava/lang/String;)V
return-void
.end method
.method public helpcenterLoaded(Ljava/lang/String;)V
.locals 2
.annotation runtime Landroid/webkit/JavascriptInterface;
.end annotation
const-string v0, "HelpcnterToNatve"
const-string v1, "Received event helpcenter loaded"
.line 47
invoke-static {v0, v1}, Lcom/helpshift/log/HSLogger;->d(Ljava/lang/String;Ljava/lang/String;)V
iget-object v0, p0, Lcom/helpshift/faq/HelpcenterToNativeBridge;->eventsHandler:Lcom/helpshift/faq/HSHelpcenterEventsHandler;
.line 48
invoke-virtual {v0, p1}, Lcom/helpshift/faq/HSHelpcenterEventsHandler;->onHelpcenterLoaded(Ljava/lang/String;)V
return-void
.end method
.method public onHelpcenterError()V
.locals 2
.annotation runtime Landroid/webkit/JavascriptInterface;
.end annotation
const-string v0, "HelpcnterToNatve"
const-string v1, "Received event helpcenter error"
.line 56
invoke-static {v0, v1}, Lcom/helpshift/log/HSLogger;->d(Ljava/lang/String;Ljava/lang/String;)V
iget-object v0, p0, Lcom/helpshift/faq/HelpcenterToNativeBridge;->eventsHandler:Lcom/helpshift/faq/HSHelpcenterEventsHandler;
.line 57
invoke-virtual {v0}, Lcom/helpshift/faq/HSHelpcenterEventsHandler;->onHelpcenterError()V
return-void
.end method
.method public openWebchat()V
.locals 2
.annotation runtime Landroid/webkit/JavascriptInterface;
.end annotation
const-string v0, "HelpcnterToNatve"
const-string v1, "Received event to open Webchat"
.line 34
invoke-static {v0, v1}, Lcom/helpshift/log/HSLogger;->d(Ljava/lang/String;Ljava/lang/String;)V
iget-object v0, p0, Lcom/helpshift/faq/HelpcenterToNativeBridge;->eventsHandler:Lcom/helpshift/faq/HSHelpcenterEventsHandler;
.line 35
invoke-virtual {v0}, Lcom/helpshift/faq/HSHelpcenterEventsHandler;->openWebchat()V
return-void
.end method
.method public removeAdditionalInfo(Ljava/lang/String;)V
.locals 2
.annotation runtime Landroid/webkit/JavascriptInterface;
.end annotation
const-string v0, "HelpcnterToNatve"
const-string v1, "Received event to remove additional Helpcenter data from HC WebView."
.line 74
invoke-static {v0, v1}, Lcom/helpshift/log/HSLogger;->d(Ljava/lang/String;Ljava/lang/String;)V
iget-object v0, p0, Lcom/helpshift/faq/HelpcenterToNativeBridge;->eventsHandler:Lcom/helpshift/faq/HSHelpcenterEventsHandler;
.line 75
invoke-virtual {v0, p1}, Lcom/helpshift/faq/HSHelpcenterEventsHandler;->onRemoveAdditionalHelpcenterData(Ljava/lang/String;)V
return-void
.end method
.method public setAdditionalInfo(Ljava/lang/String;)V
.locals 2
.annotation runtime Landroid/webkit/JavascriptInterface;
.end annotation
const-string v0, "HelpcnterToNatve"
const-string v1, "Received event to set additional Helpcenter data from HC WebView."
.line 65
invoke-static {v0, v1}, Lcom/helpshift/log/HSLogger;->d(Ljava/lang/String;Ljava/lang/String;)V
iget-object v0, p0, Lcom/helpshift/faq/HelpcenterToNativeBridge;->eventsHandler:Lcom/helpshift/faq/HSHelpcenterEventsHandler;
.line 66
invoke-virtual {v0, p1}, Lcom/helpshift/faq/HSHelpcenterEventsHandler;->onSetAdditionalHelpcenterData(Ljava/lang/String;)V
return-void
.end method