- 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
67 lines
994 B
Smali
67 lines
994 B
Smali
.class public final Lcom/mbridge/msdk/foundation/download/utils/Utils;
|
|
.super Ljava/lang/Object;
|
|
.source "SourceFile"
|
|
|
|
|
|
# direct methods
|
|
.method private constructor <init>()V
|
|
.locals 0
|
|
|
|
.line 7
|
|
invoke-direct {p0}, Ljava/lang/Object;-><init>()V
|
|
|
|
return-void
|
|
.end method
|
|
|
|
.method public static getDownloadRate(JJ)I
|
|
.locals 3
|
|
|
|
const-wide/16 v0, 0x0
|
|
|
|
cmp-long v2, p0, v0
|
|
|
|
if-eqz v2, :cond_2
|
|
|
|
cmp-long v0, p2, v0
|
|
|
|
if-nez v0, :cond_0
|
|
|
|
goto :goto_0
|
|
|
|
:cond_0
|
|
cmp-long v0, p0, p2
|
|
|
|
if-nez v0, :cond_1
|
|
|
|
const/16 p0, 0x64
|
|
|
|
return p0
|
|
|
|
:cond_1
|
|
long-to-double p2, p2
|
|
|
|
const-wide/high16 v0, 0x3ff0000000000000L # 1.0
|
|
|
|
mul-double/2addr p2, v0
|
|
|
|
long-to-double p0, p0
|
|
|
|
mul-double/2addr p0, v0
|
|
|
|
div-double/2addr p2, p0
|
|
|
|
const-wide/high16 p0, 0x4059000000000000L # 100.0
|
|
|
|
mul-double/2addr p2, p0
|
|
|
|
double-to-int p0, p2
|
|
|
|
return p0
|
|
|
|
:cond_2
|
|
:goto_0
|
|
const/4 p0, 0x0
|
|
|
|
return p0
|
|
.end method
|