Files
rr3-apk/smali_classes2/com/firemonkeys/cloudcellapi/util/FacebookAccessToken.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

75 lines
1.9 KiB
Smali

.class public Lcom/firemonkeys/cloudcellapi/util/FacebookAccessToken;
.super Ljava/lang/Object;
.source "SourceFile"
# static fields
.field static final TAG:Ljava/lang/String; = "cloudcellapi.util.FacebookAccessToken"
# direct methods
.method public constructor <init>()V
.locals 0
.line 8
invoke-direct {p0}, Ljava/lang/Object;-><init>()V
return-void
.end method
.method public static getFacebookAccessToken()Ljava/lang/String;
.locals 3
.line 22
invoke-static {}, Lcom/firemonkeys/cloudcellapi/CC_Component;->GetActivity()Landroid/app/Activity;
move-result-object v0
const/4 v1, 0x0
invoke-virtual {v0, v1}, Landroid/app/Activity;->getPreferences(I)Landroid/content/SharedPreferences;
move-result-object v0
const-string v1, "access_token"
const-string v2, ""
.line 23
invoke-interface {v0, v1, v2}, Landroid/content/SharedPreferences;->getString(Ljava/lang/String;Ljava/lang/String;)Ljava/lang/String;
move-result-object v0
return-object v0
.end method
.method public static setFacebookAccessToken(Ljava/lang/String;)V
.locals 2
.line 14
invoke-static {}, Lcom/firemonkeys/cloudcellapi/CC_Component;->GetActivity()Landroid/app/Activity;
move-result-object v0
const/4 v1, 0x0
invoke-virtual {v0, v1}, Landroid/app/Activity;->getPreferences(I)Landroid/content/SharedPreferences;
move-result-object v0
.line 15
invoke-interface {v0}, Landroid/content/SharedPreferences;->edit()Landroid/content/SharedPreferences$Editor;
move-result-object v0
const-string v1, "access_token"
.line 16
invoke-interface {v0, v1, p0}, Landroid/content/SharedPreferences$Editor;->putString(Ljava/lang/String;Ljava/lang/String;)Landroid/content/SharedPreferences$Editor;
.line 17
invoke-interface {v0}, Landroid/content/SharedPreferences$Editor;->commit()Z
return-void
.end method