Files
rr3-apk/smali_classes2/com/facebook/gamingservices/ContextSwitchDialog$Result.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

108 lines
2.6 KiB
Smali

.class public final Lcom/facebook/gamingservices/ContextSwitchDialog$Result;
.super Ljava/lang/Object;
.source "SourceFile"
# annotations
.annotation system Ldalvik/annotation/EnclosingClass;
value = Lcom/facebook/gamingservices/ContextSwitchDialog;
.end annotation
.annotation system Ldalvik/annotation/InnerClass;
accessFlags = 0x19
name = "Result"
.end annotation
# instance fields
.field private contextID:Ljava/lang/String;
# direct methods
.method public constructor <init>(Lcom/facebook/GraphResponse;)V
.locals 1
const-string v0, "response"
invoke-static {p1, v0}, Lkotlin/jvm/internal/Intrinsics;->checkNotNullParameter(Ljava/lang/Object;Ljava/lang/String;)V
.line 154
invoke-direct {p0}, Ljava/lang/Object;-><init>()V
.line 156
:try_start_0
invoke-virtual {p1}, Lcom/facebook/GraphResponse;->getJSONObject()Lorg/json/JSONObject;
move-result-object p1
if-nez p1, :cond_0
goto :goto_0
:cond_0
const-string v0, "data"
.line 157
invoke-virtual {p1, v0}, Lorg/json/JSONObject;->optJSONObject(Ljava/lang/String;)Lorg/json/JSONObject;
move-result-object p1
if-nez p1, :cond_1
goto :goto_0
:cond_1
const-string v0, "id"
invoke-virtual {p1, v0}, Lorg/json/JSONObject;->getString(Ljava/lang/String;)Ljava/lang/String;
move-result-object p1
invoke-virtual {p0, p1}, Lcom/facebook/gamingservices/ContextSwitchDialog$Result;->setContextID(Ljava/lang/String;)V
:try_end_0
.catch Lorg/json/JSONException; {:try_start_0 .. :try_end_0} :catch_0
goto :goto_0
:catch_0
const/4 p1, 0x0
iput-object p1, p0, Lcom/facebook/gamingservices/ContextSwitchDialog$Result;->contextID:Ljava/lang/String;
:goto_0
return-void
.end method
.method public constructor <init>(Ljava/lang/String;)V
.locals 1
const-string v0, "contextID"
invoke-static {p1, v0}, Lkotlin/jvm/internal/Intrinsics;->checkNotNullParameter(Ljava/lang/Object;Ljava/lang/String;)V
.line 150
invoke-direct {p0}, Ljava/lang/Object;-><init>()V
iput-object p1, p0, Lcom/facebook/gamingservices/ContextSwitchDialog$Result;->contextID:Ljava/lang/String;
return-void
.end method
# virtual methods
.method public final getContextID()Ljava/lang/String;
.locals 1
iget-object v0, p0, Lcom/facebook/gamingservices/ContextSwitchDialog$Result;->contextID:Ljava/lang/String;
return-object v0
.end method
.method public final setContextID(Ljava/lang/String;)V
.locals 0
iput-object p1, p0, Lcom/facebook/gamingservices/ContextSwitchDialog$Result;->contextID:Ljava/lang/String;
return-void
.end method