- 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
239 lines
5.3 KiB
Smali
239 lines
5.3 KiB
Smali
.class public Lcom/google/firebase/components/LazySet;
|
|
.super Ljava/lang/Object;
|
|
.source "SourceFile"
|
|
|
|
# interfaces
|
|
.implements Lcom/google/firebase/inject/Provider;
|
|
|
|
|
|
# instance fields
|
|
.field public volatile actualSet:Ljava/util/Set;
|
|
|
|
.field public volatile providers:Ljava/util/Set;
|
|
|
|
|
|
# direct methods
|
|
.method public constructor <init>(Ljava/util/Collection;)V
|
|
.locals 1
|
|
|
|
.line 36
|
|
invoke-direct {p0}, Ljava/lang/Object;-><init>()V
|
|
|
|
const/4 v0, 0x0
|
|
|
|
iput-object v0, p0, Lcom/google/firebase/components/LazySet;->actualSet:Ljava/util/Set;
|
|
|
|
.line 37
|
|
new-instance v0, Ljava/util/concurrent/ConcurrentHashMap;
|
|
|
|
invoke-direct {v0}, Ljava/util/concurrent/ConcurrentHashMap;-><init>()V
|
|
|
|
invoke-static {v0}, Ljava/util/Collections;->newSetFromMap(Ljava/util/Map;)Ljava/util/Set;
|
|
|
|
move-result-object v0
|
|
|
|
iput-object v0, p0, Lcom/google/firebase/components/LazySet;->providers:Ljava/util/Set;
|
|
|
|
iget-object v0, p0, Lcom/google/firebase/components/LazySet;->providers:Ljava/util/Set;
|
|
|
|
.line 38
|
|
invoke-interface {v0, p1}, Ljava/util/Set;->addAll(Ljava/util/Collection;)Z
|
|
|
|
return-void
|
|
.end method
|
|
|
|
.method public static fromCollection(Ljava/util/Collection;)Lcom/google/firebase/components/LazySet;
|
|
.locals 1
|
|
|
|
.line 43
|
|
check-cast p0, Ljava/util/Set;
|
|
|
|
.line 44
|
|
new-instance v0, Lcom/google/firebase/components/LazySet;
|
|
|
|
invoke-direct {v0, p0}, Lcom/google/firebase/components/LazySet;-><init>(Ljava/util/Collection;)V
|
|
|
|
return-object v0
|
|
.end method
|
|
|
|
|
|
# virtual methods
|
|
.method public declared-synchronized add(Lcom/google/firebase/inject/Provider;)V
|
|
.locals 1
|
|
|
|
monitor-enter p0
|
|
|
|
:try_start_0
|
|
iget-object v0, p0, Lcom/google/firebase/components/LazySet;->actualSet:Ljava/util/Set;
|
|
|
|
if-nez v0, :cond_0
|
|
|
|
iget-object v0, p0, Lcom/google/firebase/components/LazySet;->providers:Ljava/util/Set;
|
|
|
|
.line 62
|
|
invoke-interface {v0, p1}, Ljava/util/Set;->add(Ljava/lang/Object;)Z
|
|
|
|
goto :goto_0
|
|
|
|
:catchall_0
|
|
move-exception p1
|
|
|
|
goto :goto_1
|
|
|
|
:cond_0
|
|
iget-object v0, p0, Lcom/google/firebase/components/LazySet;->actualSet:Ljava/util/Set;
|
|
|
|
.line 64
|
|
invoke-interface {p1}, Lcom/google/firebase/inject/Provider;->get()Ljava/lang/Object;
|
|
|
|
move-result-object p1
|
|
|
|
invoke-interface {v0, p1}, Ljava/util/Set;->add(Ljava/lang/Object;)Z
|
|
:try_end_0
|
|
.catchall {:try_start_0 .. :try_end_0} :catchall_0
|
|
|
|
.line 66
|
|
:goto_0
|
|
monitor-exit p0
|
|
|
|
return-void
|
|
|
|
:goto_1
|
|
monitor-exit p0
|
|
|
|
throw p1
|
|
.end method
|
|
|
|
.method public bridge synthetic get()Ljava/lang/Object;
|
|
.locals 1
|
|
|
|
.line 31
|
|
invoke-virtual {p0}, Lcom/google/firebase/components/LazySet;->get()Ljava/util/Set;
|
|
|
|
move-result-object v0
|
|
|
|
return-object v0
|
|
.end method
|
|
|
|
.method public get()Ljava/util/Set;
|
|
.locals 1
|
|
|
|
iget-object v0, p0, Lcom/google/firebase/components/LazySet;->actualSet:Ljava/util/Set;
|
|
|
|
if-nez v0, :cond_1
|
|
|
|
.line 50
|
|
monitor-enter p0
|
|
|
|
:try_start_0
|
|
iget-object v0, p0, Lcom/google/firebase/components/LazySet;->actualSet:Ljava/util/Set;
|
|
|
|
if-nez v0, :cond_0
|
|
|
|
.line 52
|
|
new-instance v0, Ljava/util/concurrent/ConcurrentHashMap;
|
|
|
|
invoke-direct {v0}, Ljava/util/concurrent/ConcurrentHashMap;-><init>()V
|
|
|
|
invoke-static {v0}, Ljava/util/Collections;->newSetFromMap(Ljava/util/Map;)Ljava/util/Set;
|
|
|
|
move-result-object v0
|
|
|
|
iput-object v0, p0, Lcom/google/firebase/components/LazySet;->actualSet:Ljava/util/Set;
|
|
|
|
.line 53
|
|
invoke-virtual {p0}, Lcom/google/firebase/components/LazySet;->updateSet()V
|
|
|
|
goto :goto_0
|
|
|
|
:catchall_0
|
|
move-exception v0
|
|
|
|
goto :goto_1
|
|
|
|
.line 55
|
|
:cond_0
|
|
:goto_0
|
|
monitor-exit p0
|
|
|
|
goto :goto_2
|
|
|
|
:goto_1
|
|
monitor-exit p0
|
|
:try_end_0
|
|
.catchall {:try_start_0 .. :try_end_0} :catchall_0
|
|
|
|
throw v0
|
|
|
|
:cond_1
|
|
:goto_2
|
|
iget-object v0, p0, Lcom/google/firebase/components/LazySet;->actualSet:Ljava/util/Set;
|
|
|
|
.line 57
|
|
invoke-static {v0}, Ljava/util/Collections;->unmodifiableSet(Ljava/util/Set;)Ljava/util/Set;
|
|
|
|
move-result-object v0
|
|
|
|
return-object v0
|
|
.end method
|
|
|
|
.method public final declared-synchronized updateSet()V
|
|
.locals 3
|
|
|
|
monitor-enter p0
|
|
|
|
:try_start_0
|
|
iget-object v0, p0, Lcom/google/firebase/components/LazySet;->providers:Ljava/util/Set;
|
|
|
|
.line 69
|
|
invoke-interface {v0}, Ljava/util/Set;->iterator()Ljava/util/Iterator;
|
|
|
|
move-result-object v0
|
|
|
|
:goto_0
|
|
invoke-interface {v0}, Ljava/util/Iterator;->hasNext()Z
|
|
|
|
move-result v1
|
|
|
|
if-eqz v1, :cond_0
|
|
|
|
invoke-interface {v0}, Ljava/util/Iterator;->next()Ljava/lang/Object;
|
|
|
|
move-result-object v1
|
|
|
|
check-cast v1, Lcom/google/firebase/inject/Provider;
|
|
|
|
iget-object v2, p0, Lcom/google/firebase/components/LazySet;->actualSet:Ljava/util/Set;
|
|
|
|
.line 70
|
|
invoke-interface {v1}, Lcom/google/firebase/inject/Provider;->get()Ljava/lang/Object;
|
|
|
|
move-result-object v1
|
|
|
|
invoke-interface {v2, v1}, Ljava/util/Set;->add(Ljava/lang/Object;)Z
|
|
|
|
goto :goto_0
|
|
|
|
:catchall_0
|
|
move-exception v0
|
|
|
|
goto :goto_1
|
|
|
|
:cond_0
|
|
const/4 v0, 0x0
|
|
|
|
iput-object v0, p0, Lcom/google/firebase/components/LazySet;->providers:Ljava/util/Set;
|
|
:try_end_0
|
|
.catchall {:try_start_0 .. :try_end_0} :catchall_0
|
|
|
|
.line 73
|
|
monitor-exit p0
|
|
|
|
return-void
|
|
|
|
:goto_1
|
|
monitor-exit p0
|
|
|
|
throw v0
|
|
.end method
|