- 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
99 lines
2.3 KiB
Smali
99 lines
2.3 KiB
Smali
.class final Lcom/facebook/internal/NativeProtocol$KatanaAppInfo;
|
|
.super Lcom/facebook/internal/NativeProtocol$NativeAppInfo;
|
|
.source "SourceFile"
|
|
|
|
|
|
# annotations
|
|
.annotation system Ldalvik/annotation/EnclosingClass;
|
|
value = Lcom/facebook/internal/NativeProtocol;
|
|
.end annotation
|
|
|
|
.annotation system Ldalvik/annotation/InnerClass;
|
|
accessFlags = 0x19
|
|
name = "KatanaAppInfo"
|
|
.end annotation
|
|
|
|
|
|
# direct methods
|
|
.method public constructor <init>()V
|
|
.locals 0
|
|
|
|
.line 844
|
|
invoke-direct {p0}, Lcom/facebook/internal/NativeProtocol$NativeAppInfo;-><init>()V
|
|
|
|
return-void
|
|
.end method
|
|
|
|
.method private final isAndroidAPIVersionNotLessThan30()Z
|
|
.locals 2
|
|
|
|
.line 857
|
|
invoke-static {}, Lcom/facebook/FacebookSdk;->getApplicationContext()Landroid/content/Context;
|
|
|
|
move-result-object v0
|
|
|
|
.line 858
|
|
invoke-virtual {v0}, Landroid/content/Context;->getApplicationInfo()Landroid/content/pm/ApplicationInfo;
|
|
|
|
move-result-object v0
|
|
|
|
.line 859
|
|
iget v0, v0, Landroid/content/pm/ApplicationInfo;->targetSdkVersion:I
|
|
|
|
const/16 v1, 0x1e
|
|
|
|
if-lt v0, v1, :cond_0
|
|
|
|
const/4 v0, 0x1
|
|
|
|
goto :goto_0
|
|
|
|
:cond_0
|
|
const/4 v0, 0x0
|
|
|
|
:goto_0
|
|
return v0
|
|
.end method
|
|
|
|
|
|
# virtual methods
|
|
.method public getLoginActivity()Ljava/lang/String;
|
|
.locals 1
|
|
|
|
const-string v0, "com.facebook.katana.ProxyAuth"
|
|
|
|
return-object v0
|
|
.end method
|
|
|
|
.method public getPackage()Ljava/lang/String;
|
|
.locals 1
|
|
|
|
const-string v0, "com.facebook.katana"
|
|
|
|
return-object v0
|
|
.end method
|
|
|
|
.method public onAvailableVersionsNullOrEmpty()V
|
|
.locals 2
|
|
|
|
.line 849
|
|
invoke-direct {p0}, Lcom/facebook/internal/NativeProtocol$KatanaAppInfo;->isAndroidAPIVersionNotLessThan30()Z
|
|
|
|
move-result v0
|
|
|
|
if-eqz v0, :cond_0
|
|
|
|
.line 851
|
|
invoke-static {}, Lcom/facebook/internal/NativeProtocol;->access$getTAG$p()Ljava/lang/String;
|
|
|
|
move-result-object v0
|
|
|
|
const-string v1, "Apps that target Android API 30+ (Android 11+) cannot call Facebook native apps unless the package visibility needs are declared. Please follow https://developers.facebook.com/docs/android/troubleshooting/#faq_267321845055988 to make the declaration."
|
|
|
|
.line 850
|
|
invoke-static {v0, v1}, Landroid/util/Log;->w(Ljava/lang/String;Ljava/lang/String;)I
|
|
|
|
:cond_0
|
|
return-void
|
|
.end method
|