- 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
214 lines
6.0 KiB
Smali
214 lines
6.0 KiB
Smali
.class public Lcom/mbridge/msdk/video/module/MBridgeVastEndCardView;
|
|
.super Lcom/mbridge/msdk/video/module/MBridgeBaseView;
|
|
.source "SourceFile"
|
|
|
|
|
|
# instance fields
|
|
.field private m:Landroid/view/ViewGroup;
|
|
|
|
.field private n:Landroid/view/View;
|
|
|
|
.field private o:Landroid/view/View;
|
|
|
|
|
|
# direct methods
|
|
.method public constructor <init>(Landroid/content/Context;)V
|
|
.locals 0
|
|
|
|
.line 22
|
|
invoke-direct {p0, p1}, Lcom/mbridge/msdk/video/module/MBridgeBaseView;-><init>(Landroid/content/Context;)V
|
|
|
|
return-void
|
|
.end method
|
|
|
|
.method public constructor <init>(Landroid/content/Context;Landroid/util/AttributeSet;)V
|
|
.locals 0
|
|
|
|
.line 26
|
|
invoke-direct {p0, p1, p2}, Lcom/mbridge/msdk/video/module/MBridgeBaseView;-><init>(Landroid/content/Context;Landroid/util/AttributeSet;)V
|
|
|
|
return-void
|
|
.end method
|
|
|
|
|
|
# virtual methods
|
|
.method public final c()V
|
|
.locals 2
|
|
|
|
.line 52
|
|
invoke-super {p0}, Lcom/mbridge/msdk/video/module/MBridgeBaseView;->c()V
|
|
|
|
iget-boolean v0, p0, Lcom/mbridge/msdk/video/module/MBridgeBaseView;->e:Z
|
|
|
|
if-eqz v0, :cond_0
|
|
|
|
iget-object v0, p0, Lcom/mbridge/msdk/video/module/MBridgeVastEndCardView;->n:Landroid/view/View;
|
|
|
|
.line 54
|
|
new-instance v1, Lcom/mbridge/msdk/video/module/MBridgeVastEndCardView$1;
|
|
|
|
invoke-direct {v1, p0}, Lcom/mbridge/msdk/video/module/MBridgeVastEndCardView$1;-><init>(Lcom/mbridge/msdk/video/module/MBridgeVastEndCardView;)V
|
|
|
|
invoke-virtual {v0, v1}, Landroid/view/View;->setOnClickListener(Landroid/view/View$OnClickListener;)V
|
|
|
|
iget-object v0, p0, Lcom/mbridge/msdk/video/module/MBridgeVastEndCardView;->o:Landroid/view/View;
|
|
|
|
.line 60
|
|
new-instance v1, Lcom/mbridge/msdk/video/module/MBridgeVastEndCardView$2;
|
|
|
|
invoke-direct {v1, p0}, Lcom/mbridge/msdk/video/module/MBridgeVastEndCardView$2;-><init>(Lcom/mbridge/msdk/video/module/MBridgeVastEndCardView;)V
|
|
|
|
invoke-virtual {v0, v1}, Landroid/view/View;->setOnClickListener(Landroid/view/View$OnClickListener;)V
|
|
|
|
:cond_0
|
|
return-void
|
|
.end method
|
|
|
|
.method public init(Landroid/content/Context;)V
|
|
.locals 3
|
|
|
|
const-string p1, "mbridge_reward_endcard_vast"
|
|
|
|
.line 31
|
|
invoke-virtual {p0, p1}, Lcom/mbridge/msdk/video/module/MBridgeBaseView;->findLayout(Ljava/lang/String;)I
|
|
|
|
move-result p1
|
|
|
|
if-ltz p1, :cond_0
|
|
|
|
iget-object v0, p0, Lcom/mbridge/msdk/video/module/MBridgeBaseView;->c:Landroid/view/LayoutInflater;
|
|
|
|
.line 33
|
|
invoke-virtual {v0, p1, p0}, Landroid/view/LayoutInflater;->inflate(ILandroid/view/ViewGroup;)Landroid/view/View;
|
|
|
|
const-string p1, "mbridge_rl_content"
|
|
|
|
.line 1075
|
|
invoke-virtual {p0, p1}, Lcom/mbridge/msdk/video/module/MBridgeBaseView;->findID(Ljava/lang/String;)I
|
|
|
|
move-result p1
|
|
|
|
invoke-virtual {p0, p1}, Landroid/view/View;->findViewById(I)Landroid/view/View;
|
|
|
|
move-result-object p1
|
|
|
|
check-cast p1, Landroid/view/ViewGroup;
|
|
|
|
iput-object p1, p0, Lcom/mbridge/msdk/video/module/MBridgeVastEndCardView;->m:Landroid/view/ViewGroup;
|
|
|
|
const-string p1, "mbridge_iv_vastclose"
|
|
|
|
.line 1076
|
|
invoke-virtual {p0, p1}, Lcom/mbridge/msdk/video/module/MBridgeBaseView;->findID(Ljava/lang/String;)I
|
|
|
|
move-result p1
|
|
|
|
invoke-virtual {p0, p1}, Landroid/view/View;->findViewById(I)Landroid/view/View;
|
|
|
|
move-result-object p1
|
|
|
|
iput-object p1, p0, Lcom/mbridge/msdk/video/module/MBridgeVastEndCardView;->n:Landroid/view/View;
|
|
|
|
const-string p1, "mbridge_iv_vastok"
|
|
|
|
.line 1077
|
|
invoke-virtual {p0, p1}, Lcom/mbridge/msdk/video/module/MBridgeBaseView;->findID(Ljava/lang/String;)I
|
|
|
|
move-result p1
|
|
|
|
invoke-virtual {p0, p1}, Landroid/view/View;->findViewById(I)Landroid/view/View;
|
|
|
|
move-result-object p1
|
|
|
|
iput-object p1, p0, Lcom/mbridge/msdk/video/module/MBridgeVastEndCardView;->o:Landroid/view/View;
|
|
|
|
const/4 v0, 0x3
|
|
|
|
new-array v0, v0, [Landroid/view/View;
|
|
|
|
const/4 v1, 0x0
|
|
|
|
iget-object v2, p0, Lcom/mbridge/msdk/video/module/MBridgeVastEndCardView;->m:Landroid/view/ViewGroup;
|
|
|
|
aput-object v2, v0, v1
|
|
|
|
iget-object v1, p0, Lcom/mbridge/msdk/video/module/MBridgeVastEndCardView;->n:Landroid/view/View;
|
|
|
|
const/4 v2, 0x1
|
|
|
|
aput-object v1, v0, v2
|
|
|
|
const/4 v1, 0x2
|
|
|
|
aput-object p1, v0, v1
|
|
|
|
.line 1078
|
|
invoke-virtual {p0, v0}, Lcom/mbridge/msdk/video/module/MBridgeBaseView;->isNotNULL([Landroid/view/View;)Z
|
|
|
|
move-result p1
|
|
|
|
iput-boolean p1, p0, Lcom/mbridge/msdk/video/module/MBridgeBaseView;->e:Z
|
|
|
|
.line 35
|
|
invoke-virtual {p0}, Lcom/mbridge/msdk/video/module/MBridgeVastEndCardView;->c()V
|
|
|
|
iget-boolean p1, p0, Lcom/mbridge/msdk/video/module/MBridgeBaseView;->e:Z
|
|
|
|
if-eqz p1, :cond_0
|
|
|
|
.line 2042
|
|
invoke-virtual {p0}, Lcom/mbridge/msdk/video/module/MBridgeBaseView;->setMatchParent()V
|
|
|
|
const-string p1, "mbridge_reward_endcard_vast_bg"
|
|
|
|
.line 2043
|
|
invoke-virtual {p0, p1}, Lcom/mbridge/msdk/video/module/MBridgeBaseView;->findColor(Ljava/lang/String;)I
|
|
|
|
move-result p1
|
|
|
|
invoke-virtual {p0, p1}, Landroid/view/View;->setBackgroundResource(I)V
|
|
|
|
.line 2044
|
|
invoke-virtual {p0, v2}, Landroid/view/View;->setClickable(Z)V
|
|
|
|
iget-object p1, p0, Lcom/mbridge/msdk/video/module/MBridgeVastEndCardView;->m:Landroid/view/ViewGroup;
|
|
|
|
.line 2045
|
|
invoke-virtual {p1}, Landroid/view/View;->getLayoutParams()Landroid/view/ViewGroup$LayoutParams;
|
|
|
|
move-result-object p1
|
|
|
|
check-cast p1, Landroid/widget/RelativeLayout$LayoutParams;
|
|
|
|
const/16 v0, 0xd
|
|
|
|
const/4 v1, -0x1
|
|
|
|
.line 2046
|
|
invoke-virtual {p1, v0, v1}, Landroid/widget/RelativeLayout$LayoutParams;->addRule(II)V
|
|
|
|
:cond_0
|
|
return-void
|
|
.end method
|
|
|
|
.method public notifyShowListener()V
|
|
.locals 3
|
|
|
|
iget-object v0, p0, Lcom/mbridge/msdk/video/module/MBridgeBaseView;->notifyListener:Lcom/mbridge/msdk/video/module/a/a;
|
|
|
|
const/16 v1, 0x6f
|
|
|
|
const-string v2, ""
|
|
|
|
.line 82
|
|
invoke-interface {v0, v1, v2}, Lcom/mbridge/msdk/video/module/a/a;->a(ILjava/lang/Object;)V
|
|
|
|
return-void
|
|
.end method
|
|
|
|
.method public preLoadData(Lcom/mbridge/msdk/video/signal/factory/b;)V
|
|
.locals 0
|
|
|
|
return-void
|
|
.end method
|