Files
rr3-apk/smali_classes4/com/mbridge/msdk/newreward/player/view/Template102.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

176 lines
4.5 KiB
Smali

.class public Lcom/mbridge/msdk/newreward/player/view/Template102;
.super Lcom/mbridge/msdk/newreward/player/view/BaseTemplate;
.source "SourceFile"
# interfaces
.implements Lcom/mbridge/msdk/newreward/player/iview/ICusTemplateView;
# direct methods
.method public constructor <init>(Landroid/content/Context;)V
.locals 0
.param p1 # Landroid/content/Context;
.annotation build Landroidx/annotation/NonNull;
.end annotation
.end param
.line 18
invoke-direct {p0, p1}, Lcom/mbridge/msdk/newreward/player/view/BaseTemplate;-><init>(Landroid/content/Context;)V
.line 19
new-instance p1, Lcom/mbridge/msdk/newreward/player/presenter/PlayPresenter102;
invoke-direct {p1, p0}, Lcom/mbridge/msdk/newreward/player/presenter/PlayPresenter102;-><init>(Lcom/mbridge/msdk/newreward/player/iview/IPlayTempleView;)V
iput-object p1, p0, Lcom/mbridge/msdk/newreward/player/view/BaseTemplate;->presenter:Lcom/mbridge/msdk/newreward/player/presenter/PlayTemplePresenter;
.line 20
invoke-virtual {p1}, Lcom/mbridge/msdk/newreward/player/presenter/PlayTemplePresenter;->getView()V
return-void
.end method
.method public constructor <init>(Landroid/content/Context;Landroid/util/AttributeSet;)V
.locals 0
.param p1 # Landroid/content/Context;
.annotation build Landroidx/annotation/NonNull;
.end annotation
.end param
.param p2 # Landroid/util/AttributeSet;
.annotation build Landroidx/annotation/Nullable;
.end annotation
.end param
.line 24
invoke-direct {p0, p1, p2}, Lcom/mbridge/msdk/newreward/player/view/BaseTemplate;-><init>(Landroid/content/Context;Landroid/util/AttributeSet;)V
return-void
.end method
# virtual methods
.method public addCTAViewToLayout(Landroid/view/View;I)V
.locals 2
iget-object v0, p0, Lcom/mbridge/msdk/newreward/player/view/BaseTemplate;->mCtaLayout:Landroid/widget/FrameLayout;
if-nez v0, :cond_0
return-void
:cond_0
const/16 v1, 0x8
if-ne p2, v1, :cond_1
.line 39
invoke-virtual {v0, p2}, Landroid/view/View;->setVisibility(I)V
return-void
.line 43
:cond_1
:try_start_0
invoke-virtual {p1}, Landroid/view/View;->getParent()Landroid/view/ViewParent;
move-result-object v0
if-eqz v0, :cond_2
.line 44
invoke-virtual {p1}, Landroid/view/View;->getParent()Landroid/view/ViewParent;
move-result-object v0
check-cast v0, Landroid/view/ViewGroup;
invoke-virtual {v0, p1}, Landroid/view/ViewGroup;->removeView(Landroid/view/View;)V
goto :goto_0
:catch_0
move-exception p1
goto :goto_1
:cond_2
:goto_0
iget-object v0, p0, Lcom/mbridge/msdk/newreward/player/view/BaseTemplate;->mCtaLayout:Landroid/widget/FrameLayout;
.line 46
invoke-virtual {v0, p1}, Landroid/view/ViewGroup;->addView(Landroid/view/View;)V
iget-object p1, p0, Lcom/mbridge/msdk/newreward/player/view/BaseTemplate;->mCtaLayout:Landroid/widget/FrameLayout;
.line 47
invoke-virtual {p1, p2}, Landroid/view/View;->setVisibility(I)V
:try_end_0
.catch Ljava/lang/Exception; {:try_start_0 .. :try_end_0} :catch_0
goto :goto_2
.line 49
:goto_1
sget-boolean p2, Lcom/mbridge/msdk/MBridgeConstans;->DEBUG:Z
if-eqz p2, :cond_3
.line 50
invoke-virtual {p1}, Ljava/lang/Throwable;->printStackTrace()V
:cond_3
:goto_2
return-void
.end method
.method public addClickEvent()V
.locals 1
.line 65
invoke-super {p0}, Lcom/mbridge/msdk/newreward/player/view/BaseTemplate;->addClickEvent()V
iget-object v0, p0, Lcom/mbridge/msdk/newreward/player/view/BaseTemplate;->mPlayerView:Lcom/mbridge/msdk/playercommon/PlayerView;
if-eqz v0, :cond_0
.line 67
invoke-virtual {v0, p0}, Landroid/view/View;->setOnClickListener(Landroid/view/View$OnClickListener;)V
:cond_0
return-void
.end method
.method public getCTAViewState()I
.locals 1
iget-object v0, p0, Lcom/mbridge/msdk/newreward/player/view/BaseTemplate;->mCtaLayout:Landroid/widget/FrameLayout;
if-eqz v0, :cond_0
.line 58
invoke-virtual {v0}, Landroid/view/View;->getVisibility()I
move-result v0
return v0
:cond_0
const/4 v0, -0x1
return v0
.end method
.method public show(Landroid/view/ViewGroup;)V
.locals 0
.line 29
invoke-super {p0, p1}, Lcom/mbridge/msdk/newreward/player/view/BaseTemplate;->show(Landroid/view/ViewGroup;)V
const/high16 p1, -0x1000000
.line 30
invoke-virtual {p0, p1}, Landroid/view/View;->setBackgroundColor(I)V
return-void
.end method