- 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
107 lines
2.8 KiB
Smali
107 lines
2.8 KiB
Smali
.class public final Lcom/mbridge/msdk/thrid/okio/Pipe;
|
|
.super Ljava/lang/Object;
|
|
.source "SourceFile"
|
|
|
|
|
|
# annotations
|
|
.annotation system Ldalvik/annotation/MemberClasses;
|
|
value = {
|
|
Lcom/mbridge/msdk/thrid/okio/Pipe$PipeSource;,
|
|
Lcom/mbridge/msdk/thrid/okio/Pipe$PipeSink;
|
|
}
|
|
.end annotation
|
|
|
|
|
|
# instance fields
|
|
.field final buffer:Lcom/mbridge/msdk/thrid/okio/Buffer;
|
|
|
|
.field final maxBufferSize:J
|
|
|
|
.field private final sink:Lcom/mbridge/msdk/thrid/okio/Sink;
|
|
|
|
.field sinkClosed:Z
|
|
|
|
.field private final source:Lcom/mbridge/msdk/thrid/okio/Source;
|
|
|
|
.field sourceClosed:Z
|
|
|
|
|
|
# direct methods
|
|
.method public constructor <init>(J)V
|
|
.locals 3
|
|
|
|
.line 44
|
|
invoke-direct {p0}, Ljava/lang/Object;-><init>()V
|
|
|
|
.line 38
|
|
new-instance v0, Lcom/mbridge/msdk/thrid/okio/Buffer;
|
|
|
|
invoke-direct {v0}, Lcom/mbridge/msdk/thrid/okio/Buffer;-><init>()V
|
|
|
|
iput-object v0, p0, Lcom/mbridge/msdk/thrid/okio/Pipe;->buffer:Lcom/mbridge/msdk/thrid/okio/Buffer;
|
|
|
|
.line 41
|
|
new-instance v0, Lcom/mbridge/msdk/thrid/okio/Pipe$PipeSink;
|
|
|
|
invoke-direct {v0, p0}, Lcom/mbridge/msdk/thrid/okio/Pipe$PipeSink;-><init>(Lcom/mbridge/msdk/thrid/okio/Pipe;)V
|
|
|
|
iput-object v0, p0, Lcom/mbridge/msdk/thrid/okio/Pipe;->sink:Lcom/mbridge/msdk/thrid/okio/Sink;
|
|
|
|
.line 42
|
|
new-instance v0, Lcom/mbridge/msdk/thrid/okio/Pipe$PipeSource;
|
|
|
|
invoke-direct {v0, p0}, Lcom/mbridge/msdk/thrid/okio/Pipe$PipeSource;-><init>(Lcom/mbridge/msdk/thrid/okio/Pipe;)V
|
|
|
|
iput-object v0, p0, Lcom/mbridge/msdk/thrid/okio/Pipe;->source:Lcom/mbridge/msdk/thrid/okio/Source;
|
|
|
|
const-wide/16 v0, 0x1
|
|
|
|
cmp-long v0, p1, v0
|
|
|
|
if-ltz v0, :cond_0
|
|
|
|
iput-wide p1, p0, Lcom/mbridge/msdk/thrid/okio/Pipe;->maxBufferSize:J
|
|
|
|
return-void
|
|
|
|
.line 46
|
|
:cond_0
|
|
new-instance v0, Ljava/lang/IllegalArgumentException;
|
|
|
|
new-instance v1, Ljava/lang/StringBuilder;
|
|
|
|
invoke-direct {v1}, Ljava/lang/StringBuilder;-><init>()V
|
|
|
|
const-string v2, "maxBufferSize < 1: "
|
|
|
|
invoke-virtual {v1, v2}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;
|
|
|
|
invoke-virtual {v1, p1, p2}, Ljava/lang/StringBuilder;->append(J)Ljava/lang/StringBuilder;
|
|
|
|
invoke-virtual {v1}, Ljava/lang/StringBuilder;->toString()Ljava/lang/String;
|
|
|
|
move-result-object p1
|
|
|
|
invoke-direct {v0, p1}, Ljava/lang/IllegalArgumentException;-><init>(Ljava/lang/String;)V
|
|
|
|
throw v0
|
|
.end method
|
|
|
|
|
|
# virtual methods
|
|
.method public final sink()Lcom/mbridge/msdk/thrid/okio/Sink;
|
|
.locals 1
|
|
|
|
iget-object v0, p0, Lcom/mbridge/msdk/thrid/okio/Pipe;->sink:Lcom/mbridge/msdk/thrid/okio/Sink;
|
|
|
|
return-object v0
|
|
.end method
|
|
|
|
.method public final source()Lcom/mbridge/msdk/thrid/okio/Source;
|
|
.locals 1
|
|
|
|
iget-object v0, p0, Lcom/mbridge/msdk/thrid/okio/Pipe;->source:Lcom/mbridge/msdk/thrid/okio/Source;
|
|
|
|
return-object v0
|
|
.end method
|