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

96 lines
3.2 KiB
Smali

.class public Lcom/helpshift/network/exception/HSRootApiException;
.super Ljava/lang/RuntimeException;
.source "SourceFile"
# annotations
.annotation system Ldalvik/annotation/MemberClasses;
value = {
Lcom/helpshift/network/exception/HSRootApiException$ExceptionType;
}
.end annotation
# instance fields
.field public final errorMessage:Ljava/lang/String;
.field public final exception:Ljava/lang/Exception;
.field public final exceptionType:Lcom/helpshift/network/exception/HSRootApiException$ExceptionType;
# direct methods
.method public constructor <init>(Ljava/lang/Exception;Lcom/helpshift/network/exception/HSRootApiException$ExceptionType;Ljava/lang/String;)V
.locals 0
.line 11
invoke-direct {p0, p3, p1}, Ljava/lang/RuntimeException;-><init>(Ljava/lang/String;Ljava/lang/Throwable;)V
iput-object p1, p0, Lcom/helpshift/network/exception/HSRootApiException;->exception:Ljava/lang/Exception;
iput-object p2, p0, Lcom/helpshift/network/exception/HSRootApiException;->exceptionType:Lcom/helpshift/network/exception/HSRootApiException$ExceptionType;
iput-object p3, p0, Lcom/helpshift/network/exception/HSRootApiException;->errorMessage:Ljava/lang/String;
return-void
.end method
.method public static wrap(Ljava/lang/Exception;Lcom/helpshift/network/exception/HSRootApiException$ExceptionType;)Lcom/helpshift/network/exception/HSRootApiException;
.locals 1
const/4 v0, 0x0
.line 22
invoke-static {p0, p1, v0}, Lcom/helpshift/network/exception/HSRootApiException;->wrap(Ljava/lang/Exception;Lcom/helpshift/network/exception/HSRootApiException$ExceptionType;Ljava/lang/String;)Lcom/helpshift/network/exception/HSRootApiException;
move-result-object p0
return-object p0
.end method
.method public static wrap(Ljava/lang/Exception;Lcom/helpshift/network/exception/HSRootApiException$ExceptionType;Ljava/lang/String;)Lcom/helpshift/network/exception/HSRootApiException;
.locals 1
.line 29
instance-of v0, p0, Lcom/helpshift/network/exception/HSRootApiException;
if-eqz v0, :cond_2
.line 30
check-cast p0, Lcom/helpshift/network/exception/HSRootApiException;
.line 31
iget-object v0, p0, Lcom/helpshift/network/exception/HSRootApiException;->exception:Ljava/lang/Exception;
if-nez p1, :cond_0
.line 33
iget-object p1, p0, Lcom/helpshift/network/exception/HSRootApiException;->exceptionType:Lcom/helpshift/network/exception/HSRootApiException$ExceptionType;
:cond_0
if-nez p2, :cond_1
.line 39
iget-object p2, p0, Lcom/helpshift/network/exception/HSRootApiException;->errorMessage:Ljava/lang/String;
:cond_1
move-object p0, v0
goto :goto_0
:cond_2
if-nez p1, :cond_3
.line 45
sget-object p1, Lcom/helpshift/network/exception/UnexpectedException;->GENERIC:Lcom/helpshift/network/exception/UnexpectedException;
.line 51
:cond_3
:goto_0
new-instance v0, Lcom/helpshift/network/exception/HSRootApiException;
invoke-direct {v0, p0, p1, p2}, Lcom/helpshift/network/exception/HSRootApiException;-><init>(Ljava/lang/Exception;Lcom/helpshift/network/exception/HSRootApiException$ExceptionType;Ljava/lang/String;)V
return-object v0
.end method