- 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
509 lines
15 KiB
Smali
509 lines
15 KiB
Smali
.class public abstract Lcom/facebook/ads/internal/api/AdNativeComponentView;
|
|
.super Landroid/widget/RelativeLayout;
|
|
.source "SourceFile"
|
|
|
|
# interfaces
|
|
.implements Lcom/facebook/ads/internal/api/AdComponentView;
|
|
|
|
|
|
# annotations
|
|
.annotation build Landroidx/annotation/Keep;
|
|
.end annotation
|
|
|
|
|
|
# instance fields
|
|
.field protected mAdComponentViewApi:Lcom/facebook/ads/internal/api/AdComponentViewApi;
|
|
.annotation build Landroidx/annotation/Nullable;
|
|
.end annotation
|
|
.end field
|
|
|
|
.field private final mAdComponentViewParentApi:Lcom/facebook/ads/internal/api/AdComponentViewParentApi;
|
|
|
|
|
|
# direct methods
|
|
.method public constructor <init>(Landroid/content/Context;)V
|
|
.locals 0
|
|
|
|
.line 97
|
|
invoke-direct {p0, p1}, Landroid/widget/RelativeLayout;-><init>(Landroid/content/Context;)V
|
|
|
|
.line 25
|
|
new-instance p1, Lcom/facebook/ads/internal/api/AdNativeComponentView$1;
|
|
|
|
invoke-direct {p1, p0}, Lcom/facebook/ads/internal/api/AdNativeComponentView$1;-><init>(Lcom/facebook/ads/internal/api/AdNativeComponentView;)V
|
|
|
|
iput-object p1, p0, Lcom/facebook/ads/internal/api/AdNativeComponentView;->mAdComponentViewParentApi:Lcom/facebook/ads/internal/api/AdComponentViewParentApi;
|
|
|
|
return-void
|
|
.end method
|
|
|
|
.method public constructor <init>(Landroid/content/Context;Landroid/util/AttributeSet;)V
|
|
.locals 0
|
|
|
|
.line 101
|
|
invoke-direct {p0, p1, p2}, Landroid/widget/RelativeLayout;-><init>(Landroid/content/Context;Landroid/util/AttributeSet;)V
|
|
|
|
.line 25
|
|
new-instance p1, Lcom/facebook/ads/internal/api/AdNativeComponentView$1;
|
|
|
|
invoke-direct {p1, p0}, Lcom/facebook/ads/internal/api/AdNativeComponentView$1;-><init>(Lcom/facebook/ads/internal/api/AdNativeComponentView;)V
|
|
|
|
iput-object p1, p0, Lcom/facebook/ads/internal/api/AdNativeComponentView;->mAdComponentViewParentApi:Lcom/facebook/ads/internal/api/AdComponentViewParentApi;
|
|
|
|
return-void
|
|
.end method
|
|
|
|
.method public constructor <init>(Landroid/content/Context;Landroid/util/AttributeSet;I)V
|
|
.locals 0
|
|
|
|
.line 105
|
|
invoke-direct {p0, p1, p2, p3}, Landroid/widget/RelativeLayout;-><init>(Landroid/content/Context;Landroid/util/AttributeSet;I)V
|
|
|
|
.line 25
|
|
new-instance p1, Lcom/facebook/ads/internal/api/AdNativeComponentView$1;
|
|
|
|
invoke-direct {p1, p0}, Lcom/facebook/ads/internal/api/AdNativeComponentView$1;-><init>(Lcom/facebook/ads/internal/api/AdNativeComponentView;)V
|
|
|
|
iput-object p1, p0, Lcom/facebook/ads/internal/api/AdNativeComponentView;->mAdComponentViewParentApi:Lcom/facebook/ads/internal/api/AdComponentViewParentApi;
|
|
|
|
return-void
|
|
.end method
|
|
|
|
.method public constructor <init>(Landroid/content/Context;Landroid/util/AttributeSet;II)V
|
|
.locals 0
|
|
.annotation build Landroidx/annotation/RequiresApi;
|
|
api = 0x15
|
|
.end annotation
|
|
|
|
.line 111
|
|
invoke-direct {p0, p1, p2, p3, p4}, Landroid/widget/RelativeLayout;-><init>(Landroid/content/Context;Landroid/util/AttributeSet;II)V
|
|
|
|
.line 25
|
|
new-instance p1, Lcom/facebook/ads/internal/api/AdNativeComponentView$1;
|
|
|
|
invoke-direct {p1, p0}, Lcom/facebook/ads/internal/api/AdNativeComponentView$1;-><init>(Lcom/facebook/ads/internal/api/AdNativeComponentView;)V
|
|
|
|
iput-object p1, p0, Lcom/facebook/ads/internal/api/AdNativeComponentView;->mAdComponentViewParentApi:Lcom/facebook/ads/internal/api/AdComponentViewParentApi;
|
|
|
|
return-void
|
|
.end method
|
|
|
|
.method public static synthetic access$001(Lcom/facebook/ads/internal/api/AdNativeComponentView;Landroid/view/ViewGroup$LayoutParams;)V
|
|
.locals 0
|
|
|
|
.line 23
|
|
invoke-super {p0, p1}, Landroid/view/View;->setLayoutParams(Landroid/view/ViewGroup$LayoutParams;)V
|
|
|
|
return-void
|
|
.end method
|
|
|
|
.method public static synthetic access$1001(Lcom/facebook/ads/internal/api/AdNativeComponentView;Landroid/view/View;I)V
|
|
.locals 0
|
|
|
|
.line 23
|
|
invoke-super {p0, p1, p2}, Landroid/view/ViewGroup;->addView(Landroid/view/View;I)V
|
|
|
|
return-void
|
|
.end method
|
|
|
|
.method public static synthetic access$101(Lcom/facebook/ads/internal/api/AdNativeComponentView;II)V
|
|
.locals 0
|
|
|
|
.line 23
|
|
invoke-super {p0, p1, p2}, Landroid/widget/RelativeLayout;->onMeasure(II)V
|
|
|
|
return-void
|
|
.end method
|
|
|
|
.method public static synthetic access$1101(Lcom/facebook/ads/internal/api/AdNativeComponentView;Landroid/view/View;Landroid/view/ViewGroup$LayoutParams;)V
|
|
.locals 0
|
|
|
|
.line 23
|
|
invoke-super {p0, p1, p2}, Landroid/view/ViewGroup;->addView(Landroid/view/View;Landroid/view/ViewGroup$LayoutParams;)V
|
|
|
|
return-void
|
|
.end method
|
|
|
|
.method public static synthetic access$1201(Lcom/facebook/ads/internal/api/AdNativeComponentView;Landroid/view/View;II)V
|
|
.locals 0
|
|
|
|
.line 23
|
|
invoke-super {p0, p1, p2, p3}, Landroid/view/ViewGroup;->addView(Landroid/view/View;II)V
|
|
|
|
return-void
|
|
.end method
|
|
|
|
.method public static synthetic access$201(Lcom/facebook/ads/internal/api/AdNativeComponentView;II)V
|
|
.locals 0
|
|
|
|
.line 23
|
|
invoke-super {p0, p1, p2}, Landroid/view/View;->setMeasuredDimension(II)V
|
|
|
|
return-void
|
|
.end method
|
|
|
|
.method public static synthetic access$301(Lcom/facebook/ads/internal/api/AdNativeComponentView;)V
|
|
.locals 0
|
|
|
|
.line 23
|
|
invoke-super {p0}, Landroid/view/View;->onAttachedToWindow()V
|
|
|
|
return-void
|
|
.end method
|
|
|
|
.method public static synthetic access$401(Lcom/facebook/ads/internal/api/AdNativeComponentView;)V
|
|
.locals 0
|
|
|
|
.line 23
|
|
invoke-super {p0}, Landroid/view/View;->onDetachedFromWindow()V
|
|
|
|
return-void
|
|
.end method
|
|
|
|
.method public static synthetic access$501(Lcom/facebook/ads/internal/api/AdNativeComponentView;Landroid/view/View;)V
|
|
.locals 0
|
|
|
|
.line 23
|
|
invoke-super {p0, p1}, Landroid/view/ViewGroup;->bringChildToFront(Landroid/view/View;)V
|
|
|
|
return-void
|
|
.end method
|
|
|
|
.method public static synthetic access$601(Lcom/facebook/ads/internal/api/AdNativeComponentView;Z)V
|
|
.locals 0
|
|
|
|
.line 23
|
|
invoke-super {p0, p1}, Landroid/view/View;->onWindowFocusChanged(Z)V
|
|
|
|
return-void
|
|
.end method
|
|
|
|
.method public static synthetic access$701(Lcom/facebook/ads/internal/api/AdNativeComponentView;Landroid/view/View;I)V
|
|
.locals 0
|
|
|
|
.line 23
|
|
invoke-super {p0, p1, p2}, Landroid/view/View;->onVisibilityChanged(Landroid/view/View;I)V
|
|
|
|
return-void
|
|
.end method
|
|
|
|
.method public static synthetic access$801(Lcom/facebook/ads/internal/api/AdNativeComponentView;Landroid/view/View;ILandroid/view/ViewGroup$LayoutParams;)V
|
|
.locals 0
|
|
|
|
.line 23
|
|
invoke-super {p0, p1, p2, p3}, Landroid/view/ViewGroup;->addView(Landroid/view/View;ILandroid/view/ViewGroup$LayoutParams;)V
|
|
|
|
return-void
|
|
.end method
|
|
|
|
.method public static synthetic access$901(Lcom/facebook/ads/internal/api/AdNativeComponentView;Landroid/view/View;)V
|
|
.locals 0
|
|
|
|
.line 23
|
|
invoke-super {p0, p1}, Landroid/view/ViewGroup;->addView(Landroid/view/View;)V
|
|
|
|
return-void
|
|
.end method
|
|
|
|
|
|
# virtual methods
|
|
.method public addView(Landroid/view/View;)V
|
|
.locals 1
|
|
|
|
iget-object v0, p0, Lcom/facebook/ads/internal/api/AdNativeComponentView;->mAdComponentViewApi:Lcom/facebook/ads/internal/api/AdComponentViewApi;
|
|
|
|
if-eqz v0, :cond_0
|
|
|
|
.line 134
|
|
invoke-interface {v0, p1}, Lcom/facebook/ads/internal/api/AdComponentView;->addView(Landroid/view/View;)V
|
|
|
|
goto :goto_0
|
|
|
|
.line 136
|
|
:cond_0
|
|
invoke-super {p0, p1}, Landroid/view/ViewGroup;->addView(Landroid/view/View;)V
|
|
|
|
:goto_0
|
|
return-void
|
|
.end method
|
|
|
|
.method public addView(Landroid/view/View;I)V
|
|
.locals 1
|
|
|
|
iget-object v0, p0, Lcom/facebook/ads/internal/api/AdNativeComponentView;->mAdComponentViewApi:Lcom/facebook/ads/internal/api/AdComponentViewApi;
|
|
|
|
if-eqz v0, :cond_0
|
|
|
|
.line 143
|
|
invoke-interface {v0, p1, p2}, Lcom/facebook/ads/internal/api/AdComponentView;->addView(Landroid/view/View;I)V
|
|
|
|
goto :goto_0
|
|
|
|
.line 145
|
|
:cond_0
|
|
invoke-super {p0, p1, p2}, Landroid/view/ViewGroup;->addView(Landroid/view/View;I)V
|
|
|
|
:goto_0
|
|
return-void
|
|
.end method
|
|
|
|
.method public addView(Landroid/view/View;II)V
|
|
.locals 1
|
|
|
|
iget-object v0, p0, Lcom/facebook/ads/internal/api/AdNativeComponentView;->mAdComponentViewApi:Lcom/facebook/ads/internal/api/AdComponentViewApi;
|
|
|
|
if-eqz v0, :cond_0
|
|
|
|
.line 161
|
|
invoke-interface {v0, p1, p2, p3}, Lcom/facebook/ads/internal/api/AdComponentView;->addView(Landroid/view/View;II)V
|
|
|
|
goto :goto_0
|
|
|
|
.line 163
|
|
:cond_0
|
|
invoke-super {p0, p1, p2, p3}, Landroid/view/ViewGroup;->addView(Landroid/view/View;II)V
|
|
|
|
:goto_0
|
|
return-void
|
|
.end method
|
|
|
|
.method public addView(Landroid/view/View;ILandroid/view/ViewGroup$LayoutParams;)V
|
|
.locals 1
|
|
|
|
iget-object v0, p0, Lcom/facebook/ads/internal/api/AdNativeComponentView;->mAdComponentViewApi:Lcom/facebook/ads/internal/api/AdComponentViewApi;
|
|
|
|
if-eqz v0, :cond_0
|
|
|
|
.line 170
|
|
invoke-interface {v0, p1, p2, p3}, Lcom/facebook/ads/internal/api/AdComponentView;->addView(Landroid/view/View;ILandroid/view/ViewGroup$LayoutParams;)V
|
|
|
|
goto :goto_0
|
|
|
|
.line 172
|
|
:cond_0
|
|
invoke-super {p0, p1, p2, p3}, Landroid/view/ViewGroup;->addView(Landroid/view/View;ILandroid/view/ViewGroup$LayoutParams;)V
|
|
|
|
:goto_0
|
|
return-void
|
|
.end method
|
|
|
|
.method public addView(Landroid/view/View;Landroid/view/ViewGroup$LayoutParams;)V
|
|
.locals 1
|
|
|
|
iget-object v0, p0, Lcom/facebook/ads/internal/api/AdNativeComponentView;->mAdComponentViewApi:Lcom/facebook/ads/internal/api/AdComponentViewApi;
|
|
|
|
if-eqz v0, :cond_0
|
|
|
|
.line 152
|
|
invoke-interface {v0, p1, p2}, Lcom/facebook/ads/internal/api/AdComponentView;->addView(Landroid/view/View;Landroid/view/ViewGroup$LayoutParams;)V
|
|
|
|
goto :goto_0
|
|
|
|
.line 154
|
|
:cond_0
|
|
invoke-super {p0, p1, p2}, Landroid/view/ViewGroup;->addView(Landroid/view/View;Landroid/view/ViewGroup$LayoutParams;)V
|
|
|
|
:goto_0
|
|
return-void
|
|
.end method
|
|
|
|
.method public attachAdComponentViewApi(Lcom/facebook/ads/internal/api/AdComponentViewApiProvider;)V
|
|
.locals 2
|
|
|
|
.line 116
|
|
invoke-static {}, Lcom/facebook/ads/internal/dynamicloading/DynamicLoaderFactory;->isFallbackMode()Z
|
|
|
|
move-result v0
|
|
|
|
if-eqz v0, :cond_0
|
|
|
|
return-void
|
|
|
|
:cond_0
|
|
iget-object v0, p0, Lcom/facebook/ads/internal/api/AdNativeComponentView;->mAdComponentViewApi:Lcom/facebook/ads/internal/api/AdComponentViewApi;
|
|
|
|
if-nez v0, :cond_1
|
|
|
|
.line 123
|
|
invoke-interface {p1}, Lcom/facebook/ads/internal/api/AdComponentViewApiProvider;->getAdComponentViewApi()Lcom/facebook/ads/internal/api/AdComponentViewApi;
|
|
|
|
move-result-object v0
|
|
|
|
iget-object v1, p0, Lcom/facebook/ads/internal/api/AdNativeComponentView;->mAdComponentViewParentApi:Lcom/facebook/ads/internal/api/AdComponentViewParentApi;
|
|
|
|
.line 124
|
|
invoke-interface {v0, p0, v1}, Lcom/facebook/ads/internal/api/AdComponentViewApi;->onAttachedToView(Lcom/facebook/ads/internal/api/AdComponentView;Lcom/facebook/ads/internal/api/AdComponentViewParentApi;)V
|
|
|
|
.line 125
|
|
invoke-interface {p1}, Lcom/facebook/ads/internal/api/AdComponentViewApiProvider;->getAdComponentViewApi()Lcom/facebook/ads/internal/api/AdComponentViewApi;
|
|
|
|
move-result-object p1
|
|
|
|
iput-object p1, p0, Lcom/facebook/ads/internal/api/AdNativeComponentView;->mAdComponentViewApi:Lcom/facebook/ads/internal/api/AdComponentViewApi;
|
|
|
|
return-void
|
|
|
|
.line 127
|
|
:cond_1
|
|
new-instance p1, Ljava/lang/IllegalStateException;
|
|
|
|
const-string v0, "AdComponentViewApi can\'t be attached more then once."
|
|
|
|
invoke-direct {p1, v0}, Ljava/lang/IllegalStateException;-><init>(Ljava/lang/String;)V
|
|
|
|
throw p1
|
|
.end method
|
|
|
|
.method public bringChildToFront(Landroid/view/View;)V
|
|
.locals 1
|
|
|
|
iget-object v0, p0, Lcom/facebook/ads/internal/api/AdNativeComponentView;->mAdComponentViewApi:Lcom/facebook/ads/internal/api/AdComponentViewApi;
|
|
|
|
if-eqz v0, :cond_0
|
|
|
|
.line 235
|
|
invoke-interface {v0, p1}, Lcom/facebook/ads/internal/api/AdComponentViewParentApi;->bringChildToFront(Landroid/view/View;)V
|
|
|
|
goto :goto_0
|
|
|
|
.line 237
|
|
:cond_0
|
|
invoke-super {p0, p1}, Landroid/view/ViewGroup;->bringChildToFront(Landroid/view/View;)V
|
|
|
|
:goto_0
|
|
return-void
|
|
.end method
|
|
|
|
.method public abstract getAdContentsView()Landroid/view/View;
|
|
.end method
|
|
|
|
.method public onAttachedToWindow()V
|
|
.locals 1
|
|
.annotation build Landroid/annotation/SuppressLint;
|
|
value = {
|
|
"MissingSuperCall"
|
|
}
|
|
.end annotation
|
|
|
|
iget-object v0, p0, Lcom/facebook/ads/internal/api/AdNativeComponentView;->mAdComponentViewApi:Lcom/facebook/ads/internal/api/AdComponentViewApi;
|
|
|
|
if-eqz v0, :cond_0
|
|
|
|
.line 216
|
|
invoke-interface {v0}, Lcom/facebook/ads/internal/api/AdComponentViewParentApi;->onAttachedToWindow()V
|
|
|
|
goto :goto_0
|
|
|
|
.line 218
|
|
:cond_0
|
|
invoke-super {p0}, Landroid/view/View;->onAttachedToWindow()V
|
|
|
|
:goto_0
|
|
return-void
|
|
.end method
|
|
|
|
.method public onDetachedFromWindow()V
|
|
.locals 1
|
|
.annotation build Landroid/annotation/SuppressLint;
|
|
value = {
|
|
"MissingSuperCall"
|
|
}
|
|
.end annotation
|
|
|
|
iget-object v0, p0, Lcom/facebook/ads/internal/api/AdNativeComponentView;->mAdComponentViewApi:Lcom/facebook/ads/internal/api/AdComponentViewApi;
|
|
|
|
if-eqz v0, :cond_0
|
|
|
|
.line 226
|
|
invoke-interface {v0}, Lcom/facebook/ads/internal/api/AdComponentViewParentApi;->onDetachedFromWindow()V
|
|
|
|
goto :goto_0
|
|
|
|
.line 228
|
|
:cond_0
|
|
invoke-super {p0}, Landroid/view/View;->onDetachedFromWindow()V
|
|
|
|
:goto_0
|
|
return-void
|
|
.end method
|
|
|
|
.method public onMeasure(II)V
|
|
.locals 1
|
|
|
|
iget-object v0, p0, Lcom/facebook/ads/internal/api/AdNativeComponentView;->mAdComponentViewApi:Lcom/facebook/ads/internal/api/AdComponentViewApi;
|
|
|
|
if-eqz v0, :cond_0
|
|
|
|
.line 188
|
|
invoke-interface {v0, p1, p2}, Lcom/facebook/ads/internal/api/AdComponentViewParentApi;->onMeasure(II)V
|
|
|
|
goto :goto_0
|
|
|
|
.line 190
|
|
:cond_0
|
|
invoke-super {p0, p1, p2}, Landroid/widget/RelativeLayout;->onMeasure(II)V
|
|
|
|
:goto_0
|
|
return-void
|
|
.end method
|
|
|
|
.method public onVisibilityChanged(Landroid/view/View;I)V
|
|
.locals 1
|
|
|
|
iget-object v0, p0, Lcom/facebook/ads/internal/api/AdNativeComponentView;->mAdComponentViewApi:Lcom/facebook/ads/internal/api/AdComponentViewApi;
|
|
|
|
if-eqz v0, :cond_0
|
|
|
|
.line 197
|
|
invoke-interface {v0, p1, p2}, Lcom/facebook/ads/internal/api/AdComponentViewParentApi;->onVisibilityChanged(Landroid/view/View;I)V
|
|
|
|
goto :goto_0
|
|
|
|
.line 199
|
|
:cond_0
|
|
invoke-super {p0, p1, p2}, Landroid/view/View;->onVisibilityChanged(Landroid/view/View;I)V
|
|
|
|
:goto_0
|
|
return-void
|
|
.end method
|
|
|
|
.method public onWindowFocusChanged(Z)V
|
|
.locals 1
|
|
|
|
iget-object v0, p0, Lcom/facebook/ads/internal/api/AdNativeComponentView;->mAdComponentViewApi:Lcom/facebook/ads/internal/api/AdComponentViewApi;
|
|
|
|
if-eqz v0, :cond_0
|
|
|
|
.line 206
|
|
invoke-interface {v0, p1}, Lcom/facebook/ads/internal/api/AdComponentView;->onWindowFocusChanged(Z)V
|
|
|
|
goto :goto_0
|
|
|
|
.line 208
|
|
:cond_0
|
|
invoke-super {p0, p1}, Landroid/view/View;->onWindowFocusChanged(Z)V
|
|
|
|
:goto_0
|
|
return-void
|
|
.end method
|
|
|
|
.method public setLayoutParams(Landroid/view/ViewGroup$LayoutParams;)V
|
|
.locals 1
|
|
|
|
iget-object v0, p0, Lcom/facebook/ads/internal/api/AdNativeComponentView;->mAdComponentViewApi:Lcom/facebook/ads/internal/api/AdComponentViewApi;
|
|
|
|
if-eqz v0, :cond_0
|
|
|
|
.line 179
|
|
invoke-interface {v0, p1}, Lcom/facebook/ads/internal/api/AdComponentView;->setLayoutParams(Landroid/view/ViewGroup$LayoutParams;)V
|
|
|
|
goto :goto_0
|
|
|
|
.line 181
|
|
:cond_0
|
|
invoke-super {p0, p1}, Landroid/view/View;->setLayoutParams(Landroid/view/ViewGroup$LayoutParams;)V
|
|
|
|
:goto_0
|
|
return-void
|
|
.end method
|