- 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
192 lines
3.2 KiB
Smali
192 lines
3.2 KiB
Smali
.class public final Landroidx/collection/internal/ContainerHelpersKt;
|
|
.super Ljava/lang/Object;
|
|
.source "SourceFile"
|
|
|
|
|
|
# static fields
|
|
.field public static final EMPTY_INTS:[I
|
|
|
|
.field public static final EMPTY_LONGS:[J
|
|
|
|
.field public static final EMPTY_OBJECTS:[Ljava/lang/Object;
|
|
|
|
|
|
# direct methods
|
|
.method static constructor <clinit>()V
|
|
.locals 2
|
|
|
|
const/4 v0, 0x0
|
|
|
|
new-array v1, v0, [I
|
|
|
|
sput-object v1, Landroidx/collection/internal/ContainerHelpersKt;->EMPTY_INTS:[I
|
|
|
|
new-array v1, v0, [J
|
|
|
|
sput-object v1, Landroidx/collection/internal/ContainerHelpersKt;->EMPTY_LONGS:[J
|
|
|
|
new-array v0, v0, [Ljava/lang/Object;
|
|
|
|
sput-object v0, Landroidx/collection/internal/ContainerHelpersKt;->EMPTY_OBJECTS:[Ljava/lang/Object;
|
|
|
|
return-void
|
|
.end method
|
|
|
|
.method public static final binarySearch([III)I
|
|
.locals 3
|
|
|
|
const-string v0, "array"
|
|
|
|
invoke-static {p0, v0}, Lkotlin/jvm/internal/Intrinsics;->checkNotNullParameter(Ljava/lang/Object;Ljava/lang/String;)V
|
|
|
|
add-int/lit8 p1, p1, -0x1
|
|
|
|
const/4 v0, 0x0
|
|
|
|
:goto_0
|
|
if-gt v0, p1, :cond_2
|
|
|
|
add-int v1, v0, p1
|
|
|
|
ushr-int/lit8 v1, v1, 0x1
|
|
|
|
.line 60
|
|
aget v2, p0, v1
|
|
|
|
if-ge v2, p2, :cond_0
|
|
|
|
add-int/lit8 v0, v1, 0x1
|
|
|
|
goto :goto_0
|
|
|
|
:cond_0
|
|
if-le v2, p2, :cond_1
|
|
|
|
add-int/lit8 p1, v1, -0x1
|
|
|
|
goto :goto_0
|
|
|
|
:cond_1
|
|
return v1
|
|
|
|
:cond_2
|
|
not-int p0, v0
|
|
|
|
return p0
|
|
.end method
|
|
|
|
.method public static final binarySearch([JIJ)I
|
|
.locals 4
|
|
|
|
const-string v0, "array"
|
|
|
|
invoke-static {p0, v0}, Lkotlin/jvm/internal/Intrinsics;->checkNotNullParameter(Ljava/lang/Object;Ljava/lang/String;)V
|
|
|
|
add-int/lit8 p1, p1, -0x1
|
|
|
|
const/4 v0, 0x0
|
|
|
|
:goto_0
|
|
if-gt v0, p1, :cond_2
|
|
|
|
add-int v1, v0, p1
|
|
|
|
ushr-int/lit8 v1, v1, 0x1
|
|
|
|
.line 79
|
|
aget-wide v2, p0, v1
|
|
|
|
cmp-long v2, v2, p2
|
|
|
|
if-gez v2, :cond_0
|
|
|
|
add-int/lit8 v0, v1, 0x1
|
|
|
|
goto :goto_0
|
|
|
|
:cond_0
|
|
if-lez v2, :cond_1
|
|
|
|
add-int/lit8 p1, v1, -0x1
|
|
|
|
goto :goto_0
|
|
|
|
:cond_1
|
|
return v1
|
|
|
|
:cond_2
|
|
not-int p0, v0
|
|
|
|
return p0
|
|
.end method
|
|
|
|
.method public static final equal(Ljava/lang/Object;Ljava/lang/Object;)Z
|
|
.locals 0
|
|
|
|
.line 49
|
|
invoke-static {p0, p1}, Lkotlin/jvm/internal/Intrinsics;->areEqual(Ljava/lang/Object;Ljava/lang/Object;)Z
|
|
|
|
move-result p0
|
|
|
|
return p0
|
|
.end method
|
|
|
|
.method public static final idealByteArraySize(I)I
|
|
.locals 2
|
|
|
|
const/4 v0, 0x4
|
|
|
|
:goto_0
|
|
const/16 v1, 0x20
|
|
|
|
if-ge v0, v1, :cond_1
|
|
|
|
const/4 v1, 0x1
|
|
|
|
shl-int/2addr v1, v0
|
|
|
|
add-int/lit8 v1, v1, -0xc
|
|
|
|
if-gt p0, v1, :cond_0
|
|
|
|
return v1
|
|
|
|
:cond_0
|
|
add-int/lit8 v0, v0, 0x1
|
|
|
|
goto :goto_0
|
|
|
|
:cond_1
|
|
return p0
|
|
.end method
|
|
|
|
.method public static final idealIntArraySize(I)I
|
|
.locals 0
|
|
|
|
mul-int/lit8 p0, p0, 0x4
|
|
|
|
.line 31
|
|
invoke-static {p0}, Landroidx/collection/internal/ContainerHelpersKt;->idealByteArraySize(I)I
|
|
|
|
move-result p0
|
|
|
|
div-int/lit8 p0, p0, 0x4
|
|
|
|
return p0
|
|
.end method
|
|
|
|
.method public static final idealLongArraySize(I)I
|
|
.locals 0
|
|
|
|
mul-int/lit8 p0, p0, 0x8
|
|
|
|
.line 35
|
|
invoke-static {p0}, Landroidx/collection/internal/ContainerHelpersKt;->idealByteArraySize(I)I
|
|
|
|
move-result p0
|
|
|
|
div-int/lit8 p0, p0, 0x8
|
|
|
|
return p0
|
|
.end method
|