Function at 0x14000e640
Capabilities:
Reference sql statements

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rdx
push rsi
push rdi
push r14
sub rsp, 0xb0
mov rsi, r9
mov rdi, r8
mov rbx, rdx
mov r14, rcx
mov dword [rsp + 0x50], 0
mov rcx, rdx
call qword [sym.imp.Qt5Core.dll_public:_void___cdecl_QJsonDocument::constructor_void____ptr64]
mov dword [rsp + 0x50], 1
mov rax, qword [rdi]
cmp dword [rax + 4], 0
je 0x14000e83c
mov rax, qword [rsi]
cmp dword [rax + 4], 0
je 0x14000e85f
mov rdx, qword [r14]
add rdx, 8
lea rcx, [rsp + 0xe0]
call qword [sym.imp.Qt5Sql.dll_public:_void___cdecl_QSqlDatabase::constructor_class_QSqlDatabase_const____ptr64____ptr64]
mov rdx, rax
lea rcx, [rsp + 0x30]
call qword [sym.imp.Qt5Sql.dll_public:_void___cdecl_QSqlQuery::constructor_class_QSqlDatabase____ptr64]
nop
mov edx, 0x56
lea rcx, str.SELECT_calibData_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 + 0x68], rax
lea rdx, [rsp + 0x68]
lea rcx, [rsp + 0x30]
call qword [sym.imp.Qt5Sql.dll_public:_bool___cdecl_QSqlQuery::prepare_class_QString_const____ptr64____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]
xor edx, edx
lea rcx, [rsp + 0x30]
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, rsi
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 + 0x30]
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 + 0x30]
call qword [sym.imp.Qt5Sql.dll_public:_bool___cdecl_QSqlQuery::exec_void____ptr64]
lea rcx, [rsp + 0x30]
test al, al
je 0x14000e883
call qword [sym.imp.Qt5Sql.dll_public:_bool___cdecl_QSqlQuery::next_void____ptr64]
test al, al
je 0x14000e803
xor r8d, r8d
lea rdx, [rsp + 0x98]
lea rcx, [rsp + 0x30]
call qword [sym.imp.Qt5Sql.dll_public:_class_QVariant___cdecl_QSqlQuery::value_int____ptr64]
nop
lea rdx, [rsp + 0x40]
mov rcx, rax
call qword [sym.imp.Qt5Core.dll_public:_class_QString___cdecl_QVariant::toString_void____ptr64]
nop
lea rdx, [rsp + 0x58]
mov rcx, rax
call qword [sym.imp.Qt5Core.dll__toUtf8_QString__QEHAA_AVQByteArray__XZ]
nop
lea r8, [rsp + 0x60]
mov rdx, rax
lea rcx, [rsp + 0xe0]
call qword [sym.imp.Qt5Core.dll_public:_static_class_QJsonDocument___cdecl_QJsonDocument::fromJson_class_QByteArray_const____ptr64__struct_QJsonParseError____ptr64_]
mov rdx, rax
mov rcx, rbx
call qword [sym.imp.Qt5Core.dll_public:_class_QJsonDocument____ptr64___cdecl_QJsonDocument::operator_class_QJsonDocument____ptr64____ptr64]
lea rcx, [rsp + 0xe0]
call qword [sym.imp.Qt5Core.dll_public:_void___cdecl_QJsonDocument::destructor_void____ptr64]
nop
lea rcx, [rsp + 0x58]
call qword [sym.imp.Qt5Core.dll_public:_void___cdecl_QByteArray::destructor_void____ptr64]
nop
lea rcx, [rsp + 0x40]
call qword [sym.imp.Qt5Core.dll_public:_void___cdecl_QString::destructor_void____ptr64]
nop
lea rcx, [rsp + 0x98]
call qword [sym.imp.Qt5Core.dll_public:_void___cdecl_QVariant::destructor_void____ptr64]
cmp dword [rsp + 0x64], 0
jne 0x14000e909
lea rcx, [rsp + 0x68]
call qword [sym.imp.Qt5Core.dll_public:_void___cdecl_QString::destructor_void____ptr64]
nop
lea rcx, [rsp + 0x30]
call qword [sym.imp.Qt5Sql.dll_public:_void___cdecl_QSqlQuery::destructor_void____ptr64]
nop
jmp 0x14000e825
mov rax, rbx
mov rbx, qword [rsp + 0xd0]
add rsp, 0xb0
pop r14
pop rdi
pop rsi
ret
lea rdx, str.Projector_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.Camera_ident_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 + 0x98]
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_query_database:__1
lea rcx, [rsp + 0x58]
call qword [sym.imp.Qt5Core.dll_public:_void___cdecl_QString::constructor_char_const____ptr64____ptr64]
mov rbx, rax
mov dl, 0x20
lea rcx, [rsp + 0xe0]
call fcn.14000e370
movzx edx, byte [rax]
lea rcx, [rsp + 0x38]
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 + 0x40]
lea rcx, [rsp + 0x60]
call qword [sym.imp.Qt5Core.dll_public:_class_QString___cdecl_QJsonParseError::errorString_void____ptr64]
mov rbx, rax
lea rdx, str.Failed_to_parse_JSON_data:__1
lea rcx, [rsp + 0x58]
call qword [sym.imp.Qt5Core.dll_public:_void___cdecl_QString::constructor_char_const____ptr64____ptr64]
mov rdi, rax
mov dl, 0x20
lea rcx, [rsp + 0xe0]
call fcn.14000e370
movzx edx, byte [rax]
lea rcx, [rsp + 0x38]
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, rbx
lea rdx, [rsp + 0x88]
mov rcx, rdi
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
int3