Function at 0x1400121d0
Capabilities:
Terminate process

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rsi
push r14
sub rsp, 0x30
mov rbx, rcx
mov r14, rdx
mov rcx, qword [rcx]
mov edx, 0xfff0b9d8
movsxd r8, dword [rcx + 0x108]
mov rcx, qword [rcx + 0x100]
call qword [sym.imp.lua.dll_lua_geti]
cmp qword [rbx + 0x20], 0xf
lea r8, [rbx + 8]
jbe 0x140012211
mov r8, qword [rbx + 8]
mov rax, qword [rbx]
mov edx, 0xffffffff
mov rcx, qword [rax + 0x100]
call qword [sym.imp.lua.dll_lua_getfield]
cmp eax, 5
je 0x140012293
mov ecx, 2
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll___acrt_iob_func]
mov r9d, 0x2b
lea r8, str.C:Users15874_source_reposCasioEmuXCasioEmuMsvcDataModelInfo.cpp
mov rcx, rax
lea rdx, str._s:_i:_in__s:
lea rax, str.AsSpriteInfo
mov qword [rsp + 0x20], rax
call fcn.140006bd0
lea rcx, [rbx + 8]
call fcn.140005670
mov ecx, 2
mov rbx, rax
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll___acrt_iob_func]
mov r8, rbx
lea rdx, str.key__s_is_not_a_table_n
mov rcx, rax
call fcn.140006bd0
mov ecx, 1
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll_exit]
int3
mov qword [rsp + 0x40], rdi
xor eax, eax
nop word [rax + rax]
mov rcx, qword [rbx]
lea edi, [rax + 1]
not eax
movsxd r8, edi
mov edx, eax
mov rcx, qword [rcx + 0x100]
call qword [sym.imp.lua.dll_lua_geti]
cmp eax, 3
jne 0x1400123a1
mov eax, edi
cmp edi, 6
jne 0x1400122a0
mov rcx, qword [rbx]
lea edx, [rdi - 0xc]
xor r8d, r8d
mov rcx, qword [rcx + 0x100]
call qword [sym.imp.lua.dll_lua_tointegerx]
mov rcx, qword [rbx]
lea edx, [rdi - 0xb]
xor r8d, r8d
mov dword [r14], eax
mov rcx, qword [rcx + 0x100]
call qword [sym.imp.lua.dll_lua_tointegerx]
mov rcx, qword [rbx]
lea edx, [rdi - 0xa]
xor r8d, r8d
mov dword [r14 + 4], eax
mov rcx, qword [rcx + 0x100]
call qword [sym.imp.lua.dll_lua_tointegerx]
mov rcx, qword [rbx]
lea edx, [rdi - 9]
xor r8d, r8d
mov dword [r14 + 8], eax
mov rcx, qword [rcx + 0x100]
call qword [sym.imp.lua.dll_lua_tointegerx]
mov rcx, qword [rbx]
lea edx, [rdi - 8]
xor r8d, r8d
mov dword [r14 + 0xc], eax
mov rcx, qword [rcx + 0x100]
call qword [sym.imp.lua.dll_lua_tointegerx]
mov rcx, qword [rbx]
lea edx, [rdi - 7]
xor r8d, r8d
mov dword [r14 + 0x10], eax
mov rcx, qword [rcx + 0x100]
call qword [sym.imp.lua.dll_lua_tointegerx]
mov rcx, qword [rbx]
lea edx, [rdi - 0xe]
mov dword [r14 + 0x14], eax
mov eax, dword [r14 + 8]
mov dword [r14 + 0x18], eax
mov eax, dword [r14 + 0xc]
mov rcx, qword [rcx + 0x100]
mov dword [r14 + 0x1c], eax
call qword [sym.imp.lua.dll_lua_settop]
mov rdi, qword [rsp + 0x40]
mov rax, r14
mov rbx, qword [rsp + 0x48]
mov rsi, qword [rsp + 0x50]
add rsp, 0x30
pop r14
ret
mov ecx, 2
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll___acrt_iob_func]
mov r9d, 0x2f
lea r8, str.C:Users15874_source_reposCasioEmuXCasioEmuMsvcDataModelInfo.cpp
mov rcx, rax
lea rdx, str._s:_i:_in__s:
lea rax, str.AsSpriteInfo
mov qword [rsp + 0x20], rax
call fcn.140006bd0
lea rcx, [rbx + 8]
call fcn.140005670
mov ecx, 2
mov rbx, rax
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll___acrt_iob_func]
mov r9d, edi
lea rdx, str.key__s__i__is_not_a_number_n
mov rcx, rax
mov r8, rbx
call fcn.140006bd0
mov ecx, 1
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll_exit]
int3