Function at 0x14000c600
Capabilities:
Reference sql statements

Disassembly:
push rbp
push rsi
push rdi
push r14
mov rbp, rsp
sub rsp, 0x78
mov rax, qword [0x14002a1d8]
xor rax, rsp
mov qword [rbp - 0x18], rax
cmp qword [rcx + 0x28], 0
mov rdi, r8
mov rsi, rdx
mov r14, rcx
jne 0x14000c632
xor al, al
jmp 0x14000c8b1
mov qword [rsp + 0xb0], rbx
lea r8, str.Insert_contents...
xor r9d, r9d
mov qword [rsp + 0x70], r15
lea rdx, [rbp - 0x38]
mov dword [rsp + 0x20], 0xffffffff
lea rcx, [0x140021210]
call qword [sym.imp.Qt6Core.dll_public:_class_QString___cdecl_QMetaObject::tr_char_const____ptr64__char_const____ptr64__int____ptr64]
lea rax, [rbp - 0x38]
mov qword [rbp - 0x48], 0
lea r9, [rbp - 0x48]
mov qword [rbp - 0x40], rax
xor r8d, r8d
lea rdx, [0x140021210]
mov rcx, r14
call qword [sym.imp.Qt6Core.dll_public:_static_void___cdecl_QMetaObject::activate_class_QObject____ptr64__struct_QMetaObject_const____ptr64__int__void____ptr64____ptr64_]
lea rcx, [rbp - 0x38]
call qword [sym.imp.Qt6Core.dll_public:_void___cdecl_QString::destructor_void____ptr64]
mov rbx, qword [r14 + 0x28]
lea rax, str.INSERT_INTO_ContentsTable__NamespaceId__Data__VALUES______
lea rdx, [rbp - 0x48]
mov qword [rbp - 0x40], rax
lea rcx, [rbp - 0x38]
mov qword [rbp - 0x48], 0x3a
call qword [sym.imp.Qt6Core.dll_public:_void___cdecl_QString::constructor_class_QLatin1String____ptr64]
lea rdx, [rbp - 0x38]
mov rcx, rbx
call qword [sym.imp.Qt6Sql.dll_public:_bool___cdecl_QSqlQuery::prepare_class_QString_const____ptr64____ptr64]
lea rcx, [rbp - 0x38]
call qword [sym.imp.Qt6Core.dll_public:_void___cdecl_QString::destructor_void____ptr64]
mov edx, dword [r14 + 0x30]
lea rcx, [rbp - 0x38]
mov rbx, qword [r14 + 0x28]
call qword [sym.imp.Qt6Core.dll_public:_void___cdecl_QVariant::constructor_int____ptr64]
mov r9d, 1
lea r8, [rbp - 0x38]
xor edx, edx
mov rcx, rbx
call qword [sym.imp.Qt6Sql.dll_public:_void___cdecl_QSqlQuery::bindValue_int__class_QVariant_const____ptr64__class_QFlags_enum_QSql::ParamTypeFlag_____ptr64]
lea rcx, [rbp - 0x38]
call qword [sym.imp.Qt6Core.dll_public:_void___cdecl_QVariant::destructor_void____ptr64]
mov rbx, qword [r14 + 0x28]
lea rcx, [rbp - 0x38]
mov rdx, rsi
call qword [sym.imp.Qt6Core.dll_public:_void___cdecl_QVariant::constructor_class_QByteArray_const____ptr64____ptr64]
mov r9d, 1
lea r8, [rbp - 0x38]
mov edx, r9d
mov rcx, rbx
call qword [sym.imp.Qt6Sql.dll_public:_void___cdecl_QSqlQuery::bindValue_int__class_QVariant_const____ptr64__class_QFlags_enum_QSql::ParamTypeFlag_____ptr64]
lea rcx, [rbp - 0x38]
call qword [sym.imp.Qt6Core.dll_public:_void___cdecl_QVariant::destructor_void____ptr64]
mov rcx, qword [r14 + 0x28]
call qword [sym.imp.Qt6Sql.dll_public:_bool___cdecl_QSqlQuery::exec_void____ptr64]
mov rcx, qword [r14 + 0x28]
lea rdx, [rbp - 0x38]
call qword [sym.imp.Qt6Sql.dll_public:_class_QVariant___cdecl_QSqlQuery::lastInsertId_void____ptr64]
mov rcx, rax
xor edx, edx
call qword [sym.imp.Qt6Core.dll_public:_int___cdecl_QVariant::toInt_bool____ptr64_const___ptr64]
lea rcx, [rbp - 0x38]
mov r15d, eax
call qword [sym.imp.Qt6Core.dll_public:_void___cdecl_QVariant::destructor_void____ptr64]
cmp r15d, 1
jge 0x14000c7a9
xor r9d, r9d
mov dword [rsp + 0x20], 0xffffffff
lea r8, str.Cannot_insert_contents.
lea rdx, [rbp - 0x38]
lea rcx, [0x140021210]
call qword [sym.imp.Qt6Core.dll_public:_class_QString___cdecl_QMetaObject::tr_char_const____ptr64__char_const____ptr64__int____ptr64]
lea rcx, [r14 + 0x10]
lea rdx, [rbp - 0x38]
call qword [sym.imp.Qt6Core.dll_public:_class_QString____ptr64___cdecl_QString::operator_class_QString____ptr64____ptr64]
lea rcx, [rbp - 0x38]
call qword [sym.imp.Qt6Core.dll_public:_void___cdecl_QString::destructor_void____ptr64]
xor al, al
jmp 0x14000c8a4
mov rax, qword [rdi + 0x10]
mov rbx, qword [rdi + 8]
mov qword [rsp + 0xb8], r12
lea rcx, [rax + rax*2]
lea rdi, [rbx + rcx*8]
cmp rbx, rdi
je 0x14000c88c
lea r12, str.INSERT_INTO_ContentsFilterTable__FilterAttributeId__ContentsId__SELECT_Id____FROM_FilterAttributeTable_WHERE_Name_
mov rsi, qword [r14 + 0x28]
lea rdx, [rbp - 0x48]
lea rcx, [rbp - 0x38]
mov qword [rbp - 0x48], 0x73
mov qword [rbp - 0x40], r12
call qword [sym.imp.Qt6Core.dll_public:_void___cdecl_QString::constructor_class_QLatin1String____ptr64]
lea rdx, [rbp - 0x38]
mov rcx, rsi
call qword [sym.imp.Qt6Sql.dll_public:_bool___cdecl_QSqlQuery::prepare_class_QString_const____ptr64____ptr64]
lea rcx, [rbp - 0x38]
call qword [sym.imp.Qt6Core.dll_public:_void___cdecl_QString::destructor_void____ptr64]
mov rsi, qword [r14 + 0x28]
lea rcx, [rbp - 0x38]
mov edx, r15d
call qword [sym.imp.Qt6Core.dll_public:_void___cdecl_QVariant::constructor_int____ptr64]
mov r9d, 1
lea r8, [rbp - 0x38]
xor edx, edx
mov rcx, rsi
call qword [sym.imp.Qt6Sql.dll_public:_void___cdecl_QSqlQuery::bindValue_int__class_QVariant_const____ptr64__class_QFlags_enum_QSql::ParamTypeFlag_____ptr64]
lea rcx, [rbp - 0x38]
call qword [sym.imp.Qt6Core.dll_public:_void___cdecl_QVariant::destructor_void____ptr64]
mov rsi, qword [r14 + 0x28]
lea rcx, [rbp - 0x38]
mov rdx, rbx
call qword [sym.imp.Qt6Core.dll_public:_void___cdecl_QVariant::constructor_class_QString_const____ptr64____ptr64]
mov r9d, 1
lea r8, [rbp - 0x38]
mov edx, r9d
mov rcx, rsi
call qword [sym.imp.Qt6Sql.dll_public:_void___cdecl_QSqlQuery::bindValue_int__class_QVariant_const____ptr64__class_QFlags_enum_QSql::ParamTypeFlag_____ptr64]
lea rcx, [rbp - 0x38]
call qword [sym.imp.Qt6Core.dll_public:_void___cdecl_QVariant::destructor_void____ptr64]
mov rcx, qword [r14 + 0x28]
call qword [sym.imp.Qt6Sql.dll_public:_bool___cdecl_QSqlQuery::exec_void____ptr64]
mov rcx, qword [r14 + 0x28]
call qword [sym.imp.Qt6Sql.dll_public:_bool___cdecl_QSqlQuery::isActive_void_const___ptr64]
test al, al
je 0x14000c8c7
add rbx, 0x18
cmp rbx, rdi
jne 0x14000c7d1
movsd xmm1, qword [r14 + 0x58]
mov rcx, r14
call fcn.1400078a0
mov al, 1
mov r12, qword [rsp + 0xb8]
mov rbx, qword [rsp + 0xb0]
mov r15, qword [rsp + 0x70]
mov rcx, qword [rbp - 0x18]
xor rcx, rsp
call fcn.14001e950
add rsp, 0x78
pop r14
pop rdi
pop rsi
pop rbp
ret
xor r9d, r9d
mov dword [rsp + 0x20], 0xffffffff
lea r8, str.Cannot_register_contents.
lea rdx, [rbp - 0x38]
lea rcx, [0x140021210]
call qword [sym.imp.Qt6Core.dll_public:_class_QString___cdecl_QMetaObject::tr_char_const____ptr64__char_const____ptr64__int____ptr64]
lea rcx, [r14 + 0x10]
lea rdx, [rbp - 0x38]
call qword [sym.imp.Qt6Core.dll_public:_class_QString____ptr64___cdecl_QString::operator_class_QString____ptr64____ptr64]
lea rcx, [rbp - 0x38]
call qword [sym.imp.Qt6Core.dll_public:_void___cdecl_QString::destructor_void____ptr64]
xor al, al
jmp 0x14000c89c