Files
rr3-apk/smali/androidx/datastore/preferences/protobuf/BinaryReader.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

82 lines
1.8 KiB
Smali

.class abstract Landroidx/datastore/preferences/protobuf/BinaryReader;
.super Ljava/lang/Object;
.source "SourceFile"
# interfaces
.implements Landroidx/datastore/preferences/protobuf/Reader;
# annotations
.annotation system Ldalvik/annotation/MemberClasses;
value = {
Landroidx/datastore/preferences/protobuf/BinaryReader$SafeHeapReader;
}
.end annotation
# static fields
.field private static final FIXED32_MULTIPLE_MASK:I = 0x3
.field private static final FIXED64_MULTIPLE_MASK:I = 0x7
# direct methods
.method private constructor <init>()V
.locals 0
.line 77
invoke-direct {p0}, Ljava/lang/Object;-><init>()V
return-void
.end method
.method public synthetic constructor <init>(Landroidx/datastore/preferences/protobuf/BinaryReader$1;)V
.locals 0
.line 52
invoke-direct {p0}, Landroidx/datastore/preferences/protobuf/BinaryReader;-><init>()V
return-void
.end method
.method public static newInstance(Ljava/nio/ByteBuffer;Z)Landroidx/datastore/preferences/protobuf/BinaryReader;
.locals 1
.line 68
invoke-virtual {p0}, Ljava/nio/ByteBuffer;->hasArray()Z
move-result v0
if-eqz v0, :cond_0
.line 70
new-instance v0, Landroidx/datastore/preferences/protobuf/BinaryReader$SafeHeapReader;
invoke-direct {v0, p0, p1}, Landroidx/datastore/preferences/protobuf/BinaryReader$SafeHeapReader;-><init>(Ljava/nio/ByteBuffer;Z)V
return-object v0
.line 73
:cond_0
new-instance p0, Ljava/lang/IllegalArgumentException;
const-string p1, "Direct buffers not yet supported"
invoke-direct {p0, p1}, Ljava/lang/IllegalArgumentException;-><init>(Ljava/lang/String;)V
throw p0
.end method
# virtual methods
.method public abstract getTotalBytesRead()I
.end method
.method public shouldDiscardUnknownFields()Z
.locals 1
const/4 v0, 0x0
return v0
.end method