Files
rr3-apk/smali_classes4/com/mbridge/msdk/playercommon/exoplayer2/ExoPlaybackException.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

178 lines
4.2 KiB
Smali

.class public final Lcom/mbridge/msdk/playercommon/exoplayer2/ExoPlaybackException;
.super Ljava/lang/Exception;
.source "SourceFile"
# annotations
.annotation system Ldalvik/annotation/MemberClasses;
value = {
Lcom/mbridge/msdk/playercommon/exoplayer2/ExoPlaybackException$Type;
}
.end annotation
# static fields
.field public static final TYPE_RENDERER:I = 0x1
.field public static final TYPE_SOURCE:I = 0x0
.field public static final TYPE_UNEXPECTED:I = 0x2
# instance fields
.field public final rendererIndex:I
.field public final type:I
# direct methods
.method private constructor <init>(ILjava/lang/String;Ljava/lang/Throwable;I)V
.locals 0
.line 48
invoke-direct {p0, p2, p3}, Ljava/lang/Exception;-><init>(Ljava/lang/String;Ljava/lang/Throwable;)V
iput p1, p0, Lcom/mbridge/msdk/playercommon/exoplayer2/ExoPlaybackException;->type:I
iput p4, p0, Lcom/mbridge/msdk/playercommon/exoplayer2/ExoPlaybackException;->rendererIndex:I
return-void
.end method
.method public static createForRenderer(Ljava/lang/Exception;I)Lcom/mbridge/msdk/playercommon/exoplayer2/ExoPlaybackException;
.locals 3
.line 33
new-instance v0, Lcom/mbridge/msdk/playercommon/exoplayer2/ExoPlaybackException;
const/4 v1, 0x1
const/4 v2, 0x0
invoke-direct {v0, v1, v2, p0, p1}, Lcom/mbridge/msdk/playercommon/exoplayer2/ExoPlaybackException;-><init>(ILjava/lang/String;Ljava/lang/Throwable;I)V
return-object v0
.end method
.method public static createForSource(Ljava/io/IOException;)Lcom/mbridge/msdk/playercommon/exoplayer2/ExoPlaybackException;
.locals 4
.line 38
new-instance v0, Lcom/mbridge/msdk/playercommon/exoplayer2/ExoPlaybackException;
const/4 v1, 0x0
const/4 v2, -0x1
const/4 v3, 0x0
invoke-direct {v0, v3, v1, p0, v2}, Lcom/mbridge/msdk/playercommon/exoplayer2/ExoPlaybackException;-><init>(ILjava/lang/String;Ljava/lang/Throwable;I)V
return-object v0
.end method
.method public static createForUnexpected(Ljava/lang/RuntimeException;)Lcom/mbridge/msdk/playercommon/exoplayer2/ExoPlaybackException;
.locals 4
.line 43
new-instance v0, Lcom/mbridge/msdk/playercommon/exoplayer2/ExoPlaybackException;
const/4 v1, 0x0
const/4 v2, -0x1
const/4 v3, 0x2
invoke-direct {v0, v3, v1, p0, v2}, Lcom/mbridge/msdk/playercommon/exoplayer2/ExoPlaybackException;-><init>(ILjava/lang/String;Ljava/lang/Throwable;I)V
return-object v0
.end method
# virtual methods
.method public final getRendererException()Ljava/lang/Exception;
.locals 2
iget v0, p0, Lcom/mbridge/msdk/playercommon/exoplayer2/ExoPlaybackException;->type:I
const/4 v1, 0x1
if-ne v0, v1, :cond_0
goto :goto_0
:cond_0
const/4 v1, 0x0
.line 61
:goto_0
invoke-static {v1}, Lcom/mbridge/msdk/playercommon/exoplayer2/util/Assertions;->checkState(Z)V
.line 62
invoke-virtual {p0}, Ljava/lang/Throwable;->getCause()Ljava/lang/Throwable;
move-result-object v0
check-cast v0, Ljava/lang/Exception;
return-object v0
.end method
.method public final getSourceException()Ljava/io/IOException;
.locals 1
iget v0, p0, Lcom/mbridge/msdk/playercommon/exoplayer2/ExoPlaybackException;->type:I
if-nez v0, :cond_0
const/4 v0, 0x1
goto :goto_0
:cond_0
const/4 v0, 0x0
.line 55
:goto_0
invoke-static {v0}, Lcom/mbridge/msdk/playercommon/exoplayer2/util/Assertions;->checkState(Z)V
.line 56
invoke-virtual {p0}, Ljava/lang/Throwable;->getCause()Ljava/lang/Throwable;
move-result-object v0
check-cast v0, Ljava/io/IOException;
return-object v0
.end method
.method public final getUnexpectedException()Ljava/lang/RuntimeException;
.locals 2
iget v0, p0, Lcom/mbridge/msdk/playercommon/exoplayer2/ExoPlaybackException;->type:I
const/4 v1, 0x2
if-ne v0, v1, :cond_0
const/4 v0, 0x1
goto :goto_0
:cond_0
const/4 v0, 0x0
.line 67
:goto_0
invoke-static {v0}, Lcom/mbridge/msdk/playercommon/exoplayer2/util/Assertions;->checkState(Z)V
.line 68
invoke-virtual {p0}, Ljava/lang/Throwable;->getCause()Ljava/lang/Throwable;
move-result-object v0
check-cast v0, Ljava/lang/RuntimeException;
return-object v0
.end method