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

73 lines
1.8 KiB
Smali

.class public abstract Lcom/helpshift/exception/HSUncaughtExceptionHandler;
.super Ljava/lang/Object;
.source "SourceFile"
# direct methods
.method public static init()V
.locals 2
.line 24
invoke-static {}, Ljava/lang/Thread;->getDefaultUncaughtExceptionHandler()Ljava/lang/Thread$UncaughtExceptionHandler;
move-result-object v0
.line 27
new-instance v1, Lcom/helpshift/exception/HSUncaughtExceptionHandler$1;
invoke-direct {v1, v0}, Lcom/helpshift/exception/HSUncaughtExceptionHandler$1;-><init>(Ljava/lang/Thread$UncaughtExceptionHandler;)V
invoke-static {v1}, Ljava/lang/Thread;->setDefaultUncaughtExceptionHandler(Ljava/lang/Thread$UncaughtExceptionHandler;)V
return-void
.end method
.method public static isCausedByHelpshift(Ljava/lang/Throwable;)Z
.locals 3
const/4 v0, 0x0
if-nez p0, :cond_0
return v0
.line 56
:cond_0
:try_start_0
invoke-static {p0}, Landroid/util/Log;->getStackTraceString(Ljava/lang/Throwable;)Ljava/lang/String;
move-result-object p0
const-class v1, Lcom/helpshift/Helpshift;
.line 58
invoke-virtual {v1}, Ljava/lang/Class;->getPackage()Ljava/lang/Package;
move-result-object v1
invoke-virtual {v1}, Ljava/lang/Package;->getName()Ljava/lang/String;
move-result-object v1
.line 59
invoke-virtual {p0, v1}, Ljava/lang/String;->contains(Ljava/lang/CharSequence;)Z
move-result p0
:try_end_0
.catch Ljava/lang/Exception; {:try_start_0 .. :try_end_0} :catch_0
return p0
:catch_0
move-exception p0
const-string v1, "UncghtExptnHndlr"
const-string v2, "Error determining crash from Helpshift"
.line 61
invoke-static {v1, v2, p0}, Lcom/helpshift/log/HSLogger;->e(Ljava/lang/String;Ljava/lang/String;Ljava/lang/Throwable;)V
return v0
.end method