- 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
476 lines
11 KiB
Smali
476 lines
11 KiB
Smali
.class public final Landroidx/core/util/SparseArrayKt;
|
|
.super Ljava/lang/Object;
|
|
.source "SourceFile"
|
|
|
|
|
|
# annotations
|
|
.annotation build Lkotlin/jvm/internal/SourceDebugExtension;
|
|
value = {
|
|
"SMAP\nSparseArray.kt\nKotlin\n*S Kotlin\n*F\n+ 1 SparseArray.kt\nandroidx/core/util/SparseArrayKt\n*L\n1#1,101:1\n77#1,4:102\n*S KotlinDebug\n*F\n+ 1 SparseArray.kt\nandroidx/core/util/SparseArrayKt\n*L\n73#1:102,4\n*E\n"
|
|
}
|
|
.end annotation
|
|
|
|
|
|
# direct methods
|
|
.method public static final contains(Landroid/util/SparseArray;I)Z
|
|
.locals 0
|
|
.annotation system Ldalvik/annotation/Signature;
|
|
value = {
|
|
"<T:",
|
|
"Ljava/lang/Object;",
|
|
">(",
|
|
"Landroid/util/SparseArray<",
|
|
"TT;>;I)Z"
|
|
}
|
|
.end annotation
|
|
|
|
.line 29
|
|
invoke-virtual {p0, p1}, Landroid/util/SparseArray;->indexOfKey(I)I
|
|
|
|
move-result p0
|
|
|
|
if-ltz p0, :cond_0
|
|
|
|
const/4 p0, 0x1
|
|
|
|
goto :goto_0
|
|
|
|
:cond_0
|
|
const/4 p0, 0x0
|
|
|
|
:goto_0
|
|
return p0
|
|
.end method
|
|
|
|
.method public static final containsKey(Landroid/util/SparseArray;I)Z
|
|
.locals 0
|
|
.annotation system Ldalvik/annotation/Signature;
|
|
value = {
|
|
"<T:",
|
|
"Ljava/lang/Object;",
|
|
">(",
|
|
"Landroid/util/SparseArray<",
|
|
"TT;>;I)Z"
|
|
}
|
|
.end annotation
|
|
|
|
.line 43
|
|
invoke-virtual {p0, p1}, Landroid/util/SparseArray;->indexOfKey(I)I
|
|
|
|
move-result p0
|
|
|
|
if-ltz p0, :cond_0
|
|
|
|
const/4 p0, 0x1
|
|
|
|
goto :goto_0
|
|
|
|
:cond_0
|
|
const/4 p0, 0x0
|
|
|
|
:goto_0
|
|
return p0
|
|
.end method
|
|
|
|
.method public static final containsValue(Landroid/util/SparseArray;Ljava/lang/Object;)Z
|
|
.locals 0
|
|
.annotation system Ldalvik/annotation/Signature;
|
|
value = {
|
|
"<T:",
|
|
"Ljava/lang/Object;",
|
|
">(",
|
|
"Landroid/util/SparseArray<",
|
|
"TT;>;TT;)Z"
|
|
}
|
|
.end annotation
|
|
|
|
.line 46
|
|
invoke-virtual {p0, p1}, Landroid/util/SparseArray;->indexOfValue(Ljava/lang/Object;)I
|
|
|
|
move-result p0
|
|
|
|
if-ltz p0, :cond_0
|
|
|
|
const/4 p0, 0x1
|
|
|
|
goto :goto_0
|
|
|
|
:cond_0
|
|
const/4 p0, 0x0
|
|
|
|
:goto_0
|
|
return p0
|
|
.end method
|
|
|
|
.method public static final forEach(Landroid/util/SparseArray;Lkotlin/jvm/functions/Function2;)V
|
|
.locals 4
|
|
.annotation system Ldalvik/annotation/Signature;
|
|
value = {
|
|
"<T:",
|
|
"Ljava/lang/Object;",
|
|
">(",
|
|
"Landroid/util/SparseArray<",
|
|
"TT;>;",
|
|
"Lkotlin/jvm/functions/Function2;",
|
|
")V"
|
|
}
|
|
.end annotation
|
|
|
|
.line 77
|
|
invoke-virtual {p0}, Landroid/util/SparseArray;->size()I
|
|
|
|
move-result v0
|
|
|
|
const/4 v1, 0x0
|
|
|
|
:goto_0
|
|
if-ge v1, v0, :cond_0
|
|
|
|
.line 78
|
|
invoke-virtual {p0, v1}, Landroid/util/SparseArray;->keyAt(I)I
|
|
|
|
move-result v2
|
|
|
|
invoke-static {v2}, Ljava/lang/Integer;->valueOf(I)Ljava/lang/Integer;
|
|
|
|
move-result-object v2
|
|
|
|
invoke-virtual {p0, v1}, Landroid/util/SparseArray;->valueAt(I)Ljava/lang/Object;
|
|
|
|
move-result-object v3
|
|
|
|
invoke-interface {p1, v2, v3}, Lkotlin/jvm/functions/Function2;->invoke(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;
|
|
|
|
add-int/lit8 v1, v1, 0x1
|
|
|
|
goto :goto_0
|
|
|
|
:cond_0
|
|
return-void
|
|
.end method
|
|
|
|
.method public static final getOrDefault(Landroid/util/SparseArray;ILjava/lang/Object;)Ljava/lang/Object;
|
|
.locals 0
|
|
.annotation system Ldalvik/annotation/Signature;
|
|
value = {
|
|
"<T:",
|
|
"Ljava/lang/Object;",
|
|
">(",
|
|
"Landroid/util/SparseArray<",
|
|
"TT;>;ITT;)TT;"
|
|
}
|
|
.end annotation
|
|
|
|
.line 50
|
|
invoke-virtual {p0, p1}, Landroid/util/SparseArray;->get(I)Ljava/lang/Object;
|
|
|
|
move-result-object p0
|
|
|
|
if-nez p0, :cond_0
|
|
|
|
goto :goto_0
|
|
|
|
:cond_0
|
|
move-object p2, p0
|
|
|
|
:goto_0
|
|
return-object p2
|
|
.end method
|
|
|
|
.method public static final getOrElse(Landroid/util/SparseArray;ILkotlin/jvm/functions/Function0;)Ljava/lang/Object;
|
|
.locals 0
|
|
.annotation system Ldalvik/annotation/Signature;
|
|
value = {
|
|
"<T:",
|
|
"Ljava/lang/Object;",
|
|
">(",
|
|
"Landroid/util/SparseArray<",
|
|
"TT;>;I",
|
|
"Lkotlin/jvm/functions/Function0;",
|
|
")TT;"
|
|
}
|
|
.end annotation
|
|
|
|
.line 54
|
|
invoke-virtual {p0, p1}, Landroid/util/SparseArray;->get(I)Ljava/lang/Object;
|
|
|
|
move-result-object p0
|
|
|
|
if-nez p0, :cond_0
|
|
|
|
invoke-interface {p2}, Lkotlin/jvm/functions/Function0;->invoke()Ljava/lang/Object;
|
|
|
|
move-result-object p0
|
|
|
|
:cond_0
|
|
return-object p0
|
|
.end method
|
|
|
|
.method public static final getSize(Landroid/util/SparseArray;)I
|
|
.locals 0
|
|
.annotation system Ldalvik/annotation/Signature;
|
|
value = {
|
|
"<T:",
|
|
"Ljava/lang/Object;",
|
|
">(",
|
|
"Landroid/util/SparseArray<",
|
|
"TT;>;)I"
|
|
}
|
|
.end annotation
|
|
|
|
.line 25
|
|
invoke-virtual {p0}, Landroid/util/SparseArray;->size()I
|
|
|
|
move-result p0
|
|
|
|
return p0
|
|
.end method
|
|
|
|
.method public static final isEmpty(Landroid/util/SparseArray;)Z
|
|
.locals 0
|
|
.annotation system Ldalvik/annotation/Signature;
|
|
value = {
|
|
"<T:",
|
|
"Ljava/lang/Object;",
|
|
">(",
|
|
"Landroid/util/SparseArray<",
|
|
"TT;>;)Z"
|
|
}
|
|
.end annotation
|
|
|
|
.line 57
|
|
invoke-virtual {p0}, Landroid/util/SparseArray;->size()I
|
|
|
|
move-result p0
|
|
|
|
if-nez p0, :cond_0
|
|
|
|
const/4 p0, 0x1
|
|
|
|
goto :goto_0
|
|
|
|
:cond_0
|
|
const/4 p0, 0x0
|
|
|
|
:goto_0
|
|
return p0
|
|
.end method
|
|
|
|
.method public static final isNotEmpty(Landroid/util/SparseArray;)Z
|
|
.locals 0
|
|
.annotation system Ldalvik/annotation/Signature;
|
|
value = {
|
|
"<T:",
|
|
"Ljava/lang/Object;",
|
|
">(",
|
|
"Landroid/util/SparseArray<",
|
|
"TT;>;)Z"
|
|
}
|
|
.end annotation
|
|
|
|
.line 60
|
|
invoke-virtual {p0}, Landroid/util/SparseArray;->size()I
|
|
|
|
move-result p0
|
|
|
|
if-eqz p0, :cond_0
|
|
|
|
const/4 p0, 0x1
|
|
|
|
goto :goto_0
|
|
|
|
:cond_0
|
|
const/4 p0, 0x0
|
|
|
|
:goto_0
|
|
return p0
|
|
.end method
|
|
|
|
.method public static final keyIterator(Landroid/util/SparseArray;)Lkotlin/collections/IntIterator;
|
|
.locals 1
|
|
.annotation system Ldalvik/annotation/Signature;
|
|
value = {
|
|
"<T:",
|
|
"Ljava/lang/Object;",
|
|
">(",
|
|
"Landroid/util/SparseArray<",
|
|
"TT;>;)",
|
|
"Lkotlin/collections/IntIterator;"
|
|
}
|
|
.end annotation
|
|
|
|
.line 84
|
|
new-instance v0, Landroidx/core/util/SparseArrayKt$keyIterator$1;
|
|
|
|
invoke-direct {v0, p0}, Landroidx/core/util/SparseArrayKt$keyIterator$1;-><init>(Landroid/util/SparseArray;)V
|
|
|
|
return-object v0
|
|
.end method
|
|
|
|
.method public static final plus(Landroid/util/SparseArray;Landroid/util/SparseArray;)Landroid/util/SparseArray;
|
|
.locals 3
|
|
.annotation system Ldalvik/annotation/Signature;
|
|
value = {
|
|
"<T:",
|
|
"Ljava/lang/Object;",
|
|
">(",
|
|
"Landroid/util/SparseArray<",
|
|
"TT;>;",
|
|
"Landroid/util/SparseArray<",
|
|
"TT;>;)",
|
|
"Landroid/util/SparseArray<",
|
|
"TT;>;"
|
|
}
|
|
.end annotation
|
|
|
|
.line 36
|
|
new-instance v0, Landroid/util/SparseArray;
|
|
|
|
invoke-virtual {p0}, Landroid/util/SparseArray;->size()I
|
|
|
|
move-result v1
|
|
|
|
invoke-virtual {p1}, Landroid/util/SparseArray;->size()I
|
|
|
|
move-result v2
|
|
|
|
add-int/2addr v1, v2
|
|
|
|
invoke-direct {v0, v1}, Landroid/util/SparseArray;-><init>(I)V
|
|
|
|
.line 37
|
|
invoke-static {v0, p0}, Landroidx/core/util/SparseArrayKt;->putAll(Landroid/util/SparseArray;Landroid/util/SparseArray;)V
|
|
|
|
.line 38
|
|
invoke-static {v0, p1}, Landroidx/core/util/SparseArrayKt;->putAll(Landroid/util/SparseArray;Landroid/util/SparseArray;)V
|
|
|
|
return-object v0
|
|
.end method
|
|
|
|
.method public static final putAll(Landroid/util/SparseArray;Landroid/util/SparseArray;)V
|
|
.locals 4
|
|
.annotation system Ldalvik/annotation/Signature;
|
|
value = {
|
|
"<T:",
|
|
"Ljava/lang/Object;",
|
|
">(",
|
|
"Landroid/util/SparseArray<",
|
|
"TT;>;",
|
|
"Landroid/util/SparseArray<",
|
|
"TT;>;)V"
|
|
}
|
|
.end annotation
|
|
|
|
.line 77
|
|
invoke-virtual {p1}, Landroid/util/SparseArray;->size()I
|
|
|
|
move-result v0
|
|
|
|
const/4 v1, 0x0
|
|
|
|
:goto_0
|
|
if-ge v1, v0, :cond_0
|
|
|
|
.line 78
|
|
invoke-virtual {p1, v1}, Landroid/util/SparseArray;->keyAt(I)I
|
|
|
|
move-result v2
|
|
|
|
invoke-virtual {p1, v1}, Landroid/util/SparseArray;->valueAt(I)Ljava/lang/Object;
|
|
|
|
move-result-object v3
|
|
|
|
.line 73
|
|
invoke-virtual {p0, v2, v3}, Landroid/util/SparseArray;->put(ILjava/lang/Object;)V
|
|
|
|
add-int/lit8 v1, v1, 0x1
|
|
|
|
goto :goto_0
|
|
|
|
:cond_0
|
|
return-void
|
|
.end method
|
|
|
|
.method public static final remove(Landroid/util/SparseArray;ILjava/lang/Object;)Z
|
|
.locals 1
|
|
.annotation system Ldalvik/annotation/Signature;
|
|
value = {
|
|
"<T:",
|
|
"Ljava/lang/Object;",
|
|
">(",
|
|
"Landroid/util/SparseArray<",
|
|
"TT;>;ITT;)Z"
|
|
}
|
|
.end annotation
|
|
|
|
.line 64
|
|
invoke-virtual {p0, p1}, Landroid/util/SparseArray;->indexOfKey(I)I
|
|
|
|
move-result p1
|
|
|
|
if-ltz p1, :cond_0
|
|
|
|
.line 65
|
|
invoke-virtual {p0, p1}, Landroid/util/SparseArray;->valueAt(I)Ljava/lang/Object;
|
|
|
|
move-result-object v0
|
|
|
|
invoke-static {p2, v0}, Lkotlin/jvm/internal/Intrinsics;->areEqual(Ljava/lang/Object;Ljava/lang/Object;)Z
|
|
|
|
move-result p2
|
|
|
|
if-eqz p2, :cond_0
|
|
|
|
.line 66
|
|
invoke-virtual {p0, p1}, Landroid/util/SparseArray;->removeAt(I)V
|
|
|
|
const/4 p0, 0x1
|
|
|
|
return p0
|
|
|
|
:cond_0
|
|
const/4 p0, 0x0
|
|
|
|
return p0
|
|
.end method
|
|
|
|
.method public static final set(Landroid/util/SparseArray;ILjava/lang/Object;)V
|
|
.locals 0
|
|
.annotation system Ldalvik/annotation/Signature;
|
|
value = {
|
|
"<T:",
|
|
"Ljava/lang/Object;",
|
|
">(",
|
|
"Landroid/util/SparseArray<",
|
|
"TT;>;ITT;)V"
|
|
}
|
|
.end annotation
|
|
|
|
.line 32
|
|
invoke-virtual {p0, p1, p2}, Landroid/util/SparseArray;->put(ILjava/lang/Object;)V
|
|
|
|
return-void
|
|
.end method
|
|
|
|
.method public static final valueIterator(Landroid/util/SparseArray;)Ljava/util/Iterator;
|
|
.locals 1
|
|
.annotation system Ldalvik/annotation/Signature;
|
|
value = {
|
|
"<T:",
|
|
"Ljava/lang/Object;",
|
|
">(",
|
|
"Landroid/util/SparseArray<",
|
|
"TT;>;)",
|
|
"Ljava/util/Iterator<",
|
|
"TT;>;"
|
|
}
|
|
.end annotation
|
|
|
|
.line 94
|
|
new-instance v0, Landroidx/core/util/SparseArrayKt$valueIterator$1;
|
|
|
|
invoke-direct {v0, p0}, Landroidx/core/util/SparseArrayKt$valueIterator$1;-><init>(Landroid/util/SparseArray;)V
|
|
|
|
return-object v0
|
|
.end method
|