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

269 lines
6.7 KiB
Smali

.class Landroidx/datastore/preferences/protobuf/MapFieldSchemaLite;
.super Ljava/lang/Object;
.source "SourceFile"
# interfaces
.implements Landroidx/datastore/preferences/protobuf/MapFieldSchema;
# direct methods
.method public constructor <init>()V
.locals 0
.line 36
invoke-direct {p0}, Ljava/lang/Object;-><init>()V
return-void
.end method
.method private static getSerializedSizeLite(ILjava/lang/Object;Ljava/lang/Object;)I
.locals 3
.annotation system Ldalvik/annotation/Signature;
value = {
"<K:",
"Ljava/lang/Object;",
"V:",
"Ljava/lang/Object;",
">(I",
"Ljava/lang/Object;",
"Ljava/lang/Object;",
")I"
}
.end annotation
.line 95
check-cast p1, Landroidx/datastore/preferences/protobuf/MapFieldLite;
.line 96
check-cast p2, Landroidx/datastore/preferences/protobuf/MapEntryLite;
.line 98
invoke-virtual {p1}, Ljava/util/AbstractMap;->isEmpty()Z
move-result v0
const/4 v1, 0x0
if-eqz v0, :cond_0
return v1
.line 102
:cond_0
invoke-virtual {p1}, Landroidx/datastore/preferences/protobuf/MapFieldLite;->entrySet()Ljava/util/Set;
move-result-object p1
invoke-interface {p1}, Ljava/util/Set;->iterator()Ljava/util/Iterator;
move-result-object p1
:goto_0
invoke-interface {p1}, Ljava/util/Iterator;->hasNext()Z
move-result v0
if-eqz v0, :cond_1
invoke-interface {p1}, Ljava/util/Iterator;->next()Ljava/lang/Object;
move-result-object v0
check-cast v0, Ljava/util/Map$Entry;
.line 103
invoke-interface {v0}, Ljava/util/Map$Entry;->getKey()Ljava/lang/Object;
move-result-object v2
invoke-interface {v0}, Ljava/util/Map$Entry;->getValue()Ljava/lang/Object;
move-result-object v0
invoke-virtual {p2, p0, v2, v0}, Landroidx/datastore/preferences/protobuf/MapEntryLite;->computeMessageSize(ILjava/lang/Object;Ljava/lang/Object;)I
move-result v0
add-int/2addr v1, v0
goto :goto_0
:cond_1
return v1
.end method
.method private static mergeFromLite(Ljava/lang/Object;Ljava/lang/Object;)Landroidx/datastore/preferences/protobuf/MapFieldLite;
.locals 1
.annotation system Ldalvik/annotation/Signature;
value = {
"<K:",
"Ljava/lang/Object;",
"V:",
"Ljava/lang/Object;",
">(",
"Ljava/lang/Object;",
"Ljava/lang/Object;",
")",
"Landroidx/datastore/preferences/protobuf/MapFieldLite<",
"TK;TV;>;"
}
.end annotation
.line 76
check-cast p0, Landroidx/datastore/preferences/protobuf/MapFieldLite;
.line 77
check-cast p1, Landroidx/datastore/preferences/protobuf/MapFieldLite;
.line 78
invoke-virtual {p1}, Ljava/util/AbstractMap;->isEmpty()Z
move-result v0
if-nez v0, :cond_1
.line 79
invoke-virtual {p0}, Landroidx/datastore/preferences/protobuf/MapFieldLite;->isMutable()Z
move-result v0
if-nez v0, :cond_0
.line 80
invoke-virtual {p0}, Landroidx/datastore/preferences/protobuf/MapFieldLite;->mutableCopy()Landroidx/datastore/preferences/protobuf/MapFieldLite;
move-result-object p0
.line 82
:cond_0
invoke-virtual {p0, p1}, Landroidx/datastore/preferences/protobuf/MapFieldLite;->mergeFrom(Landroidx/datastore/preferences/protobuf/MapFieldLite;)V
:cond_1
return-object p0
.end method
# virtual methods
.method public forMapData(Ljava/lang/Object;)Ljava/util/Map;
.locals 0
.annotation system Ldalvik/annotation/Signature;
value = {
"(",
"Ljava/lang/Object;",
")",
"Ljava/util/Map<",
"**>;"
}
.end annotation
.line 50
check-cast p1, Landroidx/datastore/preferences/protobuf/MapFieldLite;
return-object p1
.end method
.method public forMapMetadata(Ljava/lang/Object;)Landroidx/datastore/preferences/protobuf/MapEntryLite$Metadata;
.locals 0
.annotation system Ldalvik/annotation/Signature;
value = {
"(",
"Ljava/lang/Object;",
")",
"Landroidx/datastore/preferences/protobuf/MapEntryLite$Metadata<",
"**>;"
}
.end annotation
.line 45
check-cast p1, Landroidx/datastore/preferences/protobuf/MapEntryLite;
invoke-virtual {p1}, Landroidx/datastore/preferences/protobuf/MapEntryLite;->getMetadata()Landroidx/datastore/preferences/protobuf/MapEntryLite$Metadata;
move-result-object p1
return-object p1
.end method
.method public forMutableMapData(Ljava/lang/Object;)Ljava/util/Map;
.locals 0
.annotation system Ldalvik/annotation/Signature;
value = {
"(",
"Ljava/lang/Object;",
")",
"Ljava/util/Map<",
"**>;"
}
.end annotation
.line 40
check-cast p1, Landroidx/datastore/preferences/protobuf/MapFieldLite;
return-object p1
.end method
.method public getSerializedSize(ILjava/lang/Object;Ljava/lang/Object;)I
.locals 0
.line 89
invoke-static {p1, p2, p3}, Landroidx/datastore/preferences/protobuf/MapFieldSchemaLite;->getSerializedSizeLite(ILjava/lang/Object;Ljava/lang/Object;)I
move-result p1
return p1
.end method
.method public isImmutable(Ljava/lang/Object;)Z
.locals 0
.line 55
check-cast p1, Landroidx/datastore/preferences/protobuf/MapFieldLite;
invoke-virtual {p1}, Landroidx/datastore/preferences/protobuf/MapFieldLite;->isMutable()Z
move-result p1
xor-int/lit8 p1, p1, 0x1
return p1
.end method
.method public mergeFrom(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;
.locals 0
.line 71
invoke-static {p1, p2}, Landroidx/datastore/preferences/protobuf/MapFieldSchemaLite;->mergeFromLite(Ljava/lang/Object;Ljava/lang/Object;)Landroidx/datastore/preferences/protobuf/MapFieldLite;
move-result-object p1
return-object p1
.end method
.method public newMapField(Ljava/lang/Object;)Ljava/lang/Object;
.locals 0
.line 66
invoke-static {}, Landroidx/datastore/preferences/protobuf/MapFieldLite;->emptyMapField()Landroidx/datastore/preferences/protobuf/MapFieldLite;
move-result-object p1
invoke-virtual {p1}, Landroidx/datastore/preferences/protobuf/MapFieldLite;->mutableCopy()Landroidx/datastore/preferences/protobuf/MapFieldLite;
move-result-object p1
return-object p1
.end method
.method public toImmutable(Ljava/lang/Object;)Ljava/lang/Object;
.locals 1
.line 60
move-object v0, p1
check-cast v0, Landroidx/datastore/preferences/protobuf/MapFieldLite;
invoke-virtual {v0}, Landroidx/datastore/preferences/protobuf/MapFieldLite;->makeImmutable()V
return-object p1
.end method