Files
rr3-apk/smali_classes3/com/google/firebase/platforminfo/GlobalLibraryVersionRegistrar.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

113 lines
2.7 KiB
Smali

.class public Lcom/google/firebase/platforminfo/GlobalLibraryVersionRegistrar;
.super Ljava/lang/Object;
.source "SourceFile"
# static fields
.field public static volatile INSTANCE:Lcom/google/firebase/platforminfo/GlobalLibraryVersionRegistrar;
# instance fields
.field public final infos:Ljava/util/Set;
# direct methods
.method public constructor <init>()V
.locals 1
.line 32
invoke-direct {p0}, Ljava/lang/Object;-><init>()V
.line 29
new-instance v0, Ljava/util/HashSet;
invoke-direct {v0}, Ljava/util/HashSet;-><init>()V
iput-object v0, p0, Lcom/google/firebase/platforminfo/GlobalLibraryVersionRegistrar;->infos:Ljava/util/Set;
return-void
.end method
.method public static getInstance()Lcom/google/firebase/platforminfo/GlobalLibraryVersionRegistrar;
.locals 2
sget-object v0, Lcom/google/firebase/platforminfo/GlobalLibraryVersionRegistrar;->INSTANCE:Lcom/google/firebase/platforminfo/GlobalLibraryVersionRegistrar;
if-nez v0, :cond_1
const-class v1, Lcom/google/firebase/platforminfo/GlobalLibraryVersionRegistrar;
.line 56
monitor-enter v1
:try_start_0
sget-object v0, Lcom/google/firebase/platforminfo/GlobalLibraryVersionRegistrar;->INSTANCE:Lcom/google/firebase/platforminfo/GlobalLibraryVersionRegistrar;
if-nez v0, :cond_0
.line 59
new-instance v0, Lcom/google/firebase/platforminfo/GlobalLibraryVersionRegistrar;
invoke-direct {v0}, Lcom/google/firebase/platforminfo/GlobalLibraryVersionRegistrar;-><init>()V
sput-object v0, Lcom/google/firebase/platforminfo/GlobalLibraryVersionRegistrar;->INSTANCE:Lcom/google/firebase/platforminfo/GlobalLibraryVersionRegistrar;
goto :goto_0
:catchall_0
move-exception v0
goto :goto_1
.line 61
:cond_0
:goto_0
monitor-exit v1
goto :goto_2
:goto_1
monitor-exit v1
:try_end_0
.catchall {:try_start_0 .. :try_end_0} :catchall_0
throw v0
:cond_1
:goto_2
return-object v0
.end method
# virtual methods
.method public getRegisteredVersions()Ljava/util/Set;
.locals 2
iget-object v0, p0, Lcom/google/firebase/platforminfo/GlobalLibraryVersionRegistrar;->infos:Ljava/util/Set;
.line 47
monitor-enter v0
:try_start_0
iget-object v1, p0, Lcom/google/firebase/platforminfo/GlobalLibraryVersionRegistrar;->infos:Ljava/util/Set;
.line 48
invoke-static {v1}, Ljava/util/Collections;->unmodifiableSet(Ljava/util/Set;)Ljava/util/Set;
move-result-object v1
monitor-exit v0
return-object v1
:catchall_0
move-exception v1
.line 49
monitor-exit v0
:try_end_0
.catchall {:try_start_0 .. :try_end_0} :catchall_0
throw v1
.end method