- 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
167 lines
4.8 KiB
Smali
167 lines
4.8 KiB
Smali
.class public Lcom/fyber/inneractive/sdk/video/IAVideoKit;
|
|
.super Landroid/content/BroadcastReceiver;
|
|
.source "SourceFile"
|
|
|
|
|
|
# static fields
|
|
.field private static final sProvider:Lcom/fyber/inneractive/sdk/util/v;
|
|
|
|
|
|
# direct methods
|
|
.method public static constructor <clinit>()V
|
|
.locals 1
|
|
|
|
.line 1
|
|
new-instance v0, Lcom/fyber/inneractive/sdk/video/IAVideoKit$a;
|
|
|
|
invoke-direct {v0}, Lcom/fyber/inneractive/sdk/video/IAVideoKit$a;-><init>()V
|
|
|
|
sput-object v0, Lcom/fyber/inneractive/sdk/video/IAVideoKit;->sProvider:Lcom/fyber/inneractive/sdk/util/v;
|
|
|
|
return-void
|
|
.end method
|
|
|
|
.method public constructor <init>()V
|
|
.locals 0
|
|
|
|
.line 1
|
|
invoke-direct {p0}, Landroid/content/BroadcastReceiver;-><init>()V
|
|
|
|
return-void
|
|
.end method
|
|
|
|
|
|
# virtual methods
|
|
.method public onReceive(Landroid/content/Context;Landroid/content/Intent;)V
|
|
.locals 2
|
|
|
|
sget-object p2, Lcom/fyber/inneractive/sdk/video/IAVideoKit;->sProvider:Lcom/fyber/inneractive/sdk/util/v;
|
|
|
|
.line 2
|
|
sget-object v0, Lcom/fyber/inneractive/sdk/config/IAConfigManager;->L:Lcom/fyber/inneractive/sdk/config/IAConfigManager;
|
|
|
|
iget-object v0, v0, Lcom/fyber/inneractive/sdk/config/IAConfigManager;->H:Ljava/util/HashMap;
|
|
|
|
invoke-interface {p2}, Lcom/fyber/inneractive/sdk/util/v;->getType()Lcom/fyber/inneractive/sdk/util/w;
|
|
|
|
move-result-object v1
|
|
|
|
invoke-virtual {v0, v1, p2}, Ljava/util/HashMap;->put(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;
|
|
|
|
.line 3
|
|
sget-object p2, Lcom/fyber/inneractive/sdk/player/cache/p;->f:Lcom/fyber/inneractive/sdk/player/cache/p;
|
|
|
|
.line 4
|
|
invoke-virtual {p1}, Landroid/content/Context;->getApplicationContext()Landroid/content/Context;
|
|
|
|
move-result-object v0
|
|
|
|
if-nez v0, :cond_0
|
|
|
|
invoke-virtual {p2}, Ljava/lang/Object;->getClass()Ljava/lang/Class;
|
|
|
|
const/4 p2, 0x0
|
|
|
|
new-array p2, p2, [Ljava/lang/Object;
|
|
|
|
const-string v0, "context is null, would not start the video cache."
|
|
|
|
.line 5
|
|
invoke-static {v0, p2}, Lcom/fyber/inneractive/sdk/util/IAlog;->f(Ljava/lang/String;[Ljava/lang/Object;)V
|
|
|
|
goto :goto_0
|
|
|
|
.line 6
|
|
:cond_0
|
|
iget-boolean v1, p2, Lcom/fyber/inneractive/sdk/player/cache/p;->c:Z
|
|
|
|
if-eqz v1, :cond_1
|
|
|
|
.line 8
|
|
invoke-static {}, Lcom/fyber/inneractive/sdk/util/s;->a()Z
|
|
|
|
move-result v1
|
|
|
|
if-eqz v1, :cond_1
|
|
|
|
goto :goto_0
|
|
|
|
.line 9
|
|
:cond_1
|
|
iput-object v0, p2, Lcom/fyber/inneractive/sdk/player/cache/p;->a:Landroid/content/Context;
|
|
|
|
.line 10
|
|
new-instance v0, Ljava/lang/Thread;
|
|
|
|
iget-object p2, p2, Lcom/fyber/inneractive/sdk/player/cache/p;->e:Lcom/fyber/inneractive/sdk/player/cache/p$a;
|
|
|
|
const-string v1, "VideoCache"
|
|
|
|
invoke-direct {v0, p2, v1}, Ljava/lang/Thread;-><init>(Ljava/lang/Runnable;Ljava/lang/String;)V
|
|
|
|
.line 11
|
|
invoke-virtual {v0}, Ljava/lang/Thread;->start()V
|
|
|
|
.line 12
|
|
:goto_0
|
|
invoke-virtual {p1}, Landroid/content/Context;->getApplicationContext()Landroid/content/Context;
|
|
|
|
move-result-object p1
|
|
|
|
.line 13
|
|
invoke-virtual {p1}, Landroid/content/Context;->getPackageName()Ljava/lang/String;
|
|
|
|
move-result-object p1
|
|
|
|
filled-new-array {p1}, [Ljava/lang/Object;
|
|
|
|
move-result-object p1
|
|
|
|
const-string p2, "IAVideoKit: onReceive in package: %s"
|
|
|
|
.line 14
|
|
invoke-static {p2, p1}, Lcom/fyber/inneractive/sdk/util/IAlog;->a(Ljava/lang/String;[Ljava/lang/Object;)V
|
|
|
|
.line 15
|
|
sget-object p1, Lcom/fyber/inneractive/sdk/factories/b$a;->a:Lcom/fyber/inneractive/sdk/factories/b;
|
|
|
|
.line 16
|
|
sget-object p2, Lcom/fyber/inneractive/sdk/response/a;->RETURNED_ADTYPE_VAST:Lcom/fyber/inneractive/sdk/response/a;
|
|
|
|
new-instance v0, Lcom/fyber/inneractive/sdk/video/IAVideoKit$b;
|
|
|
|
invoke-direct {v0}, Lcom/fyber/inneractive/sdk/video/IAVideoKit$b;-><init>()V
|
|
|
|
invoke-virtual {p1, p2, v0}, Lcom/fyber/inneractive/sdk/factories/b;->a(Lcom/fyber/inneractive/sdk/response/a;Lcom/fyber/inneractive/sdk/factories/b$b;)V
|
|
|
|
.line 17
|
|
sget-object p1, Lcom/fyber/inneractive/sdk/factories/c$b;->a:Lcom/fyber/inneractive/sdk/factories/c;
|
|
|
|
.line 18
|
|
new-instance p2, Lcom/fyber/inneractive/sdk/video/IAVideoKit$c;
|
|
|
|
invoke-direct {p2}, Lcom/fyber/inneractive/sdk/video/IAVideoKit$c;-><init>()V
|
|
|
|
.line 19
|
|
iget-object p1, p1, Lcom/fyber/inneractive/sdk/factories/c;->a:Ljava/util/HashSet;
|
|
|
|
.line 20
|
|
invoke-virtual {p1, p2}, Ljava/util/HashSet;->add(Ljava/lang/Object;)Z
|
|
|
|
.line 21
|
|
sget-object p1, Lcom/fyber/inneractive/sdk/factories/a$b;->a:Lcom/fyber/inneractive/sdk/factories/a;
|
|
|
|
.line 22
|
|
new-instance p2, Lcom/fyber/inneractive/sdk/video/IAVideoKit$d;
|
|
|
|
invoke-direct {p2}, Lcom/fyber/inneractive/sdk/video/IAVideoKit$d;-><init>()V
|
|
|
|
.line 23
|
|
iget-object p1, p1, Lcom/fyber/inneractive/sdk/factories/a;->a:Ljava/util/HashSet;
|
|
|
|
.line 24
|
|
invoke-virtual {p1, p2}, Ljava/util/HashSet;->add(Ljava/lang/Object;)Z
|
|
|
|
return-void
|
|
.end method
|