- 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
1741 lines
46 KiB
Smali
1741 lines
46 KiB
Smali
.class Landroidx/datastore/preferences/protobuf/CodedOutputStream$ArrayEncoder;
|
|
.super Landroidx/datastore/preferences/protobuf/CodedOutputStream;
|
|
.source "SourceFile"
|
|
|
|
|
|
# annotations
|
|
.annotation system Ldalvik/annotation/EnclosingClass;
|
|
value = Landroidx/datastore/preferences/protobuf/CodedOutputStream;
|
|
.end annotation
|
|
|
|
.annotation system Ldalvik/annotation/InnerClass;
|
|
accessFlags = 0x9
|
|
name = "ArrayEncoder"
|
|
.end annotation
|
|
|
|
|
|
# instance fields
|
|
.field private final buffer:[B
|
|
|
|
.field private final limit:I
|
|
|
|
.field private final offset:I
|
|
|
|
.field private position:I
|
|
|
|
|
|
# direct methods
|
|
.method public constructor <init>([BII)V
|
|
.locals 3
|
|
|
|
const/4 v0, 0x0
|
|
|
|
.line 1156
|
|
invoke-direct {p0, v0}, Landroidx/datastore/preferences/protobuf/CodedOutputStream;-><init>(Landroidx/datastore/preferences/protobuf/CodedOutputStream$1;)V
|
|
|
|
if-eqz p1, :cond_1
|
|
|
|
or-int v0, p2, p3
|
|
|
|
.line 1160
|
|
array-length v1, p1
|
|
|
|
add-int v2, p2, p3
|
|
|
|
sub-int/2addr v1, v2
|
|
|
|
or-int/2addr v0, v1
|
|
|
|
if-ltz v0, :cond_0
|
|
|
|
iput-object p1, p0, Landroidx/datastore/preferences/protobuf/CodedOutputStream$ArrayEncoder;->buffer:[B
|
|
|
|
iput p2, p0, Landroidx/datastore/preferences/protobuf/CodedOutputStream$ArrayEncoder;->offset:I
|
|
|
|
iput p2, p0, Landroidx/datastore/preferences/protobuf/CodedOutputStream$ArrayEncoder;->position:I
|
|
|
|
iput v2, p0, Landroidx/datastore/preferences/protobuf/CodedOutputStream$ArrayEncoder;->limit:I
|
|
|
|
return-void
|
|
|
|
.line 1161
|
|
:cond_0
|
|
new-instance v0, Ljava/lang/IllegalArgumentException;
|
|
|
|
array-length p1, p1
|
|
|
|
.line 1164
|
|
invoke-static {p1}, Ljava/lang/Integer;->valueOf(I)Ljava/lang/Integer;
|
|
|
|
move-result-object p1
|
|
|
|
invoke-static {p2}, Ljava/lang/Integer;->valueOf(I)Ljava/lang/Integer;
|
|
|
|
move-result-object p2
|
|
|
|
invoke-static {p3}, Ljava/lang/Integer;->valueOf(I)Ljava/lang/Integer;
|
|
|
|
move-result-object p3
|
|
|
|
filled-new-array {p1, p2, p3}, [Ljava/lang/Object;
|
|
|
|
move-result-object p1
|
|
|
|
const-string p2, "Array range is invalid. Buffer.length=%d, offset=%d, length=%d"
|
|
|
|
.line 1162
|
|
invoke-static {p2, p1}, Ljava/lang/String;->format(Ljava/lang/String;[Ljava/lang/Object;)Ljava/lang/String;
|
|
|
|
move-result-object p1
|
|
|
|
invoke-direct {v0, p1}, Ljava/lang/IllegalArgumentException;-><init>(Ljava/lang/String;)V
|
|
|
|
throw v0
|
|
|
|
.line 1158
|
|
:cond_1
|
|
new-instance p1, Ljava/lang/NullPointerException;
|
|
|
|
const-string p2, "buffer"
|
|
|
|
invoke-direct {p1, p2}, Ljava/lang/NullPointerException;-><init>(Ljava/lang/String;)V
|
|
|
|
throw p1
|
|
.end method
|
|
|
|
|
|
# virtual methods
|
|
.method public flush()V
|
|
.locals 0
|
|
|
|
return-void
|
|
.end method
|
|
|
|
.method public final getTotalBytesWritten()I
|
|
.locals 2
|
|
|
|
iget v0, p0, Landroidx/datastore/preferences/protobuf/CodedOutputStream$ArrayEncoder;->position:I
|
|
|
|
iget v1, p0, Landroidx/datastore/preferences/protobuf/CodedOutputStream$ArrayEncoder;->offset:I
|
|
|
|
sub-int/2addr v0, v1
|
|
|
|
return v0
|
|
.end method
|
|
|
|
.method public final spaceLeft()I
|
|
.locals 2
|
|
|
|
iget v0, p0, Landroidx/datastore/preferences/protobuf/CodedOutputStream$ArrayEncoder;->limit:I
|
|
|
|
iget v1, p0, Landroidx/datastore/preferences/protobuf/CodedOutputStream$ArrayEncoder;->position:I
|
|
|
|
sub-int/2addr v0, v1
|
|
|
|
return v0
|
|
.end method
|
|
|
|
.method public final write(B)V
|
|
.locals 4
|
|
.annotation system Ldalvik/annotation/Throws;
|
|
value = {
|
|
Ljava/io/IOException;
|
|
}
|
|
.end annotation
|
|
|
|
:try_start_0
|
|
iget-object v0, p0, Landroidx/datastore/preferences/protobuf/CodedOutputStream$ArrayEncoder;->buffer:[B
|
|
|
|
iget v1, p0, Landroidx/datastore/preferences/protobuf/CodedOutputStream$ArrayEncoder;->position:I
|
|
|
|
add-int/lit8 v2, v1, 0x1
|
|
|
|
iput v2, p0, Landroidx/datastore/preferences/protobuf/CodedOutputStream$ArrayEncoder;->position:I
|
|
|
|
.line 1318
|
|
aput-byte p1, v0, v1
|
|
:try_end_0
|
|
.catch Ljava/lang/IndexOutOfBoundsException; {:try_start_0 .. :try_end_0} :catch_0
|
|
|
|
return-void
|
|
|
|
:catch_0
|
|
move-exception p1
|
|
|
|
.line 1320
|
|
new-instance v0, Landroidx/datastore/preferences/protobuf/CodedOutputStream$OutOfSpaceException;
|
|
|
|
iget v1, p0, Landroidx/datastore/preferences/protobuf/CodedOutputStream$ArrayEncoder;->position:I
|
|
|
|
.line 1321
|
|
invoke-static {v1}, Ljava/lang/Integer;->valueOf(I)Ljava/lang/Integer;
|
|
|
|
move-result-object v1
|
|
|
|
iget v2, p0, Landroidx/datastore/preferences/protobuf/CodedOutputStream$ArrayEncoder;->limit:I
|
|
|
|
invoke-static {v2}, Ljava/lang/Integer;->valueOf(I)Ljava/lang/Integer;
|
|
|
|
move-result-object v2
|
|
|
|
const/4 v3, 0x1
|
|
|
|
invoke-static {v3}, Ljava/lang/Integer;->valueOf(I)Ljava/lang/Integer;
|
|
|
|
move-result-object v3
|
|
|
|
filled-new-array {v1, v2, v3}, [Ljava/lang/Object;
|
|
|
|
move-result-object v1
|
|
|
|
const-string v2, "Pos: %d, limit: %d, len: %d"
|
|
|
|
invoke-static {v2, v1}, Ljava/lang/String;->format(Ljava/lang/String;[Ljava/lang/Object;)Ljava/lang/String;
|
|
|
|
move-result-object v1
|
|
|
|
invoke-direct {v0, v1, p1}, Landroidx/datastore/preferences/protobuf/CodedOutputStream$OutOfSpaceException;-><init>(Ljava/lang/String;Ljava/lang/Throwable;)V
|
|
|
|
throw v0
|
|
.end method
|
|
|
|
.method public final write(Ljava/nio/ByteBuffer;)V
|
|
.locals 4
|
|
.annotation system Ldalvik/annotation/Throws;
|
|
value = {
|
|
Ljava/io/IOException;
|
|
}
|
|
.end annotation
|
|
|
|
.line 1461
|
|
invoke-virtual {p1}, Ljava/nio/Buffer;->remaining()I
|
|
|
|
move-result v0
|
|
|
|
:try_start_0
|
|
iget-object v1, p0, Landroidx/datastore/preferences/protobuf/CodedOutputStream$ArrayEncoder;->buffer:[B
|
|
|
|
iget v2, p0, Landroidx/datastore/preferences/protobuf/CodedOutputStream$ArrayEncoder;->position:I
|
|
|
|
.line 1463
|
|
invoke-virtual {p1, v1, v2, v0}, Ljava/nio/ByteBuffer;->get([BII)Ljava/nio/ByteBuffer;
|
|
|
|
iget p1, p0, Landroidx/datastore/preferences/protobuf/CodedOutputStream$ArrayEncoder;->position:I
|
|
|
|
add-int/2addr p1, v0
|
|
|
|
iput p1, p0, Landroidx/datastore/preferences/protobuf/CodedOutputStream$ArrayEncoder;->position:I
|
|
:try_end_0
|
|
.catch Ljava/lang/IndexOutOfBoundsException; {:try_start_0 .. :try_end_0} :catch_0
|
|
|
|
return-void
|
|
|
|
:catch_0
|
|
move-exception p1
|
|
|
|
.line 1466
|
|
new-instance v1, Landroidx/datastore/preferences/protobuf/CodedOutputStream$OutOfSpaceException;
|
|
|
|
iget v2, p0, Landroidx/datastore/preferences/protobuf/CodedOutputStream$ArrayEncoder;->position:I
|
|
|
|
.line 1467
|
|
invoke-static {v2}, Ljava/lang/Integer;->valueOf(I)Ljava/lang/Integer;
|
|
|
|
move-result-object v2
|
|
|
|
iget v3, p0, Landroidx/datastore/preferences/protobuf/CodedOutputStream$ArrayEncoder;->limit:I
|
|
|
|
invoke-static {v3}, Ljava/lang/Integer;->valueOf(I)Ljava/lang/Integer;
|
|
|
|
move-result-object v3
|
|
|
|
invoke-static {v0}, Ljava/lang/Integer;->valueOf(I)Ljava/lang/Integer;
|
|
|
|
move-result-object v0
|
|
|
|
filled-new-array {v2, v3, v0}, [Ljava/lang/Object;
|
|
|
|
move-result-object v0
|
|
|
|
const-string v2, "Pos: %d, limit: %d, len: %d"
|
|
|
|
invoke-static {v2, v0}, Ljava/lang/String;->format(Ljava/lang/String;[Ljava/lang/Object;)Ljava/lang/String;
|
|
|
|
move-result-object v0
|
|
|
|
invoke-direct {v1, v0, p1}, Landroidx/datastore/preferences/protobuf/CodedOutputStream$OutOfSpaceException;-><init>(Ljava/lang/String;Ljava/lang/Throwable;)V
|
|
|
|
throw v1
|
|
.end method
|
|
|
|
.method public final write([BII)V
|
|
.locals 2
|
|
.annotation system Ldalvik/annotation/Throws;
|
|
value = {
|
|
Ljava/io/IOException;
|
|
}
|
|
.end annotation
|
|
|
|
:try_start_0
|
|
iget-object v0, p0, Landroidx/datastore/preferences/protobuf/CodedOutputStream$ArrayEncoder;->buffer:[B
|
|
|
|
iget v1, p0, Landroidx/datastore/preferences/protobuf/CodedOutputStream$ArrayEncoder;->position:I
|
|
|
|
.line 1446
|
|
invoke-static {p1, p2, v0, v1, p3}, Ljava/lang/System;->arraycopy(Ljava/lang/Object;ILjava/lang/Object;II)V
|
|
|
|
iget p1, p0, Landroidx/datastore/preferences/protobuf/CodedOutputStream$ArrayEncoder;->position:I
|
|
|
|
add-int/2addr p1, p3
|
|
|
|
iput p1, p0, Landroidx/datastore/preferences/protobuf/CodedOutputStream$ArrayEncoder;->position:I
|
|
:try_end_0
|
|
.catch Ljava/lang/IndexOutOfBoundsException; {:try_start_0 .. :try_end_0} :catch_0
|
|
|
|
return-void
|
|
|
|
:catch_0
|
|
move-exception p1
|
|
|
|
.line 1449
|
|
new-instance p2, Landroidx/datastore/preferences/protobuf/CodedOutputStream$OutOfSpaceException;
|
|
|
|
iget v0, p0, Landroidx/datastore/preferences/protobuf/CodedOutputStream$ArrayEncoder;->position:I
|
|
|
|
.line 1450
|
|
invoke-static {v0}, Ljava/lang/Integer;->valueOf(I)Ljava/lang/Integer;
|
|
|
|
move-result-object v0
|
|
|
|
iget v1, p0, Landroidx/datastore/preferences/protobuf/CodedOutputStream$ArrayEncoder;->limit:I
|
|
|
|
invoke-static {v1}, Ljava/lang/Integer;->valueOf(I)Ljava/lang/Integer;
|
|
|
|
move-result-object v1
|
|
|
|
invoke-static {p3}, Ljava/lang/Integer;->valueOf(I)Ljava/lang/Integer;
|
|
|
|
move-result-object p3
|
|
|
|
filled-new-array {v0, v1, p3}, [Ljava/lang/Object;
|
|
|
|
move-result-object p3
|
|
|
|
const-string v0, "Pos: %d, limit: %d, len: %d"
|
|
|
|
invoke-static {v0, p3}, Ljava/lang/String;->format(Ljava/lang/String;[Ljava/lang/Object;)Ljava/lang/String;
|
|
|
|
move-result-object p3
|
|
|
|
invoke-direct {p2, p3, p1}, Landroidx/datastore/preferences/protobuf/CodedOutputStream$OutOfSpaceException;-><init>(Ljava/lang/String;Ljava/lang/Throwable;)V
|
|
|
|
throw p2
|
|
.end method
|
|
|
|
.method public final writeBool(IZ)V
|
|
.locals 1
|
|
.annotation system Ldalvik/annotation/Throws;
|
|
value = {
|
|
Ljava/io/IOException;
|
|
}
|
|
.end annotation
|
|
|
|
const/4 v0, 0x0
|
|
|
|
.line 1209
|
|
invoke-virtual {p0, p1, v0}, Landroidx/datastore/preferences/protobuf/CodedOutputStream$ArrayEncoder;->writeTag(II)V
|
|
|
|
int-to-byte p1, p2
|
|
|
|
.line 1210
|
|
invoke-virtual {p0, p1}, Landroidx/datastore/preferences/protobuf/CodedOutputStream$ArrayEncoder;->write(B)V
|
|
|
|
return-void
|
|
.end method
|
|
|
|
.method public final writeByteArray(I[B)V
|
|
.locals 2
|
|
.annotation system Ldalvik/annotation/Throws;
|
|
value = {
|
|
Ljava/io/IOException;
|
|
}
|
|
.end annotation
|
|
|
|
.line 1227
|
|
array-length v0, p2
|
|
|
|
const/4 v1, 0x0
|
|
|
|
invoke-virtual {p0, p1, p2, v1, v0}, Landroidx/datastore/preferences/protobuf/CodedOutputStream$ArrayEncoder;->writeByteArray(I[BII)V
|
|
|
|
return-void
|
|
.end method
|
|
|
|
.method public final writeByteArray(I[BII)V
|
|
.locals 1
|
|
.annotation system Ldalvik/annotation/Throws;
|
|
value = {
|
|
Ljava/io/IOException;
|
|
}
|
|
.end annotation
|
|
|
|
const/4 v0, 0x2
|
|
|
|
.line 1234
|
|
invoke-virtual {p0, p1, v0}, Landroidx/datastore/preferences/protobuf/CodedOutputStream$ArrayEncoder;->writeTag(II)V
|
|
|
|
.line 1235
|
|
invoke-virtual {p0, p2, p3, p4}, Landroidx/datastore/preferences/protobuf/CodedOutputStream$ArrayEncoder;->writeByteArrayNoTag([BII)V
|
|
|
|
return-void
|
|
.end method
|
|
|
|
.method public final writeByteArrayNoTag([BII)V
|
|
.locals 0
|
|
.annotation system Ldalvik/annotation/Throws;
|
|
value = {
|
|
Ljava/io/IOException;
|
|
}
|
|
.end annotation
|
|
|
|
.line 1255
|
|
invoke-virtual {p0, p3}, Landroidx/datastore/preferences/protobuf/CodedOutputStream$ArrayEncoder;->writeUInt32NoTag(I)V
|
|
|
|
.line 1256
|
|
invoke-virtual {p0, p1, p2, p3}, Landroidx/datastore/preferences/protobuf/CodedOutputStream$ArrayEncoder;->write([BII)V
|
|
|
|
return-void
|
|
.end method
|
|
|
|
.method public final writeByteBuffer(ILjava/nio/ByteBuffer;)V
|
|
.locals 1
|
|
.annotation system Ldalvik/annotation/Throws;
|
|
value = {
|
|
Ljava/io/IOException;
|
|
}
|
|
.end annotation
|
|
|
|
const/4 v0, 0x2
|
|
|
|
.line 1241
|
|
invoke-virtual {p0, p1, v0}, Landroidx/datastore/preferences/protobuf/CodedOutputStream$ArrayEncoder;->writeTag(II)V
|
|
|
|
.line 1242
|
|
invoke-virtual {p2}, Ljava/nio/Buffer;->capacity()I
|
|
|
|
move-result p1
|
|
|
|
invoke-virtual {p0, p1}, Landroidx/datastore/preferences/protobuf/CodedOutputStream$ArrayEncoder;->writeUInt32NoTag(I)V
|
|
|
|
.line 1243
|
|
invoke-virtual {p0, p2}, Landroidx/datastore/preferences/protobuf/CodedOutputStream$ArrayEncoder;->writeRawBytes(Ljava/nio/ByteBuffer;)V
|
|
|
|
return-void
|
|
.end method
|
|
|
|
.method public final writeBytes(ILandroidx/datastore/preferences/protobuf/ByteString;)V
|
|
.locals 1
|
|
.annotation system Ldalvik/annotation/Throws;
|
|
value = {
|
|
Ljava/io/IOException;
|
|
}
|
|
.end annotation
|
|
|
|
const/4 v0, 0x2
|
|
|
|
.line 1221
|
|
invoke-virtual {p0, p1, v0}, Landroidx/datastore/preferences/protobuf/CodedOutputStream$ArrayEncoder;->writeTag(II)V
|
|
|
|
.line 1222
|
|
invoke-virtual {p0, p2}, Landroidx/datastore/preferences/protobuf/CodedOutputStream$ArrayEncoder;->writeBytesNoTag(Landroidx/datastore/preferences/protobuf/ByteString;)V
|
|
|
|
return-void
|
|
.end method
|
|
|
|
.method public final writeBytesNoTag(Landroidx/datastore/preferences/protobuf/ByteString;)V
|
|
.locals 1
|
|
.annotation system Ldalvik/annotation/Throws;
|
|
value = {
|
|
Ljava/io/IOException;
|
|
}
|
|
.end annotation
|
|
|
|
.line 1248
|
|
invoke-virtual {p1}, Landroidx/datastore/preferences/protobuf/ByteString;->size()I
|
|
|
|
move-result v0
|
|
|
|
invoke-virtual {p0, v0}, Landroidx/datastore/preferences/protobuf/CodedOutputStream$ArrayEncoder;->writeUInt32NoTag(I)V
|
|
|
|
.line 1249
|
|
invoke-virtual {p1, p0}, Landroidx/datastore/preferences/protobuf/ByteString;->writeTo(Landroidx/datastore/preferences/protobuf/ByteOutput;)V
|
|
|
|
return-void
|
|
.end method
|
|
|
|
.method public final writeFixed32(II)V
|
|
.locals 1
|
|
.annotation system Ldalvik/annotation/Throws;
|
|
value = {
|
|
Ljava/io/IOException;
|
|
}
|
|
.end annotation
|
|
|
|
const/4 v0, 0x5
|
|
|
|
.line 1191
|
|
invoke-virtual {p0, p1, v0}, Landroidx/datastore/preferences/protobuf/CodedOutputStream$ArrayEncoder;->writeTag(II)V
|
|
|
|
.line 1192
|
|
invoke-virtual {p0, p2}, Landroidx/datastore/preferences/protobuf/CodedOutputStream$ArrayEncoder;->writeFixed32NoTag(I)V
|
|
|
|
return-void
|
|
.end method
|
|
|
|
.method public final writeFixed32NoTag(I)V
|
|
.locals 5
|
|
.annotation system Ldalvik/annotation/Throws;
|
|
value = {
|
|
Ljava/io/IOException;
|
|
}
|
|
.end annotation
|
|
|
|
:try_start_0
|
|
iget-object v0, p0, Landroidx/datastore/preferences/protobuf/CodedOutputStream$ArrayEncoder;->buffer:[B
|
|
|
|
iget v1, p0, Landroidx/datastore/preferences/protobuf/CodedOutputStream$ArrayEncoder;->position:I
|
|
|
|
add-int/lit8 v2, v1, 0x1
|
|
|
|
and-int/lit16 v3, p1, 0xff
|
|
|
|
int-to-byte v3, v3
|
|
|
|
.line 1386
|
|
aput-byte v3, v0, v1
|
|
|
|
add-int/lit8 v3, v1, 0x2
|
|
|
|
shr-int/lit8 v4, p1, 0x8
|
|
|
|
and-int/lit16 v4, v4, 0xff
|
|
|
|
int-to-byte v4, v4
|
|
|
|
.line 1387
|
|
aput-byte v4, v0, v2
|
|
|
|
add-int/lit8 v2, v1, 0x3
|
|
|
|
shr-int/lit8 v4, p1, 0x10
|
|
|
|
and-int/lit16 v4, v4, 0xff
|
|
|
|
int-to-byte v4, v4
|
|
|
|
.line 1388
|
|
aput-byte v4, v0, v3
|
|
|
|
add-int/lit8 v1, v1, 0x4
|
|
|
|
iput v1, p0, Landroidx/datastore/preferences/protobuf/CodedOutputStream$ArrayEncoder;->position:I
|
|
|
|
shr-int/lit8 p1, p1, 0x18
|
|
|
|
and-int/lit16 p1, p1, 0xff
|
|
|
|
int-to-byte p1, p1
|
|
|
|
.line 1389
|
|
aput-byte p1, v0, v2
|
|
:try_end_0
|
|
.catch Ljava/lang/IndexOutOfBoundsException; {:try_start_0 .. :try_end_0} :catch_0
|
|
|
|
return-void
|
|
|
|
:catch_0
|
|
move-exception p1
|
|
|
|
.line 1391
|
|
new-instance v0, Landroidx/datastore/preferences/protobuf/CodedOutputStream$OutOfSpaceException;
|
|
|
|
iget v1, p0, Landroidx/datastore/preferences/protobuf/CodedOutputStream$ArrayEncoder;->position:I
|
|
|
|
.line 1392
|
|
invoke-static {v1}, Ljava/lang/Integer;->valueOf(I)Ljava/lang/Integer;
|
|
|
|
move-result-object v1
|
|
|
|
iget v2, p0, Landroidx/datastore/preferences/protobuf/CodedOutputStream$ArrayEncoder;->limit:I
|
|
|
|
invoke-static {v2}, Ljava/lang/Integer;->valueOf(I)Ljava/lang/Integer;
|
|
|
|
move-result-object v2
|
|
|
|
const/4 v3, 0x1
|
|
|
|
invoke-static {v3}, Ljava/lang/Integer;->valueOf(I)Ljava/lang/Integer;
|
|
|
|
move-result-object v3
|
|
|
|
filled-new-array {v1, v2, v3}, [Ljava/lang/Object;
|
|
|
|
move-result-object v1
|
|
|
|
const-string v2, "Pos: %d, limit: %d, len: %d"
|
|
|
|
invoke-static {v2, v1}, Ljava/lang/String;->format(Ljava/lang/String;[Ljava/lang/Object;)Ljava/lang/String;
|
|
|
|
move-result-object v1
|
|
|
|
invoke-direct {v0, v1, p1}, Landroidx/datastore/preferences/protobuf/CodedOutputStream$OutOfSpaceException;-><init>(Ljava/lang/String;Ljava/lang/Throwable;)V
|
|
|
|
throw v0
|
|
.end method
|
|
|
|
.method public final writeFixed64(IJ)V
|
|
.locals 1
|
|
.annotation system Ldalvik/annotation/Throws;
|
|
value = {
|
|
Ljava/io/IOException;
|
|
}
|
|
.end annotation
|
|
|
|
const/4 v0, 0x1
|
|
|
|
.line 1203
|
|
invoke-virtual {p0, p1, v0}, Landroidx/datastore/preferences/protobuf/CodedOutputStream$ArrayEncoder;->writeTag(II)V
|
|
|
|
.line 1204
|
|
invoke-virtual {p0, p2, p3}, Landroidx/datastore/preferences/protobuf/CodedOutputStream$ArrayEncoder;->writeFixed64NoTag(J)V
|
|
|
|
return-void
|
|
.end method
|
|
|
|
.method public final writeFixed64NoTag(J)V
|
|
.locals 7
|
|
.annotation system Ldalvik/annotation/Throws;
|
|
value = {
|
|
Ljava/io/IOException;
|
|
}
|
|
.end annotation
|
|
|
|
:try_start_0
|
|
iget-object v0, p0, Landroidx/datastore/preferences/protobuf/CodedOutputStream$ArrayEncoder;->buffer:[B
|
|
|
|
iget v1, p0, Landroidx/datastore/preferences/protobuf/CodedOutputStream$ArrayEncoder;->position:I
|
|
|
|
add-int/lit8 v2, v1, 0x1
|
|
|
|
long-to-int v3, p1
|
|
|
|
and-int/lit16 v3, v3, 0xff
|
|
|
|
int-to-byte v3, v3
|
|
|
|
.line 1429
|
|
aput-byte v3, v0, v1
|
|
|
|
add-int/lit8 v3, v1, 0x2
|
|
|
|
const/16 v4, 0x8
|
|
|
|
shr-long v5, p1, v4
|
|
|
|
long-to-int v5, v5
|
|
|
|
and-int/lit16 v5, v5, 0xff
|
|
|
|
int-to-byte v5, v5
|
|
|
|
.line 1430
|
|
aput-byte v5, v0, v2
|
|
|
|
add-int/lit8 v2, v1, 0x3
|
|
|
|
const/16 v5, 0x10
|
|
|
|
shr-long v5, p1, v5
|
|
|
|
long-to-int v5, v5
|
|
|
|
and-int/lit16 v5, v5, 0xff
|
|
|
|
int-to-byte v5, v5
|
|
|
|
.line 1431
|
|
aput-byte v5, v0, v3
|
|
|
|
add-int/lit8 v3, v1, 0x4
|
|
|
|
const/16 v5, 0x18
|
|
|
|
shr-long v5, p1, v5
|
|
|
|
long-to-int v5, v5
|
|
|
|
and-int/lit16 v5, v5, 0xff
|
|
|
|
int-to-byte v5, v5
|
|
|
|
.line 1432
|
|
aput-byte v5, v0, v2
|
|
|
|
add-int/lit8 v2, v1, 0x5
|
|
|
|
const/16 v5, 0x20
|
|
|
|
shr-long v5, p1, v5
|
|
|
|
long-to-int v5, v5
|
|
|
|
and-int/lit16 v5, v5, 0xff
|
|
|
|
int-to-byte v5, v5
|
|
|
|
.line 1433
|
|
aput-byte v5, v0, v3
|
|
|
|
add-int/lit8 v3, v1, 0x6
|
|
|
|
const/16 v5, 0x28
|
|
|
|
shr-long v5, p1, v5
|
|
|
|
long-to-int v5, v5
|
|
|
|
and-int/lit16 v5, v5, 0xff
|
|
|
|
int-to-byte v5, v5
|
|
|
|
.line 1434
|
|
aput-byte v5, v0, v2
|
|
|
|
add-int/lit8 v2, v1, 0x7
|
|
|
|
const/16 v5, 0x30
|
|
|
|
shr-long v5, p1, v5
|
|
|
|
long-to-int v5, v5
|
|
|
|
and-int/lit16 v5, v5, 0xff
|
|
|
|
int-to-byte v5, v5
|
|
|
|
.line 1435
|
|
aput-byte v5, v0, v3
|
|
|
|
add-int/2addr v1, v4
|
|
|
|
iput v1, p0, Landroidx/datastore/preferences/protobuf/CodedOutputStream$ArrayEncoder;->position:I
|
|
|
|
const/16 v1, 0x38
|
|
|
|
shr-long/2addr p1, v1
|
|
|
|
long-to-int p1, p1
|
|
|
|
and-int/lit16 p1, p1, 0xff
|
|
|
|
int-to-byte p1, p1
|
|
|
|
.line 1436
|
|
aput-byte p1, v0, v2
|
|
:try_end_0
|
|
.catch Ljava/lang/IndexOutOfBoundsException; {:try_start_0 .. :try_end_0} :catch_0
|
|
|
|
return-void
|
|
|
|
:catch_0
|
|
move-exception p1
|
|
|
|
.line 1438
|
|
new-instance p2, Landroidx/datastore/preferences/protobuf/CodedOutputStream$OutOfSpaceException;
|
|
|
|
iget v0, p0, Landroidx/datastore/preferences/protobuf/CodedOutputStream$ArrayEncoder;->position:I
|
|
|
|
.line 1439
|
|
invoke-static {v0}, Ljava/lang/Integer;->valueOf(I)Ljava/lang/Integer;
|
|
|
|
move-result-object v0
|
|
|
|
iget v1, p0, Landroidx/datastore/preferences/protobuf/CodedOutputStream$ArrayEncoder;->limit:I
|
|
|
|
invoke-static {v1}, Ljava/lang/Integer;->valueOf(I)Ljava/lang/Integer;
|
|
|
|
move-result-object v1
|
|
|
|
const/4 v2, 0x1
|
|
|
|
invoke-static {v2}, Ljava/lang/Integer;->valueOf(I)Ljava/lang/Integer;
|
|
|
|
move-result-object v2
|
|
|
|
filled-new-array {v0, v1, v2}, [Ljava/lang/Object;
|
|
|
|
move-result-object v0
|
|
|
|
const-string v1, "Pos: %d, limit: %d, len: %d"
|
|
|
|
invoke-static {v1, v0}, Ljava/lang/String;->format(Ljava/lang/String;[Ljava/lang/Object;)Ljava/lang/String;
|
|
|
|
move-result-object v0
|
|
|
|
invoke-direct {p2, v0, p1}, Landroidx/datastore/preferences/protobuf/CodedOutputStream$OutOfSpaceException;-><init>(Ljava/lang/String;Ljava/lang/Throwable;)V
|
|
|
|
throw p2
|
|
.end method
|
|
|
|
.method public final writeInt32(II)V
|
|
.locals 1
|
|
.annotation system Ldalvik/annotation/Throws;
|
|
value = {
|
|
Ljava/io/IOException;
|
|
}
|
|
.end annotation
|
|
|
|
const/4 v0, 0x0
|
|
|
|
.line 1179
|
|
invoke-virtual {p0, p1, v0}, Landroidx/datastore/preferences/protobuf/CodedOutputStream$ArrayEncoder;->writeTag(II)V
|
|
|
|
.line 1180
|
|
invoke-virtual {p0, p2}, Landroidx/datastore/preferences/protobuf/CodedOutputStream$ArrayEncoder;->writeInt32NoTag(I)V
|
|
|
|
return-void
|
|
.end method
|
|
|
|
.method public final writeInt32NoTag(I)V
|
|
.locals 2
|
|
.annotation system Ldalvik/annotation/Throws;
|
|
value = {
|
|
Ljava/io/IOException;
|
|
}
|
|
.end annotation
|
|
|
|
if-ltz p1, :cond_0
|
|
|
|
.line 1328
|
|
invoke-virtual {p0, p1}, Landroidx/datastore/preferences/protobuf/CodedOutputStream$ArrayEncoder;->writeUInt32NoTag(I)V
|
|
|
|
goto :goto_0
|
|
|
|
:cond_0
|
|
int-to-long v0, p1
|
|
|
|
.line 1331
|
|
invoke-virtual {p0, v0, v1}, Landroidx/datastore/preferences/protobuf/CodedOutputStream$ArrayEncoder;->writeUInt64NoTag(J)V
|
|
|
|
:goto_0
|
|
return-void
|
|
.end method
|
|
|
|
.method public final writeLazy(Ljava/nio/ByteBuffer;)V
|
|
.locals 0
|
|
.annotation system Ldalvik/annotation/Throws;
|
|
value = {
|
|
Ljava/io/IOException;
|
|
}
|
|
.end annotation
|
|
|
|
.line 1473
|
|
invoke-virtual {p0, p1}, Landroidx/datastore/preferences/protobuf/CodedOutputStream$ArrayEncoder;->write(Ljava/nio/ByteBuffer;)V
|
|
|
|
return-void
|
|
.end method
|
|
|
|
.method public final writeLazy([BII)V
|
|
.locals 0
|
|
.annotation system Ldalvik/annotation/Throws;
|
|
value = {
|
|
Ljava/io/IOException;
|
|
}
|
|
.end annotation
|
|
|
|
.line 1456
|
|
invoke-virtual {p0, p1, p2, p3}, Landroidx/datastore/preferences/protobuf/CodedOutputStream$ArrayEncoder;->write([BII)V
|
|
|
|
return-void
|
|
.end method
|
|
|
|
.method public final writeMessage(ILandroidx/datastore/preferences/protobuf/MessageLite;)V
|
|
.locals 1
|
|
.annotation system Ldalvik/annotation/Throws;
|
|
value = {
|
|
Ljava/io/IOException;
|
|
}
|
|
.end annotation
|
|
|
|
const/4 v0, 0x2
|
|
|
|
.line 1273
|
|
invoke-virtual {p0, p1, v0}, Landroidx/datastore/preferences/protobuf/CodedOutputStream$ArrayEncoder;->writeTag(II)V
|
|
|
|
.line 1274
|
|
invoke-virtual {p0, p2}, Landroidx/datastore/preferences/protobuf/CodedOutputStream$ArrayEncoder;->writeMessageNoTag(Landroidx/datastore/preferences/protobuf/MessageLite;)V
|
|
|
|
return-void
|
|
.end method
|
|
|
|
.method public final writeMessage(ILandroidx/datastore/preferences/protobuf/MessageLite;Landroidx/datastore/preferences/protobuf/Schema;)V
|
|
.locals 1
|
|
.annotation system Ldalvik/annotation/Throws;
|
|
value = {
|
|
Ljava/io/IOException;
|
|
}
|
|
.end annotation
|
|
|
|
const/4 v0, 0x2
|
|
|
|
.line 1280
|
|
invoke-virtual {p0, p1, v0}, Landroidx/datastore/preferences/protobuf/CodedOutputStream$ArrayEncoder;->writeTag(II)V
|
|
|
|
.line 1281
|
|
move-object p1, p2
|
|
|
|
check-cast p1, Landroidx/datastore/preferences/protobuf/AbstractMessageLite;
|
|
|
|
invoke-virtual {p1, p3}, Landroidx/datastore/preferences/protobuf/AbstractMessageLite;->getSerializedSize(Landroidx/datastore/preferences/protobuf/Schema;)I
|
|
|
|
move-result p1
|
|
|
|
invoke-virtual {p0, p1}, Landroidx/datastore/preferences/protobuf/CodedOutputStream$ArrayEncoder;->writeUInt32NoTag(I)V
|
|
|
|
iget-object p1, p0, Landroidx/datastore/preferences/protobuf/CodedOutputStream;->wrapper:Landroidx/datastore/preferences/protobuf/CodedOutputStreamWriter;
|
|
|
|
.line 1282
|
|
invoke-interface {p3, p2, p1}, Landroidx/datastore/preferences/protobuf/Schema;->writeTo(Ljava/lang/Object;Landroidx/datastore/preferences/protobuf/Writer;)V
|
|
|
|
return-void
|
|
.end method
|
|
|
|
.method public final writeMessageNoTag(Landroidx/datastore/preferences/protobuf/MessageLite;)V
|
|
.locals 1
|
|
.annotation system Ldalvik/annotation/Throws;
|
|
value = {
|
|
Ljava/io/IOException;
|
|
}
|
|
.end annotation
|
|
|
|
.line 1305
|
|
invoke-interface {p1}, Landroidx/datastore/preferences/protobuf/MessageLite;->getSerializedSize()I
|
|
|
|
move-result v0
|
|
|
|
invoke-virtual {p0, v0}, Landroidx/datastore/preferences/protobuf/CodedOutputStream$ArrayEncoder;->writeUInt32NoTag(I)V
|
|
|
|
.line 1306
|
|
invoke-interface {p1, p0}, Landroidx/datastore/preferences/protobuf/MessageLite;->writeTo(Landroidx/datastore/preferences/protobuf/CodedOutputStream;)V
|
|
|
|
return-void
|
|
.end method
|
|
|
|
.method public final writeMessageNoTag(Landroidx/datastore/preferences/protobuf/MessageLite;Landroidx/datastore/preferences/protobuf/Schema;)V
|
|
.locals 1
|
|
.annotation system Ldalvik/annotation/Throws;
|
|
value = {
|
|
Ljava/io/IOException;
|
|
}
|
|
.end annotation
|
|
|
|
.line 1311
|
|
move-object v0, p1
|
|
|
|
check-cast v0, Landroidx/datastore/preferences/protobuf/AbstractMessageLite;
|
|
|
|
invoke-virtual {v0, p2}, Landroidx/datastore/preferences/protobuf/AbstractMessageLite;->getSerializedSize(Landroidx/datastore/preferences/protobuf/Schema;)I
|
|
|
|
move-result v0
|
|
|
|
invoke-virtual {p0, v0}, Landroidx/datastore/preferences/protobuf/CodedOutputStream$ArrayEncoder;->writeUInt32NoTag(I)V
|
|
|
|
iget-object v0, p0, Landroidx/datastore/preferences/protobuf/CodedOutputStream;->wrapper:Landroidx/datastore/preferences/protobuf/CodedOutputStreamWriter;
|
|
|
|
.line 1312
|
|
invoke-interface {p2, p1, v0}, Landroidx/datastore/preferences/protobuf/Schema;->writeTo(Ljava/lang/Object;Landroidx/datastore/preferences/protobuf/Writer;)V
|
|
|
|
return-void
|
|
.end method
|
|
|
|
.method public final writeMessageSetExtension(ILandroidx/datastore/preferences/protobuf/MessageLite;)V
|
|
.locals 3
|
|
.annotation system Ldalvik/annotation/Throws;
|
|
value = {
|
|
Ljava/io/IOException;
|
|
}
|
|
.end annotation
|
|
|
|
const/4 v0, 0x1
|
|
|
|
const/4 v1, 0x3
|
|
|
|
.line 1288
|
|
invoke-virtual {p0, v0, v1}, Landroidx/datastore/preferences/protobuf/CodedOutputStream$ArrayEncoder;->writeTag(II)V
|
|
|
|
const/4 v2, 0x2
|
|
|
|
.line 1289
|
|
invoke-virtual {p0, v2, p1}, Landroidx/datastore/preferences/protobuf/CodedOutputStream$ArrayEncoder;->writeUInt32(II)V
|
|
|
|
.line 1290
|
|
invoke-virtual {p0, v1, p2}, Landroidx/datastore/preferences/protobuf/CodedOutputStream$ArrayEncoder;->writeMessage(ILandroidx/datastore/preferences/protobuf/MessageLite;)V
|
|
|
|
const/4 p1, 0x4
|
|
|
|
.line 1291
|
|
invoke-virtual {p0, v0, p1}, Landroidx/datastore/preferences/protobuf/CodedOutputStream$ArrayEncoder;->writeTag(II)V
|
|
|
|
return-void
|
|
.end method
|
|
|
|
.method public final writeRawBytes(Ljava/nio/ByteBuffer;)V
|
|
.locals 2
|
|
.annotation system Ldalvik/annotation/Throws;
|
|
value = {
|
|
Ljava/io/IOException;
|
|
}
|
|
.end annotation
|
|
|
|
.line 1261
|
|
invoke-virtual {p1}, Ljava/nio/ByteBuffer;->hasArray()Z
|
|
|
|
move-result v0
|
|
|
|
if-eqz v0, :cond_0
|
|
|
|
.line 1262
|
|
invoke-virtual {p1}, Ljava/nio/ByteBuffer;->array()[B
|
|
|
|
move-result-object v0
|
|
|
|
invoke-virtual {p1}, Ljava/nio/ByteBuffer;->arrayOffset()I
|
|
|
|
move-result v1
|
|
|
|
invoke-virtual {p1}, Ljava/nio/Buffer;->capacity()I
|
|
|
|
move-result p1
|
|
|
|
invoke-virtual {p0, v0, v1, p1}, Landroidx/datastore/preferences/protobuf/CodedOutputStream$ArrayEncoder;->write([BII)V
|
|
|
|
goto :goto_0
|
|
|
|
.line 1264
|
|
:cond_0
|
|
invoke-virtual {p1}, Ljava/nio/ByteBuffer;->duplicate()Ljava/nio/ByteBuffer;
|
|
|
|
move-result-object p1
|
|
|
|
.line 1265
|
|
invoke-virtual {p1}, Ljava/nio/ByteBuffer;->clear()Ljava/nio/Buffer;
|
|
|
|
.line 1266
|
|
invoke-virtual {p0, p1}, Landroidx/datastore/preferences/protobuf/CodedOutputStream$ArrayEncoder;->write(Ljava/nio/ByteBuffer;)V
|
|
|
|
:goto_0
|
|
return-void
|
|
.end method
|
|
|
|
.method public final writeRawMessageSetExtension(ILandroidx/datastore/preferences/protobuf/ByteString;)V
|
|
.locals 3
|
|
.annotation system Ldalvik/annotation/Throws;
|
|
value = {
|
|
Ljava/io/IOException;
|
|
}
|
|
.end annotation
|
|
|
|
const/4 v0, 0x1
|
|
|
|
const/4 v1, 0x3
|
|
|
|
.line 1297
|
|
invoke-virtual {p0, v0, v1}, Landroidx/datastore/preferences/protobuf/CodedOutputStream$ArrayEncoder;->writeTag(II)V
|
|
|
|
const/4 v2, 0x2
|
|
|
|
.line 1298
|
|
invoke-virtual {p0, v2, p1}, Landroidx/datastore/preferences/protobuf/CodedOutputStream$ArrayEncoder;->writeUInt32(II)V
|
|
|
|
.line 1299
|
|
invoke-virtual {p0, v1, p2}, Landroidx/datastore/preferences/protobuf/CodedOutputStream$ArrayEncoder;->writeBytes(ILandroidx/datastore/preferences/protobuf/ByteString;)V
|
|
|
|
const/4 p1, 0x4
|
|
|
|
.line 1300
|
|
invoke-virtual {p0, v0, p1}, Landroidx/datastore/preferences/protobuf/CodedOutputStream$ArrayEncoder;->writeTag(II)V
|
|
|
|
return-void
|
|
.end method
|
|
|
|
.method public final writeString(ILjava/lang/String;)V
|
|
.locals 1
|
|
.annotation system Ldalvik/annotation/Throws;
|
|
value = {
|
|
Ljava/io/IOException;
|
|
}
|
|
.end annotation
|
|
|
|
const/4 v0, 0x2
|
|
|
|
.line 1215
|
|
invoke-virtual {p0, p1, v0}, Landroidx/datastore/preferences/protobuf/CodedOutputStream$ArrayEncoder;->writeTag(II)V
|
|
|
|
.line 1216
|
|
invoke-virtual {p0, p2}, Landroidx/datastore/preferences/protobuf/CodedOutputStream$ArrayEncoder;->writeStringNoTag(Ljava/lang/String;)V
|
|
|
|
return-void
|
|
.end method
|
|
|
|
.method public final writeStringNoTag(Ljava/lang/String;)V
|
|
.locals 5
|
|
.annotation system Ldalvik/annotation/Throws;
|
|
value = {
|
|
Ljava/io/IOException;
|
|
}
|
|
.end annotation
|
|
|
|
iget v0, p0, Landroidx/datastore/preferences/protobuf/CodedOutputStream$ArrayEncoder;->position:I
|
|
|
|
.line 1482
|
|
:try_start_0
|
|
invoke-virtual {p1}, Ljava/lang/String;->length()I
|
|
|
|
move-result v1
|
|
|
|
mul-int/lit8 v1, v1, 0x3
|
|
|
|
.line 1483
|
|
invoke-static {v1}, Landroidx/datastore/preferences/protobuf/CodedOutputStream;->computeUInt32SizeNoTag(I)I
|
|
|
|
move-result v1
|
|
|
|
.line 1484
|
|
invoke-virtual {p1}, Ljava/lang/String;->length()I
|
|
|
|
move-result v2
|
|
|
|
invoke-static {v2}, Landroidx/datastore/preferences/protobuf/CodedOutputStream;->computeUInt32SizeNoTag(I)I
|
|
|
|
move-result v2
|
|
|
|
if-ne v2, v1, :cond_0
|
|
|
|
add-int v1, v0, v2
|
|
|
|
iput v1, p0, Landroidx/datastore/preferences/protobuf/CodedOutputStream$ArrayEncoder;->position:I
|
|
|
|
iget-object v3, p0, Landroidx/datastore/preferences/protobuf/CodedOutputStream$ArrayEncoder;->buffer:[B
|
|
|
|
.line 1487
|
|
invoke-virtual {p0}, Landroidx/datastore/preferences/protobuf/CodedOutputStream$ArrayEncoder;->spaceLeft()I
|
|
|
|
move-result v4
|
|
|
|
invoke-static {p1, v3, v1, v4}, Landroidx/datastore/preferences/protobuf/Utf8;->encode(Ljava/lang/CharSequence;[BII)I
|
|
|
|
move-result v1
|
|
|
|
iput v0, p0, Landroidx/datastore/preferences/protobuf/CodedOutputStream$ArrayEncoder;->position:I
|
|
|
|
sub-int v3, v1, v0
|
|
|
|
sub-int/2addr v3, v2
|
|
|
|
.line 1492
|
|
invoke-virtual {p0, v3}, Landroidx/datastore/preferences/protobuf/CodedOutputStream$ArrayEncoder;->writeUInt32NoTag(I)V
|
|
|
|
iput v1, p0, Landroidx/datastore/preferences/protobuf/CodedOutputStream$ArrayEncoder;->position:I
|
|
|
|
goto :goto_2
|
|
|
|
:catch_0
|
|
move-exception p1
|
|
|
|
goto :goto_0
|
|
|
|
:catch_1
|
|
move-exception v1
|
|
|
|
goto :goto_1
|
|
|
|
.line 1495
|
|
:cond_0
|
|
invoke-static {p1}, Landroidx/datastore/preferences/protobuf/Utf8;->encodedLength(Ljava/lang/CharSequence;)I
|
|
|
|
move-result v1
|
|
|
|
.line 1496
|
|
invoke-virtual {p0, v1}, Landroidx/datastore/preferences/protobuf/CodedOutputStream$ArrayEncoder;->writeUInt32NoTag(I)V
|
|
|
|
iget-object v1, p0, Landroidx/datastore/preferences/protobuf/CodedOutputStream$ArrayEncoder;->buffer:[B
|
|
|
|
iget v2, p0, Landroidx/datastore/preferences/protobuf/CodedOutputStream$ArrayEncoder;->position:I
|
|
|
|
.line 1497
|
|
invoke-virtual {p0}, Landroidx/datastore/preferences/protobuf/CodedOutputStream$ArrayEncoder;->spaceLeft()I
|
|
|
|
move-result v3
|
|
|
|
invoke-static {p1, v1, v2, v3}, Landroidx/datastore/preferences/protobuf/Utf8;->encode(Ljava/lang/CharSequence;[BII)I
|
|
|
|
move-result v1
|
|
|
|
iput v1, p0, Landroidx/datastore/preferences/protobuf/CodedOutputStream$ArrayEncoder;->position:I
|
|
:try_end_0
|
|
.catch Landroidx/datastore/preferences/protobuf/Utf8$UnpairedSurrogateException; {:try_start_0 .. :try_end_0} :catch_1
|
|
.catch Ljava/lang/IndexOutOfBoundsException; {:try_start_0 .. :try_end_0} :catch_0
|
|
|
|
goto :goto_2
|
|
|
|
.line 1506
|
|
:goto_0
|
|
new-instance v0, Landroidx/datastore/preferences/protobuf/CodedOutputStream$OutOfSpaceException;
|
|
|
|
invoke-direct {v0, p1}, Landroidx/datastore/preferences/protobuf/CodedOutputStream$OutOfSpaceException;-><init>(Ljava/lang/Throwable;)V
|
|
|
|
throw v0
|
|
|
|
:goto_1
|
|
iput v0, p0, Landroidx/datastore/preferences/protobuf/CodedOutputStream$ArrayEncoder;->position:I
|
|
|
|
.line 1504
|
|
invoke-virtual {p0, p1, v1}, Landroidx/datastore/preferences/protobuf/CodedOutputStream;->inefficientWriteStringNoTag(Ljava/lang/String;Landroidx/datastore/preferences/protobuf/Utf8$UnpairedSurrogateException;)V
|
|
|
|
:goto_2
|
|
return-void
|
|
.end method
|
|
|
|
.method public final writeTag(II)V
|
|
.locals 0
|
|
.annotation system Ldalvik/annotation/Throws;
|
|
value = {
|
|
Ljava/io/IOException;
|
|
}
|
|
.end annotation
|
|
|
|
.line 1174
|
|
invoke-static {p1, p2}, Landroidx/datastore/preferences/protobuf/WireFormat;->makeTag(II)I
|
|
|
|
move-result p1
|
|
|
|
invoke-virtual {p0, p1}, Landroidx/datastore/preferences/protobuf/CodedOutputStream$ArrayEncoder;->writeUInt32NoTag(I)V
|
|
|
|
return-void
|
|
.end method
|
|
|
|
.method public final writeUInt32(II)V
|
|
.locals 1
|
|
.annotation system Ldalvik/annotation/Throws;
|
|
value = {
|
|
Ljava/io/IOException;
|
|
}
|
|
.end annotation
|
|
|
|
const/4 v0, 0x0
|
|
|
|
.line 1185
|
|
invoke-virtual {p0, p1, v0}, Landroidx/datastore/preferences/protobuf/CodedOutputStream$ArrayEncoder;->writeTag(II)V
|
|
|
|
.line 1186
|
|
invoke-virtual {p0, p2}, Landroidx/datastore/preferences/protobuf/CodedOutputStream$ArrayEncoder;->writeUInt32NoTag(I)V
|
|
|
|
return-void
|
|
.end method
|
|
|
|
.method public final writeUInt32NoTag(I)V
|
|
.locals 4
|
|
.annotation system Ldalvik/annotation/Throws;
|
|
value = {
|
|
Ljava/io/IOException;
|
|
}
|
|
.end annotation
|
|
|
|
.line 1337
|
|
invoke-static {}, Landroidx/datastore/preferences/protobuf/CodedOutputStream;->access$100()Z
|
|
|
|
move-result v0
|
|
|
|
if-eqz v0, :cond_4
|
|
|
|
.line 1338
|
|
invoke-static {}, Landroidx/datastore/preferences/protobuf/Android;->isOnAndroidDevice()Z
|
|
|
|
move-result v0
|
|
|
|
if-nez v0, :cond_4
|
|
|
|
.line 1339
|
|
invoke-virtual {p0}, Landroidx/datastore/preferences/protobuf/CodedOutputStream$ArrayEncoder;->spaceLeft()I
|
|
|
|
move-result v0
|
|
|
|
const/4 v1, 0x5
|
|
|
|
if-lt v0, v1, :cond_4
|
|
|
|
and-int/lit8 v0, p1, -0x80
|
|
|
|
if-nez v0, :cond_0
|
|
|
|
iget-object v0, p0, Landroidx/datastore/preferences/protobuf/CodedOutputStream$ArrayEncoder;->buffer:[B
|
|
|
|
iget v1, p0, Landroidx/datastore/preferences/protobuf/CodedOutputStream$ArrayEncoder;->position:I
|
|
|
|
add-int/lit8 v2, v1, 0x1
|
|
|
|
iput v2, p0, Landroidx/datastore/preferences/protobuf/CodedOutputStream$ArrayEncoder;->position:I
|
|
|
|
int-to-long v1, v1
|
|
|
|
int-to-byte p1, p1
|
|
|
|
.line 1341
|
|
invoke-static {v0, v1, v2, p1}, Landroidx/datastore/preferences/protobuf/UnsafeUtil;->putByte([BJB)V
|
|
|
|
return-void
|
|
|
|
:cond_0
|
|
iget-object v0, p0, Landroidx/datastore/preferences/protobuf/CodedOutputStream$ArrayEncoder;->buffer:[B
|
|
|
|
iget v1, p0, Landroidx/datastore/preferences/protobuf/CodedOutputStream$ArrayEncoder;->position:I
|
|
|
|
add-int/lit8 v2, v1, 0x1
|
|
|
|
iput v2, p0, Landroidx/datastore/preferences/protobuf/CodedOutputStream$ArrayEncoder;->position:I
|
|
|
|
int-to-long v1, v1
|
|
|
|
or-int/lit16 v3, p1, 0x80
|
|
|
|
int-to-byte v3, v3
|
|
|
|
.line 1344
|
|
invoke-static {v0, v1, v2, v3}, Landroidx/datastore/preferences/protobuf/UnsafeUtil;->putByte([BJB)V
|
|
|
|
ushr-int/lit8 v0, p1, 0x7
|
|
|
|
and-int/lit8 v1, v0, -0x80
|
|
|
|
if-nez v1, :cond_1
|
|
|
|
iget-object p1, p0, Landroidx/datastore/preferences/protobuf/CodedOutputStream$ArrayEncoder;->buffer:[B
|
|
|
|
iget v1, p0, Landroidx/datastore/preferences/protobuf/CodedOutputStream$ArrayEncoder;->position:I
|
|
|
|
add-int/lit8 v2, v1, 0x1
|
|
|
|
iput v2, p0, Landroidx/datastore/preferences/protobuf/CodedOutputStream$ArrayEncoder;->position:I
|
|
|
|
int-to-long v1, v1
|
|
|
|
int-to-byte v0, v0
|
|
|
|
.line 1347
|
|
invoke-static {p1, v1, v2, v0}, Landroidx/datastore/preferences/protobuf/UnsafeUtil;->putByte([BJB)V
|
|
|
|
return-void
|
|
|
|
:cond_1
|
|
iget-object v1, p0, Landroidx/datastore/preferences/protobuf/CodedOutputStream$ArrayEncoder;->buffer:[B
|
|
|
|
iget v2, p0, Landroidx/datastore/preferences/protobuf/CodedOutputStream$ArrayEncoder;->position:I
|
|
|
|
add-int/lit8 v3, v2, 0x1
|
|
|
|
iput v3, p0, Landroidx/datastore/preferences/protobuf/CodedOutputStream$ArrayEncoder;->position:I
|
|
|
|
int-to-long v2, v2
|
|
|
|
or-int/lit16 v0, v0, 0x80
|
|
|
|
int-to-byte v0, v0
|
|
|
|
.line 1350
|
|
invoke-static {v1, v2, v3, v0}, Landroidx/datastore/preferences/protobuf/UnsafeUtil;->putByte([BJB)V
|
|
|
|
ushr-int/lit8 v0, p1, 0xe
|
|
|
|
and-int/lit8 v1, v0, -0x80
|
|
|
|
if-nez v1, :cond_2
|
|
|
|
iget-object p1, p0, Landroidx/datastore/preferences/protobuf/CodedOutputStream$ArrayEncoder;->buffer:[B
|
|
|
|
iget v1, p0, Landroidx/datastore/preferences/protobuf/CodedOutputStream$ArrayEncoder;->position:I
|
|
|
|
add-int/lit8 v2, v1, 0x1
|
|
|
|
iput v2, p0, Landroidx/datastore/preferences/protobuf/CodedOutputStream$ArrayEncoder;->position:I
|
|
|
|
int-to-long v1, v1
|
|
|
|
int-to-byte v0, v0
|
|
|
|
.line 1353
|
|
invoke-static {p1, v1, v2, v0}, Landroidx/datastore/preferences/protobuf/UnsafeUtil;->putByte([BJB)V
|
|
|
|
return-void
|
|
|
|
:cond_2
|
|
iget-object v1, p0, Landroidx/datastore/preferences/protobuf/CodedOutputStream$ArrayEncoder;->buffer:[B
|
|
|
|
iget v2, p0, Landroidx/datastore/preferences/protobuf/CodedOutputStream$ArrayEncoder;->position:I
|
|
|
|
add-int/lit8 v3, v2, 0x1
|
|
|
|
iput v3, p0, Landroidx/datastore/preferences/protobuf/CodedOutputStream$ArrayEncoder;->position:I
|
|
|
|
int-to-long v2, v2
|
|
|
|
or-int/lit16 v0, v0, 0x80
|
|
|
|
int-to-byte v0, v0
|
|
|
|
.line 1356
|
|
invoke-static {v1, v2, v3, v0}, Landroidx/datastore/preferences/protobuf/UnsafeUtil;->putByte([BJB)V
|
|
|
|
ushr-int/lit8 v0, p1, 0x15
|
|
|
|
and-int/lit8 v1, v0, -0x80
|
|
|
|
if-nez v1, :cond_3
|
|
|
|
iget-object p1, p0, Landroidx/datastore/preferences/protobuf/CodedOutputStream$ArrayEncoder;->buffer:[B
|
|
|
|
iget v1, p0, Landroidx/datastore/preferences/protobuf/CodedOutputStream$ArrayEncoder;->position:I
|
|
|
|
add-int/lit8 v2, v1, 0x1
|
|
|
|
iput v2, p0, Landroidx/datastore/preferences/protobuf/CodedOutputStream$ArrayEncoder;->position:I
|
|
|
|
int-to-long v1, v1
|
|
|
|
int-to-byte v0, v0
|
|
|
|
.line 1359
|
|
invoke-static {p1, v1, v2, v0}, Landroidx/datastore/preferences/protobuf/UnsafeUtil;->putByte([BJB)V
|
|
|
|
return-void
|
|
|
|
:cond_3
|
|
iget-object v1, p0, Landroidx/datastore/preferences/protobuf/CodedOutputStream$ArrayEncoder;->buffer:[B
|
|
|
|
iget v2, p0, Landroidx/datastore/preferences/protobuf/CodedOutputStream$ArrayEncoder;->position:I
|
|
|
|
add-int/lit8 v3, v2, 0x1
|
|
|
|
iput v3, p0, Landroidx/datastore/preferences/protobuf/CodedOutputStream$ArrayEncoder;->position:I
|
|
|
|
int-to-long v2, v2
|
|
|
|
or-int/lit16 v0, v0, 0x80
|
|
|
|
int-to-byte v0, v0
|
|
|
|
.line 1362
|
|
invoke-static {v1, v2, v3, v0}, Landroidx/datastore/preferences/protobuf/UnsafeUtil;->putByte([BJB)V
|
|
|
|
ushr-int/lit8 p1, p1, 0x1c
|
|
|
|
iget-object v0, p0, Landroidx/datastore/preferences/protobuf/CodedOutputStream$ArrayEncoder;->buffer:[B
|
|
|
|
iget v1, p0, Landroidx/datastore/preferences/protobuf/CodedOutputStream$ArrayEncoder;->position:I
|
|
|
|
add-int/lit8 v2, v1, 0x1
|
|
|
|
iput v2, p0, Landroidx/datastore/preferences/protobuf/CodedOutputStream$ArrayEncoder;->position:I
|
|
|
|
int-to-long v1, v1
|
|
|
|
int-to-byte p1, p1
|
|
|
|
.line 1364
|
|
invoke-static {v0, v1, v2, p1}, Landroidx/datastore/preferences/protobuf/UnsafeUtil;->putByte([BJB)V
|
|
|
|
return-void
|
|
|
|
:cond_4
|
|
:goto_0
|
|
and-int/lit8 v0, p1, -0x80
|
|
|
|
if-nez v0, :cond_5
|
|
|
|
:try_start_0
|
|
iget-object v0, p0, Landroidx/datastore/preferences/protobuf/CodedOutputStream$ArrayEncoder;->buffer:[B
|
|
|
|
iget v1, p0, Landroidx/datastore/preferences/protobuf/CodedOutputStream$ArrayEncoder;->position:I
|
|
|
|
add-int/lit8 v2, v1, 0x1
|
|
|
|
iput v2, p0, Landroidx/datastore/preferences/protobuf/CodedOutputStream$ArrayEncoder;->position:I
|
|
|
|
int-to-byte p1, p1
|
|
|
|
.line 1369
|
|
aput-byte p1, v0, v1
|
|
|
|
return-void
|
|
|
|
:catch_0
|
|
move-exception p1
|
|
|
|
goto :goto_1
|
|
|
|
:cond_5
|
|
iget-object v0, p0, Landroidx/datastore/preferences/protobuf/CodedOutputStream$ArrayEncoder;->buffer:[B
|
|
|
|
iget v1, p0, Landroidx/datastore/preferences/protobuf/CodedOutputStream$ArrayEncoder;->position:I
|
|
|
|
add-int/lit8 v2, v1, 0x1
|
|
|
|
iput v2, p0, Landroidx/datastore/preferences/protobuf/CodedOutputStream$ArrayEncoder;->position:I
|
|
|
|
and-int/lit8 v2, p1, 0x7f
|
|
|
|
or-int/lit16 v2, v2, 0x80
|
|
|
|
int-to-byte v2, v2
|
|
|
|
.line 1372
|
|
aput-byte v2, v0, v1
|
|
:try_end_0
|
|
.catch Ljava/lang/IndexOutOfBoundsException; {:try_start_0 .. :try_end_0} :catch_0
|
|
|
|
ushr-int/lit8 p1, p1, 0x7
|
|
|
|
goto :goto_0
|
|
|
|
.line 1377
|
|
:goto_1
|
|
new-instance v0, Landroidx/datastore/preferences/protobuf/CodedOutputStream$OutOfSpaceException;
|
|
|
|
iget v1, p0, Landroidx/datastore/preferences/protobuf/CodedOutputStream$ArrayEncoder;->position:I
|
|
|
|
.line 1378
|
|
invoke-static {v1}, Ljava/lang/Integer;->valueOf(I)Ljava/lang/Integer;
|
|
|
|
move-result-object v1
|
|
|
|
iget v2, p0, Landroidx/datastore/preferences/protobuf/CodedOutputStream$ArrayEncoder;->limit:I
|
|
|
|
invoke-static {v2}, Ljava/lang/Integer;->valueOf(I)Ljava/lang/Integer;
|
|
|
|
move-result-object v2
|
|
|
|
const/4 v3, 0x1
|
|
|
|
invoke-static {v3}, Ljava/lang/Integer;->valueOf(I)Ljava/lang/Integer;
|
|
|
|
move-result-object v3
|
|
|
|
filled-new-array {v1, v2, v3}, [Ljava/lang/Object;
|
|
|
|
move-result-object v1
|
|
|
|
const-string v2, "Pos: %d, limit: %d, len: %d"
|
|
|
|
invoke-static {v2, v1}, Ljava/lang/String;->format(Ljava/lang/String;[Ljava/lang/Object;)Ljava/lang/String;
|
|
|
|
move-result-object v1
|
|
|
|
invoke-direct {v0, v1, p1}, Landroidx/datastore/preferences/protobuf/CodedOutputStream$OutOfSpaceException;-><init>(Ljava/lang/String;Ljava/lang/Throwable;)V
|
|
|
|
throw v0
|
|
.end method
|
|
|
|
.method public final writeUInt64(IJ)V
|
|
.locals 1
|
|
.annotation system Ldalvik/annotation/Throws;
|
|
value = {
|
|
Ljava/io/IOException;
|
|
}
|
|
.end annotation
|
|
|
|
const/4 v0, 0x0
|
|
|
|
.line 1197
|
|
invoke-virtual {p0, p1, v0}, Landroidx/datastore/preferences/protobuf/CodedOutputStream$ArrayEncoder;->writeTag(II)V
|
|
|
|
.line 1198
|
|
invoke-virtual {p0, p2, p3}, Landroidx/datastore/preferences/protobuf/CodedOutputStream$ArrayEncoder;->writeUInt64NoTag(J)V
|
|
|
|
return-void
|
|
.end method
|
|
|
|
.method public final writeUInt64NoTag(J)V
|
|
.locals 9
|
|
.annotation system Ldalvik/annotation/Throws;
|
|
value = {
|
|
Ljava/io/IOException;
|
|
}
|
|
.end annotation
|
|
|
|
.line 1398
|
|
invoke-static {}, Landroidx/datastore/preferences/protobuf/CodedOutputStream;->access$100()Z
|
|
|
|
move-result v0
|
|
|
|
const/4 v1, 0x7
|
|
|
|
const-wide/16 v2, 0x0
|
|
|
|
const-wide/16 v4, -0x80
|
|
|
|
if-eqz v0, :cond_1
|
|
|
|
invoke-virtual {p0}, Landroidx/datastore/preferences/protobuf/CodedOutputStream$ArrayEncoder;->spaceLeft()I
|
|
|
|
move-result v0
|
|
|
|
const/16 v6, 0xa
|
|
|
|
if-lt v0, v6, :cond_1
|
|
|
|
:goto_0
|
|
and-long v6, p1, v4
|
|
|
|
cmp-long v0, v6, v2
|
|
|
|
if-nez v0, :cond_0
|
|
|
|
iget-object v0, p0, Landroidx/datastore/preferences/protobuf/CodedOutputStream$ArrayEncoder;->buffer:[B
|
|
|
|
iget v1, p0, Landroidx/datastore/preferences/protobuf/CodedOutputStream$ArrayEncoder;->position:I
|
|
|
|
add-int/lit8 v2, v1, 0x1
|
|
|
|
iput v2, p0, Landroidx/datastore/preferences/protobuf/CodedOutputStream$ArrayEncoder;->position:I
|
|
|
|
int-to-long v1, v1
|
|
|
|
long-to-int p1, p1
|
|
|
|
int-to-byte p1, p1
|
|
|
|
.line 1401
|
|
invoke-static {v0, v1, v2, p1}, Landroidx/datastore/preferences/protobuf/UnsafeUtil;->putByte([BJB)V
|
|
|
|
return-void
|
|
|
|
:cond_0
|
|
iget-object v0, p0, Landroidx/datastore/preferences/protobuf/CodedOutputStream$ArrayEncoder;->buffer:[B
|
|
|
|
iget v6, p0, Landroidx/datastore/preferences/protobuf/CodedOutputStream$ArrayEncoder;->position:I
|
|
|
|
add-int/lit8 v7, v6, 0x1
|
|
|
|
iput v7, p0, Landroidx/datastore/preferences/protobuf/CodedOutputStream$ArrayEncoder;->position:I
|
|
|
|
int-to-long v6, v6
|
|
|
|
long-to-int v8, p1
|
|
|
|
and-int/lit8 v8, v8, 0x7f
|
|
|
|
or-int/lit16 v8, v8, 0x80
|
|
|
|
int-to-byte v8, v8
|
|
|
|
.line 1404
|
|
invoke-static {v0, v6, v7, v8}, Landroidx/datastore/preferences/protobuf/UnsafeUtil;->putByte([BJB)V
|
|
|
|
ushr-long/2addr p1, v1
|
|
|
|
goto :goto_0
|
|
|
|
:cond_1
|
|
:goto_1
|
|
and-long v6, p1, v4
|
|
|
|
cmp-long v0, v6, v2
|
|
|
|
if-nez v0, :cond_2
|
|
|
|
:try_start_0
|
|
iget-object v0, p0, Landroidx/datastore/preferences/protobuf/CodedOutputStream$ArrayEncoder;->buffer:[B
|
|
|
|
iget v1, p0, Landroidx/datastore/preferences/protobuf/CodedOutputStream$ArrayEncoder;->position:I
|
|
|
|
add-int/lit8 v2, v1, 0x1
|
|
|
|
iput v2, p0, Landroidx/datastore/preferences/protobuf/CodedOutputStream$ArrayEncoder;->position:I
|
|
|
|
long-to-int p1, p1
|
|
|
|
int-to-byte p1, p1
|
|
|
|
.line 1412
|
|
aput-byte p1, v0, v1
|
|
|
|
return-void
|
|
|
|
:catch_0
|
|
move-exception p1
|
|
|
|
goto :goto_2
|
|
|
|
:cond_2
|
|
iget-object v0, p0, Landroidx/datastore/preferences/protobuf/CodedOutputStream$ArrayEncoder;->buffer:[B
|
|
|
|
iget v6, p0, Landroidx/datastore/preferences/protobuf/CodedOutputStream$ArrayEncoder;->position:I
|
|
|
|
add-int/lit8 v7, v6, 0x1
|
|
|
|
iput v7, p0, Landroidx/datastore/preferences/protobuf/CodedOutputStream$ArrayEncoder;->position:I
|
|
|
|
long-to-int v7, p1
|
|
|
|
and-int/lit8 v7, v7, 0x7f
|
|
|
|
or-int/lit16 v7, v7, 0x80
|
|
|
|
int-to-byte v7, v7
|
|
|
|
.line 1415
|
|
aput-byte v7, v0, v6
|
|
:try_end_0
|
|
.catch Ljava/lang/IndexOutOfBoundsException; {:try_start_0 .. :try_end_0} :catch_0
|
|
|
|
ushr-long/2addr p1, v1
|
|
|
|
goto :goto_1
|
|
|
|
.line 1420
|
|
:goto_2
|
|
new-instance p2, Landroidx/datastore/preferences/protobuf/CodedOutputStream$OutOfSpaceException;
|
|
|
|
iget v0, p0, Landroidx/datastore/preferences/protobuf/CodedOutputStream$ArrayEncoder;->position:I
|
|
|
|
.line 1421
|
|
invoke-static {v0}, Ljava/lang/Integer;->valueOf(I)Ljava/lang/Integer;
|
|
|
|
move-result-object v0
|
|
|
|
iget v1, p0, Landroidx/datastore/preferences/protobuf/CodedOutputStream$ArrayEncoder;->limit:I
|
|
|
|
invoke-static {v1}, Ljava/lang/Integer;->valueOf(I)Ljava/lang/Integer;
|
|
|
|
move-result-object v1
|
|
|
|
const/4 v2, 0x1
|
|
|
|
invoke-static {v2}, Ljava/lang/Integer;->valueOf(I)Ljava/lang/Integer;
|
|
|
|
move-result-object v2
|
|
|
|
filled-new-array {v0, v1, v2}, [Ljava/lang/Object;
|
|
|
|
move-result-object v0
|
|
|
|
const-string v1, "Pos: %d, limit: %d, len: %d"
|
|
|
|
invoke-static {v1, v0}, Ljava/lang/String;->format(Ljava/lang/String;[Ljava/lang/Object;)Ljava/lang/String;
|
|
|
|
move-result-object v0
|
|
|
|
invoke-direct {p2, v0, p1}, Landroidx/datastore/preferences/protobuf/CodedOutputStream$OutOfSpaceException;-><init>(Ljava/lang/String;Ljava/lang/Throwable;)V
|
|
|
|
throw p2
|
|
.end method
|