- 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
161 lines
2.6 KiB
Smali
161 lines
2.6 KiB
Smali
.class public final Landroidx/work/impl/model/WorkSpec$Companion;
|
|
.super Ljava/lang/Object;
|
|
.source "SourceFile"
|
|
|
|
|
|
# annotations
|
|
.annotation system Ldalvik/annotation/EnclosingClass;
|
|
value = Landroidx/work/impl/model/WorkSpec;
|
|
.end annotation
|
|
|
|
.annotation system Ldalvik/annotation/InnerClass;
|
|
accessFlags = 0x19
|
|
name = "Companion"
|
|
.end annotation
|
|
|
|
|
|
# direct methods
|
|
.method private constructor <init>()V
|
|
.locals 0
|
|
|
|
.line 396
|
|
invoke-direct {p0}, Ljava/lang/Object;-><init>()V
|
|
|
|
return-void
|
|
.end method
|
|
|
|
.method public synthetic constructor <init>(Lkotlin/jvm/internal/DefaultConstructorMarker;)V
|
|
.locals 0
|
|
|
|
.line 0
|
|
invoke-direct {p0}, Landroidx/work/impl/model/WorkSpec$Companion;-><init>()V
|
|
|
|
return-void
|
|
.end method
|
|
|
|
|
|
# virtual methods
|
|
.method public final calculateNextRunTime(ZILandroidx/work/BackoffPolicy;JJIZJJJJ)J
|
|
.locals 9
|
|
|
|
move v0, p2
|
|
|
|
move-object v1, p3
|
|
|
|
move-wide v2, p4
|
|
|
|
move-wide/from16 v4, p16
|
|
|
|
const-string v6, "backoffPolicy"
|
|
|
|
invoke-static {p3, v6}, Lkotlin/jvm/internal/Intrinsics;->checkNotNullParameter(Ljava/lang/Object;Ljava/lang/String;)V
|
|
|
|
const-wide v6, 0x7fffffffffffffffL
|
|
|
|
cmp-long v8, v4, v6
|
|
|
|
if-eqz v8, :cond_1
|
|
|
|
if-eqz p9, :cond_1
|
|
|
|
if-nez p8, :cond_0
|
|
|
|
move-wide v0, v4
|
|
|
|
goto :goto_0
|
|
|
|
:cond_0
|
|
const-wide/32 v0, 0xdbba0
|
|
|
|
add-long/2addr v0, p6
|
|
|
|
.line 422
|
|
invoke-static {v4, v5, v0, v1}, Lkotlin/ranges/RangesKt;->coerceAtLeast(JJ)J
|
|
|
|
move-result-wide v0
|
|
|
|
:goto_0
|
|
return-wide v0
|
|
|
|
:cond_1
|
|
if-eqz p1, :cond_3
|
|
|
|
.line 426
|
|
sget-object v4, Landroidx/work/BackoffPolicy;->LINEAR:Landroidx/work/BackoffPolicy;
|
|
|
|
if-ne v1, v4, :cond_2
|
|
|
|
int-to-long v0, v0
|
|
|
|
mul-long/2addr v0, v2
|
|
|
|
goto :goto_1
|
|
|
|
:cond_2
|
|
long-to-float v1, v2
|
|
|
|
add-int/lit8 v0, v0, -0x1
|
|
|
|
.line 429
|
|
invoke-static {v1, v0}, Ljava/lang/Math;->scalb(FI)F
|
|
|
|
move-result v0
|
|
|
|
float-to-long v0, v0
|
|
|
|
:goto_1
|
|
const-wide/32 v2, 0x112a880
|
|
|
|
.line 430
|
|
invoke-static {v0, v1, v2, v3}, Lkotlin/ranges/RangesKt;->coerceAtMost(JJ)J
|
|
|
|
move-result-wide v0
|
|
|
|
add-long v6, p6, v0
|
|
|
|
goto :goto_3
|
|
|
|
:cond_3
|
|
if-eqz p9, :cond_6
|
|
|
|
if-nez p8, :cond_4
|
|
|
|
add-long v0, p6, p10
|
|
|
|
goto :goto_2
|
|
|
|
:cond_4
|
|
add-long v0, p6, p14
|
|
|
|
:goto_2
|
|
cmp-long v2, p12, p14
|
|
|
|
if-eqz v2, :cond_5
|
|
|
|
if-nez p8, :cond_5
|
|
|
|
sub-long v2, p14, p12
|
|
|
|
add-long/2addr v0, v2
|
|
|
|
:cond_5
|
|
move-wide v6, v0
|
|
|
|
goto :goto_3
|
|
|
|
:cond_6
|
|
const-wide/16 v0, -0x1
|
|
|
|
cmp-long v0, p6, v0
|
|
|
|
if-nez v0, :cond_7
|
|
|
|
goto :goto_3
|
|
|
|
:cond_7
|
|
add-long v6, p6, p10
|
|
|
|
:goto_3
|
|
return-wide v6
|
|
.end method
|