Files
rr3-apk/smali_classes2/com/facebook/appevents/FacebookSDKJSInterface$Companion.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

149 lines
3.6 KiB
Smali

.class public final Lcom/facebook/appevents/FacebookSDKJSInterface$Companion;
.super Ljava/lang/Object;
.source "SourceFile"
# annotations
.annotation system Ldalvik/annotation/EnclosingClass;
value = Lcom/facebook/appevents/FacebookSDKJSInterface;
.end annotation
.annotation system Ldalvik/annotation/InnerClass;
accessFlags = 0x19
name = "Companion"
.end annotation
# direct methods
.method private constructor <init>()V
.locals 0
.line 40
invoke-direct {p0}, Ljava/lang/Object;-><init>()V
return-void
.end method
.method public synthetic constructor <init>(Lkotlin/jvm/internal/DefaultConstructorMarker;)V
.locals 0
.line 0
invoke-direct {p0}, Lcom/facebook/appevents/FacebookSDKJSInterface$Companion;-><init>()V
return-void
.end method
.method public static final synthetic access$jsonStringToBundle(Lcom/facebook/appevents/FacebookSDKJSInterface$Companion;Ljava/lang/String;)Landroid/os/Bundle;
.locals 0
.line 40
invoke-direct {p0, p1}, Lcom/facebook/appevents/FacebookSDKJSInterface$Companion;->jsonStringToBundle(Ljava/lang/String;)Landroid/os/Bundle;
move-result-object p0
return-object p0
.end method
.method private final jsonStringToBundle(Ljava/lang/String;)Landroid/os/Bundle;
.locals 1
.line 58
:try_start_0
new-instance v0, Lorg/json/JSONObject;
invoke-direct {v0, p1}, Lorg/json/JSONObject;-><init>(Ljava/lang/String;)V
.line 59
invoke-direct {p0, v0}, Lcom/facebook/appevents/FacebookSDKJSInterface$Companion;->jsonToBundle(Lorg/json/JSONObject;)Landroid/os/Bundle;
move-result-object p1
:try_end_0
.catch Lorg/json/JSONException; {:try_start_0 .. :try_end_0} :catch_0
return-object p1
.line 63
:catch_0
new-instance p1, Landroid/os/Bundle;
invoke-direct {p1}, Landroid/os/Bundle;-><init>()V
return-object p1
.end method
.method private final jsonToBundle(Lorg/json/JSONObject;)Landroid/os/Bundle;
.locals 4
.annotation system Ldalvik/annotation/Throws;
value = {
Lorg/json/JSONException;
}
.end annotation
.line 46
new-instance v0, Landroid/os/Bundle;
invoke-direct {v0}, Landroid/os/Bundle;-><init>()V
.line 47
invoke-virtual {p1}, Lorg/json/JSONObject;->keys()Ljava/util/Iterator;
move-result-object v1
const-string v2, "jsonObject.keys()"
invoke-static {v1, v2}, Lkotlin/jvm/internal/Intrinsics;->checkNotNullExpressionValue(Ljava/lang/Object;Ljava/lang/String;)V
.line 48
:goto_0
invoke-interface {v1}, Ljava/util/Iterator;->hasNext()Z
move-result v2
if-eqz v2, :cond_1
.line 49
invoke-interface {v1}, Ljava/util/Iterator;->next()Ljava/lang/Object;
move-result-object v2
if-eqz v2, :cond_0
check-cast v2, Ljava/lang/String;
.line 50
invoke-virtual {p1, v2}, Lorg/json/JSONObject;->getString(Ljava/lang/String;)Ljava/lang/String;
move-result-object v3
.line 51
invoke-virtual {v0, v2, v3}, Landroid/os/BaseBundle;->putString(Ljava/lang/String;Ljava/lang/String;)V
goto :goto_0
.line 49
:cond_0
new-instance p1, Ljava/lang/NullPointerException;
const-string v0, "null cannot be cast to non-null type kotlin.String"
invoke-direct {p1, v0}, Ljava/lang/NullPointerException;-><init>(Ljava/lang/String;)V
throw p1
:cond_1
return-object v0
.end method
# virtual methods
.method public final getTAG()Ljava/lang/String;
.locals 1
.line 41
invoke-static {}, Lcom/facebook/appevents/FacebookSDKJSInterface;->access$getTAG$cp()Ljava/lang/String;
move-result-object v0
return-object v0
.end method