- 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
424 lines
10 KiB
Smali
424 lines
10 KiB
Smali
.class public abstract Lcom/fyber/inneractive/sdk/player/ui/d;
|
|
.super Landroid/widget/RelativeLayout;
|
|
.source "SourceFile"
|
|
|
|
# interfaces
|
|
.implements Lcom/fyber/inneractive/sdk/player/ui/l;
|
|
|
|
|
|
# annotations
|
|
.annotation system Ldalvik/annotation/MemberClasses;
|
|
value = {
|
|
Lcom/fyber/inneractive/sdk/player/ui/d$a;
|
|
}
|
|
.end annotation
|
|
|
|
|
|
# instance fields
|
|
.field public final a:Lcom/fyber/inneractive/sdk/util/p0;
|
|
|
|
.field public final b:I
|
|
|
|
.field public c:Lcom/fyber/inneractive/sdk/config/f0;
|
|
|
|
.field public d:Lcom/fyber/inneractive/sdk/config/enums/UnitDisplayType;
|
|
|
|
.field public e:Z
|
|
|
|
.field public f:Z
|
|
|
|
.field public g:Lcom/fyber/inneractive/sdk/player/ui/m;
|
|
|
|
.field public h:Z
|
|
|
|
|
|
# direct methods
|
|
.method public constructor <init>(Landroid/content/Context;)V
|
|
.locals 2
|
|
|
|
const/4 v0, 0x0
|
|
|
|
const/4 v1, 0x0
|
|
|
|
.line 1
|
|
invoke-direct {p0, p1, v0, v1}, Landroid/widget/RelativeLayout;-><init>(Landroid/content/Context;Landroid/util/AttributeSet;I)V
|
|
|
|
.line 2
|
|
invoke-static {}, Lcom/fyber/inneractive/sdk/util/p0;->a()Lcom/fyber/inneractive/sdk/util/p0;
|
|
|
|
move-result-object p1
|
|
|
|
iput-object p1, p0, Lcom/fyber/inneractive/sdk/player/ui/d;->a:Lcom/fyber/inneractive/sdk/util/p0;
|
|
|
|
iput v1, p0, Lcom/fyber/inneractive/sdk/player/ui/d;->b:I
|
|
|
|
iput-boolean v1, p0, Lcom/fyber/inneractive/sdk/player/ui/d;->e:Z
|
|
|
|
iput-boolean v1, p0, Lcom/fyber/inneractive/sdk/player/ui/d;->f:Z
|
|
|
|
iput-boolean v1, p0, Lcom/fyber/inneractive/sdk/player/ui/d;->h:Z
|
|
|
|
.line 54
|
|
invoke-static {}, Lcom/fyber/inneractive/sdk/util/o;->g()I
|
|
|
|
move-result p1
|
|
|
|
invoke-static {}, Lcom/fyber/inneractive/sdk/util/o;->f()I
|
|
|
|
move-result v0
|
|
|
|
invoke-static {p1, v0}, Ljava/lang/Math;->min(II)I
|
|
|
|
move-result p1
|
|
|
|
iput p1, p0, Lcom/fyber/inneractive/sdk/player/ui/d;->b:I
|
|
|
|
return-void
|
|
.end method
|
|
|
|
|
|
# virtual methods
|
|
.method public abstract a(Lcom/fyber/inneractive/sdk/util/q0;II)V
|
|
.end method
|
|
|
|
.method public a()Z
|
|
.locals 1
|
|
|
|
.line 0
|
|
const/4 v0, 0x0
|
|
|
|
return v0
|
|
.end method
|
|
|
|
.method public final b()Ljava/lang/String;
|
|
.locals 1
|
|
|
|
.line 1
|
|
invoke-static {p0}, Lcom/fyber/inneractive/sdk/util/IAlog;->a(Ljava/lang/Object;)Ljava/lang/String;
|
|
|
|
move-result-object v0
|
|
|
|
return-object v0
|
|
.end method
|
|
|
|
.method public c()V
|
|
.locals 1
|
|
|
|
const/4 v0, 0x1
|
|
|
|
iput-boolean v0, p0, Lcom/fyber/inneractive/sdk/player/ui/d;->h:Z
|
|
|
|
return-void
|
|
.end method
|
|
|
|
.method public d()V
|
|
.locals 1
|
|
|
|
const/4 v0, 0x0
|
|
|
|
iput-boolean v0, p0, Lcom/fyber/inneractive/sdk/player/ui/d;->h:Z
|
|
|
|
return-void
|
|
.end method
|
|
|
|
.method public destroy()V
|
|
.locals 1
|
|
|
|
iget-object v0, p0, Lcom/fyber/inneractive/sdk/player/ui/d;->g:Lcom/fyber/inneractive/sdk/player/ui/m;
|
|
|
|
if-eqz v0, :cond_0
|
|
|
|
const/4 v0, 0x0
|
|
|
|
iput-object v0, p0, Lcom/fyber/inneractive/sdk/player/ui/d;->g:Lcom/fyber/inneractive/sdk/player/ui/m;
|
|
|
|
:cond_0
|
|
return-void
|
|
.end method
|
|
|
|
.method public final e()V
|
|
.locals 3
|
|
|
|
.line 1
|
|
invoke-virtual {p0}, Landroid/view/View;->isShown()Z
|
|
|
|
move-result v0
|
|
|
|
if-eqz v0, :cond_0
|
|
|
|
invoke-virtual {p0}, Landroid/view/View;->hasWindowFocus()Z
|
|
|
|
move-result v0
|
|
|
|
if-eqz v0, :cond_0
|
|
|
|
iget-boolean v0, p0, Lcom/fyber/inneractive/sdk/player/ui/d;->f:Z
|
|
|
|
if-eqz v0, :cond_0
|
|
|
|
iget-boolean v0, p0, Lcom/fyber/inneractive/sdk/player/ui/d;->h:Z
|
|
|
|
if-nez v0, :cond_0
|
|
|
|
const/4 v0, 0x1
|
|
|
|
goto :goto_0
|
|
|
|
:cond_0
|
|
const/4 v0, 0x0
|
|
|
|
:goto_0
|
|
if-eqz v0, :cond_1
|
|
|
|
.line 7
|
|
new-instance v0, Landroid/graphics/Rect;
|
|
|
|
invoke-direct {v0}, Landroid/graphics/Rect;-><init>()V
|
|
|
|
.line 8
|
|
invoke-virtual {p0, v0}, Landroid/view/View;->getGlobalVisibleRect(Landroid/graphics/Rect;)Z
|
|
|
|
move-result v0
|
|
|
|
:cond_1
|
|
iget-boolean v1, p0, Lcom/fyber/inneractive/sdk/player/ui/d;->e:Z
|
|
|
|
if-eq v0, v1, :cond_2
|
|
|
|
iget-object v1, p0, Lcom/fyber/inneractive/sdk/player/ui/d;->g:Lcom/fyber/inneractive/sdk/player/ui/m;
|
|
|
|
if-eqz v1, :cond_2
|
|
|
|
.line 13
|
|
invoke-static {p0}, Lcom/fyber/inneractive/sdk/util/IAlog;->a(Ljava/lang/Object;)Ljava/lang/String;
|
|
|
|
move-result-object v1
|
|
|
|
.line 14
|
|
invoke-static {v0}, Ljava/lang/Boolean;->valueOf(Z)Ljava/lang/Boolean;
|
|
|
|
move-result-object v2
|
|
|
|
filled-new-array {v1, v2}, [Ljava/lang/Object;
|
|
|
|
move-result-object v1
|
|
|
|
const-string v2, "%supdateVisibility changing to %s"
|
|
|
|
invoke-static {v2, v1}, Lcom/fyber/inneractive/sdk/util/IAlog;->a(Ljava/lang/String;[Ljava/lang/Object;)V
|
|
|
|
iput-boolean v0, p0, Lcom/fyber/inneractive/sdk/player/ui/d;->e:Z
|
|
|
|
iget-object v1, p0, Lcom/fyber/inneractive/sdk/player/ui/d;->g:Lcom/fyber/inneractive/sdk/player/ui/m;
|
|
|
|
.line 16
|
|
invoke-interface {v1, v0}, Lcom/fyber/inneractive/sdk/player/ui/m;->a(Z)V
|
|
|
|
:cond_2
|
|
return-void
|
|
.end method
|
|
|
|
.method public final onAttachedToWindow()V
|
|
.locals 2
|
|
|
|
.line 1
|
|
invoke-super {p0}, Landroid/view/View;->onAttachedToWindow()V
|
|
|
|
.line 4
|
|
invoke-static {p0}, Lcom/fyber/inneractive/sdk/util/IAlog;->a(Ljava/lang/Object;)Ljava/lang/String;
|
|
|
|
move-result-object v0
|
|
|
|
iget-boolean v1, p0, Lcom/fyber/inneractive/sdk/player/ui/d;->f:Z
|
|
|
|
.line 5
|
|
invoke-static {v1}, Ljava/lang/Boolean;->valueOf(Z)Ljava/lang/Boolean;
|
|
|
|
move-result-object v1
|
|
|
|
filled-new-array {v0, v1}, [Ljava/lang/Object;
|
|
|
|
move-result-object v0
|
|
|
|
const-string v1, "%sGot onAttachedToWindow: mIsAttached = %s"
|
|
|
|
invoke-static {v1, v0}, Lcom/fyber/inneractive/sdk/util/IAlog;->a(Ljava/lang/String;[Ljava/lang/Object;)V
|
|
|
|
const/4 v0, 0x1
|
|
|
|
iput-boolean v0, p0, Lcom/fyber/inneractive/sdk/player/ui/d;->f:Z
|
|
|
|
iget-object v0, p0, Lcom/fyber/inneractive/sdk/player/ui/d;->g:Lcom/fyber/inneractive/sdk/player/ui/m;
|
|
|
|
if-eqz v0, :cond_0
|
|
|
|
.line 9
|
|
invoke-interface {v0}, Lcom/fyber/inneractive/sdk/player/ui/m;->b()V
|
|
|
|
.line 12
|
|
:cond_0
|
|
invoke-virtual {p0}, Lcom/fyber/inneractive/sdk/player/ui/d;->e()V
|
|
|
|
return-void
|
|
.end method
|
|
|
|
.method public final onDetachedFromWindow()V
|
|
.locals 2
|
|
|
|
.line 1
|
|
invoke-super {p0}, Landroid/view/View;->onDetachedFromWindow()V
|
|
|
|
.line 4
|
|
invoke-static {p0}, Lcom/fyber/inneractive/sdk/util/IAlog;->a(Ljava/lang/Object;)Ljava/lang/String;
|
|
|
|
move-result-object v0
|
|
|
|
iget-boolean v1, p0, Lcom/fyber/inneractive/sdk/player/ui/d;->f:Z
|
|
|
|
.line 5
|
|
invoke-static {v1}, Ljava/lang/Boolean;->valueOf(Z)Ljava/lang/Boolean;
|
|
|
|
move-result-object v1
|
|
|
|
filled-new-array {v0, v1}, [Ljava/lang/Object;
|
|
|
|
move-result-object v0
|
|
|
|
const-string v1, "%sGot onDetachedFromWindow: mIsAttached = %s"
|
|
|
|
invoke-static {v1, v0}, Lcom/fyber/inneractive/sdk/util/IAlog;->a(Ljava/lang/String;[Ljava/lang/Object;)V
|
|
|
|
const/4 v0, 0x0
|
|
|
|
iput-boolean v0, p0, Lcom/fyber/inneractive/sdk/player/ui/d;->f:Z
|
|
|
|
iget-object v0, p0, Lcom/fyber/inneractive/sdk/player/ui/d;->g:Lcom/fyber/inneractive/sdk/player/ui/m;
|
|
|
|
if-eqz v0, :cond_0
|
|
|
|
.line 9
|
|
invoke-interface {v0}, Lcom/fyber/inneractive/sdk/player/ui/m;->d()V
|
|
|
|
.line 12
|
|
:cond_0
|
|
invoke-virtual {p0}, Lcom/fyber/inneractive/sdk/player/ui/d;->e()V
|
|
|
|
return-void
|
|
.end method
|
|
|
|
.method public final onVisibilityChanged(Landroid/view/View;I)V
|
|
.locals 0
|
|
|
|
.line 1
|
|
invoke-super {p0, p1, p2}, Landroid/view/View;->onVisibilityChanged(Landroid/view/View;I)V
|
|
|
|
.line 2
|
|
invoke-virtual {p0, p1}, Ljava/lang/Object;->equals(Ljava/lang/Object;)Z
|
|
|
|
move-result p1
|
|
|
|
if-eqz p1, :cond_0
|
|
|
|
.line 4
|
|
invoke-static {p0}, Lcom/fyber/inneractive/sdk/util/IAlog;->a(Ljava/lang/Object;)Ljava/lang/String;
|
|
|
|
move-result-object p1
|
|
|
|
.line 5
|
|
invoke-static {p2}, Ljava/lang/Integer;->valueOf(I)Ljava/lang/Integer;
|
|
|
|
move-result-object p2
|
|
|
|
filled-new-array {p1, p2}, [Ljava/lang/Object;
|
|
|
|
move-result-object p1
|
|
|
|
const-string p2, "%sgot onVisibilityChanged with %d"
|
|
|
|
invoke-static {p2, p1}, Lcom/fyber/inneractive/sdk/util/IAlog;->a(Ljava/lang/String;[Ljava/lang/Object;)V
|
|
|
|
.line 6
|
|
invoke-virtual {p0}, Lcom/fyber/inneractive/sdk/player/ui/d;->e()V
|
|
|
|
:cond_0
|
|
return-void
|
|
.end method
|
|
|
|
.method public onWindowFocusChanged(Z)V
|
|
.locals 4
|
|
|
|
.line 1
|
|
invoke-super {p0, p1}, Landroid/view/View;->onWindowFocusChanged(Z)V
|
|
|
|
.line 3
|
|
invoke-static {p0}, Lcom/fyber/inneractive/sdk/util/IAlog;->a(Ljava/lang/Object;)Ljava/lang/String;
|
|
|
|
move-result-object v0
|
|
|
|
.line 4
|
|
invoke-static {p1}, Ljava/lang/Boolean;->valueOf(Z)Ljava/lang/Boolean;
|
|
|
|
move-result-object v1
|
|
|
|
filled-new-array {v0, v1}, [Ljava/lang/Object;
|
|
|
|
move-result-object v0
|
|
|
|
const-string v1, "%sgot onWindowFocusChanged with: %s"
|
|
|
|
invoke-static {v1, v0}, Lcom/fyber/inneractive/sdk/util/IAlog;->a(Ljava/lang/String;[Ljava/lang/Object;)V
|
|
|
|
.line 5
|
|
sget-object v0, Lcom/fyber/inneractive/sdk/util/p;->b:Landroid/os/Handler;
|
|
|
|
.line 6
|
|
new-instance v1, Lcom/fyber/inneractive/sdk/player/ui/d$a;
|
|
|
|
invoke-direct {v1, p0, p1}, Lcom/fyber/inneractive/sdk/player/ui/d$a;-><init>(Lcom/fyber/inneractive/sdk/player/ui/d;Z)V
|
|
|
|
const-wide/16 v2, 0x1f4
|
|
|
|
invoke-virtual {v0, v1, v2, v3}, Landroid/os/Handler;->postDelayed(Ljava/lang/Runnable;J)Z
|
|
|
|
return-void
|
|
.end method
|
|
|
|
.method public setListener(Lcom/fyber/inneractive/sdk/player/ui/m;)V
|
|
.locals 0
|
|
|
|
iput-object p1, p0, Lcom/fyber/inneractive/sdk/player/ui/d;->g:Lcom/fyber/inneractive/sdk/player/ui/m;
|
|
|
|
return-void
|
|
.end method
|
|
|
|
.method public setUnitConfig(Lcom/fyber/inneractive/sdk/config/f0;)V
|
|
.locals 1
|
|
|
|
iput-object p1, p0, Lcom/fyber/inneractive/sdk/player/ui/d;->c:Lcom/fyber/inneractive/sdk/config/f0;
|
|
|
|
.line 2
|
|
check-cast p1, Lcom/fyber/inneractive/sdk/config/e0;
|
|
|
|
.line 3
|
|
iget-object v0, p1, Lcom/fyber/inneractive/sdk/config/e0;->e:Lcom/fyber/inneractive/sdk/config/c0;
|
|
|
|
if-nez v0, :cond_0
|
|
|
|
.line 5
|
|
iget-object p1, p1, Lcom/fyber/inneractive/sdk/config/e0;->f:Lcom/fyber/inneractive/sdk/config/g0;
|
|
|
|
.line 6
|
|
iget-object p1, p1, Lcom/fyber/inneractive/sdk/config/g0;->j:Lcom/fyber/inneractive/sdk/config/enums/UnitDisplayType;
|
|
|
|
goto :goto_0
|
|
|
|
.line 7
|
|
:cond_0
|
|
sget-object p1, Lcom/fyber/inneractive/sdk/config/enums/UnitDisplayType;->DEFAULT:Lcom/fyber/inneractive/sdk/config/enums/UnitDisplayType;
|
|
|
|
:goto_0
|
|
iput-object p1, p0, Lcom/fyber/inneractive/sdk/player/ui/d;->d:Lcom/fyber/inneractive/sdk/config/enums/UnitDisplayType;
|
|
|
|
return-void
|
|
.end method
|