Files
rr3-apk/smali_classes2/com/facebook/internal/NativeProtocol$NativeAppInfo.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

197 lines
4.4 KiB
Smali

.class public abstract Lcom/facebook/internal/NativeProtocol$NativeAppInfo;
.super Ljava/lang/Object;
.source "SourceFile"
# annotations
.annotation system Ldalvik/annotation/EnclosingClass;
value = Lcom/facebook/internal/NativeProtocol;
.end annotation
.annotation system Ldalvik/annotation/InnerClass;
accessFlags = 0x409
name = "NativeAppInfo"
.end annotation
# instance fields
.field private availableVersions:Ljava/util/TreeSet;
.annotation system Ldalvik/annotation/Signature;
value = {
"Ljava/util/TreeSet<",
"Ljava/lang/Integer;",
">;"
}
.end annotation
.end field
# direct methods
.method public constructor <init>()V
.locals 0
.line 818
invoke-direct {p0}, Ljava/lang/Object;-><init>()V
return-void
.end method
# virtual methods
.method public final declared-synchronized fetchAvailableVersions(Z)V
.locals 1
monitor-enter p0
if-nez p1, :cond_1
:try_start_0
iget-object p1, p0, Lcom/facebook/internal/NativeProtocol$NativeAppInfo;->availableVersions:Ljava/util/TreeSet;
if-eqz p1, :cond_1
if-nez p1, :cond_0
const/4 p1, 0x0
goto :goto_0
.line 835
:cond_0
invoke-virtual {p1}, Ljava/util/TreeSet;->isEmpty()Z
move-result p1
invoke-static {p1}, Ljava/lang/Boolean;->valueOf(Z)Ljava/lang/Boolean;
move-result-object p1
:goto_0
sget-object v0, Ljava/lang/Boolean;->FALSE:Ljava/lang/Boolean;
invoke-static {p1, v0}, Lkotlin/jvm/internal/Intrinsics;->areEqual(Ljava/lang/Object;Ljava/lang/Object;)Z
move-result p1
if-nez p1, :cond_2
goto :goto_1
:catchall_0
move-exception p1
goto :goto_2
.line 836
:cond_1
:goto_1
sget-object p1, Lcom/facebook/internal/NativeProtocol;->INSTANCE:Lcom/facebook/internal/NativeProtocol;
invoke-static {p1, p0}, Lcom/facebook/internal/NativeProtocol;->access$fetchAllAvailableProtocolVersionsForAppInfo(Lcom/facebook/internal/NativeProtocol;Lcom/facebook/internal/NativeProtocol$NativeAppInfo;)Ljava/util/TreeSet;
move-result-object p1
iput-object p1, p0, Lcom/facebook/internal/NativeProtocol$NativeAppInfo;->availableVersions:Ljava/util/TreeSet;
:cond_2
iget-object p1, p0, Lcom/facebook/internal/NativeProtocol$NativeAppInfo;->availableVersions:Ljava/util/TreeSet;
if-eqz p1, :cond_3
.line 838
invoke-interface {p1}, Ljava/util/Collection;->isEmpty()Z
move-result p1
if-eqz p1, :cond_4
.line 839
:cond_3
invoke-virtual {p0}, Lcom/facebook/internal/NativeProtocol$NativeAppInfo;->onAvailableVersionsNullOrEmpty()V
:try_end_0
.catchall {:try_start_0 .. :try_end_0} :catchall_0
.line 841
:cond_4
monitor-exit p0
return-void
:goto_2
monitor-exit p0
throw p1
.end method
.method public final getAvailableVersions()Ljava/util/TreeSet;
.locals 2
.annotation system Ldalvik/annotation/Signature;
value = {
"()",
"Ljava/util/TreeSet<",
"Ljava/lang/Integer;",
">;"
}
.end annotation
iget-object v0, p0, Lcom/facebook/internal/NativeProtocol$NativeAppInfo;->availableVersions:Ljava/util/TreeSet;
if-eqz v0, :cond_1
if-nez v0, :cond_0
const/4 v0, 0x0
goto :goto_0
.line 827
:cond_0
invoke-virtual {v0}, Ljava/util/TreeSet;->isEmpty()Z
move-result v0
invoke-static {v0}, Ljava/lang/Boolean;->valueOf(Z)Ljava/lang/Boolean;
move-result-object v0
:goto_0
sget-object v1, Ljava/lang/Boolean;->FALSE:Ljava/lang/Boolean;
invoke-static {v0, v1}, Lkotlin/jvm/internal/Intrinsics;->areEqual(Ljava/lang/Object;Ljava/lang/Object;)Z
move-result v0
if-nez v0, :cond_2
:cond_1
const/4 v0, 0x0
.line 828
invoke-virtual {p0, v0}, Lcom/facebook/internal/NativeProtocol$NativeAppInfo;->fetchAvailableVersions(Z)V
:cond_2
iget-object v0, p0, Lcom/facebook/internal/NativeProtocol$NativeAppInfo;->availableVersions:Ljava/util/TreeSet;
return-object v0
.end method
.method public abstract getLoginActivity()Ljava/lang/String;
.end method
.method public abstract getPackage()Ljava/lang/String;
.end method
.method public getResponseType()Ljava/lang/String;
.locals 1
const-string v0, "id_token,token,signed_request,graph_domain"
return-object v0
.end method
.method public onAvailableVersionsNullOrEmpty()V
.locals 0
return-void
.end method