- 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
125 lines
3.3 KiB
Smali
125 lines
3.3 KiB
Smali
.class public Lcom/facebook/ads/NativeAdBase$Image;
|
|
.super Ljava/lang/Object;
|
|
.source "SourceFile"
|
|
|
|
|
|
# annotations
|
|
.annotation build Landroidx/annotation/Keep;
|
|
.end annotation
|
|
|
|
.annotation system Ldalvik/annotation/EnclosingClass;
|
|
value = Lcom/facebook/ads/NativeAdBase;
|
|
.end annotation
|
|
|
|
.annotation system Ldalvik/annotation/InnerClass;
|
|
accessFlags = 0x9
|
|
name = "Image"
|
|
.end annotation
|
|
|
|
|
|
# instance fields
|
|
.field private final mNativeAdImageApi:Lcom/facebook/ads/internal/api/NativeAdImageApi;
|
|
|
|
|
|
# direct methods
|
|
.method public constructor <init>(Lcom/facebook/ads/internal/api/NativeAdImageApi;)V
|
|
.locals 0
|
|
.annotation build Lcom/facebook/ads/internal/bench/Benchmark;
|
|
.end annotation
|
|
|
|
.line 46
|
|
invoke-direct {p0}, Ljava/lang/Object;-><init>()V
|
|
|
|
iput-object p1, p0, Lcom/facebook/ads/NativeAdBase$Image;->mNativeAdImageApi:Lcom/facebook/ads/internal/api/NativeAdImageApi;
|
|
|
|
return-void
|
|
.end method
|
|
|
|
.method public static fromJSONObject(Lorg/json/JSONObject;)Lcom/facebook/ads/NativeAdBase$Image;
|
|
.locals 1
|
|
.annotation build Landroidx/annotation/Nullable;
|
|
.end annotation
|
|
|
|
.annotation build Lcom/facebook/ads/internal/bench/Benchmark;
|
|
.end annotation
|
|
|
|
.line 90
|
|
invoke-static {}, Lcom/facebook/ads/internal/dynamicloading/DynamicLoaderFactory;->makeLoaderUnsafe()Lcom/facebook/ads/internal/dynamicloading/DynamicLoader;
|
|
|
|
move-result-object v0
|
|
|
|
invoke-interface {v0, p0}, Lcom/facebook/ads/internal/dynamicloading/DynamicLoader;->createNativeAdImageApi(Lorg/json/JSONObject;)Lcom/facebook/ads/internal/api/NativeAdImageApi;
|
|
|
|
move-result-object p0
|
|
|
|
if-nez p0, :cond_0
|
|
|
|
const/4 p0, 0x0
|
|
|
|
goto :goto_0
|
|
|
|
.line 91
|
|
:cond_0
|
|
new-instance v0, Lcom/facebook/ads/NativeAdBase$Image;
|
|
|
|
invoke-direct {v0, p0}, Lcom/facebook/ads/NativeAdBase$Image;-><init>(Lcom/facebook/ads/internal/api/NativeAdImageApi;)V
|
|
|
|
move-object p0, v0
|
|
|
|
:goto_0
|
|
return-object p0
|
|
.end method
|
|
|
|
|
|
# virtual methods
|
|
.method public getHeight()I
|
|
.locals 1
|
|
.annotation build Lcom/facebook/ads/internal/bench/Benchmark;
|
|
failAtMillis = 0x5
|
|
warnAtMillis = 0x1
|
|
.end annotation
|
|
|
|
iget-object v0, p0, Lcom/facebook/ads/NativeAdBase$Image;->mNativeAdImageApi:Lcom/facebook/ads/internal/api/NativeAdImageApi;
|
|
|
|
.line 67
|
|
invoke-interface {v0}, Lcom/facebook/ads/internal/api/NativeAdImageApi;->getHeight()I
|
|
|
|
move-result v0
|
|
|
|
return v0
|
|
.end method
|
|
|
|
.method public getUrl()Ljava/lang/String;
|
|
.locals 1
|
|
.annotation build Lcom/facebook/ads/internal/bench/Benchmark;
|
|
failAtMillis = 0x5
|
|
warnAtMillis = 0x1
|
|
.end annotation
|
|
|
|
iget-object v0, p0, Lcom/facebook/ads/NativeAdBase$Image;->mNativeAdImageApi:Lcom/facebook/ads/internal/api/NativeAdImageApi;
|
|
|
|
.line 77
|
|
invoke-interface {v0}, Lcom/facebook/ads/internal/api/NativeAdImageApi;->getUrl()Ljava/lang/String;
|
|
|
|
move-result-object v0
|
|
|
|
return-object v0
|
|
.end method
|
|
|
|
.method public getWidth()I
|
|
.locals 1
|
|
.annotation build Lcom/facebook/ads/internal/bench/Benchmark;
|
|
failAtMillis = 0x5
|
|
warnAtMillis = 0x1
|
|
.end annotation
|
|
|
|
iget-object v0, p0, Lcom/facebook/ads/NativeAdBase$Image;->mNativeAdImageApi:Lcom/facebook/ads/internal/api/NativeAdImageApi;
|
|
|
|
.line 57
|
|
invoke-interface {v0}, Lcom/facebook/ads/internal/api/NativeAdImageApi;->getWidth()I
|
|
|
|
move-result v0
|
|
|
|
return v0
|
|
.end method
|