Function at 0x1801914c0
Capabilities:
Resolve function by parsing pe exports

Disassembly:
mov r11, rsp
push rbp
push rbx
push rsi
push r12
push r13
push r15
lea rbp, [rsp - 0x58]
sub rsp, 0x158
mov rax, qword [0x1802c2700]
xor rax, rsp
mov qword [rbp], rax
movss xmm0, dword [rcx + 0x30]
mov r12, r8
mulss xmm0, dword [rcx + 0x28]
mov rsi, rdx
mov r15, rcx
mov qword [rsp + 0x68], r8
movss xmm1, dword [rcx + 0x34]
mulss xmm1, dword [rcx + 0x2c]
mov qword [rsp + 0x60], rdx
cvttss2si ebx, xmm0
cvttss2si r13d, xmm1
mov dword [rsp + 0x40], ebx
test ebx, ebx
jle 0x180191aed
test r13d, r13d
jle 0x180191aed
mov qword [r11 + 0x20], rdi
mov qword [r11 - 0x38], r14
movaps xmmword [r11 - 0x48], xmm6
movaps xmmword [r11 - 0x58], xmm7
movaps xmmword [r11 - 0x68], xmm8
movaps xmmword [r11 - 0x78], xmm9
call fcn.180150e40
test rax, rax
je 0x18019155f
call fcn.180151320
mov r14, qword [rax + 0x98]
jmp 0x180191562
xor r14d, r14d
mov qword [rsp + 0x70], r14
test r12, r12
jne 0x180191578
mov rax, qword [r14 + 0x90]
mov qword [rsp + 0x68], rax
cmp qword [r14 + 0xe8], 0
jne 0x1801915c5
mov dword [r14 + 0xe0], 0
mov eax, dword [r14 + 0x3c]
mov dword [r14 + 0xe4], eax
lea rcx, [rax + rax*2]
shl rcx, 4
call fcn.180155de0
mov ecx, dword [r14 + 0xe4]
xor edx, edx
mov qword [r14 + 0xe8], rax
lea r8, [rcx + rcx*2]
mov rcx, rax
shl r8, 4
call sub.VCRUNTIME140.dll_memset
mov eax, dword [r14 + 0xe0]
xor edx, edx
inc eax
div dword [r14 + 0xe4]
mov ecx, edx
mov dword [r14 + 0xe0], ecx
movsxd rax, dword [r15 + 0xc]
lea r12, [rdx + rdx*2]
shl r12, 4
add r12, qword [r14 + 0xe8]
test eax, eax
jle 0x180191860
mov r8, qword [r14 + 0x70]
lea rcx, [rax + rax*4]
movsxd rax, dword [r15 + 8]
lea rdi, [rcx*4 - 1]
add rdi, r8
lea rcx, [r12 + 0x20]
lea rdx, [r8 - 1]
lea rax, [rax*2 - 1]
not rdx
add rax, r8
and rdi, rdx
and rax, rdx
lea r8, [r12 + 0x10]
cmp qword [rcx], 0
mov qword [rsp + 0x58], rax
je 0x180191644
cmp qword [r8], rdi
jae 0x18019165c
mov r9, rdi
mov dword [rsp + 0x20], 0x80
mov rdx, r12
call fcn.18018fb90
mov rax, qword [rsp + 0x58]
cmp qword [r12 + 0x28], 0
lea rcx, [r12 + 0x28]
je 0x180191670
cmp qword [r12 + 0x18], rax
jae 0x18019168a
lea r8, [r12 + 0x18]
mov dword [rsp + 0x20], 0x40
lea rdx, [r12 + 8]
mov r9, rax
call fcn.18018fb90
mov rdx, qword [r12]
lea rax, [rsp + 0x50]
xor ecx, ecx
mov qword [rsp + 0x28], rax
mov dword [rsp + 0x20], ecx
mov r9, rdi
mov qword [rsp + 0x50], rcx
xor r8d, r8d
mov qword [rsp + 0x48], rcx
mov rcx, qword [r14 + 0x10]
call sub.vulkan_1.dll_vkMapMemory
mov edi, eax
call fcn.180150e40
test rax, rax
je 0x1801916e1
call fcn.180151320
mov rdx, qword [rax + 0x98]
test rdx, rdx
je 0x1801916e1
mov rdx, qword [rdx + 0x60]
test rdx, rdx
je 0x1801916e1
mov ecx, edi
call rdx
mov r9, qword [rsp + 0x58]
lea rax, [rsp + 0x48]
mov rdx, qword [r12 + 8]
xor r8d, r8d
mov rcx, qword [r14 + 0x10]
mov qword [rsp + 0x28], rax
mov dword [rsp + 0x20], 0
call sub.vulkan_1.dll_vkMapMemory
mov edi, eax
call fcn.180150e40
test rax, rax
je 0x180191733
call fcn.180151320
mov rdx, qword [rax + 0x98]
test rdx, rdx
je 0x180191733
mov rdx, qword [rdx + 0x60]
test rdx, rdx
je 0x180191733
mov ecx, edi
call rdx
xor eax, eax
mov edi, eax
cmp dword [r15 + 4], eax
jle 0x1801917c4
mov r9, qword [rsp + 0x50]
mov esi, eax
nop dword [rax + rax]
mov rax, qword [r15 + 0x18]
mov rcx, r9
mov rbx, qword [rsi + rax]
movsxd rax, dword [rbx + 0x20]
mov rdx, qword [rbx + 0x28]
lea r8, [rax + rax*4]
shl r8, 2
call sub.VCRUNTIME140.dll_memcpy
movsxd r8, dword [rbx + 0x10]
mov rdx, qword [rbx + 0x18]
add r8, r8
mov rcx, qword [rsp + 0x48]
call sub.VCRUNTIME140.dll_memcpy
movsxd rax, dword [rbx + 0x20]
lea rsi, [rsi + 8]
inc edi
lea rcx, [rax + rax*4]
mov rax, qword [rsp + 0x50]
lea r9, [rax + rcx*4]
mov rax, qword [rsp + 0x48]
mov qword [rsp + 0x50], r9
movsxd rcx, dword [rbx + 0x10]
lea rcx, [rax + rcx*2]
mov qword [rsp + 0x48], rcx
cmp edi, dword [r15 + 4]
jl 0x180191750
mov ebx, dword [rsp + 0x40]
xor eax, eax
mov rsi, qword [rsp + 0x60]
mov rcx, qword [r14 + 0x10]
lea r8, [rbp - 0x70]
mov qword [rbp - 0x6c], rax
mov edx, 2
mov dword [rbp - 0x64], eax
mov qword [rbp - 0x58], rax
mov qword [rbp - 0x44], rax
mov dword [rbp - 0x3c], eax
mov qword [rbp - 0x30], rax
mov rax, qword [r12]
mov qword [rbp - 0x60], rax
mov rax, qword [r12 + 8]
mov qword [rbp - 0x38], rax
mov dword [rbp - 0x70], 6
mov qword [rbp - 0x50], 0xffffffffffffffff
mov dword [rbp - 0x48], 6
mov qword [rbp - 0x28], 0xffffffffffffffff
call sub.vulkan_1.dll_vkFlushMappedMemoryRanges
mov edi, eax
call fcn.180150e40
test rax, rax
je 0x180191845
call fcn.180151320
mov rdx, qword [rax + 0x98]
test rdx, rdx
je 0x180191845
mov rdx, qword [rdx + 0x60]
test rdx, rdx
je 0x180191845
mov ecx, edi
call rdx
mov rdx, qword [r12]
mov rcx, qword [r14 + 0x10]
call sub.vulkan_1.dll_vkUnmapMemory
mov rdx, qword [r12 + 8]
mov rcx, qword [r14 + 0x10]
call sub.vulkan_1.dll_vkUnmapMemory
mov rdx, qword [rsp + 0x68]
mov r9, r12
mov dword [rsp + 0x28], r13d
mov r8, rsi
mov rcx, r15
mov dword [rsp + 0x20], ebx
call fcn.180191b10
movss xmm6, dword [r15 + 0x20]
xor ecx, ecx
movss xmm7, dword [r15 + 0x24]
xor edx, edx
movss xmm8, dword [r15 + 0x30]
xor r9d, r9d
movss xmm9, dword [r15 + 0x34]
mov dword [rsp + 0x48], ecx
mov dword [rsp + 0x58], edx
mov dword [rsp + 0x50], r9d
cmp dword [r15 + 4], ecx
jle 0x180191a98
xor r8d, r8d
mov qword [rsp + 0x78], r8
nop word [rax + rax]
mov rax, qword [r15 + 0x18]
xor r14d, r14d
mov rdi, qword [r8 + rax]
cmp dword [rdi], r14d
jle 0x180191a6a
xor esi, esi
nop word [rax + rax]
mov rbx, qword [rdi + 8]
add rbx, rsi
mov rax, qword [rbx + 0x28]
test rax, rax
je 0x18019192a
cmp rax, 0xfffffffffffffff8
jne 0x18019191d
mov ebx, dword [rsp + 0x40]
mov r9, r12
mov r8, qword [rsp + 0x60]
mov rcx, r15
mov rdx, qword [rsp + 0x68]
mov dword [rsp + 0x28], r13d
mov dword [rsp + 0x20], ebx
call fcn.180191b10
jmp 0x180191a48
mov rdx, rbx
mov rcx, rdi
call rax
jmp 0x180191a44
movss xmm0, dword [rbx]
xorps xmm3, xmm3
movss xmm1, dword [rbx + 4]
subss xmm0, xmm6
cvtsi2ss xmm3, dword [rsp + 0x40]
mulss xmm0, xmm8
subss xmm1, xmm7
xorps xmm4, xmm4
xorps xmm2, xmm2
maxss xmm4, xmm0
movss xmm0, dword [rbx + 8]
subss xmm0, xmm6
mulss xmm1, xmm9
maxss xmm2, xmm1
xorps xmm1, xmm1
mulss xmm0, xmm8
cvtsi2ss xmm1, r13d
minss xmm3, xmm0
movss xmm0, dword [rbx + 0xc]
subss xmm0, xmm7
comiss xmm4, xmm3
mulss xmm0, xmm9
minss xmm1, xmm0
jae 0x180191a44
comiss xmm2, xmm1
jae 0x180191a44
mov rcx, qword [rsp + 0x60]
subss xmm3, xmm4
cvttss2si eax, xmm4
xor edx, edx
lea r9, [rbp - 0x20]
mov r8d, 1
subss xmm1, xmm2
mov dword [rbp - 0x20], eax
cvttss2si eax, xmm2
mov dword [rbp - 0x1c], eax
cvttss2si rax, xmm3
mov dword [rbp - 0x18], eax
cvttss2si rax, xmm1
mov dword [rbp - 0x14], eax
call sub.vulkan_1.dll_vkCmdSetScissor
mov rax, qword [rbx + 0x10]
xor r9d, r9d
mov rcx, qword [rsp + 0x60]
xor edx, edx
mov qword [rbp - 0x80], rax
xor eax, eax
mov qword [rsp + 0x38], rax
mov dword [rsp + 0x30], eax
lea rax, [rbp - 0x80]
mov qword [rsp + 0x28], rax
mov rax, qword [rsp + 0x70]
mov dword [rsp + 0x20], 1
mov r8, qword [rax + 0x88]
call sub.vulkan_1.dll_vkCmdBindDescriptorSets
mov ecx, dword [rsp + 0x48]
mov r8d, 1
add ecx, dword [rbx + 0x18]
mov r9d, dword [rsp + 0x58]
add r9d, dword [rbx + 0x1c]
mov edx, dword [rbx + 0x20]
mov dword [rsp + 0x28], 0
mov dword [rsp + 0x20], ecx
mov rcx, qword [rsp + 0x60]
call sub.vulkan_1.dll_vkCmdDrawIndexed
mov ebx, dword [rsp + 0x40]
inc r14d
add rsi, 0x38
cmp r14d, dword [rdi]
jl 0x1801918e0
mov ecx, dword [rsp + 0x48]
mov edx, dword [rsp + 0x58]
mov r8, qword [rsp + 0x78]
mov r9d, dword [rsp + 0x50]
add edx, dword [rdi + 0x10]
inc r9d
add ecx, dword [rdi + 0x20]
add r8, 8
mov dword [rsp + 0x58], edx
mov dword [rsp + 0x48], ecx
mov dword [rsp + 0x50], r9d
mov qword [rsp + 0x78], r8
cmp r9d, dword [r15 + 4]
jl 0x1801918c0
mov rsi, qword [rsp + 0x60]
lea r9, [rbp - 0x10]
mov qword [rbp - 0x10], 0
xor edx, edx
mov dword [rbp - 8], ebx
mov r8d, 1
mov dword [rbp - 4], r13d
mov rcx, rsi
call sub.vulkan_1.dll_vkCmdSetScissor
movaps xmm9, xmmword [rsp + 0x110]
movaps xmm8, xmmword [rsp + 0x120]
movaps xmm7, xmmword [rsp + 0x130]
movaps xmm6, xmmword [rsp + 0x140]
mov r14, qword [rsp + 0x150]
mov rdi, qword [rsp + 0x1a8]
mov rcx, qword [rbp]
xor rcx, rsp
call fcn.180199d30
add rsp, 0x158
pop r15
pop r13
pop r12
pop rsi
pop rbx
pop rbp
ret