Files
rr3-apk/smali_classes4/com/mbridge/msdk/thrid/okio/RealBufferedSink$1.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

173 lines
4.8 KiB
Smali

.class Lcom/mbridge/msdk/thrid/okio/RealBufferedSink$1;
.super Ljava/io/OutputStream;
.source "SourceFile"
# annotations
.annotation system Ldalvik/annotation/EnclosingMethod;
value = Lcom/mbridge/msdk/thrid/okio/RealBufferedSink;->outputStream()Ljava/io/OutputStream;
.end annotation
.annotation system Ldalvik/annotation/InnerClass;
accessFlags = 0x1
name = null
.end annotation
# instance fields
.field final synthetic this$0:Lcom/mbridge/msdk/thrid/okio/RealBufferedSink;
# direct methods
.method public constructor <init>(Lcom/mbridge/msdk/thrid/okio/RealBufferedSink;)V
.locals 0
iput-object p1, p0, Lcom/mbridge/msdk/thrid/okio/RealBufferedSink$1;->this$0:Lcom/mbridge/msdk/thrid/okio/RealBufferedSink;
.line 191
invoke-direct {p0}, Ljava/io/OutputStream;-><init>()V
return-void
.end method
# virtual methods
.method public close()V
.locals 1
.annotation system Ldalvik/annotation/Throws;
value = {
Ljava/io/IOException;
}
.end annotation
iget-object v0, p0, Lcom/mbridge/msdk/thrid/okio/RealBufferedSink$1;->this$0:Lcom/mbridge/msdk/thrid/okio/RealBufferedSink;
.line 212
invoke-virtual {v0}, Lcom/mbridge/msdk/thrid/okio/RealBufferedSink;->close()V
return-void
.end method
.method public flush()V
.locals 2
.annotation system Ldalvik/annotation/Throws;
value = {
Ljava/io/IOException;
}
.end annotation
iget-object v0, p0, Lcom/mbridge/msdk/thrid/okio/RealBufferedSink$1;->this$0:Lcom/mbridge/msdk/thrid/okio/RealBufferedSink;
.line 206
iget-boolean v1, v0, Lcom/mbridge/msdk/thrid/okio/RealBufferedSink;->closed:Z
if-nez v1, :cond_0
.line 207
invoke-virtual {v0}, Lcom/mbridge/msdk/thrid/okio/RealBufferedSink;->flush()V
:cond_0
return-void
.end method
.method public toString()Ljava/lang/String;
.locals 2
.line 216
new-instance v0, Ljava/lang/StringBuilder;
invoke-direct {v0}, Ljava/lang/StringBuilder;-><init>()V
iget-object v1, p0, Lcom/mbridge/msdk/thrid/okio/RealBufferedSink$1;->this$0:Lcom/mbridge/msdk/thrid/okio/RealBufferedSink;
invoke-virtual {v0, v1}, Ljava/lang/StringBuilder;->append(Ljava/lang/Object;)Ljava/lang/StringBuilder;
const-string v1, ".outputStream()"
invoke-virtual {v0, v1}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;
invoke-virtual {v0}, Ljava/lang/StringBuilder;->toString()Ljava/lang/String;
move-result-object v0
return-object v0
.end method
.method public write(I)V
.locals 2
.annotation system Ldalvik/annotation/Throws;
value = {
Ljava/io/IOException;
}
.end annotation
iget-object v0, p0, Lcom/mbridge/msdk/thrid/okio/RealBufferedSink$1;->this$0:Lcom/mbridge/msdk/thrid/okio/RealBufferedSink;
.line 193
iget-boolean v1, v0, Lcom/mbridge/msdk/thrid/okio/RealBufferedSink;->closed:Z
if-nez v1, :cond_0
.line 194
iget-object v0, v0, Lcom/mbridge/msdk/thrid/okio/RealBufferedSink;->buffer:Lcom/mbridge/msdk/thrid/okio/Buffer;
int-to-byte p1, p1
invoke-virtual {v0, p1}, Lcom/mbridge/msdk/thrid/okio/Buffer;->writeByte(I)Lcom/mbridge/msdk/thrid/okio/Buffer;
iget-object p1, p0, Lcom/mbridge/msdk/thrid/okio/RealBufferedSink$1;->this$0:Lcom/mbridge/msdk/thrid/okio/RealBufferedSink;
.line 195
invoke-virtual {p1}, Lcom/mbridge/msdk/thrid/okio/RealBufferedSink;->emitCompleteSegments()Lcom/mbridge/msdk/thrid/okio/BufferedSink;
return-void
.line 193
:cond_0
new-instance p1, Ljava/io/IOException;
const-string v0, "closed"
invoke-direct {p1, v0}, Ljava/io/IOException;-><init>(Ljava/lang/String;)V
throw p1
.end method
.method public write([BII)V
.locals 2
.annotation system Ldalvik/annotation/Throws;
value = {
Ljava/io/IOException;
}
.end annotation
iget-object v0, p0, Lcom/mbridge/msdk/thrid/okio/RealBufferedSink$1;->this$0:Lcom/mbridge/msdk/thrid/okio/RealBufferedSink;
.line 199
iget-boolean v1, v0, Lcom/mbridge/msdk/thrid/okio/RealBufferedSink;->closed:Z
if-nez v1, :cond_0
.line 200
iget-object v0, v0, Lcom/mbridge/msdk/thrid/okio/RealBufferedSink;->buffer:Lcom/mbridge/msdk/thrid/okio/Buffer;
invoke-virtual {v0, p1, p2, p3}, Lcom/mbridge/msdk/thrid/okio/Buffer;->write([BII)Lcom/mbridge/msdk/thrid/okio/Buffer;
iget-object p1, p0, Lcom/mbridge/msdk/thrid/okio/RealBufferedSink$1;->this$0:Lcom/mbridge/msdk/thrid/okio/RealBufferedSink;
.line 201
invoke-virtual {p1}, Lcom/mbridge/msdk/thrid/okio/RealBufferedSink;->emitCompleteSegments()Lcom/mbridge/msdk/thrid/okio/BufferedSink;
return-void
.line 199
:cond_0
new-instance p1, Ljava/io/IOException;
const-string p2, "closed"
invoke-direct {p1, p2}, Ljava/io/IOException;-><init>(Ljava/lang/String;)V
throw p1
.end method