- 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
153 lines
3.4 KiB
Smali
153 lines
3.4 KiB
Smali
.class public final Lcom/google/protobuf/ByteString$BoundedByteString;
|
|
.super Lcom/google/protobuf/ByteString$LiteralByteString;
|
|
.source "SourceFile"
|
|
|
|
|
|
# annotations
|
|
.annotation system Ldalvik/annotation/EnclosingClass;
|
|
value = Lcom/google/protobuf/ByteString;
|
|
.end annotation
|
|
|
|
.annotation system Ldalvik/annotation/InnerClass;
|
|
accessFlags = 0x19
|
|
name = "BoundedByteString"
|
|
.end annotation
|
|
|
|
|
|
# static fields
|
|
.field private static final serialVersionUID:J = 0x1L
|
|
|
|
|
|
# instance fields
|
|
.field private final bytesLength:I
|
|
|
|
.field private final bytesOffset:I
|
|
|
|
|
|
# direct methods
|
|
.method public constructor <init>([BII)V
|
|
.locals 1
|
|
|
|
.line 1628
|
|
invoke-direct {p0, p1}, Lcom/google/protobuf/ByteString$LiteralByteString;-><init>([B)V
|
|
|
|
add-int v0, p2, p3
|
|
|
|
.line 1629
|
|
array-length p1, p1
|
|
|
|
invoke-static {p2, v0, p1}, Lcom/google/protobuf/ByteString;->checkRange(III)I
|
|
|
|
iput p2, p0, Lcom/google/protobuf/ByteString$BoundedByteString;->bytesOffset:I
|
|
|
|
iput p3, p0, Lcom/google/protobuf/ByteString$BoundedByteString;->bytesLength:I
|
|
|
|
return-void
|
|
.end method
|
|
|
|
.method private readObject(Ljava/io/ObjectInputStream;)V
|
|
.locals 1
|
|
.annotation system Ldalvik/annotation/Throws;
|
|
value = {
|
|
Ljava/io/IOException;
|
|
}
|
|
.end annotation
|
|
|
|
.line 1687
|
|
new-instance p1, Ljava/io/InvalidObjectException;
|
|
|
|
const-string v0, "BoundedByteStream instances are not to be serialized directly"
|
|
|
|
invoke-direct {p1, v0}, Ljava/io/InvalidObjectException;-><init>(Ljava/lang/String;)V
|
|
|
|
throw p1
|
|
.end method
|
|
|
|
|
|
# virtual methods
|
|
.method public byteAt(I)B
|
|
.locals 2
|
|
|
|
.line 1648
|
|
invoke-virtual {p0}, Lcom/google/protobuf/ByteString$BoundedByteString;->size()I
|
|
|
|
move-result v0
|
|
|
|
invoke-static {p1, v0}, Lcom/google/protobuf/ByteString;->checkIndex(II)V
|
|
|
|
iget-object v0, p0, Lcom/google/protobuf/ByteString$LiteralByteString;->bytes:[B
|
|
|
|
iget v1, p0, Lcom/google/protobuf/ByteString$BoundedByteString;->bytesOffset:I
|
|
|
|
add-int/2addr v1, p1
|
|
|
|
.line 1649
|
|
aget-byte p1, v0, v1
|
|
|
|
return p1
|
|
.end method
|
|
|
|
.method public copyToInternal([BIII)V
|
|
.locals 2
|
|
|
|
iget-object v0, p0, Lcom/google/protobuf/ByteString$LiteralByteString;->bytes:[B
|
|
|
|
.line 1674
|
|
invoke-virtual {p0}, Lcom/google/protobuf/ByteString$BoundedByteString;->getOffsetIntoBytes()I
|
|
|
|
move-result v1
|
|
|
|
add-int/2addr v1, p2
|
|
|
|
.line 1673
|
|
invoke-static {v0, v1, p1, p3, p4}, Ljava/lang/System;->arraycopy(Ljava/lang/Object;ILjava/lang/Object;II)V
|
|
|
|
return-void
|
|
.end method
|
|
|
|
.method public getOffsetIntoBytes()I
|
|
.locals 1
|
|
|
|
iget v0, p0, Lcom/google/protobuf/ByteString$BoundedByteString;->bytesOffset:I
|
|
|
|
return v0
|
|
.end method
|
|
|
|
.method public internalByteAt(I)B
|
|
.locals 2
|
|
|
|
iget-object v0, p0, Lcom/google/protobuf/ByteString$LiteralByteString;->bytes:[B
|
|
|
|
iget v1, p0, Lcom/google/protobuf/ByteString$BoundedByteString;->bytesOffset:I
|
|
|
|
add-int/2addr v1, p1
|
|
|
|
.line 1654
|
|
aget-byte p1, v0, v1
|
|
|
|
return p1
|
|
.end method
|
|
|
|
.method public size()I
|
|
.locals 1
|
|
|
|
iget v0, p0, Lcom/google/protobuf/ByteString$BoundedByteString;->bytesLength:I
|
|
|
|
return v0
|
|
.end method
|
|
|
|
.method public writeReplace()Ljava/lang/Object;
|
|
.locals 1
|
|
|
|
.line 1683
|
|
invoke-virtual {p0}, Lcom/google/protobuf/ByteString;->toByteArray()[B
|
|
|
|
move-result-object v0
|
|
|
|
invoke-static {v0}, Lcom/google/protobuf/ByteString;->wrap([B)Lcom/google/protobuf/ByteString;
|
|
|
|
move-result-object v0
|
|
|
|
return-object v0
|
|
.end method
|