- 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
216 lines
5.3 KiB
Smali
216 lines
5.3 KiB
Smali
.class public final Lcom/fyber/inneractive/sdk/network/i0;
|
|
.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/lang/String;
|
|
|
|
.field public final r:Ljava/util/concurrent/atomic/AtomicInteger;
|
|
|
|
|
|
# direct methods
|
|
.method public constructor <init>(Lcom/fyber/inneractive/sdk/network/e;Ljava/lang/String;Ljava/lang/String;Lcom/fyber/inneractive/sdk/network/g;)V
|
|
.locals 0
|
|
|
|
.line 1
|
|
invoke-direct {p0, p1, p4}, Lcom/fyber/inneractive/sdk/network/f0;-><init>(Lcom/fyber/inneractive/sdk/network/w;Lcom/fyber/inneractive/sdk/network/g;)V
|
|
|
|
.line 2
|
|
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/i0;->r:Ljava/util/concurrent/atomic/AtomicInteger;
|
|
|
|
iput-object p2, p0, Lcom/fyber/inneractive/sdk/network/i0;->q:Ljava/lang/String;
|
|
|
|
iput-object p3, p0, Lcom/fyber/inneractive/sdk/network/i0;->p:Ljava/lang/String;
|
|
|
|
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 p1, Lcom/fyber/inneractive/sdk/network/b0;
|
|
|
|
invoke-direct {p1}, Lcom/fyber/inneractive/sdk/network/b0;-><init>()V
|
|
|
|
.line 2
|
|
invoke-static {p3}, Ljava/lang/String;->valueOf(I)Ljava/lang/String;
|
|
|
|
move-result-object p2
|
|
|
|
iput-object p2, p1, Lcom/fyber/inneractive/sdk/network/b0;->a:Ljava/lang/Object;
|
|
:try_end_0
|
|
.catch Ljava/lang/Exception; {:try_start_0 .. :try_end_0} :catch_0
|
|
|
|
return-object p1
|
|
|
|
:catch_0
|
|
move-exception p1
|
|
|
|
const/4 p2, 0x0
|
|
|
|
new-array p2, p2, [Ljava/lang/Object;
|
|
|
|
const-string p3, "failed parse event network request"
|
|
|
|
.line 4
|
|
invoke-static {p3, p1, p2}, Lcom/fyber/inneractive/sdk/util/IAlog;->a(Ljava/lang/String;Ljava/lang/Throwable;[Ljava/lang/Object;)V
|
|
|
|
.line 5
|
|
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/i0;->r: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;->POST: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/i0;->q:Ljava/lang/String;
|
|
|
|
return-object v0
|
|
.end method
|
|
|
|
.method public final r()[B
|
|
.locals 5
|
|
|
|
const/4 v0, 0x0
|
|
|
|
new-array v1, v0, [B
|
|
|
|
:try_start_0
|
|
const-string v2, "NetworkRequestEvent: network request body %s"
|
|
|
|
const/4 v3, 0x1
|
|
|
|
new-array v3, v3, [Ljava/lang/Object;
|
|
|
|
iget-object v4, p0, Lcom/fyber/inneractive/sdk/network/i0;->p:Ljava/lang/String;
|
|
|
|
aput-object v4, v3, v0
|
|
|
|
.line 3
|
|
invoke-static {v2, v3}, Lcom/fyber/inneractive/sdk/util/IAlog;->a(Ljava/lang/String;[Ljava/lang/Object;)V
|
|
|
|
iget-object v0, p0, Lcom/fyber/inneractive/sdk/network/i0;->p:Ljava/lang/String;
|
|
|
|
.line 5
|
|
sget-object v2, Ljava/nio/charset/StandardCharsets;->UTF_8:Ljava/nio/charset/Charset;
|
|
|
|
invoke-virtual {v0, v2}, Ljava/lang/String;->getBytes(Ljava/nio/charset/Charset;)[B
|
|
|
|
move-result-object v1
|
|
:try_end_0
|
|
.catch Ljava/lang/Exception; {:try_start_0 .. :try_end_0} :catch_0
|
|
|
|
:catch_0
|
|
return-object v1
|
|
.end method
|
|
|
|
.method public final s()I
|
|
.locals 4
|
|
|
|
iget-object v0, p0, Lcom/fyber/inneractive/sdk/network/i0;->r: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
|