- 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
236 lines
5.8 KiB
Smali
236 lines
5.8 KiB
Smali
.class public Lcom/google/common/collect/ImmutableMap$SerializedForm;
|
|
.super Ljava/lang/Object;
|
|
.source "SourceFile"
|
|
|
|
# interfaces
|
|
.implements Ljava/io/Serializable;
|
|
|
|
|
|
# annotations
|
|
.annotation system Ldalvik/annotation/EnclosingClass;
|
|
value = Lcom/google/common/collect/ImmutableMap;
|
|
.end annotation
|
|
|
|
.annotation system Ldalvik/annotation/InnerClass;
|
|
accessFlags = 0x9
|
|
name = "SerializedForm"
|
|
.end annotation
|
|
|
|
|
|
# static fields
|
|
.field private static final serialVersionUID:J
|
|
|
|
|
|
# instance fields
|
|
.field public final keys:Ljava/lang/Object;
|
|
|
|
.field public final values:Ljava/lang/Object;
|
|
|
|
|
|
# direct methods
|
|
.method public constructor <init>(Lcom/google/common/collect/ImmutableMap;)V
|
|
.locals 5
|
|
|
|
.line 1060
|
|
invoke-direct {p0}, Ljava/lang/Object;-><init>()V
|
|
|
|
.line 1062
|
|
invoke-interface {p1}, Ljava/util/Map;->size()I
|
|
|
|
move-result v0
|
|
|
|
new-array v0, v0, [Ljava/lang/Object;
|
|
|
|
.line 1063
|
|
invoke-interface {p1}, Ljava/util/Map;->size()I
|
|
|
|
move-result v1
|
|
|
|
new-array v1, v1, [Ljava/lang/Object;
|
|
|
|
.line 1066
|
|
invoke-virtual {p1}, Lcom/google/common/collect/ImmutableMap;->entrySet()Lcom/google/common/collect/ImmutableSet;
|
|
|
|
move-result-object p1
|
|
|
|
invoke-virtual {p1}, Lcom/google/common/collect/ImmutableSet;->iterator()Lcom/google/common/collect/UnmodifiableIterator;
|
|
|
|
move-result-object p1
|
|
|
|
const/4 v2, 0x0
|
|
|
|
:goto_0
|
|
invoke-interface {p1}, Ljava/util/Iterator;->hasNext()Z
|
|
|
|
move-result v3
|
|
|
|
if-eqz v3, :cond_0
|
|
|
|
invoke-interface {p1}, Ljava/util/Iterator;->next()Ljava/lang/Object;
|
|
|
|
move-result-object v3
|
|
|
|
check-cast v3, Ljava/util/Map$Entry;
|
|
|
|
.line 1067
|
|
invoke-interface {v3}, Ljava/util/Map$Entry;->getKey()Ljava/lang/Object;
|
|
|
|
move-result-object v4
|
|
|
|
aput-object v4, v0, v2
|
|
|
|
.line 1068
|
|
invoke-interface {v3}, Ljava/util/Map$Entry;->getValue()Ljava/lang/Object;
|
|
|
|
move-result-object v3
|
|
|
|
aput-object v3, v1, v2
|
|
|
|
add-int/lit8 v2, v2, 0x1
|
|
|
|
goto :goto_0
|
|
|
|
:cond_0
|
|
iput-object v0, p0, Lcom/google/common/collect/ImmutableMap$SerializedForm;->keys:Ljava/lang/Object;
|
|
|
|
iput-object v1, p0, Lcom/google/common/collect/ImmutableMap$SerializedForm;->values:Ljava/lang/Object;
|
|
|
|
return-void
|
|
.end method
|
|
|
|
|
|
# virtual methods
|
|
.method public final legacyReadResolve()Ljava/lang/Object;
|
|
.locals 6
|
|
|
|
iget-object v0, p0, Lcom/google/common/collect/ImmutableMap$SerializedForm;->keys:Ljava/lang/Object;
|
|
|
|
.line 1102
|
|
check-cast v0, [Ljava/lang/Object;
|
|
|
|
iget-object v1, p0, Lcom/google/common/collect/ImmutableMap$SerializedForm;->values:Ljava/lang/Object;
|
|
|
|
.line 1103
|
|
check-cast v1, [Ljava/lang/Object;
|
|
|
|
.line 1105
|
|
array-length v2, v0
|
|
|
|
invoke-virtual {p0, v2}, Lcom/google/common/collect/ImmutableMap$SerializedForm;->makeBuilder(I)Lcom/google/common/collect/ImmutableMap$Builder;
|
|
|
|
move-result-object v2
|
|
|
|
const/4 v3, 0x0
|
|
|
|
.line 1107
|
|
:goto_0
|
|
array-length v4, v0
|
|
|
|
if-ge v3, v4, :cond_0
|
|
|
|
.line 1108
|
|
aget-object v4, v0, v3
|
|
|
|
aget-object v5, v1, v3
|
|
|
|
invoke-virtual {v2, v4, v5}, Lcom/google/common/collect/ImmutableMap$Builder;->put(Ljava/lang/Object;Ljava/lang/Object;)Lcom/google/common/collect/ImmutableMap$Builder;
|
|
|
|
add-int/lit8 v3, v3, 0x1
|
|
|
|
goto :goto_0
|
|
|
|
.line 1110
|
|
:cond_0
|
|
invoke-virtual {v2}, Lcom/google/common/collect/ImmutableMap$Builder;->buildOrThrow()Lcom/google/common/collect/ImmutableMap;
|
|
|
|
move-result-object v0
|
|
|
|
return-object v0
|
|
.end method
|
|
|
|
.method public makeBuilder(I)Lcom/google/common/collect/ImmutableMap$Builder;
|
|
.locals 1
|
|
|
|
.line 1117
|
|
new-instance v0, Lcom/google/common/collect/ImmutableMap$Builder;
|
|
|
|
invoke-direct {v0, p1}, Lcom/google/common/collect/ImmutableMap$Builder;-><init>(I)V
|
|
|
|
return-object v0
|
|
.end method
|
|
|
|
.method public final readResolve()Ljava/lang/Object;
|
|
.locals 5
|
|
|
|
iget-object v0, p0, Lcom/google/common/collect/ImmutableMap$SerializedForm;->keys:Ljava/lang/Object;
|
|
|
|
.line 1081
|
|
instance-of v1, v0, Lcom/google/common/collect/ImmutableSet;
|
|
|
|
if-nez v1, :cond_0
|
|
|
|
.line 1082
|
|
invoke-virtual {p0}, Lcom/google/common/collect/ImmutableMap$SerializedForm;->legacyReadResolve()Ljava/lang/Object;
|
|
|
|
move-result-object v0
|
|
|
|
return-object v0
|
|
|
|
.line 1085
|
|
:cond_0
|
|
check-cast v0, Lcom/google/common/collect/ImmutableSet;
|
|
|
|
iget-object v1, p0, Lcom/google/common/collect/ImmutableMap$SerializedForm;->values:Ljava/lang/Object;
|
|
|
|
.line 1086
|
|
check-cast v1, Lcom/google/common/collect/ImmutableCollection;
|
|
|
|
.line 1088
|
|
invoke-virtual {v0}, Ljava/util/AbstractCollection;->size()I
|
|
|
|
move-result v2
|
|
|
|
invoke-virtual {p0, v2}, Lcom/google/common/collect/ImmutableMap$SerializedForm;->makeBuilder(I)Lcom/google/common/collect/ImmutableMap$Builder;
|
|
|
|
move-result-object v2
|
|
|
|
.line 1090
|
|
invoke-virtual {v0}, Lcom/google/common/collect/ImmutableSet;->iterator()Lcom/google/common/collect/UnmodifiableIterator;
|
|
|
|
move-result-object v0
|
|
|
|
.line 1091
|
|
invoke-virtual {v1}, Lcom/google/common/collect/ImmutableCollection;->iterator()Lcom/google/common/collect/UnmodifiableIterator;
|
|
|
|
move-result-object v1
|
|
|
|
.line 1093
|
|
:goto_0
|
|
invoke-interface {v0}, Ljava/util/Iterator;->hasNext()Z
|
|
|
|
move-result v3
|
|
|
|
if-eqz v3, :cond_1
|
|
|
|
.line 1094
|
|
invoke-interface {v0}, Ljava/util/Iterator;->next()Ljava/lang/Object;
|
|
|
|
move-result-object v3
|
|
|
|
invoke-interface {v1}, Ljava/util/Iterator;->next()Ljava/lang/Object;
|
|
|
|
move-result-object v4
|
|
|
|
invoke-virtual {v2, v3, v4}, Lcom/google/common/collect/ImmutableMap$Builder;->put(Ljava/lang/Object;Ljava/lang/Object;)Lcom/google/common/collect/ImmutableMap$Builder;
|
|
|
|
goto :goto_0
|
|
|
|
.line 1097
|
|
:cond_1
|
|
invoke-virtual {v2}, Lcom/google/common/collect/ImmutableMap$Builder;->buildOrThrow()Lcom/google/common/collect/ImmutableMap;
|
|
|
|
move-result-object v0
|
|
|
|
return-object v0
|
|
.end method
|