- 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
50 lines
1.0 KiB
Smali
50 lines
1.0 KiB
Smali
.class public abstract Lkotlin/io/ByteStreamsKt;
|
|
.super Ljava/lang/Object;
|
|
.source "SourceFile"
|
|
|
|
|
|
# direct methods
|
|
.method public static final copyTo(Ljava/io/InputStream;Ljava/io/OutputStream;I)J
|
|
.locals 5
|
|
|
|
const-string v0, "<this>"
|
|
|
|
invoke-static {p0, v0}, Lkotlin/jvm/internal/Intrinsics;->checkNotNullParameter(Ljava/lang/Object;Ljava/lang/String;)V
|
|
|
|
const-string v0, "out"
|
|
|
|
invoke-static {p1, v0}, Lkotlin/jvm/internal/Intrinsics;->checkNotNullParameter(Ljava/lang/Object;Ljava/lang/String;)V
|
|
|
|
.line 105
|
|
new-array p2, p2, [B
|
|
|
|
.line 106
|
|
invoke-virtual {p0, p2}, Ljava/io/InputStream;->read([B)I
|
|
|
|
move-result v0
|
|
|
|
const-wide/16 v1, 0x0
|
|
|
|
:goto_0
|
|
if-ltz v0, :cond_0
|
|
|
|
const/4 v3, 0x0
|
|
|
|
.line 108
|
|
invoke-virtual {p1, p2, v3, v0}, Ljava/io/OutputStream;->write([BII)V
|
|
|
|
int-to-long v3, v0
|
|
|
|
add-long/2addr v1, v3
|
|
|
|
.line 110
|
|
invoke-virtual {p0, p2}, Ljava/io/InputStream;->read([B)I
|
|
|
|
move-result v0
|
|
|
|
goto :goto_0
|
|
|
|
:cond_0
|
|
return-wide v1
|
|
.end method
|