- 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
266 lines
6.9 KiB
Smali
266 lines
6.9 KiB
Smali
.class public final Lcom/fyber/inneractive/sdk/network/j0;
|
|
.super Lcom/fyber/inneractive/sdk/network/f0;
|
|
.source "SourceFile"
|
|
|
|
|
|
# annotations
|
|
.annotation system Ldalvik/annotation/Signature;
|
|
value = {
|
|
"Lcom/fyber/inneractive/sdk/network/f0<",
|
|
"Ljava/lang/String;",
|
|
">;"
|
|
}
|
|
.end annotation
|
|
|
|
|
|
# instance fields
|
|
.field public final p:Ljava/lang/String;
|
|
|
|
.field public final q:Ljava/util/concurrent/atomic/AtomicInteger;
|
|
|
|
|
|
# direct methods
|
|
.method public constructor <init>(Lcom/fyber/inneractive/sdk/network/w;Ljava/lang/String;)V
|
|
.locals 1
|
|
.annotation system Ldalvik/annotation/Signature;
|
|
value = {
|
|
"(",
|
|
"Lcom/fyber/inneractive/sdk/network/w<",
|
|
"Ljava/lang/String;",
|
|
">;",
|
|
"Ljava/lang/String;",
|
|
")V"
|
|
}
|
|
.end annotation
|
|
|
|
.line 1
|
|
invoke-static {}, Lcom/fyber/inneractive/sdk/network/x;->a()Lcom/fyber/inneractive/sdk/network/x;
|
|
|
|
move-result-object v0
|
|
|
|
invoke-virtual {v0}, Lcom/fyber/inneractive/sdk/network/x;->b()Lcom/fyber/inneractive/sdk/network/g;
|
|
|
|
move-result-object v0
|
|
|
|
invoke-direct {p0, p1, p2, v0}, Lcom/fyber/inneractive/sdk/network/j0;-><init>(Lcom/fyber/inneractive/sdk/network/w;Ljava/lang/String;Lcom/fyber/inneractive/sdk/network/g;)V
|
|
|
|
return-void
|
|
.end method
|
|
|
|
.method public constructor <init>(Lcom/fyber/inneractive/sdk/network/w;Ljava/lang/String;Lcom/fyber/inneractive/sdk/network/g;)V
|
|
.locals 0
|
|
.annotation system Ldalvik/annotation/Signature;
|
|
value = {
|
|
"(",
|
|
"Lcom/fyber/inneractive/sdk/network/w<",
|
|
"Ljava/lang/String;",
|
|
">;",
|
|
"Ljava/lang/String;",
|
|
"Lcom/fyber/inneractive/sdk/network/g;",
|
|
")V"
|
|
}
|
|
.end annotation
|
|
|
|
.line 2
|
|
invoke-direct {p0, p1, p3}, Lcom/fyber/inneractive/sdk/network/f0;-><init>(Lcom/fyber/inneractive/sdk/network/w;Lcom/fyber/inneractive/sdk/network/g;)V
|
|
|
|
.line 3
|
|
new-instance p1, Ljava/util/concurrent/atomic/AtomicInteger;
|
|
|
|
invoke-direct {p1}, Ljava/util/concurrent/atomic/AtomicInteger;-><init>()V
|
|
|
|
iput-object p1, p0, Lcom/fyber/inneractive/sdk/network/j0;->q:Ljava/util/concurrent/atomic/AtomicInteger;
|
|
|
|
iput-object p2, p0, Lcom/fyber/inneractive/sdk/network/j0;->p:Ljava/lang/String;
|
|
|
|
return-void
|
|
.end method
|
|
|
|
.method public static b(Ljava/lang/String;)V
|
|
.locals 4
|
|
|
|
.line 1
|
|
invoke-static {}, Ljava/lang/System;->currentTimeMillis()J
|
|
|
|
move-result-wide v0
|
|
|
|
.line 2
|
|
new-instance v2, Lcom/fyber/inneractive/sdk/network/j0;
|
|
|
|
new-instance v3, Lcom/fyber/inneractive/sdk/network/j0$a;
|
|
|
|
invoke-direct {v3, v0, v1, p0}, Lcom/fyber/inneractive/sdk/network/j0$a;-><init>(JLjava/lang/String;)V
|
|
|
|
invoke-direct {v2, v3, p0}, Lcom/fyber/inneractive/sdk/network/j0;-><init>(Lcom/fyber/inneractive/sdk/network/w;Ljava/lang/String;)V
|
|
|
|
.line 3
|
|
sget-object p0, Lcom/fyber/inneractive/sdk/config/IAConfigManager;->L:Lcom/fyber/inneractive/sdk/config/IAConfigManager;
|
|
|
|
iget-object p0, p0, Lcom/fyber/inneractive/sdk/config/IAConfigManager;->r:Lcom/fyber/inneractive/sdk/network/y;
|
|
|
|
.line 4
|
|
invoke-virtual {p0, v2}, Lcom/fyber/inneractive/sdk/network/y;->a(Lcom/fyber/inneractive/sdk/network/c0;)V
|
|
|
|
return-void
|
|
.end method
|
|
|
|
|
|
# virtual methods
|
|
.method public final a(Lcom/fyber/inneractive/sdk/network/j;Ljava/util/Map;I)Lcom/fyber/inneractive/sdk/network/b0;
|
|
.locals 0
|
|
.annotation system Ldalvik/annotation/Signature;
|
|
value = {
|
|
"(",
|
|
"Lcom/fyber/inneractive/sdk/network/j;",
|
|
"Ljava/util/Map<",
|
|
"Ljava/lang/String;",
|
|
"Ljava/util/List<",
|
|
"Ljava/lang/String;",
|
|
">;>;I)",
|
|
"Lcom/fyber/inneractive/sdk/network/b0;"
|
|
}
|
|
.end annotation
|
|
|
|
.annotation system Ldalvik/annotation/Throws;
|
|
value = {
|
|
Ljava/lang/Exception;
|
|
}
|
|
.end annotation
|
|
|
|
.line 1
|
|
:try_start_0
|
|
new-instance p2, Lcom/fyber/inneractive/sdk/network/b0;
|
|
|
|
invoke-direct {p2}, Lcom/fyber/inneractive/sdk/network/b0;-><init>()V
|
|
|
|
.line 2
|
|
invoke-static {p3}, Ljava/lang/String;->valueOf(I)Ljava/lang/String;
|
|
|
|
move-result-object p3
|
|
|
|
iput-object p3, p2, Lcom/fyber/inneractive/sdk/network/b0;->a:Ljava/lang/Object;
|
|
|
|
.line 4
|
|
iget-object p1, p1, Lcom/fyber/inneractive/sdk/network/j;->c:Ljava/io/InputStream;
|
|
|
|
if-eqz p1, :cond_0
|
|
|
|
.line 5
|
|
invoke-static {p1}, Lcom/fyber/inneractive/sdk/util/t;->a(Ljava/io/InputStream;)Ljava/lang/StringBuffer;
|
|
|
|
move-result-object p1
|
|
|
|
.line 6
|
|
invoke-virtual {p1}, Ljava/lang/StringBuffer;->toString()Ljava/lang/String;
|
|
|
|
move-result-object p1
|
|
|
|
iput-object p1, p2, Lcom/fyber/inneractive/sdk/network/b0;->b:Ljava/lang/String;
|
|
:try_end_0
|
|
.catch Ljava/lang/Exception; {:try_start_0 .. :try_end_0} :catch_0
|
|
|
|
goto :goto_0
|
|
|
|
:catch_0
|
|
move-exception p1
|
|
|
|
goto :goto_1
|
|
|
|
:cond_0
|
|
:goto_0
|
|
return-object p2
|
|
|
|
:goto_1
|
|
const/4 p2, 0x0
|
|
|
|
new-array p2, p2, [Ljava/lang/Object;
|
|
|
|
const-string p3, "failed parse hit network request"
|
|
|
|
.line 8
|
|
invoke-static {p3, p1, p2}, Lcom/fyber/inneractive/sdk/util/IAlog;->a(Ljava/lang/String;Ljava/lang/Throwable;[Ljava/lang/Object;)V
|
|
|
|
.line 9
|
|
new-instance p2, Lcom/fyber/inneractive/sdk/network/a0;
|
|
|
|
invoke-direct {p2, p1}, Lcom/fyber/inneractive/sdk/network/a0;-><init>(Ljava/lang/Exception;)V
|
|
|
|
throw p2
|
|
.end method
|
|
|
|
.method public final d()Lcom/fyber/inneractive/sdk/network/p0;
|
|
.locals 1
|
|
|
|
.line 1
|
|
sget-object v0, Lcom/fyber/inneractive/sdk/network/p0;->LOW:Lcom/fyber/inneractive/sdk/network/p0;
|
|
|
|
return-object v0
|
|
.end method
|
|
|
|
.method public final g()Z
|
|
.locals 2
|
|
|
|
iget-object v0, p0, Lcom/fyber/inneractive/sdk/network/j0;->q:Ljava/util/concurrent/atomic/AtomicInteger;
|
|
|
|
.line 1
|
|
invoke-virtual {v0}, Ljava/util/concurrent/atomic/AtomicInteger;->getAndIncrement()I
|
|
|
|
move-result v0
|
|
|
|
const/4 v1, 0x4
|
|
|
|
if-ge v0, v1, :cond_0
|
|
|
|
const/4 v0, 0x1
|
|
|
|
goto :goto_0
|
|
|
|
:cond_0
|
|
const/4 v0, 0x0
|
|
|
|
:goto_0
|
|
return v0
|
|
.end method
|
|
|
|
.method public final getMethod()Lcom/fyber/inneractive/sdk/network/z;
|
|
.locals 1
|
|
|
|
.line 1
|
|
sget-object v0, Lcom/fyber/inneractive/sdk/network/z;->GET:Lcom/fyber/inneractive/sdk/network/z;
|
|
|
|
return-object v0
|
|
.end method
|
|
|
|
.method public final getUrl()Ljava/lang/String;
|
|
.locals 1
|
|
|
|
iget-object v0, p0, Lcom/fyber/inneractive/sdk/network/j0;->p:Ljava/lang/String;
|
|
|
|
return-object v0
|
|
.end method
|
|
|
|
.method public final s()I
|
|
.locals 4
|
|
|
|
iget-object v0, p0, Lcom/fyber/inneractive/sdk/network/j0;->q:Ljava/util/concurrent/atomic/AtomicInteger;
|
|
|
|
.line 1
|
|
invoke-virtual {v0}, Ljava/util/concurrent/atomic/AtomicInteger;->get()I
|
|
|
|
move-result v0
|
|
|
|
int-to-double v0, v0
|
|
|
|
const-wide/high16 v2, 0x4000000000000000L # 2.0
|
|
|
|
invoke-static {v2, v3, v0, v1}, Ljava/lang/Math;->pow(DD)D
|
|
|
|
move-result-wide v0
|
|
|
|
double-to-int v0, v0
|
|
|
|
mul-int/lit16 v0, v0, 0x3e8
|
|
|
|
return v0
|
|
.end method
|