Function at 0x14000ea70
Capabilities:
Reference sql statements

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x18], rsi
mov qword [rsp + 0x20], rdi
push r14
sub rsp, 0xc0
mov rsi, r9
mov rdi, r8
mov rbx, rdx
mov r14, rcx
mov byte [rsp + 0xd8], 0
mov rax, qword [rdx]
cmp dword [rax + 4], 0
je 0x14000edbe
mov rax, qword [r8]
cmp dword [rax + 4], 0
je 0x14000ede1
mov rcx, rsi
call qword [sym.imp.Qt5Core.dll_public:_bool___cdecl_QJsonDocument::isEmpty_void_const___ptr64]
test al, al
jne 0x14000ee04
mov rdx, qword [r14]
add rdx, 8
lea rcx, [rsp + 0x60]
call qword [sym.imp.Qt5Sql.dll_public:_void___cdecl_QSqlDatabase::constructor_class_QSqlDatabase_const____ptr64____ptr64]
mov rdx, rax
lea rcx, [rsp + 0x38]
call qword [sym.imp.Qt5Sql.dll_public:_void___cdecl_QSqlQuery::constructor_class_QSqlDatabase____ptr64]
nop
mov edx, 0x4e
lea rcx, str.SELECT__FROM_t_calibrationData_WHERE_projectorIdent__:0_AND_cameraIdent__:1
call qword [sym.imp.Qt5Core.dll_private:_static_struct_QTypedArrayData_unsigned_short_int_____ptr64___cdecl_QString::fromAscii_helper_char_const____ptr64__int_]
mov qword [rsp + 0x58], rax
lea rdx, [rsp + 0x58]
lea rcx, [rsp + 0x38]
call qword [sym.imp.Qt5Sql.dll_public:_bool___cdecl_QSqlQuery::prepare_class_QString_const____ptr64____ptr64]
mov rdx, rbx
lea rcx, [rsp + 0x40]
call qword [sym.imp.Qt5Core.dll_public:_void___cdecl_QVariant::constructor_class_QString_const____ptr64____ptr64]
nop
mov r9d, 1
lea r8, [rsp + 0x40]
xor edx, edx
lea rcx, [rsp + 0x38]
call qword [sym.imp.Qt5Sql.dll_public:_void___cdecl_QSqlQuery::bindValue_int__class_QVariant_const____ptr64__class_QFlags_enum_QSql::ParamTypeFlag_____ptr64]
nop
lea rcx, [rsp + 0x40]
call qword [sym.imp.Qt5Core.dll_public:_void___cdecl_QVariant::destructor_void____ptr64]
mov rdx, rdi
lea rcx, [rsp + 0x40]
call qword [sym.imp.Qt5Core.dll_public:_void___cdecl_QVariant::constructor_class_QString_const____ptr64____ptr64]
nop
mov r9d, 1
lea r8, [rsp + 0x40]
mov edx, r9d
lea rcx, [rsp + 0x38]
call qword [sym.imp.Qt5Sql.dll_public:_void___cdecl_QSqlQuery::bindValue_int__class_QVariant_const____ptr64__class_QFlags_enum_QSql::ParamTypeFlag_____ptr64]
nop
lea rcx, [rsp + 0x40]
call qword [sym.imp.Qt5Core.dll_public:_void___cdecl_QVariant::destructor_void____ptr64]
lea rcx, [rsp + 0x38]
call qword [sym.imp.Qt5Sql.dll_public:_bool___cdecl_QSqlQuery::exec_void____ptr64]
lea rcx, [rsp + 0x38]
test al, al
je 0x14000ee28
call qword [sym.imp.Qt5Sql.dll_public:_bool___cdecl_QSqlQuery::next_void____ptr64]
lea rcx, [rsp + 0x58]
test al, al
je 0x14000ec8d
lea rdx, str.UPDATE_t_calibrationData_SET_calibData__:0_WHERE_projectorIdent__:1_AND_cameraIdent__:2
call qword [sym.imp.Qt5Core.dll_public:_class_QString____ptr64___cdecl_QString::operator_char_const____ptr64____ptr64]
lea rdx, [rsp + 0x58]
lea rcx, [rsp + 0x38]
call qword [sym.imp.Qt5Sql.dll_public:_bool___cdecl_QSqlQuery::prepare_class_QString_const____ptr64____ptr64]
lea rdx, [rsp + 0x60]
mov rcx, rsi
call qword [sym.imp.Qt5Core.dll_public:_class_QByteArray___cdecl_QJsonDocument::toJson_void____ptr64]
nop
mov rdx, rax
lea rcx, [rsp + 0x40]
call qword [sym.imp.Qt5Core.dll_public:_void___cdecl_QVariant::constructor_class_QByteArray_const____ptr64____ptr64]
nop
mov r9d, 1
lea r8, [rsp + 0x40]
xor edx, edx
lea rcx, [rsp + 0x38]
call qword [sym.imp.Qt5Sql.dll_public:_void___cdecl_QSqlQuery::bindValue_int__class_QVariant_const____ptr64__class_QFlags_enum_QSql::ParamTypeFlag_____ptr64]
nop
lea rcx, [rsp + 0x40]
call qword [sym.imp.Qt5Core.dll_public:_void___cdecl_QVariant::destructor_void____ptr64]
nop
lea rcx, [rsp + 0x60]
call qword [sym.imp.Qt5Core.dll_public:_void___cdecl_QByteArray::destructor_void____ptr64]
mov rdx, rbx
lea rcx, [rsp + 0x40]
call qword [sym.imp.Qt5Core.dll_public:_void___cdecl_QVariant::constructor_class_QString_const____ptr64____ptr64]
nop
mov r9d, 1
lea r8, [rsp + 0x40]
mov edx, r9d
lea rcx, [rsp + 0x38]
call qword [sym.imp.Qt5Sql.dll_public:_void___cdecl_QSqlQuery::bindValue_int__class_QVariant_const____ptr64__class_QFlags_enum_QSql::ParamTypeFlag_____ptr64]
nop
lea rcx, [rsp + 0x40]
call qword [sym.imp.Qt5Core.dll_public:_void___cdecl_QVariant::destructor_void____ptr64]
mov rdx, rdi
lea rcx, [rsp + 0x40]
call qword [sym.imp.Qt5Core.dll_public:_void___cdecl_QVariant::constructor_class_QString_const____ptr64____ptr64]
nop
mov r9d, 1
lea r8, [rsp + 0x40]
lea edx, [r9 + 1]
lea rcx, [rsp + 0x38]
call qword [sym.imp.Qt5Sql.dll_public:_void___cdecl_QSqlQuery::bindValue_int__class_QVariant_const____ptr64__class_QFlags_enum_QSql::ParamTypeFlag_____ptr64]
nop
lea rcx, [rsp + 0x40]
call qword [sym.imp.Qt5Core.dll_public:_void___cdecl_QVariant::destructor_void____ptr64]
lea rcx, [rsp + 0x38]
call qword [sym.imp.Qt5Sql.dll_public:_bool___cdecl_QSqlQuery::exec_void____ptr64]
test al, al
je 0x14000eeab
jmp 0x14000ed7a
lea rdx, str.INSERT_INTO_t_calibrationData__projectorIdent__cameraIdent__calibData__VALUES__:0__:1__:2_
call qword [sym.imp.Qt5Core.dll_public:_class_QString____ptr64___cdecl_QString::operator_char_const____ptr64____ptr64]
lea rdx, [rsp + 0x58]
lea rcx, [rsp + 0x38]
call qword [sym.imp.Qt5Sql.dll_public:_bool___cdecl_QSqlQuery::prepare_class_QString_const____ptr64____ptr64]
mov rdx, rbx
lea rcx, [rsp + 0x40]
call qword [sym.imp.Qt5Core.dll_public:_void___cdecl_QVariant::constructor_class_QString_const____ptr64____ptr64]
nop
mov r9d, 1
lea r8, [rsp + 0x40]
xor edx, edx
lea rcx, [rsp + 0x38]
call qword [sym.imp.Qt5Sql.dll_public:_void___cdecl_QSqlQuery::bindValue_int__class_QVariant_const____ptr64__class_QFlags_enum_QSql::ParamTypeFlag_____ptr64]
nop
lea rcx, [rsp + 0x40]
call qword [sym.imp.Qt5Core.dll_public:_void___cdecl_QVariant::destructor_void____ptr64]
mov rdx, rdi
lea rcx, [rsp + 0x40]
call qword [sym.imp.Qt5Core.dll_public:_void___cdecl_QVariant::constructor_class_QString_const____ptr64____ptr64]
nop
mov r9d, 1
lea r8, [rsp + 0x40]
mov edx, r9d
lea rcx, [rsp + 0x38]
call qword [sym.imp.Qt5Sql.dll_public:_void___cdecl_QSqlQuery::bindValue_int__class_QVariant_const____ptr64__class_QFlags_enum_QSql::ParamTypeFlag_____ptr64]
nop
lea rcx, [rsp + 0x40]
call qword [sym.imp.Qt5Core.dll_public:_void___cdecl_QVariant::destructor_void____ptr64]
mov r8d, 1
lea rdx, [rsp + 0x60]
mov rcx, rsi
call qword [sym.imp.Qt5Core.dll_public:_class_QByteArray___cdecl_QJsonDocument::toJson_enum_QJsonDocument::JsonFormat____ptr64]
nop
mov rdx, rax
lea rcx, [rsp + 0x40]
call qword [sym.imp.Qt5Core.dll_public:_void___cdecl_QVariant::constructor_class_QByteArray_const____ptr64____ptr64]
nop
mov r9d, 1
lea r8, [rsp + 0x40]
lea edx, [r9 + 1]
lea rcx, [rsp + 0x38]
call qword [sym.imp.Qt5Sql.dll_public:_void___cdecl_QSqlQuery::bindValue_int__class_QVariant_const____ptr64__class_QFlags_enum_QSql::ParamTypeFlag_____ptr64]
nop
lea rcx, [rsp + 0x40]
call qword [sym.imp.Qt5Core.dll_public:_void___cdecl_QVariant::destructor_void____ptr64]
nop
lea rcx, [rsp + 0x60]
call qword [sym.imp.Qt5Core.dll_public:_void___cdecl_QByteArray::destructor_void____ptr64]
lea rcx, [rsp + 0x38]
call qword [sym.imp.Qt5Sql.dll_public:_bool___cdecl_QSqlQuery::exec_void____ptr64]
test al, al
je 0x14000ef33
mov byte [rsp + 0xd8], 1
lea rcx, [rsp + 0x58]
call qword [sym.imp.Qt5Core.dll_public:_void___cdecl_QString::destructor_void____ptr64]
nop
lea rcx, [rsp + 0x38]
call qword [sym.imp.Qt5Sql.dll_public:_void___cdecl_QSqlQuery::destructor_void____ptr64]
nop
movzx eax, byte [rsp + 0xd8]
lea r11, [rsp + 0xc0]
mov rbx, qword [r11 + 0x10]
mov rsi, qword [r11 + 0x20]
mov rdi, qword [r11 + 0x28]
mov rsp, r11
pop r14
ret
lea rdx, str.Projector_ident_must_not_be_empty.
lea rcx, [rsp + 0x68]
call qword [sym.imp.Qt5Core.dll_public:_void___cdecl_QString::constructor_char_const____ptr64____ptr64]
lea rdx, [0x14001d610]
lea rcx, [rsp + 0x68]
call sub.VCRUNTIME140.dll__CxxThrowException
lea rdx, str.Camera_ident_must_not_be_empty.
lea rcx, [rsp + 0x70]
call qword [sym.imp.Qt5Core.dll_public:_void___cdecl_QString::constructor_char_const____ptr64____ptr64]
lea rdx, [0x14001d610]
lea rcx, [rsp + 0x70]
call sub.VCRUNTIME140.dll__CxxThrowException
lea rdx, str.Calibration_data_must_not_be_empty.
lea rcx, [rsp + 0x78]
call qword [sym.imp.Qt5Core.dll_public:_void___cdecl_QString::constructor_char_const____ptr64____ptr64]
lea rdx, [0x14001d610]
lea rcx, [rsp + 0x78]
call sub.VCRUNTIME140.dll__CxxThrowException
nop
lea rdx, [rsp + 0xa0]
call qword [sym.imp.Qt5Sql.dll_public:_class_QSqlError___cdecl_QSqlQuery::lastError_void____ptr64]
nop
lea rdx, [rsp + 0x60]
mov rcx, rax
call qword [sym.imp.Qt5Sql.dll_public:_class_QString___cdecl_QSqlError::text_void____ptr64]
mov rdi, rax
lea rdx, str.Failed_to_query_database:__1
lea rcx, [rsp + 0x40]
call qword [sym.imp.Qt5Core.dll_public:_void___cdecl_QString::constructor_char_const____ptr64____ptr64]
mov rbx, rax
mov dl, 0x20
lea rcx, [rsp + 0x30]
call fcn.14000e370
movzx edx, byte [rax]
lea rcx, [rsp + 0x50]
call qword [sym.imp.Qt5Core.dll_public:_void___cdecl_QChar::constructor_struct_QLatin1Char____ptr64]
movzx ecx, word [rax]
mov word [rsp + 0x20], cx
xor r9d, r9d
mov r8, rdi
lea rdx, [rsp + 0x80]
mov rcx, rbx
call qword [sym.imp.Qt5Core.dll_public:_class_QString___cdecl_QString::arg_class_QString_const____ptr64__int__class_QChar____ptr64]
lea rdx, [0x14001d610]
lea rcx, [rsp + 0x80]
call sub.VCRUNTIME140.dll__CxxThrowException
nop
lea rdx, [rsp + 0xa0]
lea rcx, [rsp + 0x38]
call qword [sym.imp.Qt5Sql.dll_public:_class_QSqlError___cdecl_QSqlQuery::lastError_void____ptr64]
nop
lea rdx, [rsp + 0x40]
mov rcx, rax
call qword [sym.imp.Qt5Sql.dll_public:_class_QString___cdecl_QSqlError::text_void____ptr64]
mov rdi, rax
lea rdx, str.Failed_to_update_database_record:__1
lea rcx, [rsp + 0x60]
call qword [sym.imp.Qt5Core.dll_public:_void___cdecl_QString::constructor_char_const____ptr64____ptr64]
mov rbx, rax
mov dl, 0x20
lea rcx, [rsp + 0x30]
call fcn.14000e370
movzx edx, byte [rax]
lea rcx, [rsp + 0x50]
call qword [sym.imp.Qt5Core.dll_public:_void___cdecl_QChar::constructor_struct_QLatin1Char____ptr64]
movzx ecx, word [rax]
mov word [rsp + 0x20], cx
xor r9d, r9d
mov r8, rdi
lea rdx, [rsp + 0x88]
mov rcx, rbx
call qword [sym.imp.Qt5Core.dll_public:_class_QString___cdecl_QString::arg_class_QString_const____ptr64__int__class_QChar____ptr64]
lea rdx, [0x14001d610]
lea rcx, [rsp + 0x88]
call sub.VCRUNTIME140.dll__CxxThrowException
nop
lea rdx, [rsp + 0xa0]
lea rcx, [rsp + 0x38]
call qword [sym.imp.Qt5Sql.dll_public:_class_QSqlError___cdecl_QSqlQuery::lastError_void____ptr64]
nop
lea rdx, [rsp + 0x40]
mov rcx, rax
call qword [sym.imp.Qt5Sql.dll_public:_class_QString___cdecl_QSqlError::text_void____ptr64]
mov rdi, rax
lea rdx, str.Failed_to_insert_into_database:__1
lea rcx, [rsp + 0x60]
call qword [sym.imp.Qt5Core.dll_public:_void___cdecl_QString::constructor_char_const____ptr64____ptr64]
mov rbx, rax
mov dl, 0x20
lea rcx, [rsp + 0x30]
call fcn.14000e370
movzx edx, byte [rax]
lea rcx, [rsp + 0x50]
call qword [sym.imp.Qt5Core.dll_public:_void___cdecl_QChar::constructor_struct_QLatin1Char____ptr64]
movzx ecx, word [rax]
mov word [rsp + 0x20], cx
xor r9d, r9d
mov r8, rdi
lea rdx, [rsp + 0x90]
mov rcx, rbx
call qword [sym.imp.Qt5Core.dll_public:_class_QString___cdecl_QString::arg_class_QString_const____ptr64__int__class_QChar____ptr64]
lea rdx, [0x14001d610]
lea rcx, [rsp + 0x90]
call sub.VCRUNTIME140.dll__CxxThrowException
int3