- 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
380 lines
9.8 KiB
Smali
380 lines
9.8 KiB
Smali
.class public final Lcom/fyber/inneractive/sdk/metrics/i;
|
|
.super Ljava/lang/Object;
|
|
.source "SourceFile"
|
|
|
|
# interfaces
|
|
.implements Lcom/fyber/inneractive/sdk/metrics/h;
|
|
|
|
|
|
# annotations
|
|
.annotation system Ldalvik/annotation/MemberClasses;
|
|
value = {
|
|
Lcom/fyber/inneractive/sdk/metrics/i$a;
|
|
}
|
|
.end annotation
|
|
|
|
|
|
# instance fields
|
|
.field public final a:Ljava/util/LinkedHashMap;
|
|
|
|
.field public final b:Ljava/util/LinkedHashMap;
|
|
|
|
.field public c:J
|
|
|
|
.field public d:J
|
|
|
|
|
|
# direct methods
|
|
.method public constructor <init>()V
|
|
.locals 1
|
|
|
|
.line 1
|
|
invoke-direct {p0}, Ljava/lang/Object;-><init>()V
|
|
|
|
.line 3
|
|
new-instance v0, Ljava/util/LinkedHashMap;
|
|
|
|
invoke-direct {v0}, Ljava/util/LinkedHashMap;-><init>()V
|
|
|
|
iput-object v0, p0, Lcom/fyber/inneractive/sdk/metrics/i;->a:Ljava/util/LinkedHashMap;
|
|
|
|
.line 4
|
|
new-instance v0, Ljava/util/LinkedHashMap;
|
|
|
|
invoke-direct {v0}, Ljava/util/LinkedHashMap;-><init>()V
|
|
|
|
iput-object v0, p0, Lcom/fyber/inneractive/sdk/metrics/i;->b:Ljava/util/LinkedHashMap;
|
|
|
|
return-void
|
|
.end method
|
|
|
|
|
|
# virtual methods
|
|
.method public final a()V
|
|
.locals 2
|
|
|
|
.line 1
|
|
invoke-static {}, Ljava/lang/System;->currentTimeMillis()J
|
|
|
|
move-result-wide v0
|
|
|
|
iput-wide v0, p0, Lcom/fyber/inneractive/sdk/metrics/i;->d:J
|
|
|
|
return-void
|
|
.end method
|
|
|
|
.method public final a(Lcom/fyber/inneractive/sdk/config/global/s;Lcom/fyber/inneractive/sdk/external/InneractiveAdRequest;Lcom/fyber/inneractive/sdk/response/e;)V
|
|
.locals 12
|
|
|
|
const-string v0, "Got exception adding param to json object: %s, %s"
|
|
|
|
.line 6
|
|
new-instance v1, Lorg/json/JSONObject;
|
|
|
|
invoke-direct {v1}, Lorg/json/JSONObject;-><init>()V
|
|
|
|
const-string v2, "adl"
|
|
|
|
iget-object v3, p0, Lcom/fyber/inneractive/sdk/metrics/i;->b:Ljava/util/LinkedHashMap;
|
|
|
|
.line 8
|
|
new-instance v4, Lorg/json/JSONArray;
|
|
|
|
invoke-direct {v4}, Lorg/json/JSONArray;-><init>()V
|
|
|
|
.line 9
|
|
invoke-virtual {v3}, Ljava/util/LinkedHashMap;->keySet()Ljava/util/Set;
|
|
|
|
move-result-object v5
|
|
|
|
invoke-interface {v5}, Ljava/util/Set;->iterator()Ljava/util/Iterator;
|
|
|
|
move-result-object v5
|
|
|
|
:goto_0
|
|
invoke-interface {v5}, Ljava/util/Iterator;->hasNext()Z
|
|
|
|
move-result v6
|
|
|
|
const-string v7, "idx"
|
|
|
|
const-string v8, "time"
|
|
|
|
const-string v9, "outcome"
|
|
|
|
if-eqz v6, :cond_0
|
|
|
|
invoke-interface {v5}, Ljava/util/Iterator;->next()Ljava/lang/Object;
|
|
|
|
move-result-object v6
|
|
|
|
check-cast v6, Lcom/fyber/inneractive/sdk/metrics/i$a;
|
|
|
|
.line 10
|
|
new-instance v10, Lorg/json/JSONObject;
|
|
|
|
invoke-direct {v10}, Lorg/json/JSONObject;-><init>()V
|
|
|
|
.line 13
|
|
:try_start_0
|
|
iget-object v11, v6, Lcom/fyber/inneractive/sdk/metrics/i$a;->b:Ljava/lang/String;
|
|
|
|
.line 14
|
|
invoke-virtual {v10, v9, v11}, Lorg/json/JSONObject;->putOpt(Ljava/lang/String;Ljava/lang/Object;)Lorg/json/JSONObject;
|
|
|
|
.line 15
|
|
invoke-virtual {v3, v6}, Ljava/util/LinkedHashMap;->get(Ljava/lang/Object;)Ljava/lang/Object;
|
|
|
|
move-result-object v6
|
|
|
|
invoke-virtual {v10, v8, v6}, Lorg/json/JSONObject;->putOpt(Ljava/lang/String;Ljava/lang/Object;)Lorg/json/JSONObject;
|
|
|
|
.line 16
|
|
invoke-virtual {v4}, Lorg/json/JSONArray;->length()I
|
|
|
|
move-result v6
|
|
|
|
invoke-static {v6}, Ljava/lang/Integer;->valueOf(I)Ljava/lang/Integer;
|
|
|
|
move-result-object v6
|
|
|
|
invoke-virtual {v10, v7, v6}, Lorg/json/JSONObject;->putOpt(Ljava/lang/String;Ljava/lang/Object;)Lorg/json/JSONObject;
|
|
:try_end_0
|
|
.catch Lorg/json/JSONException; {:try_start_0 .. :try_end_0} :catch_0
|
|
|
|
.line 18
|
|
:catch_0
|
|
invoke-virtual {v4, v10}, Lorg/json/JSONArray;->put(Ljava/lang/Object;)Lorg/json/JSONArray;
|
|
|
|
goto :goto_0
|
|
|
|
.line 19
|
|
:cond_0
|
|
:try_start_1
|
|
invoke-virtual {v1, v2, v4}, Lorg/json/JSONObject;->put(Ljava/lang/String;Ljava/lang/Object;)Lorg/json/JSONObject;
|
|
:try_end_1
|
|
.catch Ljava/lang/Exception; {:try_start_1 .. :try_end_1} :catch_1
|
|
|
|
goto :goto_1
|
|
|
|
:catch_1
|
|
filled-new-array {v2, v4}, [Ljava/lang/Object;
|
|
|
|
move-result-object v2
|
|
|
|
.line 21
|
|
invoke-static {v0, v2}, Lcom/fyber/inneractive/sdk/util/IAlog;->f(Ljava/lang/String;[Ljava/lang/Object;)V
|
|
|
|
:goto_1
|
|
const-string v2, "adml"
|
|
|
|
iget-object v3, p0, Lcom/fyber/inneractive/sdk/metrics/i;->a:Ljava/util/LinkedHashMap;
|
|
|
|
.line 23
|
|
new-instance v4, Lorg/json/JSONArray;
|
|
|
|
invoke-direct {v4}, Lorg/json/JSONArray;-><init>()V
|
|
|
|
.line 24
|
|
invoke-virtual {v3}, Ljava/util/LinkedHashMap;->keySet()Ljava/util/Set;
|
|
|
|
move-result-object v5
|
|
|
|
invoke-interface {v5}, Ljava/util/Set;->iterator()Ljava/util/Iterator;
|
|
|
|
move-result-object v5
|
|
|
|
:goto_2
|
|
invoke-interface {v5}, Ljava/util/Iterator;->hasNext()Z
|
|
|
|
move-result v6
|
|
|
|
if-eqz v6, :cond_1
|
|
|
|
invoke-interface {v5}, Ljava/util/Iterator;->next()Ljava/lang/Object;
|
|
|
|
move-result-object v6
|
|
|
|
check-cast v6, Lcom/fyber/inneractive/sdk/metrics/i$a;
|
|
|
|
.line 25
|
|
new-instance v10, Lorg/json/JSONObject;
|
|
|
|
invoke-direct {v10}, Lorg/json/JSONObject;-><init>()V
|
|
|
|
.line 28
|
|
:try_start_2
|
|
iget-object v11, v6, Lcom/fyber/inneractive/sdk/metrics/i$a;->b:Ljava/lang/String;
|
|
|
|
.line 29
|
|
invoke-virtual {v10, v9, v11}, Lorg/json/JSONObject;->putOpt(Ljava/lang/String;Ljava/lang/Object;)Lorg/json/JSONObject;
|
|
|
|
.line 30
|
|
invoke-virtual {v3, v6}, Ljava/util/LinkedHashMap;->get(Ljava/lang/Object;)Ljava/lang/Object;
|
|
|
|
move-result-object v6
|
|
|
|
invoke-virtual {v10, v8, v6}, Lorg/json/JSONObject;->putOpt(Ljava/lang/String;Ljava/lang/Object;)Lorg/json/JSONObject;
|
|
|
|
.line 31
|
|
invoke-virtual {v4}, Lorg/json/JSONArray;->length()I
|
|
|
|
move-result v6
|
|
|
|
invoke-static {v6}, Ljava/lang/Integer;->valueOf(I)Ljava/lang/Integer;
|
|
|
|
move-result-object v6
|
|
|
|
invoke-virtual {v10, v7, v6}, Lorg/json/JSONObject;->putOpt(Ljava/lang/String;Ljava/lang/Object;)Lorg/json/JSONObject;
|
|
:try_end_2
|
|
.catch Lorg/json/JSONException; {:try_start_2 .. :try_end_2} :catch_2
|
|
|
|
.line 33
|
|
:catch_2
|
|
invoke-virtual {v4, v10}, Lorg/json/JSONArray;->put(Ljava/lang/Object;)Lorg/json/JSONArray;
|
|
|
|
goto :goto_2
|
|
|
|
.line 34
|
|
:cond_1
|
|
:try_start_3
|
|
invoke-virtual {v1, v2, v4}, Lorg/json/JSONObject;->put(Ljava/lang/String;Ljava/lang/Object;)Lorg/json/JSONObject;
|
|
:try_end_3
|
|
.catch Ljava/lang/Exception; {:try_start_3 .. :try_end_3} :catch_3
|
|
|
|
goto :goto_3
|
|
|
|
:catch_3
|
|
filled-new-array {v2, v4}, [Ljava/lang/Object;
|
|
|
|
move-result-object v2
|
|
|
|
.line 36
|
|
invoke-static {v0, v2}, Lcom/fyber/inneractive/sdk/util/IAlog;->f(Ljava/lang/String;[Ljava/lang/Object;)V
|
|
|
|
:goto_3
|
|
const/4 v2, 0x0
|
|
|
|
.line 37
|
|
invoke-static {v2}, Landroid/text/TextUtils;->isEmpty(Ljava/lang/CharSequence;)Z
|
|
|
|
move-result v3
|
|
|
|
if-nez v3, :cond_2
|
|
|
|
const-string v3, "dns_failed"
|
|
|
|
.line 39
|
|
:try_start_4
|
|
invoke-virtual {v1, v3, v2}, Lorg/json/JSONObject;->put(Ljava/lang/String;Ljava/lang/Object;)Lorg/json/JSONObject;
|
|
:try_end_4
|
|
.catch Ljava/lang/Exception; {:try_start_4 .. :try_end_4} :catch_4
|
|
|
|
goto :goto_4
|
|
|
|
:catch_4
|
|
filled-new-array {v3, v2}, [Ljava/lang/Object;
|
|
|
|
move-result-object v3
|
|
|
|
.line 41
|
|
invoke-static {v0, v3}, Lcom/fyber/inneractive/sdk/util/IAlog;->f(Ljava/lang/String;[Ljava/lang/Object;)V
|
|
|
|
.line 42
|
|
:cond_2
|
|
:goto_4
|
|
new-instance v0, Lcom/fyber/inneractive/sdk/network/s$a;
|
|
|
|
sget-object v3, Lcom/fyber/inneractive/sdk/network/r;->SDK_BIDDING_METRICS:Lcom/fyber/inneractive/sdk/network/r;
|
|
|
|
.line 45
|
|
invoke-virtual {p1}, Lcom/fyber/inneractive/sdk/config/global/s;->c()Lorg/json/JSONArray;
|
|
|
|
move-result-object p1
|
|
|
|
invoke-direct {v0, v3, p2, p3, p1}, Lcom/fyber/inneractive/sdk/network/s$a;-><init>(Lcom/fyber/inneractive/sdk/network/r;Lcom/fyber/inneractive/sdk/external/InneractiveAdRequest;Lcom/fyber/inneractive/sdk/response/e;Lorg/json/JSONArray;)V
|
|
|
|
iget-object p1, v0, Lcom/fyber/inneractive/sdk/network/s$a;->f:Lorg/json/JSONArray;
|
|
|
|
.line 46
|
|
invoke-virtual {p1, v1}, Lorg/json/JSONArray;->put(Ljava/lang/Object;)Lorg/json/JSONArray;
|
|
|
|
.line 47
|
|
invoke-virtual {v0, v2}, Lcom/fyber/inneractive/sdk/network/s$a;->a(Ljava/lang/String;)V
|
|
|
|
return-void
|
|
.end method
|
|
|
|
.method public final a(Ljava/lang/String;)V
|
|
.locals 6
|
|
|
|
iget-object v0, p0, Lcom/fyber/inneractive/sdk/metrics/i;->b:Ljava/util/LinkedHashMap;
|
|
|
|
.line 2
|
|
new-instance v1, Lcom/fyber/inneractive/sdk/metrics/i$a;
|
|
|
|
.line 3
|
|
invoke-direct {v1, p1}, Lcom/fyber/inneractive/sdk/metrics/i$a;-><init>(Ljava/lang/String;)V
|
|
|
|
.line 4
|
|
invoke-static {}, Ljava/lang/System;->currentTimeMillis()J
|
|
|
|
move-result-wide v2
|
|
|
|
iget-wide v4, p0, Lcom/fyber/inneractive/sdk/metrics/i;->d:J
|
|
|
|
sub-long/2addr v2, v4
|
|
|
|
.line 5
|
|
invoke-static {v2, v3}, Ljava/lang/Long;->valueOf(J)Ljava/lang/Long;
|
|
|
|
move-result-object p1
|
|
|
|
invoke-interface {v0, v1, p1}, Ljava/util/Map;->put(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;
|
|
|
|
return-void
|
|
.end method
|
|
|
|
.method public final b()V
|
|
.locals 2
|
|
|
|
.line 1
|
|
invoke-static {}, Ljava/lang/System;->currentTimeMillis()J
|
|
|
|
move-result-wide v0
|
|
|
|
iput-wide v0, p0, Lcom/fyber/inneractive/sdk/metrics/i;->c:J
|
|
|
|
return-void
|
|
.end method
|
|
|
|
.method public final b(Ljava/lang/String;)V
|
|
.locals 6
|
|
|
|
iget-object v0, p0, Lcom/fyber/inneractive/sdk/metrics/i;->a:Ljava/util/LinkedHashMap;
|
|
|
|
.line 2
|
|
new-instance v1, Lcom/fyber/inneractive/sdk/metrics/i$a;
|
|
|
|
.line 3
|
|
invoke-direct {v1, p1}, Lcom/fyber/inneractive/sdk/metrics/i$a;-><init>(Ljava/lang/String;)V
|
|
|
|
.line 4
|
|
invoke-static {}, Ljava/lang/System;->currentTimeMillis()J
|
|
|
|
move-result-wide v2
|
|
|
|
iget-wide v4, p0, Lcom/fyber/inneractive/sdk/metrics/i;->c:J
|
|
|
|
sub-long/2addr v2, v4
|
|
|
|
.line 5
|
|
invoke-static {v2, v3}, Ljava/lang/Long;->valueOf(J)Ljava/lang/Long;
|
|
|
|
move-result-object p1
|
|
|
|
invoke-interface {v0, v1, p1}, Ljava/util/Map;->put(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;
|
|
|
|
return-void
|
|
.end method
|