- 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
415 lines
9.5 KiB
Smali
415 lines
9.5 KiB
Smali
.class public final Landroidx/room/InvalidationTracker$ObserverWrapper;
|
|
.super Ljava/lang/Object;
|
|
.source "SourceFile"
|
|
|
|
|
|
# annotations
|
|
.annotation system Ldalvik/annotation/EnclosingClass;
|
|
value = Landroidx/room/InvalidationTracker;
|
|
.end annotation
|
|
|
|
.annotation system Ldalvik/annotation/InnerClass;
|
|
accessFlags = 0x19
|
|
name = "ObserverWrapper"
|
|
.end annotation
|
|
|
|
.annotation build Lkotlin/jvm/internal/SourceDebugExtension;
|
|
value = {
|
|
"SMAP\nInvalidationTracker.kt\nKotlin\n*S Kotlin\n*F\n+ 1 InvalidationTracker.kt\nandroidx/room/InvalidationTracker$ObserverWrapper\n+ 2 _Arrays.kt\nkotlin/collections/ArraysKt___ArraysKt\n*L\n1#1,840:1\n13674#2,3:841\n12744#2,2:844\n13579#2:846\n13579#2,2:847\n13580#2:849\n*S KotlinDebug\n*F\n+ 1 InvalidationTracker.kt\nandroidx/room/InvalidationTracker$ObserverWrapper\n*L\n612#1:841,3\n634#1:844,2\n640#1:846\n641#1:847,2\n640#1:849\n*E\n"
|
|
}
|
|
.end annotation
|
|
|
|
|
|
# instance fields
|
|
.field private final observer:Landroidx/room/InvalidationTracker$Observer;
|
|
|
|
.field private final singleTableSet:Ljava/util/Set;
|
|
.annotation system Ldalvik/annotation/Signature;
|
|
value = {
|
|
"Ljava/util/Set<",
|
|
"Ljava/lang/String;",
|
|
">;"
|
|
}
|
|
.end annotation
|
|
.end field
|
|
|
|
.field private final tableIds:[I
|
|
|
|
.field private final tableNames:[Ljava/lang/String;
|
|
|
|
|
|
# direct methods
|
|
.method public constructor <init>(Landroidx/room/InvalidationTracker$Observer;[I[Ljava/lang/String;)V
|
|
.locals 2
|
|
|
|
const-string v0, "observer"
|
|
|
|
invoke-static {p1, v0}, Lkotlin/jvm/internal/Intrinsics;->checkNotNullParameter(Ljava/lang/Object;Ljava/lang/String;)V
|
|
|
|
const-string v0, "tableIds"
|
|
|
|
invoke-static {p2, v0}, Lkotlin/jvm/internal/Intrinsics;->checkNotNullParameter(Ljava/lang/Object;Ljava/lang/String;)V
|
|
|
|
const-string v0, "tableNames"
|
|
|
|
invoke-static {p3, v0}, Lkotlin/jvm/internal/Intrinsics;->checkNotNullParameter(Ljava/lang/Object;Ljava/lang/String;)V
|
|
|
|
.line 582
|
|
invoke-direct {p0}, Ljava/lang/Object;-><init>()V
|
|
|
|
iput-object p1, p0, Landroidx/room/InvalidationTracker$ObserverWrapper;->observer:Landroidx/room/InvalidationTracker$Observer;
|
|
|
|
iput-object p2, p0, Landroidx/room/InvalidationTracker$ObserverWrapper;->tableIds:[I
|
|
|
|
iput-object p3, p0, Landroidx/room/InvalidationTracker$ObserverWrapper;->tableNames:[Ljava/lang/String;
|
|
|
|
.line 587
|
|
array-length p1, p3
|
|
|
|
const/4 v0, 0x1
|
|
|
|
const/4 v1, 0x0
|
|
|
|
if-nez p1, :cond_0
|
|
|
|
move p1, v0
|
|
|
|
goto :goto_0
|
|
|
|
:cond_0
|
|
move p1, v1
|
|
|
|
:goto_0
|
|
xor-int/2addr p1, v0
|
|
|
|
if-eqz p1, :cond_1
|
|
|
|
.line 588
|
|
aget-object p1, p3, v1
|
|
|
|
invoke-static {p1}, Lkotlin/collections/SetsKt;->setOf(Ljava/lang/Object;)Ljava/util/Set;
|
|
|
|
move-result-object p1
|
|
|
|
goto :goto_1
|
|
|
|
.line 590
|
|
:cond_1
|
|
invoke-static {}, Lkotlin/collections/SetsKt;->emptySet()Ljava/util/Set;
|
|
|
|
move-result-object p1
|
|
|
|
:goto_1
|
|
iput-object p1, p0, Landroidx/room/InvalidationTracker$ObserverWrapper;->singleTableSet:Ljava/util/Set;
|
|
|
|
.line 594
|
|
array-length p1, p2
|
|
|
|
array-length p2, p3
|
|
|
|
if-ne p1, p2, :cond_2
|
|
|
|
return-void
|
|
|
|
:cond_2
|
|
new-instance p1, Ljava/lang/IllegalStateException;
|
|
|
|
const-string p2, "Check failed."
|
|
|
|
invoke-virtual {p2}, Ljava/lang/Object;->toString()Ljava/lang/String;
|
|
|
|
move-result-object p2
|
|
|
|
invoke-direct {p1, p2}, Ljava/lang/IllegalStateException;-><init>(Ljava/lang/String;)V
|
|
|
|
throw p1
|
|
.end method
|
|
|
|
|
|
# virtual methods
|
|
.method public final getObserver$room_runtime_release()Landroidx/room/InvalidationTracker$Observer;
|
|
.locals 1
|
|
|
|
iget-object v0, p0, Landroidx/room/InvalidationTracker$ObserverWrapper;->observer:Landroidx/room/InvalidationTracker$Observer;
|
|
|
|
return-object v0
|
|
.end method
|
|
|
|
.method public final getTableIds$room_runtime_release()[I
|
|
.locals 1
|
|
|
|
iget-object v0, p0, Landroidx/room/InvalidationTracker$ObserverWrapper;->tableIds:[I
|
|
|
|
return-object v0
|
|
.end method
|
|
|
|
.method public final notifyByTableInvalidStatus$room_runtime_release(Ljava/util/Set;)V
|
|
.locals 8
|
|
.annotation system Ldalvik/annotation/Signature;
|
|
value = {
|
|
"(",
|
|
"Ljava/util/Set<",
|
|
"Ljava/lang/Integer;",
|
|
">;)V"
|
|
}
|
|
.end annotation
|
|
|
|
const-string v0, "invalidatedTablesIds"
|
|
|
|
invoke-static {p1, v0}, Lkotlin/jvm/internal/Intrinsics;->checkNotNullParameter(Ljava/lang/Object;Ljava/lang/String;)V
|
|
|
|
iget-object v0, p0, Landroidx/room/InvalidationTracker$ObserverWrapper;->tableIds:[I
|
|
|
|
.line 604
|
|
array-length v1, v0
|
|
|
|
const/4 v2, 0x1
|
|
|
|
if-eqz v1, :cond_4
|
|
|
|
const/4 v3, 0x0
|
|
|
|
if-eq v1, v2, :cond_2
|
|
|
|
.line 611
|
|
invoke-static {}, Lkotlin/collections/SetsKt;->createSetBuilder()Ljava/util/Set;
|
|
|
|
move-result-object v0
|
|
|
|
iget-object v1, p0, Landroidx/room/InvalidationTracker$ObserverWrapper;->tableIds:[I
|
|
|
|
.line 842
|
|
array-length v4, v1
|
|
|
|
move v5, v3
|
|
|
|
:goto_0
|
|
if-ge v3, v4, :cond_1
|
|
|
|
aget v6, v1, v3
|
|
|
|
add-int/lit8 v7, v5, 0x1
|
|
|
|
.line 613
|
|
invoke-static {v6}, Ljava/lang/Integer;->valueOf(I)Ljava/lang/Integer;
|
|
|
|
move-result-object v6
|
|
|
|
invoke-interface {p1, v6}, Ljava/util/Set;->contains(Ljava/lang/Object;)Z
|
|
|
|
move-result v6
|
|
|
|
if-eqz v6, :cond_0
|
|
|
|
iget-object v6, p0, Landroidx/room/InvalidationTracker$ObserverWrapper;->tableNames:[Ljava/lang/String;
|
|
|
|
.line 614
|
|
aget-object v5, v6, v5
|
|
|
|
invoke-interface {v0, v5}, Ljava/util/Set;->add(Ljava/lang/Object;)Z
|
|
|
|
:cond_0
|
|
add-int/lit8 v3, v3, 0x1
|
|
|
|
move v5, v7
|
|
|
|
goto :goto_0
|
|
|
|
.line 611
|
|
:cond_1
|
|
invoke-static {v0}, Lkotlin/collections/SetsKt;->build(Ljava/util/Set;)Ljava/util/Set;
|
|
|
|
move-result-object p1
|
|
|
|
goto :goto_1
|
|
|
|
.line 606
|
|
:cond_2
|
|
aget v0, v0, v3
|
|
|
|
invoke-static {v0}, Ljava/lang/Integer;->valueOf(I)Ljava/lang/Integer;
|
|
|
|
move-result-object v0
|
|
|
|
invoke-interface {p1, v0}, Ljava/util/Set;->contains(Ljava/lang/Object;)Z
|
|
|
|
move-result p1
|
|
|
|
if-eqz p1, :cond_3
|
|
|
|
iget-object p1, p0, Landroidx/room/InvalidationTracker$ObserverWrapper;->singleTableSet:Ljava/util/Set;
|
|
|
|
goto :goto_1
|
|
|
|
.line 609
|
|
:cond_3
|
|
invoke-static {}, Lkotlin/collections/SetsKt;->emptySet()Ljava/util/Set;
|
|
|
|
move-result-object p1
|
|
|
|
goto :goto_1
|
|
|
|
.line 605
|
|
:cond_4
|
|
invoke-static {}, Lkotlin/collections/SetsKt;->emptySet()Ljava/util/Set;
|
|
|
|
move-result-object p1
|
|
|
|
.line 620
|
|
:goto_1
|
|
invoke-interface {p1}, Ljava/util/Collection;->isEmpty()Z
|
|
|
|
move-result v0
|
|
|
|
xor-int/2addr v0, v2
|
|
|
|
if-eqz v0, :cond_5
|
|
|
|
iget-object v0, p0, Landroidx/room/InvalidationTracker$ObserverWrapper;->observer:Landroidx/room/InvalidationTracker$Observer;
|
|
|
|
.line 621
|
|
invoke-virtual {v0, p1}, Landroidx/room/InvalidationTracker$Observer;->onInvalidated(Ljava/util/Set;)V
|
|
|
|
:cond_5
|
|
return-void
|
|
.end method
|
|
|
|
.method public final notifyByTableNames$room_runtime_release([Ljava/lang/String;)V
|
|
.locals 11
|
|
|
|
const-string v0, "tables"
|
|
|
|
invoke-static {p1, v0}, Lkotlin/jvm/internal/Intrinsics;->checkNotNullParameter(Ljava/lang/Object;Ljava/lang/String;)V
|
|
|
|
iget-object v0, p0, Landroidx/room/InvalidationTracker$ObserverWrapper;->tableNames:[Ljava/lang/String;
|
|
|
|
.line 632
|
|
array-length v0, v0
|
|
|
|
const/4 v1, 0x1
|
|
|
|
if-eqz v0, :cond_6
|
|
|
|
const/4 v2, 0x0
|
|
|
|
if-eq v0, v1, :cond_3
|
|
|
|
.line 639
|
|
invoke-static {}, Lkotlin/collections/SetsKt;->createSetBuilder()Ljava/util/Set;
|
|
|
|
move-result-object v0
|
|
|
|
.line 13579
|
|
array-length v3, p1
|
|
|
|
move v4, v2
|
|
|
|
:goto_0
|
|
if-ge v4, v3, :cond_2
|
|
|
|
aget-object v5, p1, v4
|
|
|
|
iget-object v6, p0, Landroidx/room/InvalidationTracker$ObserverWrapper;->tableNames:[Ljava/lang/String;
|
|
|
|
.line 13579
|
|
array-length v7, v6
|
|
|
|
move v8, v2
|
|
|
|
:goto_1
|
|
if-ge v8, v7, :cond_1
|
|
|
|
aget-object v9, v6, v8
|
|
|
|
.line 642
|
|
invoke-static {v9, v5, v1}, Lkotlin/text/StringsKt;->equals(Ljava/lang/String;Ljava/lang/String;Z)Z
|
|
|
|
move-result v10
|
|
|
|
if-eqz v10, :cond_0
|
|
|
|
.line 643
|
|
invoke-interface {v0, v9}, Ljava/util/Set;->add(Ljava/lang/Object;)Z
|
|
|
|
:cond_0
|
|
add-int/lit8 v8, v8, 0x1
|
|
|
|
goto :goto_1
|
|
|
|
:cond_1
|
|
add-int/lit8 v4, v4, 0x1
|
|
|
|
goto :goto_0
|
|
|
|
.line 639
|
|
:cond_2
|
|
invoke-static {v0}, Lkotlin/collections/SetsKt;->build(Ljava/util/Set;)Ljava/util/Set;
|
|
|
|
move-result-object p1
|
|
|
|
goto :goto_3
|
|
|
|
.line 844
|
|
:cond_3
|
|
array-length v0, p1
|
|
|
|
move v3, v2
|
|
|
|
:goto_2
|
|
if-ge v3, v0, :cond_5
|
|
|
|
aget-object v4, p1, v3
|
|
|
|
iget-object v5, p0, Landroidx/room/InvalidationTracker$ObserverWrapper;->tableNames:[Ljava/lang/String;
|
|
|
|
.line 634
|
|
aget-object v5, v5, v2
|
|
|
|
invoke-static {v4, v5, v1}, Lkotlin/text/StringsKt;->equals(Ljava/lang/String;Ljava/lang/String;Z)Z
|
|
|
|
move-result v4
|
|
|
|
if-eqz v4, :cond_4
|
|
|
|
iget-object p1, p0, Landroidx/room/InvalidationTracker$ObserverWrapper;->singleTableSet:Ljava/util/Set;
|
|
|
|
goto :goto_3
|
|
|
|
:cond_4
|
|
add-int/lit8 v3, v3, 0x1
|
|
|
|
goto :goto_2
|
|
|
|
.line 637
|
|
:cond_5
|
|
invoke-static {}, Lkotlin/collections/SetsKt;->emptySet()Ljava/util/Set;
|
|
|
|
move-result-object p1
|
|
|
|
goto :goto_3
|
|
|
|
.line 633
|
|
:cond_6
|
|
invoke-static {}, Lkotlin/collections/SetsKt;->emptySet()Ljava/util/Set;
|
|
|
|
move-result-object p1
|
|
|
|
.line 650
|
|
:goto_3
|
|
invoke-interface {p1}, Ljava/util/Collection;->isEmpty()Z
|
|
|
|
move-result v0
|
|
|
|
xor-int/2addr v0, v1
|
|
|
|
if-eqz v0, :cond_7
|
|
|
|
iget-object v0, p0, Landroidx/room/InvalidationTracker$ObserverWrapper;->observer:Landroidx/room/InvalidationTracker$Observer;
|
|
|
|
.line 651
|
|
invoke-virtual {v0, p1}, Landroidx/room/InvalidationTracker$Observer;->onInvalidated(Ljava/util/Set;)V
|
|
|
|
:cond_7
|
|
return-void
|
|
.end method
|