- 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
280 lines
5.9 KiB
Smali
280 lines
5.9 KiB
Smali
.class public final Landroidx/sqlite/db/SimpleSQLiteQuery$Companion;
|
|
.super Ljava/lang/Object;
|
|
.source "SourceFile"
|
|
|
|
|
|
# annotations
|
|
.annotation system Ldalvik/annotation/EnclosingClass;
|
|
value = Landroidx/sqlite/db/SimpleSQLiteQuery;
|
|
.end annotation
|
|
|
|
.annotation system Ldalvik/annotation/InnerClass;
|
|
accessFlags = 0x19
|
|
name = "Companion"
|
|
.end annotation
|
|
|
|
|
|
# direct methods
|
|
.method private constructor <init>()V
|
|
.locals 0
|
|
|
|
.line 55
|
|
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/sqlite/db/SimpleSQLiteQuery$Companion;-><init>()V
|
|
|
|
return-void
|
|
.end method
|
|
|
|
.method private final bind(Landroidx/sqlite/db/SupportSQLiteProgram;ILjava/lang/Object;)V
|
|
.locals 2
|
|
|
|
if-nez p3, :cond_0
|
|
|
|
.line 82
|
|
invoke-interface {p1, p2}, Landroidx/sqlite/db/SupportSQLiteProgram;->bindNull(I)V
|
|
|
|
goto/16 :goto_1
|
|
|
|
.line 83
|
|
:cond_0
|
|
instance-of v0, p3, [B
|
|
|
|
if-eqz v0, :cond_1
|
|
|
|
.line 84
|
|
check-cast p3, [B
|
|
|
|
invoke-interface {p1, p2, p3}, Landroidx/sqlite/db/SupportSQLiteProgram;->bindBlob(I[B)V
|
|
|
|
goto/16 :goto_1
|
|
|
|
.line 85
|
|
:cond_1
|
|
instance-of v0, p3, Ljava/lang/Float;
|
|
|
|
if-eqz v0, :cond_2
|
|
|
|
.line 86
|
|
check-cast p3, Ljava/lang/Number;
|
|
|
|
invoke-virtual {p3}, Ljava/lang/Number;->floatValue()F
|
|
|
|
move-result p3
|
|
|
|
float-to-double v0, p3
|
|
|
|
invoke-interface {p1, p2, v0, v1}, Landroidx/sqlite/db/SupportSQLiteProgram;->bindDouble(ID)V
|
|
|
|
goto/16 :goto_1
|
|
|
|
.line 87
|
|
:cond_2
|
|
instance-of v0, p3, Ljava/lang/Double;
|
|
|
|
if-eqz v0, :cond_3
|
|
|
|
.line 88
|
|
check-cast p3, Ljava/lang/Number;
|
|
|
|
invoke-virtual {p3}, Ljava/lang/Number;->doubleValue()D
|
|
|
|
move-result-wide v0
|
|
|
|
invoke-interface {p1, p2, v0, v1}, Landroidx/sqlite/db/SupportSQLiteProgram;->bindDouble(ID)V
|
|
|
|
goto :goto_1
|
|
|
|
.line 89
|
|
:cond_3
|
|
instance-of v0, p3, Ljava/lang/Long;
|
|
|
|
if-eqz v0, :cond_4
|
|
|
|
.line 90
|
|
check-cast p3, Ljava/lang/Number;
|
|
|
|
invoke-virtual {p3}, Ljava/lang/Number;->longValue()J
|
|
|
|
move-result-wide v0
|
|
|
|
invoke-interface {p1, p2, v0, v1}, Landroidx/sqlite/db/SupportSQLiteProgram;->bindLong(IJ)V
|
|
|
|
goto :goto_1
|
|
|
|
.line 91
|
|
:cond_4
|
|
instance-of v0, p3, Ljava/lang/Integer;
|
|
|
|
if-eqz v0, :cond_5
|
|
|
|
.line 92
|
|
check-cast p3, Ljava/lang/Number;
|
|
|
|
invoke-virtual {p3}, Ljava/lang/Number;->intValue()I
|
|
|
|
move-result p3
|
|
|
|
int-to-long v0, p3
|
|
|
|
invoke-interface {p1, p2, v0, v1}, Landroidx/sqlite/db/SupportSQLiteProgram;->bindLong(IJ)V
|
|
|
|
goto :goto_1
|
|
|
|
.line 93
|
|
:cond_5
|
|
instance-of v0, p3, Ljava/lang/Short;
|
|
|
|
if-eqz v0, :cond_6
|
|
|
|
.line 94
|
|
check-cast p3, Ljava/lang/Number;
|
|
|
|
invoke-virtual {p3}, Ljava/lang/Number;->shortValue()S
|
|
|
|
move-result p3
|
|
|
|
int-to-long v0, p3
|
|
|
|
invoke-interface {p1, p2, v0, v1}, Landroidx/sqlite/db/SupportSQLiteProgram;->bindLong(IJ)V
|
|
|
|
goto :goto_1
|
|
|
|
.line 95
|
|
:cond_6
|
|
instance-of v0, p3, Ljava/lang/Byte;
|
|
|
|
if-eqz v0, :cond_7
|
|
|
|
.line 96
|
|
check-cast p3, Ljava/lang/Number;
|
|
|
|
invoke-virtual {p3}, Ljava/lang/Number;->byteValue()B
|
|
|
|
move-result p3
|
|
|
|
int-to-long v0, p3
|
|
|
|
invoke-interface {p1, p2, v0, v1}, Landroidx/sqlite/db/SupportSQLiteProgram;->bindLong(IJ)V
|
|
|
|
goto :goto_1
|
|
|
|
.line 97
|
|
:cond_7
|
|
instance-of v0, p3, Ljava/lang/String;
|
|
|
|
if-eqz v0, :cond_8
|
|
|
|
.line 98
|
|
check-cast p3, Ljava/lang/String;
|
|
|
|
invoke-interface {p1, p2, p3}, Landroidx/sqlite/db/SupportSQLiteProgram;->bindString(ILjava/lang/String;)V
|
|
|
|
goto :goto_1
|
|
|
|
.line 99
|
|
:cond_8
|
|
instance-of v0, p3, Ljava/lang/Boolean;
|
|
|
|
if-eqz v0, :cond_a
|
|
|
|
.line 100
|
|
check-cast p3, Ljava/lang/Boolean;
|
|
|
|
invoke-virtual {p3}, Ljava/lang/Boolean;->booleanValue()Z
|
|
|
|
move-result p3
|
|
|
|
if-eqz p3, :cond_9
|
|
|
|
const-wide/16 v0, 0x1
|
|
|
|
goto :goto_0
|
|
|
|
:cond_9
|
|
const-wide/16 v0, 0x0
|
|
|
|
:goto_0
|
|
invoke-interface {p1, p2, v0, v1}, Landroidx/sqlite/db/SupportSQLiteProgram;->bindLong(IJ)V
|
|
|
|
:goto_1
|
|
return-void
|
|
|
|
.line 102
|
|
:cond_a
|
|
new-instance p1, Ljava/lang/IllegalArgumentException;
|
|
|
|
.line 103
|
|
new-instance v0, Ljava/lang/StringBuilder;
|
|
|
|
invoke-direct {v0}, Ljava/lang/StringBuilder;-><init>()V
|
|
|
|
const-string v1, "Cannot bind "
|
|
|
|
invoke-virtual {v0, v1}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;
|
|
|
|
invoke-virtual {v0, p3}, Ljava/lang/StringBuilder;->append(Ljava/lang/Object;)Ljava/lang/StringBuilder;
|
|
|
|
const-string p3, " at index "
|
|
|
|
invoke-virtual {v0, p3}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;
|
|
|
|
invoke-virtual {v0, p2}, Ljava/lang/StringBuilder;->append(I)Ljava/lang/StringBuilder;
|
|
|
|
const-string p2, " Supported types: Null, ByteArray, Float, Double, Long, Int, Short, Byte, String"
|
|
|
|
invoke-virtual {v0, p2}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;
|
|
|
|
invoke-virtual {v0}, Ljava/lang/StringBuilder;->toString()Ljava/lang/String;
|
|
|
|
move-result-object p2
|
|
|
|
.line 102
|
|
invoke-direct {p1, p2}, Ljava/lang/IllegalArgumentException;-><init>(Ljava/lang/String;)V
|
|
|
|
throw p1
|
|
.end method
|
|
|
|
|
|
# virtual methods
|
|
.method public final bind(Landroidx/sqlite/db/SupportSQLiteProgram;[Ljava/lang/Object;)V
|
|
.locals 3
|
|
|
|
const-string v0, "statement"
|
|
|
|
invoke-static {p1, v0}, Lkotlin/jvm/internal/Intrinsics;->checkNotNullParameter(Ljava/lang/Object;Ljava/lang/String;)V
|
|
|
|
if-nez p2, :cond_0
|
|
|
|
return-void
|
|
|
|
.line 72
|
|
:cond_0
|
|
array-length v0, p2
|
|
|
|
const/4 v1, 0x0
|
|
|
|
:goto_0
|
|
if-ge v1, v0, :cond_1
|
|
|
|
.line 74
|
|
aget-object v2, p2, v1
|
|
|
|
add-int/lit8 v1, v1, 0x1
|
|
|
|
.line 75
|
|
invoke-direct {p0, p1, v1, v2}, Landroidx/sqlite/db/SimpleSQLiteQuery$Companion;->bind(Landroidx/sqlite/db/SupportSQLiteProgram;ILjava/lang/Object;)V
|
|
|
|
goto :goto_0
|
|
|
|
:cond_1
|
|
return-void
|
|
.end method
|