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

Disassembly:
mov rax, rsp
mov qword [rax + 0x10], rbx
mov qword [rax + 0x18], rsi
mov qword [rax + 0x20], rdi
push rbp
push r12
push r13
push r14
push r15
lea rbp, [rax - 0x38]
sub rsp, 0x110
movaps xmmword [rax - 0x38], xmm6
movaps xmmword [rax - 0x48], xmm7
movaps xmmword [rax - 0x58], xmm8
movaps xmmword [rax - 0x68], xmm9
movaps xmmword [rax - 0x78], xmm10
movaps xmmword [rax - 0x88], xmm11
movaps xmmword [rax - 0x98], xmm12
movaps xmmword [rax - 0xa8], xmm13
mov rax, qword [0x1801bd680]
xor rax, rsp
mov qword [rbp - 0x80], rax
mov r14, qword [0x1801bd908]
xor eax, eax
xor sil, sil
mov qword [rsp + 0x48], rax
mov dword [rsp + 0x50], eax
xor ebx, ebx
mov qword [rsp + 0x54], rax
xor r12d, r12d
mov dword [rsp + 0x5c], eax
mov rdi, rcx
mov qword [rsp + 0x60], rax
mov dword [rsp + 0x68], eax
mov eax, dword [rcx]
mov qword [rsp + 0x30], r14
mov byte [rcx + 0x6b], 0
mov dword [rsp + 0x20], esi
test eax, eax
jle 0x180104b8a
xor r14d, r14d
mov r15d, r14d
mov qword [rsp + 0x28], r14
mov esi, r14d
test r15, r15
js 0x1801049ae
cmp r12d, eax
jl 0x1801049c8
mov r8d, 0x6fa
lea rdx, str.C:UsersFrank.cargo_registry_srcindex.crates.io_6f17d22bba15001fimgui_sys_0.11.0_third_partyimgui_masterimguiimgui.h
lea rcx, str.i___0__i___Size
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__wassert]
mov rcx, qword [rdi + 8]
mov eax, dword [rdi + 0x28]
cmp dword [rsi + rcx + 8], eax
jl 0x180104b43
cmp byte [rsi + rcx + 0x28], 0
jne 0x180104b43
cmp ebx, r12d
je 0x180104a67
test ebx, ebx
js 0x1801049f1
cmp ebx, dword [rdi]
jl 0x180104a0b
mov r8d, 0x6fa
lea rdx, str.C:UsersFrank.cargo_registry_srcindex.crates.io_6f17d22bba15001fimgui_sys_0.11.0_third_partyimgui_masterimguiimgui.h
lea rcx, str.i___0__i___Size
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__wassert]
movsxd rax, ebx
imul r14, rax, 0x2c
add r14, qword [rdi + 8]
test r15, r15
js 0x180104a20
cmp r12d, dword [rdi]
jl 0x180104a3a
mov r8d, 0x6fa
lea rdx, str.C:UsersFrank.cargo_registry_srcindex.crates.io_6f17d22bba15001fimgui_sys_0.11.0_third_partyimgui_masterimguiimgui.h
lea rcx, str.i___0__i___Size
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__wassert]
mov rax, qword [rdi + 8]
movups xmm0, xmmword [rax + rsi]
movups xmmword [r14], xmm0
movups xmm1, xmmword [rax + rsi + 0x10]
movups xmmword [r14 + 0x10], xmm1
movsd xmm0, qword [rax + rsi + 0x20]
movsd qword [r14 + 0x20], xmm0
mov eax, dword [rax + rsi + 0x28]
mov dword [r14 + 0x28], eax
xor r14d, r14d
test ebx, ebx
js 0x180104a6f
cmp ebx, dword [rdi]
jl 0x180104a89
mov r8d, 0x6fa
lea rdx, str.C:UsersFrank.cargo_registry_srcindex.crates.io_6f17d22bba15001fimgui_sys_0.11.0_third_partyimgui_masterimguiimgui.h
lea rcx, str.i___0__i___Size
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__wassert]
movsxd rax, ebx
imul r13, rax, 0x2c
mov rax, qword [rdi + 8]
mov ecx, dword [rax + r13 + 4]
mov word [rax + r13 + 0x26], bx
test cl, 0x40
je 0x180104aa9
xor r15d, r15d
jmp 0x180104ac2
bt ecx, 7
setb r14b
xor r15d, r15d
inc r14d
bt ecx, 7
setb r15b
inc r15
test ebx, ebx
jle 0x180104b2f
cmp ebx, dword [rdi]
jle 0x180104ae4
mov r8d, 0x6fa
lea rdx, str.C:UsersFrank.cargo_registry_srcindex.crates.io_6f17d22bba15001fimgui_sys_0.11.0_third_partyimgui_masterimguiimgui.h
lea rcx, str.i___0__i___Size
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__wassert]
mov rax, qword [rdi + 8]
mov ecx, dword [rax + r13 - 0x28]
test cl, 0x40
je 0x180104af6
xor eax, eax
jmp 0x180104b03
test cl, 0x80
mov eax, 0
setne al
inc eax
test r14d, r14d
jne 0x180104b14
test eax, eax
je 0x180104b2f
mov cl, 1
mov dword [rsp + 0x20], ecx
jmp 0x180104b18
mov ecx, dword [rsp + 0x20]
cmp eax, 2
jne 0x180104b2f
cmp r14d, eax
movzx ecx, cl
mov eax, 1
cmovne ecx, eax
mov dword [rsp + 0x20], ecx
lea rax, [r15 + r15*2]
inc ebx
inc dword [rsp + rax*4 + 0x48]
mov r15, qword [rsp + 0x28]
xor r14d, r14d
jmp 0x180104b67
mov eax, dword [rsi + rcx]
cmp dword [rdi + 0x20], eax
jne 0x180104b4f
mov dword [rdi + 0x20], r14d
mov eax, dword [rsi + rcx]
cmp dword [rdi + 0x18], eax
jne 0x180104b5b
mov dword [rdi + 0x18], r14d
mov eax, dword [rsi + rcx]
cmp dword [rdi + 0x1c], eax
jne 0x180104b67
mov dword [rdi + 0x1c], r14d
mov eax, dword [rdi]
inc r15
inc r12d
mov qword [rsp + 0x28], r15
add rsi, 0x2c
cmp r12d, eax
jl 0x1801049a4
mov esi, dword [rsp + 0x20]
mov r14, qword [rsp + 0x30]
mov r12d, 8
cmp eax, ebx
je 0x180104bc0
mov ecx, dword [rdi + 4]
cmp ebx, ecx
jle 0x180104bbc
test ecx, ecx
je 0x180104baa
mov eax, ecx
cdq
sub eax, edx
sar eax, 1
add eax, ecx
jmp 0x180104bad
mov eax, r12d
cmp eax, ebx
mov edx, ebx
mov rcx, rdi
cmovg edx, eax
call fcn.180115f80
mov dword [rdi], ebx
mov eax, ebx
test sil, sil
je 0x180104be5
movsxd rdx, eax
cmp rdx, 1
jbe 0x180104be5
mov rcx, qword [rdi + 8]
lea r9, [0x180106540]
mov r8d, 0x2c
call qword [sym.imp.api_ms_win_crt_utility_l1_1_0.dll_qsort]
mov ebx, dword [rsp + 0x48]
xorps xmm9, xmm9
mov r13d, dword [rsp + 0x54]
mov ecx, dword [rsp + 0x60]
test ebx, ebx
jle 0x180104c0d
lea eax, [rcx + r13]
test eax, eax
jle 0x180104c0d
movss xmm12, dword [r14 + 0x3834]
jmp 0x180104c11
xorps xmm12, xmm12
movss dword [rsp + 0x50], xmm12
test r13d, r13d
jle 0x180104c2c
test ecx, ecx
jle 0x180104c2c
movss xmm11, dword [r14 + 0x3834]
jmp 0x180104c30
xorps xmm11, xmm11
mov eax, dword [rdi + 0x1c]
movss dword [rsp + 0x5c], xmm11
mov dword [rsp + 0x20], 0
test eax, eax
je 0x180104c54
mov dword [rsp + 0x20], eax
mov dword [rdi + 0x18], eax
mov dword [rdi + 0x1c], 0
mov r15d, dword [rdi + 0x64]
test r15d, r15d
je 0x180104db7
mov eax, dword [rdi]
xor ebx, ebx
test eax, eax
jle 0x180104dac
xor esi, esi
xor r14d, r14d
test rsi, rsi
js 0x180104c7b
cmp ebx, eax
jl 0x180104c95
mov r8d, 0x6fa
lea rdx, str.C:UsersFrank.cargo_registry_srcindex.crates.io_6f17d22bba15001fimgui_sys_0.11.0_third_partyimgui_masterimguiimgui.h
lea rcx, str.i___0__i___Size
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__wassert]
mov rax, qword [rdi + 8]
cmp dword [r14 + rax], r15d
je 0x180104cb3
mov eax, dword [rdi]
inc ebx
inc rsi
add r14, 0x2c
cmp ebx, eax
jl 0x180104c72
jmp 0x180104dac
test ebx, ebx
js 0x180104cbb
cmp ebx, dword [rdi]
jl 0x180104cd5
mov r8d, 0x6fa
lea rdx, str.C:UsersFrank.cargo_registry_srcindex.crates.io_6f17d22bba15001fimgui_sys_0.11.0_third_partyimgui_masterimguiimgui.h
lea rcx, str.i___0__i___Size
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__wassert]
movsxd rax, ebx
imul rbx, rax, 0x2c
add rbx, qword [rdi + 8]
je 0x180104dac
test byte [rbx + 4], 0x20
jne 0x180104dac
mov rdx, rbx
mov rcx, rdi
call fcn.1801150e0
movsx edx, word [rdi + 0x68]
add edx, eax
js 0x180104dac
cmp edx, dword [rdi]
jge 0x180104dac
mov rcx, rdi
call fcn.1800d41f0
mov rsi, rax
mov eax, dword [rax + 4]
test al, 0x20
jne 0x180104dac
xor eax, dword [rbx + 4]
test al, 0xc0
jne 0x180104dac
movsx eax, word [rdi + 0x68]
movsd xmm8, qword [rbx + 0x20]
mov r14d, dword [rbx + 0x28]
movups xmm6, xmmword [rbx]
movups xmm7, xmmword [rbx + 0x10]
test ax, ax
jle 0x180104d50
lea rdx, [rbx + 0x2c]
jmp 0x180104d59
mov rdx, rsi
lea rbx, [rsi + 0x2c]
neg eax
cdqe
mov rcx, rbx
imul r8, rax, 0x2c
call sub.VCRUNTIME140.dll_memmove
movups xmmword [rsi], xmm6
movups xmmword [rsi + 0x10], xmm7
movsd qword [rsi + 0x20], xmm8
mov dword [rsi + 0x28], r14d
test dword [rdi + 0x10], 0x400000
je 0x180104d9b
mov rcx, qword [0x1801bd908]
comiss xmm9, dword [rcx + 0x6364]
jb 0x180104d9b
mov eax, dword [rcx + 0x1c]
mov dword [rcx + 0x6364], eax
mov eax, dword [rdi + 0x64]
mov ecx, dword [rsp + 0x20]
cmp eax, dword [rdi + 0x18]
cmove ecx, eax
mov dword [rsp + 0x20], ecx
mov ebx, dword [rsp + 0x48]
mov dword [rdi + 0x64], 0
mov eax, dword [rdi + 0x10]
shr eax, 2
test al, 1
je 0x180104dd7
mov rcx, rdi
call fcn.180105c10
test rax, rax
je 0x180104dd7
mov eax, dword [rax]
mov dword [rsp + 0x20], eax
mov dword [rdi + 0x18], eax
mov r15, qword [rsp + 0x30]
mov eax, dword [rsp + 0x60]
mov esi, dword [rdi]
add eax, ebx
mov dword [rsp + 0x70], 0
mov ecx, dword [r15 + 0x4b94]
mov dword [rsp + 0x74], eax
mov dword [rsp + 0x78], ebx
cmp esi, ecx
jle 0x180104eac
test ecx, ecx
je 0x180104e12
mov eax, ecx
cdq
sub eax, edx
sar eax, 1
lea r12d, [rcx + rax]
cmp r12d, esi
mov ebx, esi
cmovg ebx, r12d
cmp ebx, ecx
jle 0x180104eac
mov rax, qword [0x1801bd908]
test rax, rax
je 0x180104e35
inc dword [rax + 0xf4]
mov rdx, qword [0x1801bd928]
movsxd rax, ebx
lea rcx, [rax + rax*2]
shl rcx, 2
call qword [0x1801bd578]
mov rdx, qword [r15 + 0x4b98]
mov r14, rax
test rdx, rdx
je 0x180104e9e
movsxd rcx, dword [r15 + 0x4b90]
lea r8, [rcx + rcx*2]
mov rcx, rax
shl r8, 2
call sub.VCRUNTIME140.dll_memcpy
mov rcx, qword [r15 + 0x4b98]
test rcx, rcx
je 0x180104e91
mov rax, qword [0x1801bd908]
test rax, rax
je 0x180104e91
dec dword [rax + 0xf4]
mov rdx, qword [0x1801bd928]
call qword [0x1801bd580]
mov qword [r15 + 0x4b98], r14
mov dword [r15 + 0x4b94], ebx
movss xmm13, dword [0x18015e638]
xor r14d, r14d
mov dword [r15 + 0x4b90], esi
xor esi, esi
mov eax, dword [rdi]
mov qword [rsp + 0x28], rsi
mov byte [rsp + 0x38], sil
lea r12d, [rsi - 1]
test eax, eax
jle 0x1801050ad
mov r13, qword [rsp + 0x30]
xor r15d, r15d
test r14d, r14d
js 0x180104eeb
cmp r14d, eax
jl 0x180104f05
mov r8d, 0x6fa
lea rdx, str.C:UsersFrank.cargo_registry_srcindex.crates.io_6f17d22bba15001fimgui_sys_0.11.0_third_partyimgui_masterimguiimgui.h
lea rcx, str.i___0__i___Size
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__wassert]
mov rbx, qword [rdi + 8]
mov eax, dword [rdi + 0x28]
add rbx, r15
cmp dword [rbx + 8], eax
jge 0x180104f2e
mov r8d, 0x1d8c
lea rdx, [0x180169fb0]
lea rcx, str.tab__LastFrameVisible___tab_bar__PrevFrameVisible
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__wassert]
test rsi, rsi
je 0x180104f3b
mov eax, dword [rbx + 0xc]
cmp dword [rsi + 0xc], eax
jge 0x180104f4b
test dword [rbx + 4], 0x200000
cmove rsi, rbx
mov qword [rsp + 0x28], rsi
mov ecx, dword [rsp + 0x38]
mov edx, 1
mov eax, dword [rbx]
cmp eax, dword [rdi + 0x18]
movzx ecx, cl
cmove ecx, edx
mov dword [rsp + 0x38], ecx
mov ecx, dword [rsp + 0x20]
test ecx, ecx
jne 0x180104f79
cmp dword [r13 + 0x48a4], eax
cmove ecx, eax
mov dword [rsp + 0x20], ecx
mov eax, dword [rbx + 0x20]
cmp eax, 0xffffffff
je 0x180104f89
cmp eax, dword [rdi + 0x88]
jl 0x180104fa3
mov r8d, 0x980
lea rdx, str.C:UsersFrank.cargo_registry_srcindex.crates.io_6f17d22bba15001fimgui_sys_0.11.0_third_partyimgui_masterimguiimgui_internal.h
lea rcx, str.tab__NameOffset____1__tab__NameOffset___TabsNames.Buf.Size
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__wassert]
movsxd rdx, dword [rbx + 0x20]
add rdx, qword [rdi + 0x90]
mov eax, dword [rbx + 4]
movss xmm1, dword [rbx + 0x1c]
and eax, 0x100001
cmp eax, 0x100000
setne r8b
comiss xmm1, xmm9
jae 0x180104fd8
lea rcx, [rsp + 0x40]
call fcn.1801063f0
movss xmm1, dword [rax]
mov eax, dword [rbx + 4]
movss dword [rbx + 0x18], xmm1
test al, 0x40
je 0x180104fe8
xor eax, eax
jmp 0x180104ff4
test al, 0x80
mov eax, 0
setne al
inc eax
mov ecx, eax
lea rdx, [rax + rax*2]
cmp eax, r12d
jne 0x18010500a
movss xmm0, dword [r13 + 0x3834]
jmp 0x18010500e
movaps xmm0, xmm9
movsxd rsi, dword [rsp + rax*4 + 0x70]
addss xmm1, xmm0
mov r12d, eax
lea eax, [rsi + 1]
mov dword [rsp + rcx*4 + 0x70], eax
addss xmm1, dword [rsp + rdx*4 + 0x4c]
movss dword [rsp + rdx*4 + 0x4c], xmm1
test esi, esi
js 0x18010503a
cmp esi, dword [r13 + 0x4b90]
jl 0x180105054
mov r8d, 0x6fa
lea rdx, str.C:UsersFrank.cargo_registry_srcindex.crates.io_6f17d22bba15001fimgui_sys_0.11.0_third_partyimgui_masterimguiimgui.h
lea rcx, str.i___0__i___Size
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__wassert]
mov rax, qword [r13 + 0x4b98]
lea rcx, [rsi + rsi*2]
mov rsi, qword [rsp + 0x28]
add r15, 0x2c
mov dword [rax + rcx*4], r14d
inc r14d
movss xmm0, dword [rbx + 0x18]
movss dword [rax + rcx*4 + 8], xmm0
movss dword [rax + rcx*4 + 4], xmm0
movss xmm1, dword [rbx + 0x18]
maxss xmm1, xmm13
movss dword [rbx + 0x14], xmm1
mov eax, dword [rdi]
cmp r14d, eax
jl 0x180104ee1
movss xmm11, dword [rsp + 0x5c]
mov r13d, dword [rsp + 0x54]
movss xmm12, dword [rsp + 0x50]
movss xmm8, dword [rsp + 0x4c]
movss xmm6, dword [rsp + 0x58]
movaps xmm2, xmm8
movss xmm10, dword [rsp + 0x64]
addss xmm2, xmm12
movss xmm7, dword [rsp + 0x68]
movaps xmm0, xmm6
addss xmm0, xmm11
movaps xmm1, xmm10
addss xmm1, xmm7
addss xmm2, xmm9
addss xmm2, xmm0
addss xmm2, xmm1
movss dword [rdi + 0x48], xmm2
movss xmm0, dword [rdi + 0x34]
subss xmm0, dword [rdi + 0x2c]
comiss xmm2, xmm0
jbe 0x180105130
cmp eax, 1
jle 0x180105130
mov eax, dword [rdi + 0x10]
test al, 0x10
jne 0x180105130
test al, al
jns 0x180105130
mov rcx, rdi
call fcn.1801058e0
test rax, rax
je 0x180105130
test dword [rax + 4], 0x200000
mov ecx, dword [rax]
mov dword [rsp + 0x20], ecx
jne 0x180105130
mov dword [rdi + 0x18], ecx
movss xmm0, dword [rdi + 0x34]
movaps xmm3, xmm10
subss xmm0, dword [rdi + 0x2c]
addss xmm3, xmm7
movaps xmm2, xmm8
addss xmm2, xmm12
movaps xmm1, xmm3
addss xmm1, xmm2
comiss xmm0, xmm1
seta al
test al, al
je 0x180105174
addss xmm6, xmm11
subss xmm0, xmm2
subss xmm0, xmm3
subss xmm6, xmm0
maxss xmm6, xmm9
jmp 0x18010517b
movaps xmm6, xmm1
subss xmm6, xmm0
comiss xmm6, xmm13
jb 0x180105311
test byte [rdi + 0x10], 0x40
jne 0x1801051ad
test al, al
jne 0x180105311
mov r13d, dword [rsp + 0x60]
mov edx, dword [rsp + 0x48]
add r13d, edx
test al, al
je 0x1801051bf
mov r14d, dword [rsp + 0x60]
add r14d, edx
jmp 0x1801051c2
test al, al
je 0x180105193
mov r14d, dword [rsp + 0x60]
mov edx, dword [rsp + 0x48]
add r14d, edx
jmp 0x1801051c2
xor r14d, r14d
movsxd rsi, r14d
movaps xmm2, xmm6
mov edx, r13d
lea rax, [rsi + rsi*2]
lea r15, [rax*4]
mov rax, qword [rsp + 0x30]
mov rcx, qword [rax + 0x4b98]
add rcx, r15
call fcn.180102d90
lea eax, [r14 + r13]
movsxd r12, eax
cmp rsi, r12
jge 0x180105311
mov r13, qword [rsp + 0x30]
test rsi, rsi
js 0x18010520e
cmp r14d, dword [r13 + 0x4b90]
jl 0x180105228
mov r8d, 0x6fa
lea rdx, str.C:UsersFrank.cargo_registry_srcindex.crates.io_6f17d22bba15001fimgui_sys_0.11.0_third_partyimgui_masterimguiimgui.h
lea rcx, str.i___0__i___Size
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__wassert]
mov rax, qword [r13 + 0x4b98]
movsxd rbx, dword [r15 + rax]
test ebx, ebx
js 0x18010523b
cmp ebx, dword [rdi]
jl 0x180105255
mov r8d, 0x6fa
lea rdx, str.C:UsersFrank.cargo_registry_srcindex.crates.io_6f17d22bba15001fimgui_sys_0.11.0_third_partyimgui_masterimguiimgui.h
lea rcx, str.i___0__i___Size
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__wassert]
imul rbx, rbx, 0x2c
add rbx, qword [rdi + 8]
test rsi, rsi
js 0x18010526b
cmp r14d, dword [r13 + 0x4b90]
jl 0x180105285
mov r8d, 0x6fa
lea rdx, str.C:UsersFrank.cargo_registry_srcindex.crates.io_6f17d22bba15001fimgui_sys_0.11.0_third_partyimgui_masterimguiimgui.h
lea rcx, str.i___0__i___Size
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__wassert]
mov rax, qword [r13 + 0x4b98]
cvttss2si ecx, dword [rax + r15 + 4]
movd xmm0, ecx
cvtdq2ps xmm0, xmm0
comiss xmm9, xmm0
ja 0x1801052e2
mov eax, dword [rbx + 4]
movaps xmm2, xmm13
maxss xmm2, xmm0
test al, 0x40
je 0x1801052b3
xor eax, eax
jmp 0x1801052c0
test al, 0x80
mov eax, 0
setne al
inc rax
movss xmm1, dword [rbx + 0x14]
lea rax, [rax + rax*2]
movss xmm0, dword [rsp + rax*4 + 0x4c]
subss xmm1, xmm2
movss dword [rbx + 0x14], xmm2
subss xmm0, xmm1
movss dword [rsp + rax*4 + 0x4c], xmm0
inc r14d
inc rsi
add r15, 0xc
cmp rsi, r12
jl 0x180105200
movss xmm10, dword [rsp + 0x64]
movss xmm11, dword [rsp + 0x5c]
movss xmm12, dword [rsp + 0x50]
movss xmm8, dword [rsp + 0x4c]
xor r15d, r15d
movaps xmm6, xmm9
mov dword [rdi + 0x44], r15d
xor r13d, r13d
nop
lea rdx, [r13*2]
add rdx, r13
cmp r13, 2
jne 0x180105350
movss xmm1, dword [rdi + 0x34]
movaps xmm0, xmm9
subss xmm1, dword [rdi + 0x2c]
subss xmm1, dword [rsp + rdx*4 + 0x4c]
maxss xmm0, xmm1
minss xmm0, xmm6
movaps xmm6, xmm0
movsxd rax, dword [rsp + rdx*4 + 0x48]
xor ebx, ebx
mov qword [rsp + 0x40], rax
mov rcx, rax
test eax, eax
jle 0x1801053fb
xor esi, esi
movsxd r12, r15d
dec eax
mov dword [rsp + 0x3c], eax
mov edx, eax
imul r14, r12, 0x2c
nop dword [rax + rax]
lea rax, [rsi + r12]
test rax, rax
js 0x180105391
lea eax, [rbx + r15]
cmp eax, dword [rdi]
jl 0x1801053b4
mov r8d, 0x6fa
lea rdx, str.C:UsersFrank.cargo_registry_srcindex.crates.io_6f17d22bba15001fimgui_sys_0.11.0_third_partyimgui_masterimguiimgui.h
lea rcx, str.i___0__i___Size
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__wassert]
mov rcx, qword [rsp + 0x40]
mov edx, dword [rsp + 0x3c]
mov rax, qword [rdi + 8]
movss dword [r14 + rax + 0x10], xmm6
cmp ebx, edx
jge 0x1801053d3
mov r8, qword [rsp + 0x30]
movss xmm0, dword [r8 + 0x3834]
jmp 0x1801053d7
movaps xmm0, xmm9
addss xmm0, dword [r14 + rax + 0x14]
inc ebx
inc rsi
add r14, 0x2c
addss xmm6, xmm0
cmp rsi, rcx
jl 0x180105380
lea rdx, [r13*2]
add rdx, r13
movss xmm1, dword [rsp + rdx*4 + 0x50]
inc r13
add r15d, dword [rsp + rdx*4 + 0x48]
addss xmm6, xmm1
movaps xmm0, xmm1
addss xmm0, dword [rsp + rdx*4 + 0x4c]
maxss xmm0, xmm9
addss xmm0, dword [rdi + 0x44]
movss dword [rdi + 0x44], xmm0
cmp r13, 3
jl 0x180105320
cmp byte [rsp + 0x38], 0
jne 0x18010543d
mov dword [rdi + 0x18], 0
mov ecx, dword [rdi + 0x18]
mov eax, ecx
test ecx, ecx
jne 0x18010545e
cmp dword [rdi + 0x1c], ecx
jne 0x18010545e
mov rcx, qword [rsp + 0x28]
test rcx, rcx
je 0x18010545e
mov eax, dword [rcx]
mov dword [rsp + 0x20], eax
mov dword [rdi + 0x18], eax
mov dword [rdi + 0x20], eax
mov eax, dword [rsp + 0x20]
mov byte [rdi + 0x6c], 0
test eax, eax
je 0x18010555d
mov edx, eax
mov rcx, rdi
call fcn.180104830
mov rbx, rax
test rax, rax
je 0x18010555d
test byte [rax + 4], 0xc0
jne 0x18010555d
mov rcx, qword [0x1801bd908]
mov rdx, rax
movss xmm6, dword [rcx + 0x3c00]
mov rcx, rdi
call fcn.1801150e0
movss xmm3, dword [rdi + 0x34]
subss xmm3, dword [rdi + 0x2c]
mov ecx, dword [rsp + 0x48]
dec ecx
subss xmm3, xmm8
subss xmm3, xmm10
subss xmm3, xmm11
cmp eax, ecx
jle 0x1801054da
movaps xmm1, xmm6
xorps xmm1, xmmword [0x180138bc0]
jmp 0x1801054de
movaps xmm1, xmm9
movss xmm2, dword [rbx + 0x10]
mov ecx, dword [rdi]
subss xmm2, xmm8
sub ecx, dword [rsp + 0x60]
inc eax
addss xmm1, xmm2
cmp eax, ecx
jl 0x1801054fc
movaps xmm6, xmm13
addss xmm2, dword [rbx + 0x14]
movss xmm4, dword [rdi + 0x50]
comiss xmm4, xmm1
mov dword [rdi + 0x54], 0
addss xmm2, xmm6
ja 0x180105545
movaps xmm0, xmm2
subss xmm0, xmm1
comiss xmm0, xmm3
jae 0x180105545
subss xmm2, xmm3
comiss xmm2, xmm4
jbe 0x18010555d
subss xmm1, xmm3
movss dword [rdi + 0x50], xmm2
subss xmm1, dword [rdi + 0x4c]
maxss xmm1, xmm9
movss dword [rdi + 0x54], xmm1
jmp 0x18010555d
movss xmm0, dword [rdi + 0x4c]
subss xmm0, xmm2
movss dword [rdi + 0x50], xmm1
maxss xmm0, xmm9
movss dword [rdi + 0x54], xmm0
movss xmm6, dword [rdi + 0x2c]
movss xmm0, dword [rdi + 0x34]
movss xmm2, dword [rdi + 0x44]
subss xmm0, xmm6
movss xmm3, dword [rdi + 0x4c]
movaps xmm1, xmm2
movss xmm4, dword [rdi + 0x50]
subss xmm1, xmm0
minss xmm3, xmm1
maxss xmm3, xmm9
movss dword [rdi + 0x4c], xmm3
movss xmm5, dword [rdi + 0x34]
movaps xmm0, xmm5
subss xmm0, xmm6
subss xmm2, xmm0
minss xmm4, xmm2
maxss xmm4, xmm9
ucomiss xmm3, xmm4
movss dword [rdi + 0x50], xmm4
jp 0x1801055c5
jne 0x1801055c5
mov rsi, qword [rsp + 0x30]
mov dword [rdi + 0x58], 0
jmp 0x180105654
mov rsi, qword [rsp + 0x30]
movaps xmm1, xmm4
movss xmm2, dword [rdi + 0x58]
subss xmm1, xmm3
mov eax, dword [rdi + 0x28]
inc eax
movss xmm0, dword [rsi + 0x3c00]
mulss xmm0, dword [0x18016d7ec]
andps xmm1, xmmword [0x18012b4d0]
divss xmm1, dword [0x18016d744]
maxss xmm2, xmm0
maxss xmm2, xmm1
movss dword [rdi + 0x58], xmm2
cmp eax, dword [rsi + 0x3e20]
jl 0x18010564c
movss xmm1, dword [rsi + 0x3c00]
mulss xmm1, dword [0x18016d7cc]
movss xmm0, dword [rdi + 0x54]
comiss xmm0, xmm1
ja 0x18010564c
comiss xmm4, xmm3
mulss xmm2, dword [rsi + 0x18]
jbe 0x18010563d
addss xmm3, xmm2
minss xmm3, xmm4
jmp 0x18010564f
comiss xmm3, xmm4
jbe 0x18010564f
subss xmm3, xmm2
maxss xmm3, xmm4
jmp 0x18010564f
movaps xmm3, xmm4
movss dword [rdi + 0x4c], xmm3
test dword [rdi + 0x10], 0x100000
addss xmm8, xmm6
subss xmm5, xmm10
addss xmm8, xmm12
subss xmm5, xmm11
movss dword [rdi + 0x5c], xmm8
movss dword [rdi + 0x60], xmm5
jne 0x1801056ac
mov ecx, dword [rdi + 0x8c]
test ecx, ecx
jns 0x1801056a2
mov eax, ecx
cdq
sub eax, edx
xor edx, edx
sar eax, 1
add eax, ecx
lea rcx, [rdi + 0x88]
test eax, eax
cmovg edx, eax
call fcn.180115940
mov dword [rdi + 0x88], 0
movsd xmm0, qword [rdi + 0x2c]
lea rcx, [rsp + 0x28]
mov rbx, qword [rsi + 0x3ea0]
movsd qword [rbx + 0xf8], xmm0
movss xmm1, dword [rdi + 0x44]
movss xmm0, dword [rdi + 0x38]
subss xmm0, dword [rdi + 0x30]
movss dword [rsp + 0x28], xmm1
movss xmm1, dword [rdi + 0x7c]
movss dword [rsp + 0x2c], xmm0
call fcn.1800f07c0
movss xmm1, dword [rdi + 0x48]
addss xmm1, dword [rdi + 0x2c]
movss xmm0, dword [rbx + 0x118]
maxss xmm0, xmm1
movss dword [rbx + 0x118], xmm0
mov rcx, qword [rbp - 0x80]
xor rcx, rsp
call fcn.1801204b0
lea r11, [rsp + 0x110]
mov rbx, qword [r11 + 0x38]
mov rsi, qword [r11 + 0x40]
mov rdi, qword [r11 + 0x48]
movaps xmm6, xmmword [r11 - 0x10]
movaps xmm7, xmmword [r11 - 0x20]
movaps xmm8, xmmword [r11 - 0x30]
movaps xmm9, xmmword [r11 - 0x40]
movaps xmm10, xmmword [r11 - 0x50]
movaps xmm11, xmmword [r11 - 0x60]
movaps xmm12, xmmword [r11 - 0x70]
movaps xmm13, xmmword [r11 - 0x80]
mov rsp, r11
pop r15
pop r14
pop r13
pop r12
pop rbp
ret