Files
rr3-apk/smali_classes4/com/mbridge/msdk/playercommon/exoplayer2/decoder/SimpleOutputBuffer.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

121 lines
3.7 KiB
Smali

.class public Lcom/mbridge/msdk/playercommon/exoplayer2/decoder/SimpleOutputBuffer;
.super Lcom/mbridge/msdk/playercommon/exoplayer2/decoder/OutputBuffer;
.source "SourceFile"
# instance fields
.field public data:Ljava/nio/ByteBuffer;
.field private final owner:Lcom/mbridge/msdk/playercommon/exoplayer2/decoder/SimpleDecoder;
.annotation system Ldalvik/annotation/Signature;
value = {
"Lcom/mbridge/msdk/playercommon/exoplayer2/decoder/SimpleDecoder<",
"*",
"Lcom/mbridge/msdk/playercommon/exoplayer2/decoder/SimpleOutputBuffer;",
"*>;"
}
.end annotation
.end field
# direct methods
.method public constructor <init>(Lcom/mbridge/msdk/playercommon/exoplayer2/decoder/SimpleDecoder;)V
.locals 0
.annotation system Ldalvik/annotation/Signature;
value = {
"(",
"Lcom/mbridge/msdk/playercommon/exoplayer2/decoder/SimpleDecoder<",
"*",
"Lcom/mbridge/msdk/playercommon/exoplayer2/decoder/SimpleOutputBuffer;",
"*>;)V"
}
.end annotation
.line 14
invoke-direct {p0}, Lcom/mbridge/msdk/playercommon/exoplayer2/decoder/OutputBuffer;-><init>()V
iput-object p1, p0, Lcom/mbridge/msdk/playercommon/exoplayer2/decoder/SimpleOutputBuffer;->owner:Lcom/mbridge/msdk/playercommon/exoplayer2/decoder/SimpleDecoder;
return-void
.end method
# virtual methods
.method public clear()V
.locals 1
.line 31
invoke-super {p0}, Lcom/mbridge/msdk/playercommon/exoplayer2/decoder/Buffer;->clear()V
iget-object v0, p0, Lcom/mbridge/msdk/playercommon/exoplayer2/decoder/SimpleOutputBuffer;->data:Ljava/nio/ByteBuffer;
if-eqz v0, :cond_0
.line 33
invoke-virtual {v0}, Ljava/nio/ByteBuffer;->clear()Ljava/nio/Buffer;
:cond_0
return-void
.end method
.method public init(JI)Ljava/nio/ByteBuffer;
.locals 0
iput-wide p1, p0, Lcom/mbridge/msdk/playercommon/exoplayer2/decoder/OutputBuffer;->timeUs:J
iget-object p1, p0, Lcom/mbridge/msdk/playercommon/exoplayer2/decoder/SimpleOutputBuffer;->data:Ljava/nio/ByteBuffer;
if-eqz p1, :cond_0
.line 21
invoke-virtual {p1}, Ljava/nio/Buffer;->capacity()I
move-result p1
if-ge p1, p3, :cond_1
.line 22
:cond_0
invoke-static {p3}, Ljava/nio/ByteBuffer;->allocateDirect(I)Ljava/nio/ByteBuffer;
move-result-object p1
invoke-static {}, Ljava/nio/ByteOrder;->nativeOrder()Ljava/nio/ByteOrder;
move-result-object p2
invoke-virtual {p1, p2}, Ljava/nio/ByteBuffer;->order(Ljava/nio/ByteOrder;)Ljava/nio/ByteBuffer;
move-result-object p1
iput-object p1, p0, Lcom/mbridge/msdk/playercommon/exoplayer2/decoder/SimpleOutputBuffer;->data:Ljava/nio/ByteBuffer;
:cond_1
iget-object p1, p0, Lcom/mbridge/msdk/playercommon/exoplayer2/decoder/SimpleOutputBuffer;->data:Ljava/nio/ByteBuffer;
const/4 p2, 0x0
.line 24
invoke-virtual {p1, p2}, Ljava/nio/ByteBuffer;->position(I)Ljava/nio/Buffer;
iget-object p1, p0, Lcom/mbridge/msdk/playercommon/exoplayer2/decoder/SimpleOutputBuffer;->data:Ljava/nio/ByteBuffer;
.line 25
invoke-virtual {p1, p3}, Ljava/nio/ByteBuffer;->limit(I)Ljava/nio/Buffer;
iget-object p1, p0, Lcom/mbridge/msdk/playercommon/exoplayer2/decoder/SimpleOutputBuffer;->data:Ljava/nio/ByteBuffer;
return-object p1
.end method
.method public release()V
.locals 1
iget-object v0, p0, Lcom/mbridge/msdk/playercommon/exoplayer2/decoder/SimpleOutputBuffer;->owner:Lcom/mbridge/msdk/playercommon/exoplayer2/decoder/SimpleDecoder;
.line 39
invoke-virtual {v0, p0}, Lcom/mbridge/msdk/playercommon/exoplayer2/decoder/SimpleDecoder;->releaseOutputBuffer(Lcom/mbridge/msdk/playercommon/exoplayer2/decoder/OutputBuffer;)V
return-void
.end method