- 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
169 lines
3.9 KiB
Smali
169 lines
3.9 KiB
Smali
.class public final Lcom/facebook/Profile$Companion$fetchProfileForCurrentAccessToken$1;
|
|
.super Ljava/lang/Object;
|
|
.source "SourceFile"
|
|
|
|
# interfaces
|
|
.implements Lcom/facebook/internal/Utility$GraphMeRequestWithCacheCallback;
|
|
|
|
|
|
# annotations
|
|
.annotation system Ldalvik/annotation/EnclosingMethod;
|
|
value = Lcom/facebook/Profile$Companion;->fetchProfileForCurrentAccessToken()V
|
|
.end annotation
|
|
|
|
.annotation system Ldalvik/annotation/InnerClass;
|
|
accessFlags = 0x19
|
|
name = null
|
|
.end annotation
|
|
|
|
|
|
# direct methods
|
|
.method public constructor <init>()V
|
|
.locals 0
|
|
|
|
.line 264
|
|
invoke-direct {p0}, Ljava/lang/Object;-><init>()V
|
|
|
|
return-void
|
|
.end method
|
|
|
|
|
|
# virtual methods
|
|
.method public onFailure(Lcom/facebook/FacebookException;)V
|
|
.locals 2
|
|
|
|
.line 286
|
|
invoke-static {}, Lcom/facebook/Profile;->access$getTAG$cp()Ljava/lang/String;
|
|
|
|
move-result-object v0
|
|
|
|
const-string v1, "Got unexpected exception: "
|
|
|
|
invoke-static {v1, p1}, Lkotlin/jvm/internal/Intrinsics;->stringPlus(Ljava/lang/String;Ljava/lang/Object;)Ljava/lang/String;
|
|
|
|
move-result-object p1
|
|
|
|
invoke-static {v0, p1}, Landroid/util/Log;->e(Ljava/lang/String;Ljava/lang/String;)I
|
|
|
|
return-void
|
|
.end method
|
|
|
|
.method public onSuccess(Lorg/json/JSONObject;)V
|
|
.locals 11
|
|
|
|
const/4 v0, 0x0
|
|
|
|
if-nez p1, :cond_0
|
|
|
|
move-object v3, v0
|
|
|
|
goto :goto_0
|
|
|
|
:cond_0
|
|
const-string v1, "id"
|
|
|
|
.line 266
|
|
invoke-virtual {p1, v1}, Lorg/json/JSONObject;->optString(Ljava/lang/String;)Ljava/lang/String;
|
|
|
|
move-result-object v1
|
|
|
|
move-object v3, v1
|
|
|
|
:goto_0
|
|
if-nez v3, :cond_1
|
|
|
|
.line 268
|
|
invoke-static {}, Lcom/facebook/Profile;->access$getTAG$cp()Ljava/lang/String;
|
|
|
|
move-result-object p1
|
|
|
|
const-string v0, "No user ID returned on Me request"
|
|
|
|
invoke-static {p1, v0}, Landroid/util/Log;->w(Ljava/lang/String;Ljava/lang/String;)I
|
|
|
|
return-void
|
|
|
|
:cond_1
|
|
const-string v1, "link"
|
|
|
|
.line 271
|
|
invoke-virtual {p1, v1}, Lorg/json/JSONObject;->optString(Ljava/lang/String;)Ljava/lang/String;
|
|
|
|
move-result-object v1
|
|
|
|
const-string v2, "profile_picture"
|
|
|
|
.line 272
|
|
invoke-virtual {p1, v2, v0}, Lorg/json/JSONObject;->optString(Ljava/lang/String;Ljava/lang/String;)Ljava/lang/String;
|
|
|
|
move-result-object v2
|
|
|
|
.line 274
|
|
new-instance v10, Lcom/facebook/Profile;
|
|
|
|
const-string v4, "first_name"
|
|
|
|
.line 276
|
|
invoke-virtual {p1, v4}, Lorg/json/JSONObject;->optString(Ljava/lang/String;)Ljava/lang/String;
|
|
|
|
move-result-object v4
|
|
|
|
const-string v5, "middle_name"
|
|
|
|
.line 277
|
|
invoke-virtual {p1, v5}, Lorg/json/JSONObject;->optString(Ljava/lang/String;)Ljava/lang/String;
|
|
|
|
move-result-object v5
|
|
|
|
const-string v6, "last_name"
|
|
|
|
.line 278
|
|
invoke-virtual {p1, v6}, Lorg/json/JSONObject;->optString(Ljava/lang/String;)Ljava/lang/String;
|
|
|
|
move-result-object v6
|
|
|
|
const-string v7, "name"
|
|
|
|
.line 279
|
|
invoke-virtual {p1, v7}, Lorg/json/JSONObject;->optString(Ljava/lang/String;)Ljava/lang/String;
|
|
|
|
move-result-object v7
|
|
|
|
if-eqz v1, :cond_2
|
|
|
|
.line 280
|
|
invoke-static {v1}, Landroid/net/Uri;->parse(Ljava/lang/String;)Landroid/net/Uri;
|
|
|
|
move-result-object p1
|
|
|
|
move-object v8, p1
|
|
|
|
goto :goto_1
|
|
|
|
:cond_2
|
|
move-object v8, v0
|
|
|
|
:goto_1
|
|
if-eqz v2, :cond_3
|
|
|
|
.line 281
|
|
invoke-static {v2}, Landroid/net/Uri;->parse(Ljava/lang/String;)Landroid/net/Uri;
|
|
|
|
move-result-object v0
|
|
|
|
:cond_3
|
|
move-object v9, v0
|
|
|
|
move-object v2, v10
|
|
|
|
.line 274
|
|
invoke-direct/range {v2 .. v9}, Lcom/facebook/Profile;-><init>(Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;Landroid/net/Uri;Landroid/net/Uri;)V
|
|
|
|
.line 282
|
|
sget-object p1, Lcom/facebook/Profile;->Companion:Lcom/facebook/Profile$Companion;
|
|
|
|
invoke-virtual {p1, v10}, Lcom/facebook/Profile$Companion;->setCurrentProfile(Lcom/facebook/Profile;)V
|
|
|
|
return-void
|
|
.end method
|