Files
rr3-apk/smali/androidx/collection/MutableObjectIntMap.smali
Daniel Elliott 6ffa31962e V14.0.1 Ultimate: Killswitch removed + offline features + crash fix
- Decompiled RealRacing3 v14.0.1 (versionCode 14001)
- Patched EnvironmentDataContainer.getLatestAppVersionCheckResult() to always return 0 (APP_VERSION_OK)
- Copied all offline managers from v13: LocalSaveManager, OfflineModeManager, OfflineCurrencyManager, OfflineEventsManager
- Applied delayed initialization fix to MainActivity (500ms Handler.postDelayed)
- Added MainActivity\ inner class with try-catch wrapper
- Server killswitch completely bypassed - game will work after March 2026 shutdown
- Compatible with v13 APKs (same signing key: rr3-release.keystore)

This is the ULTIMATE EDITION: Latest game version + no killswitch + offline mode + crash fixed

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
2026-02-18 22:36:51 -08:00

1845 lines
36 KiB
Smali

.class public final Landroidx/collection/MutableObjectIntMap;
.super Landroidx/collection/ObjectIntMap;
.source "SourceFile"
# annotations
.annotation system Ldalvik/annotation/Signature;
value = {
"<K:",
"Ljava/lang/Object;",
">",
"Landroidx/collection/ObjectIntMap<",
"TK;>;"
}
.end annotation
.annotation build Lkotlin/jvm/internal/SourceDebugExtension;
value = {
"SMAP\nObjectIntMap.kt\nKotlin\n*S Kotlin\n*F\n+ 1 ObjectIntMap.kt\nandroidx/collection/MutableObjectIntMap\n+ 2 fake.kt\nkotlin/jvm/internal/FakeKt\n+ 3 ScatterMap.kt\nandroidx/collection/ScatterMapKt\n+ 4 ObjectIntMap.kt\nandroidx/collection/ObjectIntMap\n+ 5 ScatterSet.kt\nandroidx/collection/ScatterSet\n*L\n1#1,1074:1\n1064#1,2:1155\n1068#1,5:1163\n1064#1,2:1194\n1068#1,5:1202\n1064#1,2:1219\n1068#1,5:1227\n1064#1,2:1233\n1068#1,5:1241\n1#2:1075\n1672#3,6:1076\n1826#3:1092\n1688#3:1096\n1826#3:1114\n1688#3:1118\n1826#3:1139\n1688#3:1143\n1672#3,6:1157\n1672#3,6:1168\n1605#3,3:1174\n1615#3:1177\n1619#3:1178\n1795#3,3:1179\n1809#3,3:1182\n1733#3:1185\n1721#3:1186\n1715#3:1187\n1728#3:1188\n1818#3:1189\n1682#3:1190\n1661#3:1191\n1680#3:1192\n1661#3:1193\n1672#3,6:1196\n1795#3,3:1207\n1826#3:1210\n1715#3:1211\n1685#3:1212\n1661#3:1213\n1605#3,3:1214\n1615#3:1217\n1619#3:1218\n1672#3,6:1221\n1661#3:1232\n1672#3,6:1235\n1672#3,6:1246\n1672#3,6:1252\n401#4,4:1082\n373#4,6:1086\n383#4,3:1093\n386#4,2:1097\n406#4,2:1099\n389#4,6:1101\n408#4:1107\n373#4,6:1108\n383#4,3:1115\n386#4,9:1119\n267#5,4:1128\n237#5,7:1132\n248#5,3:1140\n251#5,2:1144\n272#5,2:1146\n254#5,6:1148\n274#5:1154\n*S KotlinDebug\n*F\n+ 1 ObjectIntMap.kt\nandroidx/collection/MutableObjectIntMap\n*L\n900#1:1155,2\n900#1:1163,5\n960#1:1194,2\n960#1:1202,5\n1034#1:1219,2\n1034#1:1227,5\n1050#1:1233,2\n1050#1:1241,5\n728#1:1076,6\n804#1:1092\n804#1:1096\n843#1:1114\n843#1:1118\n889#1:1139\n889#1:1143\n900#1:1157,6\n911#1:1168,6\n925#1:1174,3\n926#1:1177\n927#1:1178\n934#1:1179,3\n935#1:1182,3\n936#1:1185\n937#1:1186\n937#1:1187\n941#1:1188\n944#1:1189\n953#1:1190\n953#1:1191\n959#1:1192\n959#1:1193\n960#1:1196,6\n975#1:1207,3\n976#1:1210\n978#1:1211\n1029#1:1212\n1029#1:1213\n1031#1:1214,3\n1032#1:1217\n1034#1:1218\n1034#1:1221,6\n1048#1:1232\n1050#1:1235,6\n1065#1:1246,6\n1071#1:1252,6\n804#1:1082,4\n804#1:1086,6\n804#1:1093,3\n804#1:1097,2\n804#1:1099,2\n804#1:1101,6\n804#1:1107\n843#1:1108,6\n843#1:1115,3\n843#1:1119,9\n889#1:1128,4\n889#1:1132,7\n889#1:1140,3\n889#1:1144,2\n889#1:1146,2\n889#1:1148,6\n889#1:1154\n*E\n"
}
.end annotation
# instance fields
.field private growthLimit:I
# direct methods
.method public constructor <init>()V
.locals 3
.line 0
const/4 v0, 0x1
const/4 v1, 0x0
const/4 v2, 0x0
invoke-direct {p0, v2, v0, v1}, Landroidx/collection/MutableObjectIntMap;-><init>(IILkotlin/jvm/internal/DefaultConstructorMarker;)V
return-void
.end method
.method public constructor <init>(I)V
.locals 1
const/4 v0, 0x0
.line 695
invoke-direct {p0, v0}, Landroidx/collection/ObjectIntMap;-><init>(Lkotlin/jvm/internal/DefaultConstructorMarker;)V
if-ltz p1, :cond_0
.line 701
invoke-static {p1}, Landroidx/collection/ScatterMapKt;->unloadedCapacity(I)I
move-result p1
invoke-direct {p0, p1}, Landroidx/collection/MutableObjectIntMap;->initializeStorage(I)V
return-void
.line 700
:cond_0
new-instance p1, Ljava/lang/IllegalArgumentException;
const-string v0, "Capacity must be a positive value."
invoke-virtual {v0}, Ljava/lang/Object;->toString()Ljava/lang/String;
move-result-object v0
invoke-direct {p1, v0}, Ljava/lang/IllegalArgumentException;-><init>(Ljava/lang/String;)V
throw p1
.end method
.method public synthetic constructor <init>(IILkotlin/jvm/internal/DefaultConstructorMarker;)V
.locals 0
and-int/lit8 p2, p2, 0x1
if-eqz p2, :cond_0
const/4 p1, 0x6
.line 693
:cond_0
invoke-direct {p0, p1}, Landroidx/collection/MutableObjectIntMap;-><init>(I)V
return-void
.end method
.method private final adjustStorage()V
.locals 6
iget v0, p0, Landroidx/collection/ObjectIntMap;->_capacity:I
const/16 v1, 0x8
if-le v0, v1, :cond_0
iget v0, p0, Landroidx/collection/ObjectIntMap;->_size:I
int-to-long v0, v0
.line 1010
invoke-static {v0, v1}, Lkotlin/ULong;->constructor-impl(J)J
move-result-wide v0
const-wide/16 v2, 0x20
mul-long/2addr v0, v2
invoke-static {v0, v1}, Lkotlin/ULong;->constructor-impl(J)J
move-result-wide v0
iget v2, p0, Landroidx/collection/ObjectIntMap;->_capacity:I
int-to-long v2, v2
invoke-static {v2, v3}, Lkotlin/ULong;->constructor-impl(J)J
move-result-wide v2
const-wide/16 v4, 0x19
mul-long/2addr v2, v4
invoke-static {v2, v3}, Lkotlin/ULong;->constructor-impl(J)J
move-result-wide v2
invoke-static {v0, v1, v2, v3}, Ljava/lang/Long;->compareUnsigned(JJ)I
move-result v0
if-gtz v0, :cond_0
.line 1011
invoke-direct {p0}, Landroidx/collection/MutableObjectIntMap;->removeDeletedMarkers()V
goto :goto_0
:cond_0
iget v0, p0, Landroidx/collection/ObjectIntMap;->_capacity:I
.line 1013
invoke-static {v0}, Landroidx/collection/ScatterMapKt;->nextCapacity(I)I
move-result v0
invoke-direct {p0, v0}, Landroidx/collection/MutableObjectIntMap;->resizeStorage(I)V
:goto_0
return-void
.end method
.method private final findFirstAvailableSlot(I)I
.locals 9
iget v0, p0, Landroidx/collection/ObjectIntMap;->_capacity:I
and-int/2addr p1, v0
const/4 v1, 0x0
:goto_0
iget-object v2, p0, Landroidx/collection/ObjectIntMap;->metadata:[J
shr-int/lit8 v3, p1, 0x3
and-int/lit8 v4, p1, 0x7
shl-int/lit8 v4, v4, 0x3
.line 1797
aget-wide v5, v2, v3
ushr-long/2addr v5, v4
add-int/lit8 v3, v3, 0x1
aget-wide v7, v2, v3
rsub-int/lit8 v2, v4, 0x40
shl-long v2, v7, v2
int-to-long v7, v4
neg-long v7, v7
const/16 v4, 0x3f
shr-long/2addr v7, v4
and-long/2addr v2, v7
or-long/2addr v2, v5
not-long v4, v2
const/4 v6, 0x7
shl-long/2addr v4, v6
and-long/2addr v2, v4
const-wide v4, -0x7f7f7f7f7f7f7f80L # -2.937446524422997E-306
and-long/2addr v2, v4
const-wide/16 v4, 0x0
cmp-long v4, v2, v4
if-eqz v4, :cond_0
.line 1715
invoke-static {v2, v3}, Ljava/lang/Long;->numberOfTrailingZeros(J)I
move-result v1
shr-int/lit8 v1, v1, 0x3
add-int/2addr p1, v1
and-int/2addr p1, v0
return p1
:cond_0
add-int/lit8 v1, v1, 0x8
add-int/2addr p1, v1
and-int/2addr p1, v0
goto :goto_0
.end method
.method private final findIndex(Ljava/lang/Object;)I
.locals 20
.annotation system Ldalvik/annotation/Signature;
value = {
"(TK;)I"
}
.end annotation
move-object/from16 v0, p0
move-object/from16 v1, p1
if-eqz v1, :cond_0
.line 1605
invoke-virtual/range {p1 .. p1}, Ljava/lang/Object;->hashCode()I
move-result v3
goto :goto_0
:cond_0
const/4 v3, 0x0
:goto_0
const v4, -0x3361d2af # -8.293031E7f
mul-int/2addr v3, v4
shl-int/lit8 v4, v3, 0x10
xor-int/2addr v3, v4
ushr-int/lit8 v4, v3, 0x7
and-int/lit8 v3, v3, 0x7f
iget v5, v0, Landroidx/collection/ObjectIntMap;->_capacity:I
and-int v6, v4, v5
const/4 v7, 0x0
:goto_1
iget-object v8, v0, Landroidx/collection/ObjectIntMap;->metadata:[J
shr-int/lit8 v9, v6, 0x3
and-int/lit8 v10, v6, 0x7
shl-int/lit8 v10, v10, 0x3
.line 1797
aget-wide v11, v8, v9
ushr-long/2addr v11, v10
const/4 v13, 0x1
add-int/2addr v9, v13
aget-wide v14, v8, v9
rsub-int/lit8 v8, v10, 0x40
shl-long v8, v14, v8
int-to-long v14, v10
neg-long v14, v14
const/16 v10, 0x3f
shr-long/2addr v14, v10
and-long/2addr v8, v14
or-long/2addr v8, v11
int-to-long v10, v3
const-wide v14, 0x101010101010101L
mul-long v16, v10, v14
move/from16 v18, v3
xor-long v2, v8, v16
sub-long v14, v2, v14
not-long v2, v2
and-long/2addr v2, v14
const-wide v14, -0x7f7f7f7f7f7f7f80L # -2.937446524422997E-306
and-long/2addr v2, v14
:goto_2
const-wide/16 v16, 0x0
cmp-long v19, v2, v16
if-eqz v19, :cond_2
.line 1715
invoke-static {v2, v3}, Ljava/lang/Long;->numberOfTrailingZeros(J)I
move-result v16
shr-int/lit8 v16, v16, 0x3
add-int v16, v6, v16
and-int v16, v16, v5
iget-object v12, v0, Landroidx/collection/ObjectIntMap;->keys:[Ljava/lang/Object;
.line 938
aget-object v12, v12, v16
invoke-static {v12, v1}, Lkotlin/jvm/internal/Intrinsics;->areEqual(Ljava/lang/Object;Ljava/lang/Object;)Z
move-result v12
if-eqz v12, :cond_1
return v16
:cond_1
const-wide/16 v16, 0x1
sub-long v16, v2, v16
and-long v2, v2, v16
goto :goto_2
:cond_2
not-long v2, v8
const/4 v12, 0x6
shl-long/2addr v2, v12
and-long/2addr v2, v8
and-long/2addr v2, v14
cmp-long v2, v2, v16
if-eqz v2, :cond_6
.line 952
invoke-direct {v0, v4}, Landroidx/collection/MutableObjectIntMap;->findFirstAvailableSlot(I)I
move-result v1
iget v2, v0, Landroidx/collection/MutableObjectIntMap;->growthLimit:I
const-wide/16 v5, 0xff
if-nez v2, :cond_4
iget-object v2, v0, Landroidx/collection/ObjectIntMap;->metadata:[J
shr-int/lit8 v3, v1, 0x3
.line 1661
aget-wide v7, v2, v3
and-int/lit8 v2, v1, 0x7
shl-int/lit8 v2, v2, 0x3
shr-long v2, v7, v2
and-long/2addr v2, v5
const-wide/16 v7, 0xfe
cmp-long v2, v2, v7
if-nez v2, :cond_3
goto :goto_3
.line 954
:cond_3
invoke-direct/range {p0 .. p0}, Landroidx/collection/MutableObjectIntMap;->adjustStorage()V
.line 955
invoke-direct {v0, v4}, Landroidx/collection/MutableObjectIntMap;->findFirstAvailableSlot(I)I
move-result v1
:cond_4
:goto_3
iget v2, v0, Landroidx/collection/ObjectIntMap;->_size:I
add-int/2addr v2, v13
iput v2, v0, Landroidx/collection/ObjectIntMap;->_size:I
iget v2, v0, Landroidx/collection/MutableObjectIntMap;->growthLimit:I
iget-object v3, v0, Landroidx/collection/ObjectIntMap;->metadata:[J
shr-int/lit8 v4, v1, 0x3
.line 1661
aget-wide v7, v3, v4
and-int/lit8 v9, v1, 0x7
shl-int/lit8 v9, v9, 0x3
shr-long v14, v7, v9
and-long/2addr v14, v5
const-wide/16 v16, 0x80
cmp-long v12, v14, v16
if-nez v12, :cond_5
move/from16 v19, v13
goto :goto_4
:cond_5
const/16 v19, 0x0
:goto_4
sub-int v2, v2, v19
iput v2, v0, Landroidx/collection/MutableObjectIntMap;->growthLimit:I
shl-long v12, v5, v9
not-long v12, v12
and-long/2addr v7, v12
shl-long v12, v10, v9
or-long/2addr v7, v12
.line 1676
aput-wide v7, v3, v4
iget v2, v0, Landroidx/collection/ObjectIntMap;->_capacity:I
add-int/lit8 v4, v1, -0x7
and-int/2addr v4, v2
and-int/lit8 v2, v2, 0x7
add-int/2addr v4, v2
shr-int/lit8 v2, v4, 0x3
and-int/lit8 v4, v4, 0x7
shl-int/lit8 v4, v4, 0x3
aget-wide v7, v3, v2
shl-long/2addr v5, v4
not-long v5, v5
and-long/2addr v5, v7
shl-long v7, v10, v4
or-long v4, v5, v7
aput-wide v4, v3, v2
not-int v1, v1
return v1
:cond_6
add-int/lit8 v7, v7, 0x8
add-int/2addr v6, v7
and-int/2addr v6, v5
move/from16 v3, v18
goto/16 :goto_1
.end method
.method private final initializeGrowth()V
.locals 2
.line 733
invoke-virtual {p0}, Landroidx/collection/ObjectIntMap;->getCapacity()I
move-result v0
invoke-static {v0}, Landroidx/collection/ScatterMapKt;->loadedCapacity(I)I
move-result v0
iget v1, p0, Landroidx/collection/ObjectIntMap;->_size:I
sub-int/2addr v0, v1
iput v0, p0, Landroidx/collection/MutableObjectIntMap;->growthLimit:I
return-void
.end method
.method private final initializeMetadata(I)V
.locals 8
if-nez p1, :cond_0
.line 720
sget-object v0, Landroidx/collection/ScatterMapKt;->EmptyGroup:[J
goto :goto_0
:cond_0
add-int/lit8 v0, p1, 0xf
and-int/lit8 v0, v0, -0x8
shr-int/lit8 v0, v0, 0x3
.line 724
new-array v0, v0, [J
const-wide v2, -0x7f7f7f7f7f7f7f80L # -2.937446524422997E-306
const/4 v4, 0x0
const/4 v5, 0x0
const/4 v6, 0x6
const/4 v7, 0x0
move-object v1, v0
.line 725
invoke-static/range {v1 .. v7}, Lkotlin/collections/ArraysKt;->fill$default([JJIIILjava/lang/Object;)V
:goto_0
iput-object v0, p0, Landroidx/collection/ObjectIntMap;->metadata:[J
shr-int/lit8 v1, p1, 0x3
and-int/lit8 p1, p1, 0x7
shl-int/lit8 p1, p1, 0x3
.line 1676
aget-wide v2, v0, v1
const-wide/16 v4, 0xff
shl-long/2addr v4, p1
not-long v6, v4
and-long/2addr v2, v6
or-long/2addr v2, v4
aput-wide v2, v0, v1
.line 729
invoke-direct {p0}, Landroidx/collection/MutableObjectIntMap;->initializeGrowth()V
return-void
.end method
.method private final initializeStorage(I)V
.locals 1
if-lez p1, :cond_0
const/4 v0, 0x7
.line 708
invoke-static {p1}, Landroidx/collection/ScatterMapKt;->normalizeCapacity(I)I
move-result p1
invoke-static {v0, p1}, Ljava/lang/Math;->max(II)I
move-result p1
goto :goto_0
:cond_0
const/4 p1, 0x0
:goto_0
iput p1, p0, Landroidx/collection/ObjectIntMap;->_capacity:I
.line 713
invoke-direct {p0, p1}, Landroidx/collection/MutableObjectIntMap;->initializeMetadata(I)V
.line 714
new-array v0, p1, [Ljava/lang/Object;
iput-object v0, p0, Landroidx/collection/ObjectIntMap;->keys:[Ljava/lang/Object;
.line 715
new-array p1, p1, [I
iput-object p1, p0, Landroidx/collection/ObjectIntMap;->values:[I
return-void
.end method
.method private final removeDeletedMarkers()V
.locals 14
iget-object v0, p0, Landroidx/collection/ObjectIntMap;->metadata:[J
iget v1, p0, Landroidx/collection/ObjectIntMap;->_capacity:I
const/4 v2, 0x0
move v3, v2
:goto_0
if-ge v2, v1, :cond_1
shr-int/lit8 v4, v2, 0x3
.line 1661
aget-wide v5, v0, v4
and-int/lit8 v7, v2, 0x7
shl-int/lit8 v7, v7, 0x3
shr-long/2addr v5, v7
const-wide/16 v8, 0xff
and-long/2addr v5, v8
const-wide/16 v10, 0xfe
cmp-long v5, v5, v10
if-nez v5, :cond_0
iget-object v5, p0, Landroidx/collection/ObjectIntMap;->metadata:[J
.line 1676
aget-wide v10, v5, v4
shl-long v12, v8, v7
not-long v12, v12
and-long/2addr v10, v12
const-wide/16 v12, 0x80
shl-long v6, v12, v7
or-long/2addr v6, v10
aput-wide v6, v5, v4
iget v4, p0, Landroidx/collection/ObjectIntMap;->_capacity:I
add-int/lit8 v6, v2, -0x7
and-int/2addr v6, v4
and-int/lit8 v4, v4, 0x7
add-int/2addr v6, v4
shr-int/lit8 v4, v6, 0x3
and-int/lit8 v6, v6, 0x7
shl-int/lit8 v6, v6, 0x3
aget-wide v10, v5, v4
shl-long v7, v8, v6
not-long v7, v7
and-long/2addr v7, v10
shl-long v9, v12, v6
or-long v6, v7, v9
aput-wide v6, v5, v4
add-int/lit8 v3, v3, 0x1
:cond_0
add-int/lit8 v2, v2, 0x1
goto :goto_0
:cond_1
iget v0, p0, Landroidx/collection/MutableObjectIntMap;->growthLimit:I
add-int/2addr v0, v3
iput v0, p0, Landroidx/collection/MutableObjectIntMap;->growthLimit:I
return-void
.end method
.method private final resizeStorage(I)V
.locals 21
move-object/from16 v0, p0
iget-object v1, v0, Landroidx/collection/ObjectIntMap;->metadata:[J
iget-object v2, v0, Landroidx/collection/ObjectIntMap;->keys:[Ljava/lang/Object;
iget-object v3, v0, Landroidx/collection/ObjectIntMap;->values:[I
iget v4, v0, Landroidx/collection/ObjectIntMap;->_capacity:I
.line 1023
invoke-direct/range {p0 .. p1}, Landroidx/collection/MutableObjectIntMap;->initializeStorage(I)V
iget-object v5, v0, Landroidx/collection/ObjectIntMap;->keys:[Ljava/lang/Object;
iget-object v6, v0, Landroidx/collection/ObjectIntMap;->values:[I
const/4 v8, 0x0
:goto_0
if-ge v8, v4, :cond_2
shr-int/lit8 v9, v8, 0x3
.line 1661
aget-wide v9, v1, v9
and-int/lit8 v11, v8, 0x7
shl-int/lit8 v11, v11, 0x3
shr-long/2addr v9, v11
const-wide/16 v11, 0xff
and-long/2addr v9, v11
const-wide/16 v13, 0x80
cmp-long v9, v9, v13
if-gez v9, :cond_1
.line 1030
aget-object v9, v2, v8
if-eqz v9, :cond_0
.line 1605
invoke-virtual {v9}, Ljava/lang/Object;->hashCode()I
move-result v10
goto :goto_1
:cond_0
const/4 v10, 0x0
:goto_1
const v13, -0x3361d2af # -8.293031E7f
mul-int/2addr v10, v13
shl-int/lit8 v13, v10, 0x10
xor-int/2addr v10, v13
ushr-int/lit8 v13, v10, 0x7
.line 1032
invoke-direct {v0, v13}, Landroidx/collection/MutableObjectIntMap;->findFirstAvailableSlot(I)I
move-result v13
and-int/lit8 v10, v10, 0x7f
int-to-long v14, v10
iget-object v10, v0, Landroidx/collection/ObjectIntMap;->metadata:[J
shr-int/lit8 v16, v13, 0x3
and-int/lit8 v17, v13, 0x7
shl-int/lit8 v17, v17, 0x3
.line 1676
aget-wide v18, v10, v16
move/from16 v20, v8
shl-long v7, v11, v17
not-long v7, v7
and-long v7, v18, v7
shl-long v17, v14, v17
or-long v7, v7, v17
aput-wide v7, v10, v16
iget v7, v0, Landroidx/collection/ObjectIntMap;->_capacity:I
add-int/lit8 v8, v13, -0x7
and-int/2addr v8, v7
and-int/lit8 v7, v7, 0x7
add-int/2addr v8, v7
shr-int/lit8 v7, v8, 0x3
and-int/lit8 v8, v8, 0x7
shl-int/lit8 v8, v8, 0x3
aget-wide v16, v10, v7
shl-long/2addr v11, v8
not-long v11, v11
and-long v11, v16, v11
shl-long/2addr v14, v8
or-long/2addr v11, v14
aput-wide v11, v10, v7
.line 1035
aput-object v9, v5, v13
.line 1036
aget v7, v3, v20
aput v7, v6, v13
goto :goto_2
:cond_1
move/from16 v20, v8
:goto_2
add-int/lit8 v8, v20, 0x1
goto :goto_0
:cond_2
return-void
.end method
.method private final writeMetadata(IJ)V
.locals 9
iget-object v0, p0, Landroidx/collection/ObjectIntMap;->metadata:[J
shr-int/lit8 v1, p1, 0x3
and-int/lit8 v2, p1, 0x7
shl-int/lit8 v2, v2, 0x3
.line 1676
aget-wide v3, v0, v1
const-wide/16 v5, 0xff
shl-long v7, v5, v2
not-long v7, v7
and-long/2addr v3, v7
shl-long v7, p2, v2
or-long v2, v3, v7
aput-wide v2, v0, v1
iget v1, p0, Landroidx/collection/ObjectIntMap;->_capacity:I
add-int/lit8 p1, p1, -0x7
and-int/2addr p1, v1
and-int/lit8 v1, v1, 0x7
add-int/2addr p1, v1
shr-int/lit8 v1, p1, 0x3
and-int/lit8 p1, p1, 0x7
shl-int/lit8 p1, p1, 0x3
.line 1676
aget-wide v2, v0, v1
shl-long v4, v5, p1
not-long v4, v4
and-long/2addr v2, v4
shl-long p1, p2, p1
or-long/2addr p1, v2
aput-wide p1, v0, v1
return-void
.end method
# virtual methods
.method public final clear()V
.locals 10
const/4 v0, 0x0
iput v0, p0, Landroidx/collection/ObjectIntMap;->_size:I
iget-object v1, p0, Landroidx/collection/ObjectIntMap;->metadata:[J
.line 909
sget-object v2, Landroidx/collection/ScatterMapKt;->EmptyGroup:[J
if-eq v1, v2, :cond_0
const-wide v2, -0x7f7f7f7f7f7f7f80L # -2.937446524422997E-306
const/4 v4, 0x0
const/4 v5, 0x0
const/4 v6, 0x6
const/4 v7, 0x0
.line 910
invoke-static/range {v1 .. v7}, Lkotlin/collections/ArraysKt;->fill$default([JJIIILjava/lang/Object;)V
iget-object v1, p0, Landroidx/collection/ObjectIntMap;->metadata:[J
iget v2, p0, Landroidx/collection/ObjectIntMap;->_capacity:I
shr-int/lit8 v3, v2, 0x3
and-int/lit8 v2, v2, 0x7
shl-int/lit8 v2, v2, 0x3
.line 1676
aget-wide v4, v1, v3
const-wide/16 v6, 0xff
shl-long/2addr v6, v2
not-long v8, v6
and-long/2addr v4, v8
or-long/2addr v4, v6
aput-wide v4, v1, v3
:cond_0
iget-object v1, p0, Landroidx/collection/ObjectIntMap;->keys:[Ljava/lang/Object;
const/4 v2, 0x0
iget v3, p0, Landroidx/collection/ObjectIntMap;->_capacity:I
.line 913
invoke-static {v1, v2, v0, v3}, Lkotlin/collections/ArraysKt;->fill([Ljava/lang/Object;Ljava/lang/Object;II)V
.line 914
invoke-direct {p0}, Landroidx/collection/MutableObjectIntMap;->initializeGrowth()V
return-void
.end method
.method public final getOrPut(Ljava/lang/Object;Lkotlin/jvm/functions/Function0;)I
.locals 1
.annotation system Ldalvik/annotation/Signature;
value = {
"(TK;",
"Lkotlin/jvm/functions/Function0;",
")I"
}
.end annotation
const-string v0, "defaultValue"
invoke-static {p2, v0}, Lkotlin/jvm/internal/Intrinsics;->checkNotNullParameter(Ljava/lang/Object;Ljava/lang/String;)V
.line 743
invoke-virtual {p0, p1}, Landroidx/collection/ObjectIntMap;->findKeyIndex(Ljava/lang/Object;)I
move-result v0
if-ltz v0, :cond_0
iget-object p1, p0, Landroidx/collection/ObjectIntMap;->values:[I
.line 745
aget p1, p1, v0
return p1
.line 747
:cond_0
invoke-interface {p2}, Lkotlin/jvm/functions/Function0;->invoke()Ljava/lang/Object;
move-result-object p2
check-cast p2, Ljava/lang/Number;
invoke-virtual {p2}, Ljava/lang/Number;->intValue()I
move-result p2
.line 748
invoke-virtual {p0, p1, p2}, Landroidx/collection/MutableObjectIntMap;->set(Ljava/lang/Object;I)V
return p2
.end method
.method public final minusAssign(Landroidx/collection/ScatterSet;)V
.locals 13
.annotation system Ldalvik/annotation/Signature;
value = {
"(",
"Landroidx/collection/ScatterSet<",
"TK;>;)V"
}
.end annotation
const-string v0, "keys"
invoke-static {p1, v0}, Lkotlin/jvm/internal/Intrinsics;->checkNotNullParameter(Ljava/lang/Object;Ljava/lang/String;)V
.line 268
iget-object v0, p1, Landroidx/collection/ScatterSet;->elements:[Ljava/lang/Object;
.line 238
iget-object p1, p1, Landroidx/collection/ScatterSet;->metadata:[J
.line 239
array-length v1, p1
add-int/lit8 v1, v1, -0x2
if-ltz v1, :cond_3
const/4 v2, 0x0
move v3, v2
.line 242
:goto_0
aget-wide v4, p1, v3
not-long v6, v4
const/4 v8, 0x7
shl-long/2addr v6, v8
and-long/2addr v6, v4
const-wide v8, -0x7f7f7f7f7f7f7f80L # -2.937446524422997E-306
and-long/2addr v6, v8
cmp-long v6, v6, v8
if-eqz v6, :cond_2
sub-int v6, v3, v1
not-int v6, v6
ushr-int/lit8 v6, v6, 0x1f
const/16 v7, 0x8
rsub-int/lit8 v6, v6, 0x8
move v8, v2
:goto_1
if-ge v8, v6, :cond_1
const-wide/16 v9, 0xff
and-long/2addr v9, v4
const-wide/16 v11, 0x80
cmp-long v9, v9, v11
if-gez v9, :cond_0
shl-int/lit8 v9, v3, 0x3
add-int/2addr v9, v8
.line 272
aget-object v9, v0, v9
.line 890
invoke-virtual {p0, v9}, Landroidx/collection/MutableObjectIntMap;->remove(Ljava/lang/Object;)V
:cond_0
shr-long/2addr v4, v7
add-int/lit8 v8, v8, 0x1
goto :goto_1
:cond_1
if-ne v6, v7, :cond_3
:cond_2
if-eq v3, v1, :cond_3
add-int/lit8 v3, v3, 0x1
goto :goto_0
:cond_3
return-void
.end method
.method public final minusAssign(Ljava/lang/Iterable;)V
.locals 1
.annotation system Ldalvik/annotation/Signature;
value = {
"(",
"Ljava/lang/Iterable<",
"+TK;>;)V"
}
.end annotation
const-string v0, "keys"
invoke-static {p1, v0}, Lkotlin/jvm/internal/Intrinsics;->checkNotNullParameter(Ljava/lang/Object;Ljava/lang/String;)V
.line 871
invoke-interface {p1}, Ljava/lang/Iterable;->iterator()Ljava/util/Iterator;
move-result-object p1
:goto_0
invoke-interface {p1}, Ljava/util/Iterator;->hasNext()Z
move-result v0
if-eqz v0, :cond_0
invoke-interface {p1}, Ljava/util/Iterator;->next()Ljava/lang/Object;
move-result-object v0
.line 872
invoke-virtual {p0, v0}, Landroidx/collection/MutableObjectIntMap;->remove(Ljava/lang/Object;)V
goto :goto_0
:cond_0
return-void
.end method
.method public final minusAssign(Ljava/lang/Object;)V
.locals 0
.annotation system Ldalvik/annotation/Signature;
value = {
"(TK;)V"
}
.end annotation
.line 855
invoke-virtual {p0, p1}, Landroidx/collection/MutableObjectIntMap;->remove(Ljava/lang/Object;)V
return-void
.end method
.method public final minusAssign(Lkotlin/sequences/Sequence;)V
.locals 1
.annotation system Ldalvik/annotation/Signature;
value = {
"(",
"Lkotlin/sequences/Sequence;",
")V"
}
.end annotation
const-string v0, "keys"
invoke-static {p1, v0}, Lkotlin/jvm/internal/Intrinsics;->checkNotNullParameter(Ljava/lang/Object;Ljava/lang/String;)V
.line 880
invoke-interface {p1}, Lkotlin/sequences/Sequence;->iterator()Ljava/util/Iterator;
move-result-object p1
:goto_0
invoke-interface {p1}, Ljava/util/Iterator;->hasNext()Z
move-result v0
if-eqz v0, :cond_0
invoke-interface {p1}, Ljava/util/Iterator;->next()Ljava/lang/Object;
move-result-object v0
.line 881
invoke-virtual {p0, v0}, Landroidx/collection/MutableObjectIntMap;->remove(Ljava/lang/Object;)V
goto :goto_0
:cond_0
return-void
.end method
.method public final minusAssign([Ljava/lang/Object;)V
.locals 3
.annotation system Ldalvik/annotation/Signature;
value = {
"([TK;)V"
}
.end annotation
const-string v0, "keys"
invoke-static {p1, v0}, Lkotlin/jvm/internal/Intrinsics;->checkNotNullParameter(Ljava/lang/Object;Ljava/lang/String;)V
.line 862
array-length v0, p1
const/4 v1, 0x0
:goto_0
if-ge v1, v0, :cond_0
aget-object v2, p1, v1
.line 863
invoke-virtual {p0, v2}, Landroidx/collection/MutableObjectIntMap;->remove(Ljava/lang/Object;)V
add-int/lit8 v1, v1, 0x1
goto :goto_0
:cond_0
return-void
.end method
.method public final plusAssign(Landroidx/collection/ObjectIntMap;)V
.locals 1
.annotation system Ldalvik/annotation/Signature;
value = {
"(",
"Landroidx/collection/ObjectIntMap<",
"TK;>;)V"
}
.end annotation
const-string v0, "from"
invoke-static {p1, v0}, Lkotlin/jvm/internal/Intrinsics;->checkNotNullParameter(Ljava/lang/Object;Ljava/lang/String;)V
.line 812
invoke-virtual {p0, p1}, Landroidx/collection/MutableObjectIntMap;->putAll(Landroidx/collection/ObjectIntMap;)V
return-void
.end method
.method public final put(Ljava/lang/Object;II)I
.locals 2
.annotation system Ldalvik/annotation/Signature;
value = {
"(TK;II)I"
}
.end annotation
.line 787
invoke-direct {p0, p1}, Landroidx/collection/MutableObjectIntMap;->findIndex(Ljava/lang/Object;)I
move-result v0
if-gez v0, :cond_0
not-int v0, v0
goto :goto_0
:cond_0
iget-object p3, p0, Landroidx/collection/ObjectIntMap;->values:[I
.line 792
aget p3, p3, v0
:goto_0
iget-object v1, p0, Landroidx/collection/ObjectIntMap;->keys:[Ljava/lang/Object;
.line 794
aput-object p1, v1, v0
iget-object p1, p0, Landroidx/collection/ObjectIntMap;->values:[I
.line 795
aput p2, p1, v0
return p3
.end method
.method public final put(Ljava/lang/Object;I)V
.locals 0
.annotation system Ldalvik/annotation/Signature;
value = {
"(TK;I)V"
}
.end annotation
.line 774
invoke-virtual {p0, p1, p2}, Landroidx/collection/MutableObjectIntMap;->set(Ljava/lang/Object;I)V
return-void
.end method
.method public final putAll(Landroidx/collection/ObjectIntMap;)V
.locals 14
.annotation system Ldalvik/annotation/Signature;
value = {
"(",
"Landroidx/collection/ObjectIntMap<",
"TK;>;)V"
}
.end annotation
const-string v0, "from"
invoke-static {p1, v0}, Lkotlin/jvm/internal/Intrinsics;->checkNotNullParameter(Ljava/lang/Object;Ljava/lang/String;)V
.line 401
iget-object v0, p1, Landroidx/collection/ObjectIntMap;->keys:[Ljava/lang/Object;
.line 402
iget-object v1, p1, Landroidx/collection/ObjectIntMap;->values:[I
.line 373
iget-object p1, p1, Landroidx/collection/ObjectIntMap;->metadata:[J
.line 374
array-length v2, p1
add-int/lit8 v2, v2, -0x2
if-ltz v2, :cond_3
const/4 v3, 0x0
move v4, v3
.line 377
:goto_0
aget-wide v5, p1, v4
not-long v7, v5
const/4 v9, 0x7
shl-long/2addr v7, v9
and-long/2addr v7, v5
const-wide v9, -0x7f7f7f7f7f7f7f80L # -2.937446524422997E-306
and-long/2addr v7, v9
cmp-long v7, v7, v9
if-eqz v7, :cond_2
sub-int v7, v4, v2
not-int v7, v7
ushr-int/lit8 v7, v7, 0x1f
const/16 v8, 0x8
rsub-int/lit8 v7, v7, 0x8
move v9, v3
:goto_1
if-ge v9, v7, :cond_1
const-wide/16 v10, 0xff
and-long/2addr v10, v5
const-wide/16 v12, 0x80
cmp-long v10, v10, v12
if-gez v10, :cond_0
shl-int/lit8 v10, v4, 0x3
add-int/2addr v10, v9
.line 406
aget-object v11, v0, v10
aget v10, v1, v10
.line 805
invoke-virtual {p0, v11, v10}, Landroidx/collection/MutableObjectIntMap;->set(Ljava/lang/Object;I)V
:cond_0
shr-long/2addr v5, v8
add-int/lit8 v9, v9, 0x1
goto :goto_1
:cond_1
if-ne v7, v8, :cond_3
:cond_2
if-eq v4, v2, :cond_3
add-int/lit8 v4, v4, 0x1
goto :goto_0
:cond_3
return-void
.end method
.method public final remove(Ljava/lang/Object;)V
.locals 0
.annotation system Ldalvik/annotation/Signature;
value = {
"(TK;)V"
}
.end annotation
.line 818
invoke-virtual {p0, p1}, Landroidx/collection/ObjectIntMap;->findKeyIndex(Ljava/lang/Object;)I
move-result p1
if-ltz p1, :cond_0
.line 820
invoke-virtual {p0, p1}, Landroidx/collection/MutableObjectIntMap;->removeValueAt(I)V
:cond_0
return-void
.end method
.method public final remove(Ljava/lang/Object;I)Z
.locals 1
.annotation system Ldalvik/annotation/Signature;
value = {
"(TK;I)Z"
}
.end annotation
.line 829
invoke-virtual {p0, p1}, Landroidx/collection/ObjectIntMap;->findKeyIndex(Ljava/lang/Object;)I
move-result p1
if-ltz p1, :cond_0
iget-object v0, p0, Landroidx/collection/ObjectIntMap;->values:[I
.line 831
aget v0, v0, p1
if-ne v0, p2, :cond_0
.line 832
invoke-virtual {p0, p1}, Landroidx/collection/MutableObjectIntMap;->removeValueAt(I)V
const/4 p1, 0x1
return p1
:cond_0
const/4 p1, 0x0
return p1
.end method
.method public final removeIf(Lkotlin/jvm/functions/Function2;)V
.locals 13
.annotation system Ldalvik/annotation/Signature;
value = {
"(",
"Lkotlin/jvm/functions/Function2;",
")V"
}
.end annotation
const-string v0, "predicate"
invoke-static {p1, v0}, Lkotlin/jvm/internal/Intrinsics;->checkNotNullParameter(Ljava/lang/Object;Ljava/lang/String;)V
iget-object v0, p0, Landroidx/collection/ObjectIntMap;->metadata:[J
.line 374
array-length v1, v0
add-int/lit8 v1, v1, -0x2
if-ltz v1, :cond_3
const/4 v2, 0x0
move v3, v2
.line 377
:goto_0
aget-wide v4, v0, v3
not-long v6, v4
const/4 v8, 0x7
shl-long/2addr v6, v8
and-long/2addr v6, v4
const-wide v8, -0x7f7f7f7f7f7f7f80L # -2.937446524422997E-306
and-long/2addr v6, v8
cmp-long v6, v6, v8
if-eqz v6, :cond_2
sub-int v6, v3, v1
not-int v6, v6
ushr-int/lit8 v6, v6, 0x1f
const/16 v7, 0x8
rsub-int/lit8 v6, v6, 0x8
move v8, v2
:goto_1
if-ge v8, v6, :cond_1
const-wide/16 v9, 0xff
and-long/2addr v9, v4
const-wide/16 v11, 0x80
cmp-long v9, v9, v11
if-gez v9, :cond_0
shl-int/lit8 v9, v3, 0x3
add-int/2addr v9, v8
iget-object v10, p0, Landroidx/collection/ObjectIntMap;->keys:[Ljava/lang/Object;
.line 845
aget-object v10, v10, v9
iget-object v11, p0, Landroidx/collection/ObjectIntMap;->values:[I
aget v11, v11, v9
invoke-static {v11}, Ljava/lang/Integer;->valueOf(I)Ljava/lang/Integer;
move-result-object v11
invoke-interface {p1, v10, v11}, Lkotlin/jvm/functions/Function2;->invoke(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;
move-result-object v10
check-cast v10, Ljava/lang/Boolean;
invoke-virtual {v10}, Ljava/lang/Boolean;->booleanValue()Z
move-result v10
if-eqz v10, :cond_0
.line 846
invoke-virtual {p0, v9}, Landroidx/collection/MutableObjectIntMap;->removeValueAt(I)V
:cond_0
shr-long/2addr v4, v7
add-int/lit8 v8, v8, 0x1
goto :goto_1
:cond_1
if-ne v6, v7, :cond_3
:cond_2
if-eq v3, v1, :cond_3
add-int/lit8 v3, v3, 0x1
goto :goto_0
:cond_3
return-void
.end method
.method public final removeValueAt(I)V
.locals 11
iget v0, p0, Landroidx/collection/ObjectIntMap;->_size:I
add-int/lit8 v0, v0, -0x1
iput v0, p0, Landroidx/collection/ObjectIntMap;->_size:I
iget-object v0, p0, Landroidx/collection/ObjectIntMap;->metadata:[J
shr-int/lit8 v1, p1, 0x3
and-int/lit8 v2, p1, 0x7
shl-int/lit8 v2, v2, 0x3
.line 1676
aget-wide v3, v0, v1
const-wide/16 v5, 0xff
shl-long v7, v5, v2
not-long v7, v7
and-long/2addr v3, v7
const-wide/16 v7, 0xfe
shl-long v9, v7, v2
or-long v2, v3, v9
aput-wide v2, v0, v1
iget v1, p0, Landroidx/collection/ObjectIntMap;->_capacity:I
add-int/lit8 v2, p1, -0x7
and-int/2addr v2, v1
and-int/lit8 v1, v1, 0x7
add-int/2addr v2, v1
shr-int/lit8 v1, v2, 0x3
and-int/lit8 v2, v2, 0x7
shl-int/lit8 v2, v2, 0x3
aget-wide v3, v0, v1
shl-long/2addr v5, v2
not-long v5, v5
and-long/2addr v3, v5
shl-long v5, v7, v2
or-long v2, v3, v5
aput-wide v2, v0, v1
iget-object v0, p0, Landroidx/collection/ObjectIntMap;->keys:[Ljava/lang/Object;
const/4 v1, 0x0
.line 901
aput-object v1, v0, p1
return-void
.end method
.method public final set(Ljava/lang/Object;I)V
.locals 2
.annotation system Ldalvik/annotation/Signature;
value = {
"(TK;I)V"
}
.end annotation
.line 760
invoke-direct {p0, p1}, Landroidx/collection/MutableObjectIntMap;->findIndex(Ljava/lang/Object;)I
move-result v0
if-gez v0, :cond_0
not-int v0, v0
:cond_0
iget-object v1, p0, Landroidx/collection/ObjectIntMap;->keys:[Ljava/lang/Object;
.line 762
aput-object p1, v1, v0
iget-object p1, p0, Landroidx/collection/ObjectIntMap;->values:[I
.line 763
aput p2, p1, v0
return-void
.end method
.method public final trim()I
.locals 2
iget v0, p0, Landroidx/collection/ObjectIntMap;->_capacity:I
iget v1, p0, Landroidx/collection/ObjectIntMap;->_size:I
.line 994
invoke-static {v1}, Landroidx/collection/ScatterMapKt;->unloadedCapacity(I)I
move-result v1
invoke-static {v1}, Landroidx/collection/ScatterMapKt;->normalizeCapacity(I)I
move-result v1
if-ge v1, v0, :cond_0
.line 996
invoke-direct {p0, v1}, Landroidx/collection/MutableObjectIntMap;->resizeStorage(I)V
iget v1, p0, Landroidx/collection/ObjectIntMap;->_capacity:I
sub-int/2addr v0, v1
return v0
:cond_0
const/4 v0, 0x0
return v0
.end method