Files
rr3-apk/smali_classes5/okhttp3/internal/cache/FaultHidingSink.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

123 lines
2.5 KiB
Smali

.class public abstract Lokhttp3/internal/cache/FaultHidingSink;
.super Lokio/ForwardingSink;
.source "SourceFile"
# instance fields
.field public hasErrors:Z
# direct methods
.method public constructor <init>(Lokio/Sink;)V
.locals 0
.line 28
invoke-direct {p0, p1}, Lokio/ForwardingSink;-><init>(Lokio/Sink;)V
return-void
.end method
# virtual methods
.method public close()V
.locals 2
iget-boolean v0, p0, Lokhttp3/internal/cache/FaultHidingSink;->hasErrors:Z
if-eqz v0, :cond_0
return-void
.line 57
:cond_0
:try_start_0
invoke-super {p0}, Lokio/ForwardingSink;->close()V
:try_end_0
.catch Ljava/io/IOException; {:try_start_0 .. :try_end_0} :catch_0
goto :goto_0
:catch_0
move-exception v0
const/4 v1, 0x1
iput-boolean v1, p0, Lokhttp3/internal/cache/FaultHidingSink;->hasErrors:Z
.line 60
invoke-virtual {p0, v0}, Lokhttp3/internal/cache/FaultHidingSink;->onException(Ljava/io/IOException;)V
:goto_0
return-void
.end method
.method public flush()V
.locals 2
iget-boolean v0, p0, Lokhttp3/internal/cache/FaultHidingSink;->hasErrors:Z
if-eqz v0, :cond_0
return-void
.line 47
:cond_0
:try_start_0
invoke-super {p0}, Lokio/ForwardingSink;->flush()V
:try_end_0
.catch Ljava/io/IOException; {:try_start_0 .. :try_end_0} :catch_0
goto :goto_0
:catch_0
move-exception v0
const/4 v1, 0x1
iput-boolean v1, p0, Lokhttp3/internal/cache/FaultHidingSink;->hasErrors:Z
.line 50
invoke-virtual {p0, v0}, Lokhttp3/internal/cache/FaultHidingSink;->onException(Ljava/io/IOException;)V
:goto_0
return-void
.end method
.method public abstract onException(Ljava/io/IOException;)V
.end method
.method public write(Lokio/Buffer;J)V
.locals 1
iget-boolean v0, p0, Lokhttp3/internal/cache/FaultHidingSink;->hasErrors:Z
if-eqz v0, :cond_0
.line 33
invoke-virtual {p1, p2, p3}, Lokio/Buffer;->skip(J)V
return-void
.line 37
:cond_0
:try_start_0
invoke-super {p0, p1, p2, p3}, Lokio/ForwardingSink;->write(Lokio/Buffer;J)V
:try_end_0
.catch Ljava/io/IOException; {:try_start_0 .. :try_end_0} :catch_0
goto :goto_0
:catch_0
move-exception p1
const/4 p2, 0x1
iput-boolean p2, p0, Lokhttp3/internal/cache/FaultHidingSink;->hasErrors:Z
.line 40
invoke-virtual {p0, p1}, Lokhttp3/internal/cache/FaultHidingSink;->onException(Ljava/io/IOException;)V
:goto_0
return-void
.end method