Files
rr3-apk/smali_classes5/okhttp3/RequestBody$2.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

79 lines
1.7 KiB
Smali

.class public Lokhttp3/RequestBody$2;
.super Lokhttp3/RequestBody;
.source "SourceFile"
# annotations
.annotation system Ldalvik/annotation/EnclosingMethod;
value = Lokhttp3/RequestBody;->create(Lokhttp3/MediaType;[BII)Lokhttp3/RequestBody;
.end annotation
.annotation system Ldalvik/annotation/InnerClass;
accessFlags = 0x1
name = null
.end annotation
# instance fields
.field public final synthetic val$byteCount:I
.field public final synthetic val$content:[B
.field public final synthetic val$contentType:Lokhttp3/MediaType;
.field public final synthetic val$offset:I
# direct methods
.method public constructor <init>(Lokhttp3/MediaType;I[BI)V
.locals 0
iput-object p1, p0, Lokhttp3/RequestBody$2;->val$contentType:Lokhttp3/MediaType;
iput p2, p0, Lokhttp3/RequestBody$2;->val$byteCount:I
iput-object p3, p0, Lokhttp3/RequestBody$2;->val$content:[B
iput p4, p0, Lokhttp3/RequestBody$2;->val$offset:I
.line 141
invoke-direct {p0}, Lokhttp3/RequestBody;-><init>()V
return-void
.end method
# virtual methods
.method public contentLength()J
.locals 2
iget v0, p0, Lokhttp3/RequestBody$2;->val$byteCount:I
int-to-long v0, v0
return-wide v0
.end method
.method public contentType()Lokhttp3/MediaType;
.locals 1
iget-object v0, p0, Lokhttp3/RequestBody$2;->val$contentType:Lokhttp3/MediaType;
return-object v0
.end method
.method public writeTo(Lokio/BufferedSink;)V
.locals 3
iget-object v0, p0, Lokhttp3/RequestBody$2;->val$content:[B
iget v1, p0, Lokhttp3/RequestBody$2;->val$offset:I
iget v2, p0, Lokhttp3/RequestBody$2;->val$byteCount:I
.line 151
invoke-interface {p1, v0, v1, v2}, Lokio/BufferedSink;->write([BII)Lokio/BufferedSink;
return-void
.end method