- 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
87 lines
1.5 KiB
Smali
87 lines
1.5 KiB
Smali
.class public final Lcom/fyber/inneractive/sdk/util/w0;
|
|
.super Ljava/lang/Object;
|
|
.source "SourceFile"
|
|
|
|
|
|
# direct methods
|
|
.method public static a(Lcom/fyber/inneractive/sdk/config/enums/UnitDisplayType;Lcom/fyber/inneractive/sdk/util/q0;IIII)V
|
|
.locals 2
|
|
|
|
if-lez p2, :cond_2
|
|
|
|
if-lez p3, :cond_2
|
|
|
|
int-to-float p2, p2
|
|
|
|
int-to-float p3, p3
|
|
|
|
div-float v0, p2, p3
|
|
|
|
.line 1
|
|
sget-object v1, Lcom/fyber/inneractive/sdk/config/enums/UnitDisplayType;->SQUARE:Lcom/fyber/inneractive/sdk/config/enums/UnitDisplayType;
|
|
|
|
if-ne p0, v1, :cond_0
|
|
|
|
int-to-float p0, p5
|
|
|
|
mul-float/2addr p0, v0
|
|
|
|
float-to-int p4, p0
|
|
|
|
goto :goto_0
|
|
|
|
:cond_0
|
|
int-to-float p0, p4
|
|
|
|
div-float/2addr p0, p2
|
|
|
|
const/high16 p4, 0x41200000 # 10.0f
|
|
|
|
.line 3
|
|
invoke-static {p0, p4}, Ljava/lang/Math;->min(FF)F
|
|
|
|
move-result p0
|
|
|
|
int-to-float p5, p5
|
|
|
|
mul-float v0, p0, p3
|
|
|
|
cmpl-float v1, p5, v0
|
|
|
|
if-lez v1, :cond_1
|
|
|
|
mul-float/2addr p0, p2
|
|
|
|
float-to-int p4, p0
|
|
|
|
float-to-int p5, v0
|
|
|
|
goto :goto_0
|
|
|
|
:cond_1
|
|
div-float/2addr p5, p3
|
|
|
|
.line 12
|
|
invoke-static {p5, p4}, Ljava/lang/Math;->min(FF)F
|
|
|
|
move-result p0
|
|
|
|
mul-float/2addr p2, p0
|
|
|
|
float-to-int p4, p2
|
|
|
|
mul-float/2addr p0, p3
|
|
|
|
float-to-int p5, p0
|
|
|
|
.line 24
|
|
:cond_2
|
|
:goto_0
|
|
iput p4, p1, Lcom/fyber/inneractive/sdk/util/q0;->a:I
|
|
|
|
.line 25
|
|
iput p5, p1, Lcom/fyber/inneractive/sdk/util/q0;->b:I
|
|
|
|
return-void
|
|
.end method
|