Files
rr3-apk/smali_classes3/com/google/protobuf/ByteString$1.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

100 lines
2.1 KiB
Smali

.class public Lcom/google/protobuf/ByteString$1;
.super Lcom/google/protobuf/ByteString$AbstractByteIterator;
.source "SourceFile"
# annotations
.annotation system Ldalvik/annotation/EnclosingMethod;
value = Lcom/google/protobuf/ByteString;->iterator()Lcom/google/protobuf/ByteString$ByteIterator;
.end annotation
.annotation system Ldalvik/annotation/InnerClass;
accessFlags = 0x1
name = null
.end annotation
# instance fields
.field private final limit:I
.field private position:I
.field final synthetic this$0:Lcom/google/protobuf/ByteString;
# direct methods
.method public constructor <init>(Lcom/google/protobuf/ByteString;)V
.locals 1
iput-object p1, p0, Lcom/google/protobuf/ByteString$1;->this$0:Lcom/google/protobuf/ByteString;
.line 176
invoke-direct {p0}, Lcom/google/protobuf/ByteString$AbstractByteIterator;-><init>()V
const/4 v0, 0x0
iput v0, p0, Lcom/google/protobuf/ByteString$1;->position:I
.line 178
invoke-virtual {p1}, Lcom/google/protobuf/ByteString;->size()I
move-result p1
iput p1, p0, Lcom/google/protobuf/ByteString$1;->limit:I
return-void
.end method
# virtual methods
.method public hasNext()Z
.locals 2
iget v0, p0, Lcom/google/protobuf/ByteString$1;->position:I
iget v1, p0, Lcom/google/protobuf/ByteString$1;->limit:I
if-ge v0, v1, :cond_0
const/4 v0, 0x1
goto :goto_0
:cond_0
const/4 v0, 0x0
:goto_0
return v0
.end method
.method public nextByte()B
.locals 2
iget v0, p0, Lcom/google/protobuf/ByteString$1;->position:I
iget v1, p0, Lcom/google/protobuf/ByteString$1;->limit:I
if-ge v0, v1, :cond_0
add-int/lit8 v1, v0, 0x1
iput v1, p0, Lcom/google/protobuf/ByteString$1;->position:I
iget-object v1, p0, Lcom/google/protobuf/ByteString$1;->this$0:Lcom/google/protobuf/ByteString;
.line 192
invoke-virtual {v1, v0}, Lcom/google/protobuf/ByteString;->internalByteAt(I)B
move-result v0
return v0
.line 189
:cond_0
new-instance v0, Ljava/util/NoSuchElementException;
invoke-direct {v0}, Ljava/util/NoSuchElementException;-><init>()V
throw v0
.end method