Files
rr3-apk/smali_classes2/com/fyber/inneractive/sdk/flow/h.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

999 lines
28 KiB
Smali

.class public abstract Lcom/fyber/inneractive/sdk/flow/h;
.super Ljava/lang/Object;
.source "SourceFile"
# interfaces
.implements Lcom/fyber/inneractive/sdk/interfaces/a;
.implements Lcom/fyber/inneractive/sdk/interfaces/a$b;
# annotations
.annotation system Ldalvik/annotation/Signature;
value = {
"<Response:",
"Lcom/fyber/inneractive/sdk/response/e;",
"Content:",
"Lcom/fyber/inneractive/sdk/flow/q;",
">",
"Ljava/lang/Object;",
"Lcom/fyber/inneractive/sdk/interfaces/a;",
"Lcom/fyber/inneractive/sdk/interfaces/a$b;"
}
.end annotation
# instance fields
.field public a:Lcom/fyber/inneractive/sdk/external/InneractiveAdRequest;
.field public b:Lcom/fyber/inneractive/sdk/response/e;
.annotation system Ldalvik/annotation/Signature;
value = {
"TResponse;"
}
.end annotation
.end field
.field public c:Lcom/fyber/inneractive/sdk/flow/q;
.annotation system Ldalvik/annotation/Signature;
value = {
"TContent;"
}
.end annotation
.end field
.field public d:Lcom/fyber/inneractive/sdk/interfaces/a$a;
.field public e:Lcom/fyber/inneractive/sdk/interfaces/a$b;
.field public f:Lcom/fyber/inneractive/sdk/config/e0;
.field public g:Lcom/fyber/inneractive/sdk/config/global/s;
.field public h:Z
.field public i:I
.field public j:Lcom/fyber/inneractive/sdk/network/timeouts/content/a;
.field public k:Lcom/fyber/inneractive/sdk/flow/b;
.field public final l:Lcom/fyber/inneractive/sdk/flow/h$a;
# direct methods
.method public constructor <init>()V
.locals 1
.line 1
invoke-direct {p0}, Ljava/lang/Object;-><init>()V
const/4 v0, 0x0
iput-boolean v0, p0, Lcom/fyber/inneractive/sdk/flow/h;->h:Z
iput v0, p0, Lcom/fyber/inneractive/sdk/flow/h;->i:I
.line 7
new-instance v0, Lcom/fyber/inneractive/sdk/flow/h$a;
invoke-direct {v0, p0}, Lcom/fyber/inneractive/sdk/flow/h$a;-><init>(Lcom/fyber/inneractive/sdk/flow/h;)V
iput-object v0, p0, Lcom/fyber/inneractive/sdk/flow/h;->l:Lcom/fyber/inneractive/sdk/flow/h$a;
.line 18
new-instance v0, Lcom/fyber/inneractive/sdk/flow/b;
invoke-direct {v0, p0}, Lcom/fyber/inneractive/sdk/flow/b;-><init>(Lcom/fyber/inneractive/sdk/interfaces/a$b;)V
iput-object v0, p0, Lcom/fyber/inneractive/sdk/flow/h;->k:Lcom/fyber/inneractive/sdk/flow/b;
return-void
.end method
# virtual methods
.method public final a()V
.locals 5
const/4 v0, 0x3
new-array v0, v0, [Ljava/lang/Object;
.line 37
invoke-static {p0}, Lcom/fyber/inneractive/sdk/util/IAlog;->a(Ljava/lang/Object;)Ljava/lang/String;
move-result-object v1
const/4 v2, 0x0
aput-object v1, v0, v2
iget v1, p0, Lcom/fyber/inneractive/sdk/flow/h;->i:I
const/4 v3, 0x1
sub-int/2addr v1, v3
invoke-static {v1}, Ljava/lang/Integer;->valueOf(I)Ljava/lang/Integer;
move-result-object v1
aput-object v1, v0, v3
iget v1, p0, Lcom/fyber/inneractive/sdk/flow/h;->i:I
sub-int/2addr v1, v3
iget-object v3, p0, Lcom/fyber/inneractive/sdk/flow/h;->j:Lcom/fyber/inneractive/sdk/network/timeouts/content/a;
if-eqz v3, :cond_2
.line 39
iget-boolean v4, v3, Lcom/fyber/inneractive/sdk/network/timeouts/a;->g:Z
if-eqz v4, :cond_0
.line 40
iget v4, v3, Lcom/fyber/inneractive/sdk/network/timeouts/a;->a:I
sub-int v1, v4, v1
.line 42
:cond_0
iget v4, v3, Lcom/fyber/inneractive/sdk/network/timeouts/a;->a:I
if-ne v1, v4, :cond_1
.line 43
iget v2, v3, Lcom/fyber/inneractive/sdk/network/timeouts/content/a;->i:I
.line 44
:cond_1
iget v4, v3, Lcom/fyber/inneractive/sdk/network/timeouts/a;->d:I
iget v3, v3, Lcom/fyber/inneractive/sdk/network/timeouts/a;->b:I
mul-int/2addr v3, v1
add-int/2addr v3, v4
add-int/2addr v2, v3
.line 45
:cond_2
invoke-static {v2}, Ljava/lang/Integer;->valueOf(I)Ljava/lang/Integer;
move-result-object v1
const/4 v2, 0x2
aput-object v1, v0, v2
const-string v1, "%s : IAAdContentLoaderImpl : onRetry() attempt: %d timeout: %d"
.line 46
invoke-static {v1, v0}, Lcom/fyber/inneractive/sdk/util/IAlog;->a(Ljava/lang/String;[Ljava/lang/Object;)V
iget-object v0, p0, Lcom/fyber/inneractive/sdk/flow/h;->e:Lcom/fyber/inneractive/sdk/interfaces/a$b;
if-eqz v0, :cond_3
.line 49
invoke-interface {v0}, Lcom/fyber/inneractive/sdk/interfaces/a$b;->a()V
.line 51
:cond_3
invoke-virtual {p0}, Lcom/fyber/inneractive/sdk/flow/h;->h()V
return-void
.end method
.method public final a(Lcom/fyber/inneractive/sdk/external/InneractiveAdRequest;Lcom/fyber/inneractive/sdk/response/e;Lcom/fyber/inneractive/sdk/config/global/s;Lcom/fyber/inneractive/sdk/interfaces/a$a;Lcom/fyber/inneractive/sdk/flow/k;)V
.locals 7
iput-object p1, p0, Lcom/fyber/inneractive/sdk/flow/h;->a:Lcom/fyber/inneractive/sdk/external/InneractiveAdRequest;
iput-object p2, p0, Lcom/fyber/inneractive/sdk/flow/h;->b:Lcom/fyber/inneractive/sdk/response/e;
iput-object p4, p0, Lcom/fyber/inneractive/sdk/flow/h;->d:Lcom/fyber/inneractive/sdk/interfaces/a$a;
iput-object p5, p0, Lcom/fyber/inneractive/sdk/flow/h;->e:Lcom/fyber/inneractive/sdk/interfaces/a$b;
.line 5
new-instance p4, Lcom/fyber/inneractive/sdk/flow/b;
invoke-direct {p4, p0}, Lcom/fyber/inneractive/sdk/flow/b;-><init>(Lcom/fyber/inneractive/sdk/interfaces/a$b;)V
iput-object p4, p0, Lcom/fyber/inneractive/sdk/flow/h;->k:Lcom/fyber/inneractive/sdk/flow/b;
iput-object p3, p0, Lcom/fyber/inneractive/sdk/flow/h;->g:Lcom/fyber/inneractive/sdk/config/global/s;
.line 7
iget-object p3, p2, Lcom/fyber/inneractive/sdk/response/e;->n:Lcom/fyber/inneractive/sdk/config/enums/UnitDisplayType;
.line 8
sget-object p4, Lcom/fyber/inneractive/sdk/config/enums/UnitDisplayType;->INTERSTITIAL:Lcom/fyber/inneractive/sdk/config/enums/UnitDisplayType;
if-eq p3, p4, :cond_1
sget-object p4, Lcom/fyber/inneractive/sdk/config/enums/UnitDisplayType;->REWARDED:Lcom/fyber/inneractive/sdk/config/enums/UnitDisplayType;
if-ne p3, p4, :cond_0
goto :goto_1
.line 10
:cond_0
sget-object p3, Lcom/fyber/inneractive/sdk/config/enums/UnitDisplayType;->BANNER:Lcom/fyber/inneractive/sdk/config/enums/UnitDisplayType;
invoke-virtual {p3}, Ljava/lang/Enum;->name()Ljava/lang/String;
move-result-object p3
sget-object p4, Ljava/util/Locale;->US:Ljava/util/Locale;
invoke-virtual {p3, p4}, Ljava/lang/String;->toLowerCase(Ljava/util/Locale;)Ljava/lang/String;
move-result-object p3
:goto_0
move-object v1, p3
goto :goto_2
.line 11
:cond_1
:goto_1
invoke-virtual {p3}, Ljava/lang/Enum;->name()Ljava/lang/String;
move-result-object p3
sget-object p4, Ljava/util/Locale;->US:Ljava/util/Locale;
invoke-virtual {p3, p4}, Ljava/lang/String;->toLowerCase(Ljava/util/Locale;)Ljava/lang/String;
move-result-object p3
goto :goto_0
.line 13
:goto_2
iget p3, p2, Lcom/fyber/inneractive/sdk/response/e;->g:I
.line 14
invoke-static {p3}, Lcom/fyber/inneractive/sdk/response/a;->a(I)Lcom/fyber/inneractive/sdk/response/a;
move-result-object p3
.line 15
sget-object p4, Lcom/fyber/inneractive/sdk/response/a;->RETURNED_ADTYPE_VAST:Lcom/fyber/inneractive/sdk/response/a;
if-ne p3, p4, :cond_2
const-string p3, "video"
:goto_3
move-object v2, p3
goto :goto_4
:cond_2
const-string p3, "display"
goto :goto_3
.line 17
:goto_4
iget-wide p3, p2, Lcom/fyber/inneractive/sdk/response/e;->I:J
long-to-int v3, p3
.line 18
new-instance p3, Lcom/fyber/inneractive/sdk/network/timeouts/content/a;
.line 19
iget-boolean v4, p2, Lcom/fyber/inneractive/sdk/response/e;->B:Z
.line 20
sget-object p4, Lcom/fyber/inneractive/sdk/config/IAConfigManager;->L:Lcom/fyber/inneractive/sdk/config/IAConfigManager;
iget-object v5, p4, Lcom/fyber/inneractive/sdk/config/IAConfigManager;->l:Ljava/lang/String;
iget-object v6, p0, Lcom/fyber/inneractive/sdk/flow/h;->g:Lcom/fyber/inneractive/sdk/config/global/s;
move-object v0, p3
.line 21
invoke-direct/range {v0 .. v6}, Lcom/fyber/inneractive/sdk/network/timeouts/content/a;-><init>(Ljava/lang/String;Ljava/lang/String;IZLjava/lang/String;Lcom/fyber/inneractive/sdk/config/global/s;)V
iput-object p3, p0, Lcom/fyber/inneractive/sdk/flow/h;->j:Lcom/fyber/inneractive/sdk/network/timeouts/content/a;
iget-object p3, p0, Lcom/fyber/inneractive/sdk/flow/h;->a:Lcom/fyber/inneractive/sdk/external/InneractiveAdRequest;
if-nez p3, :cond_3
.line 23
iget-object p3, p2, Lcom/fyber/inneractive/sdk/response/e;->m:Ljava/lang/String;
.line 24
invoke-static {p3}, Lcom/fyber/inneractive/sdk/config/a;->a(Ljava/lang/String;)Lcom/fyber/inneractive/sdk/config/e0;
move-result-object p3
iput-object p3, p0, Lcom/fyber/inneractive/sdk/flow/h;->f:Lcom/fyber/inneractive/sdk/config/e0;
.line 28
:cond_3
:try_start_0
invoke-virtual {p0}, Lcom/fyber/inneractive/sdk/flow/h;->h()V
:try_end_0
.catchall {:try_start_0 .. :try_end_0} :catchall_0
goto :goto_5
:catchall_0
move-exception p3
.line 31
invoke-static {p0}, Lcom/fyber/inneractive/sdk/util/IAlog;->a(Ljava/lang/Object;)Ljava/lang/String;
move-result-object p4
filled-new-array {p4}, [Ljava/lang/Object;
move-result-object p4
const-string p5, "Failed to start ContentLoader"
.line 32
invoke-static {p5, p4}, Lcom/fyber/inneractive/sdk/util/IAlog;->f(Ljava/lang/String;[Ljava/lang/Object;)V
.line 33
invoke-static {p3, p1, p2}, Lcom/fyber/inneractive/sdk/network/t;->a(Ljava/lang/Throwable;Lcom/fyber/inneractive/sdk/external/InneractiveAdRequest;Lcom/fyber/inneractive/sdk/response/e;)V
iget-object p1, p0, Lcom/fyber/inneractive/sdk/flow/h;->k:Lcom/fyber/inneractive/sdk/flow/b;
.line 34
invoke-virtual {p1}, Lcom/fyber/inneractive/sdk/flow/b;->a()V
.line 35
new-instance p1, Lcom/fyber/inneractive/sdk/external/InneractiveInfrastructureError;
sget-object p2, Lcom/fyber/inneractive/sdk/external/InneractiveErrorCode;->SDK_INTERNAL_ERROR:Lcom/fyber/inneractive/sdk/external/InneractiveErrorCode;
sget-object p3, Lcom/fyber/inneractive/sdk/flow/g;->CONTENT_LOADER_START_FAILED:Lcom/fyber/inneractive/sdk/flow/g;
invoke-direct {p1, p2, p3}, Lcom/fyber/inneractive/sdk/external/InneractiveInfrastructureError;-><init>(Lcom/fyber/inneractive/sdk/external/InneractiveErrorCode;Lcom/fyber/inneractive/sdk/flow/g;)V
invoke-virtual {p0, p1}, Lcom/fyber/inneractive/sdk/flow/h;->a(Lcom/fyber/inneractive/sdk/external/InneractiveInfrastructureError;)V
:goto_5
return-void
.end method
.method public final a(Lcom/fyber/inneractive/sdk/external/InneractiveInfrastructureError;)V
.locals 4
.line 53
invoke-static {p0}, Lcom/fyber/inneractive/sdk/util/IAlog;->a(Ljava/lang/Object;)Ljava/lang/String;
move-result-object v0
invoke-virtual {p1}, Lcom/fyber/inneractive/sdk/external/InneractiveInfrastructureError;->getErrorCode()Lcom/fyber/inneractive/sdk/external/InneractiveErrorCode;
move-result-object v1
invoke-virtual {v1}, Lcom/fyber/inneractive/sdk/external/InneractiveErrorCode;->toString()Ljava/lang/String;
move-result-object v1
filled-new-array {v0, v1}, [Ljava/lang/Object;
move-result-object v0
const-string v1, "%s : IAAdContentLoaderImpl : Handle Retry for error: %s"
.line 54
invoke-static {v1, v0}, Lcom/fyber/inneractive/sdk/util/IAlog;->a(Ljava/lang/String;[Ljava/lang/Object;)V
iget-object v0, p0, Lcom/fyber/inneractive/sdk/flow/h;->k:Lcom/fyber/inneractive/sdk/flow/b;
.line 56
invoke-virtual {v0}, Ljava/lang/Object;->getClass()Ljava/lang/Class;
.line 57
invoke-static {v0}, Lcom/fyber/inneractive/sdk/util/IAlog;->a(Ljava/lang/Object;)Ljava/lang/String;
move-result-object v1
filled-new-array {v1}, [Ljava/lang/Object;
move-result-object v1
const-string v2, "%s : ContentLoadTimeoutHandler stopping timeout handler"
invoke-static {v2, v1}, Lcom/fyber/inneractive/sdk/util/IAlog;->a(Ljava/lang/String;[Ljava/lang/Object;)V
.line 58
iget-object v1, v0, Lcom/fyber/inneractive/sdk/flow/b;->a:Landroid/os/Handler;
if-eqz v1, :cond_0
.line 59
iget-object v0, v0, Lcom/fyber/inneractive/sdk/flow/b;->d:Lcom/fyber/inneractive/sdk/flow/b$b;
invoke-virtual {v1, v0}, Landroid/os/Handler;->removeCallbacks(Ljava/lang/Runnable;)V
:cond_0
iget-object v0, p0, Lcom/fyber/inneractive/sdk/flow/h;->j:Lcom/fyber/inneractive/sdk/network/timeouts/content/a;
const/4 v1, 0x0
if-eqz v0, :cond_1
.line 61
iget v0, v0, Lcom/fyber/inneractive/sdk/network/timeouts/a;->a:I
goto :goto_0
:cond_1
move v0, v1
:goto_0
iget v2, p0, Lcom/fyber/inneractive/sdk/flow/h;->i:I
if-gt v2, v0, :cond_2
const/4 v0, 0x1
goto :goto_1
:cond_2
move v0, v1
.line 64
:goto_1
invoke-static {p0}, Lcom/fyber/inneractive/sdk/util/IAlog;->a(Ljava/lang/Object;)Ljava/lang/String;
move-result-object v2
.line 65
invoke-static {v0}, Ljava/lang/Boolean;->valueOf(Z)Ljava/lang/Boolean;
move-result-object v3
filled-new-array {v2, v3}, [Ljava/lang/Object;
move-result-object v2
const-string v3, "%s : IAAdContentLoaderImpl : should retry: %s"
invoke-static {v3, v2}, Lcom/fyber/inneractive/sdk/util/IAlog;->a(Ljava/lang/String;[Ljava/lang/Object;)V
const/4 v2, 0x0
if-eqz v0, :cond_5
iget-object p1, p0, Lcom/fyber/inneractive/sdk/flow/h;->c:Lcom/fyber/inneractive/sdk/flow/q;
if-eqz p1, :cond_3
.line 67
invoke-virtual {p1}, Lcom/fyber/inneractive/sdk/flow/q;->a()V
iput-object v2, p0, Lcom/fyber/inneractive/sdk/flow/h;->c:Lcom/fyber/inneractive/sdk/flow/q;
:cond_3
iget-object p1, p0, Lcom/fyber/inneractive/sdk/flow/h;->j:Lcom/fyber/inneractive/sdk/network/timeouts/content/a;
if-eqz p1, :cond_4
.line 71
iget v1, p1, Lcom/fyber/inneractive/sdk/network/timeouts/a;->e:I
.line 73
:cond_4
invoke-static {p0}, Lcom/fyber/inneractive/sdk/util/IAlog;->a(Ljava/lang/Object;)Ljava/lang/String;
move-result-object p1
.line 74
invoke-static {v1}, Ljava/lang/Integer;->valueOf(I)Ljava/lang/Integer;
move-result-object v0
filled-new-array {p1, v0}, [Ljava/lang/Object;
move-result-object p1
const-string v0, "%s : IAAdContentLoaderImpl : retryLoad : post load ad content retry task with delay: %d"
.line 75
invoke-static {v0, p1}, Lcom/fyber/inneractive/sdk/util/IAlog;->a(Ljava/lang/String;[Ljava/lang/Object;)V
.line 76
sget-object p1, Lcom/fyber/inneractive/sdk/util/p;->b:Landroid/os/Handler;
iget-object v0, p0, Lcom/fyber/inneractive/sdk/flow/h;->l:Lcom/fyber/inneractive/sdk/flow/h$a;
int-to-long v1, v1
.line 77
invoke-virtual {p1, v0, v1, v2}, Landroid/os/Handler;->postDelayed(Ljava/lang/Runnable;J)Z
goto :goto_3
:cond_5
iget-object v0, p0, Lcom/fyber/inneractive/sdk/flow/h;->d:Lcom/fyber/inneractive/sdk/interfaces/a$a;
if-eqz v0, :cond_6
.line 79
invoke-interface {v0, p1}, Lcom/fyber/inneractive/sdk/interfaces/a$a;->a(Lcom/fyber/inneractive/sdk/external/InneractiveInfrastructureError;)V
.line 81
:cond_6
invoke-virtual {p0}, Lcom/fyber/inneractive/sdk/flow/h;->cancel()V
iget-object v0, p0, Lcom/fyber/inneractive/sdk/flow/h;->a:Lcom/fyber/inneractive/sdk/external/InneractiveAdRequest;
iget-object v1, p0, Lcom/fyber/inneractive/sdk/flow/h;->b:Lcom/fyber/inneractive/sdk/response/e;
iget-object v3, p0, Lcom/fyber/inneractive/sdk/flow/h;->g:Lcom/fyber/inneractive/sdk/config/global/s;
if-nez v3, :cond_7
goto :goto_2
.line 83
:cond_7
invoke-virtual {v3}, Lcom/fyber/inneractive/sdk/config/global/s;->c()Lorg/json/JSONArray;
move-result-object v2
:goto_2
iget-object v3, p0, Lcom/fyber/inneractive/sdk/flow/h;->c:Lcom/fyber/inneractive/sdk/flow/q;
.line 84
invoke-static {v0, p1, v3, v1, v2}, Lcom/fyber/inneractive/sdk/flow/a;->a(Lcom/fyber/inneractive/sdk/external/InneractiveAdRequest;Lcom/fyber/inneractive/sdk/external/InneractiveInfrastructureError;Lcom/fyber/inneractive/sdk/flow/q;Lcom/fyber/inneractive/sdk/response/e;Lorg/json/JSONArray;)V
:goto_3
return-void
.end method
.method public b()V
.locals 6
const/4 v0, 0x3
new-array v0, v0, [Ljava/lang/Object;
.line 4
invoke-static {p0}, Lcom/fyber/inneractive/sdk/util/IAlog;->a(Ljava/lang/Object;)Ljava/lang/String;
move-result-object v1
const/4 v2, 0x0
aput-object v1, v0, v2
iget v1, p0, Lcom/fyber/inneractive/sdk/flow/h;->i:I
const/4 v3, 0x1
sub-int/2addr v1, v3
invoke-static {v1}, Ljava/lang/Integer;->valueOf(I)Ljava/lang/Integer;
move-result-object v1
aput-object v1, v0, v3
iget v1, p0, Lcom/fyber/inneractive/sdk/flow/h;->i:I
sub-int/2addr v1, v3
iget-object v3, p0, Lcom/fyber/inneractive/sdk/flow/h;->j:Lcom/fyber/inneractive/sdk/network/timeouts/content/a;
if-eqz v3, :cond_2
.line 6
iget-boolean v4, v3, Lcom/fyber/inneractive/sdk/network/timeouts/a;->g:Z
if-eqz v4, :cond_0
.line 7
iget v4, v3, Lcom/fyber/inneractive/sdk/network/timeouts/a;->a:I
sub-int v1, v4, v1
.line 9
:cond_0
iget v4, v3, Lcom/fyber/inneractive/sdk/network/timeouts/a;->a:I
if-ne v1, v4, :cond_1
.line 10
iget v4, v3, Lcom/fyber/inneractive/sdk/network/timeouts/content/a;->i:I
goto :goto_0
:cond_1
move v4, v2
.line 11
:goto_0
iget v5, v3, Lcom/fyber/inneractive/sdk/network/timeouts/a;->d:I
iget v3, v3, Lcom/fyber/inneractive/sdk/network/timeouts/a;->b:I
mul-int/2addr v3, v1
add-int/2addr v3, v5
add-int/2addr v3, v4
goto :goto_1
:cond_2
move v3, v2
.line 12
:goto_1
invoke-static {v3}, Ljava/lang/Integer;->valueOf(I)Ljava/lang/Integer;
move-result-object v1
const/4 v3, 0x2
aput-object v1, v0, v3
const-string v1, "%s : IAAdContentLoaderImpl : onTimeout() attempt: %d timeout: %d"
.line 13
invoke-static {v1, v0}, Lcom/fyber/inneractive/sdk/util/IAlog;->a(Ljava/lang/String;[Ljava/lang/Object;)V
iget-object v0, p0, Lcom/fyber/inneractive/sdk/flow/h;->e:Lcom/fyber/inneractive/sdk/interfaces/a$b;
if-eqz v0, :cond_3
.line 16
invoke-interface {v0}, Lcom/fyber/inneractive/sdk/interfaces/a$b;->b()V
:cond_3
iget-object v0, p0, Lcom/fyber/inneractive/sdk/flow/h;->j:Lcom/fyber/inneractive/sdk/network/timeouts/content/a;
if-eqz v0, :cond_4
.line 18
iget v2, v0, Lcom/fyber/inneractive/sdk/network/timeouts/a;->a:I
:cond_4
iget v0, p0, Lcom/fyber/inneractive/sdk/flow/h;->i:I
if-gt v0, v2, :cond_5
.line 20
invoke-virtual {p0}, Lcom/fyber/inneractive/sdk/flow/h;->c()Lcom/fyber/inneractive/sdk/external/InneractiveInfrastructureError;
move-result-object v0
goto :goto_2
.line 21
:cond_5
new-instance v0, Lcom/fyber/inneractive/sdk/external/InneractiveInfrastructureError;
sget-object v1, Lcom/fyber/inneractive/sdk/external/InneractiveErrorCode;->IN_FLIGHT_TIMEOUT:Lcom/fyber/inneractive/sdk/external/InneractiveErrorCode;
sget-object v2, Lcom/fyber/inneractive/sdk/flow/g;->NO_TIME_TO_LOAD_AD_CONTENT:Lcom/fyber/inneractive/sdk/flow/g;
invoke-direct {v0, v1, v2}, Lcom/fyber/inneractive/sdk/external/InneractiveInfrastructureError;-><init>(Lcom/fyber/inneractive/sdk/external/InneractiveErrorCode;Lcom/fyber/inneractive/sdk/flow/g;)V
.line 22
:goto_2
invoke-virtual {p0, v0}, Lcom/fyber/inneractive/sdk/flow/h;->b(Lcom/fyber/inneractive/sdk/external/InneractiveInfrastructureError;)V
.line 23
invoke-virtual {p0, v0}, Lcom/fyber/inneractive/sdk/flow/h;->a(Lcom/fyber/inneractive/sdk/external/InneractiveInfrastructureError;)V
return-void
.end method
.method public final b(Lcom/fyber/inneractive/sdk/external/InneractiveInfrastructureError;)V
.locals 5
.line 1
new-instance v0, Lcom/fyber/inneractive/sdk/flow/d;
iget-object v1, p0, Lcom/fyber/inneractive/sdk/flow/h;->b:Lcom/fyber/inneractive/sdk/response/e;
iget-object v2, p0, Lcom/fyber/inneractive/sdk/flow/h;->a:Lcom/fyber/inneractive/sdk/external/InneractiveAdRequest;
invoke-virtual {p0}, Lcom/fyber/inneractive/sdk/flow/h;->d()Ljava/lang/String;
move-result-object v3
iget-object v4, p0, Lcom/fyber/inneractive/sdk/flow/h;->g:Lcom/fyber/inneractive/sdk/config/global/s;
invoke-virtual {v4}, Lcom/fyber/inneractive/sdk/config/global/s;->c()Lorg/json/JSONArray;
move-result-object v4
invoke-direct {v0, v1, v2, v3, v4}, Lcom/fyber/inneractive/sdk/flow/d;-><init>(Lcom/fyber/inneractive/sdk/response/e;Lcom/fyber/inneractive/sdk/external/InneractiveAdRequest;Ljava/lang/String;Lorg/json/JSONArray;)V
.line 2
new-instance v1, Lcom/fyber/inneractive/sdk/flow/c;
invoke-direct {v1, v0, p1}, Lcom/fyber/inneractive/sdk/flow/c;-><init>(Lcom/fyber/inneractive/sdk/flow/d;Lcom/fyber/inneractive/sdk/external/InneractiveInfrastructureError;)V
invoke-static {v1}, Lcom/fyber/inneractive/sdk/util/p;->a(Ljava/lang/Runnable;)V
return-void
.end method
.method public c()Lcom/fyber/inneractive/sdk/external/InneractiveInfrastructureError;
.locals 4
.line 1
sget-object v0, Lcom/fyber/inneractive/sdk/flow/g;->WEBVIEW_LOAD_TIMEOUT:Lcom/fyber/inneractive/sdk/flow/g;
iget-object v1, p0, Lcom/fyber/inneractive/sdk/flow/h;->b:Lcom/fyber/inneractive/sdk/response/e;
const-string v2, "video"
if-eqz v1, :cond_0
.line 4
iget v1, v1, Lcom/fyber/inneractive/sdk/response/e;->g:I
.line 5
invoke-static {v1}, Lcom/fyber/inneractive/sdk/response/a;->a(I)Lcom/fyber/inneractive/sdk/response/a;
move-result-object v1
.line 6
sget-object v3, Lcom/fyber/inneractive/sdk/response/a;->RETURNED_ADTYPE_VAST:Lcom/fyber/inneractive/sdk/response/a;
if-ne v1, v3, :cond_0
move-object v1, v2
goto :goto_0
:cond_0
const-string v1, "display"
.line 8
:goto_0
invoke-virtual {v2, v1}, Ljava/lang/String;->equalsIgnoreCase(Ljava/lang/String;)Z
move-result v1
if-eqz v1, :cond_1
.line 9
sget-object v0, Lcom/fyber/inneractive/sdk/flow/g;->VIDEO_AD_LOAD_TIMEOUT:Lcom/fyber/inneractive/sdk/flow/g;
.line 12
:cond_1
new-instance v1, Lcom/fyber/inneractive/sdk/external/InneractiveInfrastructureError;
sget-object v2, Lcom/fyber/inneractive/sdk/external/InneractiveErrorCode;->LOAD_TIMEOUT:Lcom/fyber/inneractive/sdk/external/InneractiveErrorCode;
invoke-direct {v1, v2, v0}, Lcom/fyber/inneractive/sdk/external/InneractiveInfrastructureError;-><init>(Lcom/fyber/inneractive/sdk/external/InneractiveErrorCode;Lcom/fyber/inneractive/sdk/flow/g;)V
return-object v1
.end method
.method public abstract cancel()V
.end method
.method public abstract d()Ljava/lang/String;
.end method
.method public final e()Lcom/fyber/inneractive/sdk/config/f0;
.locals 1
iget-object v0, p0, Lcom/fyber/inneractive/sdk/flow/h;->a:Lcom/fyber/inneractive/sdk/external/InneractiveAdRequest;
if-nez v0, :cond_0
iget-object v0, p0, Lcom/fyber/inneractive/sdk/flow/h;->f:Lcom/fyber/inneractive/sdk/config/e0;
goto :goto_0
.line 1
:cond_0
invoke-virtual {v0}, Lcom/fyber/inneractive/sdk/external/InneractiveAdRequest;->getSelectedUnitConfig()Lcom/fyber/inneractive/sdk/config/f0;
move-result-object v0
:goto_0
return-object v0
.end method
.method public final f()V
.locals 2
iget-object v0, p0, Lcom/fyber/inneractive/sdk/flow/h;->k:Lcom/fyber/inneractive/sdk/flow/b;
.line 1
invoke-virtual {v0}, Lcom/fyber/inneractive/sdk/flow/b;->a()V
iget-object v0, p0, Lcom/fyber/inneractive/sdk/flow/h;->a:Lcom/fyber/inneractive/sdk/external/InneractiveAdRequest;
if-eqz v0, :cond_0
.line 3
iget-object v0, v0, Lcom/fyber/inneractive/sdk/flow/i0;->b:Ljava/lang/String;
goto :goto_0
:cond_0
iget-object v0, p0, Lcom/fyber/inneractive/sdk/flow/h;->b:Lcom/fyber/inneractive/sdk/response/e;
if-eqz v0, :cond_1
.line 5
iget-object v0, v0, Lcom/fyber/inneractive/sdk/response/e;->z:Ljava/lang/String;
if-eqz v0, :cond_1
goto :goto_0
:cond_1
const/4 v0, 0x0
.line 6
:goto_0
sget-object v1, Lcom/fyber/inneractive/sdk/metrics/d;->d:Lcom/fyber/inneractive/sdk/metrics/d;
.line 7
invoke-virtual {v1, v0}, Lcom/fyber/inneractive/sdk/metrics/d;->a(Ljava/lang/String;)Lcom/fyber/inneractive/sdk/metrics/g;
move-result-object v1
invoke-interface {v1}, Lcom/fyber/inneractive/sdk/metrics/g;->f()Ljava/lang/Long;
iget-object v1, p0, Lcom/fyber/inneractive/sdk/flow/h;->c:Lcom/fyber/inneractive/sdk/flow/q;
if-eqz v1, :cond_2
.line 10
invoke-virtual {v1, v0}, Lcom/fyber/inneractive/sdk/flow/q;->a(Ljava/lang/String;)V
:cond_2
iget-object v0, p0, Lcom/fyber/inneractive/sdk/flow/h;->d:Lcom/fyber/inneractive/sdk/interfaces/a$a;
if-eqz v0, :cond_3
iget-object v1, p0, Lcom/fyber/inneractive/sdk/flow/h;->a:Lcom/fyber/inneractive/sdk/external/InneractiveAdRequest;
.line 14
invoke-interface {v0, v1}, Lcom/fyber/inneractive/sdk/interfaces/a$a;->a(Lcom/fyber/inneractive/sdk/external/InneractiveAdRequest;)V
:cond_3
return-void
.end method
.method public abstract g()V
.end method
.method public final h()V
.locals 4
iget v0, p0, Lcom/fyber/inneractive/sdk/flow/h;->i:I
add-int/lit8 v1, v0, 0x1
iput v1, p0, Lcom/fyber/inneractive/sdk/flow/h;->i:I
iget-object v1, p0, Lcom/fyber/inneractive/sdk/flow/h;->j:Lcom/fyber/inneractive/sdk/network/timeouts/content/a;
const/4 v2, 0x0
if-eqz v1, :cond_2
.line 3
iget-boolean v3, v1, Lcom/fyber/inneractive/sdk/network/timeouts/a;->g:Z
if-eqz v3, :cond_0
.line 4
iget v3, v1, Lcom/fyber/inneractive/sdk/network/timeouts/a;->a:I
sub-int v0, v3, v0
.line 6
:cond_0
iget v3, v1, Lcom/fyber/inneractive/sdk/network/timeouts/a;->a:I
if-ne v0, v3, :cond_1
.line 7
iget v2, v1, Lcom/fyber/inneractive/sdk/network/timeouts/content/a;->i:I
.line 8
:cond_1
iget v3, v1, Lcom/fyber/inneractive/sdk/network/timeouts/a;->d:I
iget v1, v1, Lcom/fyber/inneractive/sdk/network/timeouts/a;->b:I
mul-int/2addr v1, v0
add-int/2addr v1, v3
add-int/2addr v2, v1
.line 10
:cond_2
invoke-static {p0}, Lcom/fyber/inneractive/sdk/util/IAlog;->a(Ljava/lang/Object;)Ljava/lang/String;
move-result-object v0
invoke-static {v2}, Ljava/lang/Integer;->valueOf(I)Ljava/lang/Integer;
move-result-object v1
iget v3, p0, Lcom/fyber/inneractive/sdk/flow/h;->i:I
add-int/lit8 v3, v3, -0x1
invoke-static {v3}, Ljava/lang/Integer;->valueOf(I)Ljava/lang/Integer;
move-result-object v3
filled-new-array {v0, v1, v3}, [Ljava/lang/Object;
move-result-object v0
const-string v1, "%s : IAAdContentLoaderImpl : Start timeout: %d, attempt number: %d"
.line 11
invoke-static {v1, v0}, Lcom/fyber/inneractive/sdk/util/IAlog;->a(Ljava/lang/String;[Ljava/lang/Object;)V
iget-object v0, p0, Lcom/fyber/inneractive/sdk/flow/h;->k:Lcom/fyber/inneractive/sdk/flow/b;
.line 14
iget-object v1, v0, Lcom/fyber/inneractive/sdk/flow/b;->a:Landroid/os/Handler;
if-nez v1, :cond_3
.line 15
new-instance v1, Landroid/os/HandlerThread;
const-string v3, "TimeoutHandlerThread"
invoke-direct {v1, v3}, Landroid/os/HandlerThread;-><init>(Ljava/lang/String;)V
.line 16
invoke-virtual {v1}, Ljava/lang/Thread;->start()V
.line 17
new-instance v3, Landroid/os/Handler;
invoke-virtual {v1}, Landroid/os/HandlerThread;->getLooper()Landroid/os/Looper;
move-result-object v1
invoke-direct {v3, v1}, Landroid/os/Handler;-><init>(Landroid/os/Looper;)V
iput-object v3, v0, Lcom/fyber/inneractive/sdk/flow/b;->a:Landroid/os/Handler;
.line 18
:cond_3
iget-object v1, v0, Lcom/fyber/inneractive/sdk/flow/b;->a:Landroid/os/Handler;
iget-object v0, v0, Lcom/fyber/inneractive/sdk/flow/b;->d:Lcom/fyber/inneractive/sdk/flow/b$b;
int-to-long v2, v2
invoke-virtual {v1, v0, v2, v3}, Landroid/os/Handler;->postDelayed(Ljava/lang/Runnable;J)Z
.line 19
invoke-virtual {p0}, Lcom/fyber/inneractive/sdk/flow/h;->g()V
return-void
.end method