Files
rr3-apk/smali/androidx/emoji2/text/flatbuffer/FlatBufferBuilder$ByteBufferBackedInputStream.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

62 lines
1.4 KiB
Smali

.class Landroidx/emoji2/text/flatbuffer/FlatBufferBuilder$ByteBufferBackedInputStream;
.super Ljava/io/InputStream;
.source "SourceFile"
# annotations
.annotation system Ldalvik/annotation/EnclosingClass;
value = Landroidx/emoji2/text/flatbuffer/FlatBufferBuilder;
.end annotation
.annotation system Ldalvik/annotation/InnerClass;
accessFlags = 0x9
name = "ByteBufferBackedInputStream"
.end annotation
# instance fields
.field buf:Ljava/nio/ByteBuffer;
# direct methods
.method public constructor <init>(Ljava/nio/ByteBuffer;)V
.locals 0
.line 1041
invoke-direct {p0}, Ljava/io/InputStream;-><init>()V
iput-object p1, p0, Landroidx/emoji2/text/flatbuffer/FlatBufferBuilder$ByteBufferBackedInputStream;->buf:Ljava/nio/ByteBuffer;
return-void
.end method
# virtual methods
.method public read()I
.locals 1
.annotation system Ldalvik/annotation/Throws;
value = {
Ljava/io/IOException;
}
.end annotation
:try_start_0
iget-object v0, p0, Landroidx/emoji2/text/flatbuffer/FlatBufferBuilder$ByteBufferBackedInputStream;->buf:Ljava/nio/ByteBuffer;
.line 1047
invoke-virtual {v0}, Ljava/nio/ByteBuffer;->get()B
move-result v0
:try_end_0
.catch Ljava/nio/BufferUnderflowException; {:try_start_0 .. :try_end_0} :catch_0
and-int/lit16 v0, v0, 0xff
return v0
:catch_0
const/4 v0, -0x1
return v0
.end method