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

Disassembly:
push rbx
push r14
sub rsp, 0x68
mov r14, qword [0x1801b0620]
mov eax, dword [r14 + 0x4848]
sub eax, 1
js 0x180125fcd
movsxd rdx, eax
mov rax, qword [r14 + 0x4850]
imul r8, rdx, 0x38
add rax, 8
add r8, rax
mov rbx, qword [r8]
test rbx, rbx
je 0x180125fc3
test dword [rbx + 0xc], 0x8000000
je 0x180125fc3
cmp byte [rbx + 0xae], 0
je 0x180125fc3
cmp byte [rbx + 0xb5], 0
je 0x180125fcf
sub r8, 0x38
sub rdx, 1
jns 0x180125fa0
xor ebx, ebx
movss xmm1, dword [r14 + 0x4a24]
xorps xmm0, xmm0
comiss xmm0, xmm1
jb 0x180125fee
comiss xmm0, dword [r14 + 0x4a0c]
jae 0x1801262f3
mov qword [rsp + 0x60], rdi
mov rdi, qword [r14 + 0x49f8]
test rdi, rdi
je 0x18012600c
cmp byte [rdi + 0xae], 0
je 0x18012600c
mov al, 1
jmp 0x18012600e
xor al, al
test rbx, rbx
jne 0x1801261e2
test al, al
je 0x1801262ee
movups xmm0, xmmword [r14 + 0x3bd8]
lea rcx, [rsp + 0x40]
mulss xmm1, dword [r14 + 0x37e0]
movups xmmword [rsp + 0x40], xmm0
shufps xmm0, xmm0, 0xff
mulss xmm0, xmm1
movss dword [rsp + 0x4c], xmm0
call fcn.18010f880
mov edx, eax
mov rcx, rdi
call fcn.180125b50
mov rbx, qword [r14 + 0x49f8]
call fcn.1801142d0
movss xmm1, dword [r14 + 0x3c00]
mov rdi, rax
movss xmm4, dword [rbx + 0x18]
movss xmm2, dword [rbx + 0x1c]
movaps xmm5, xmm4
addss xmm4, dword [rbx + 0x20]
movaps xmm3, xmm2
subss xmm5, xmm1
addss xmm2, dword [rbx + 0x24]
subss xmm3, xmm1
addss xmm4, xmm1
movss dword [rsp + 0x40], xmm5
addss xmm2, xmm1
movss dword [rsp + 0x44], xmm3
movaps xmm0, xmm4
movss dword [rsp + 0x48], xmm4
subss xmm0, xmm5
movss dword [rsp + 0x4c], xmm2
comiss xmm0, dword [rax + 0xc]
jb 0x180126102
movaps xmm0, xmm2
subss xmm0, xmm3
comiss xmm0, dword [rax + 0x10]
jb 0x180126102
xorps xmm1, xmmword [0x18014f360]
subss xmm1, dword [0x18014b4b0]
subss xmm5, xmm1
subss xmm3, xmm1
addss xmm4, xmm1
addss xmm2, xmm1
movss dword [rsp + 0x40], xmm5
movss dword [rsp + 0x44], xmm3
movss dword [rsp + 0x48], xmm4
movss dword [rsp + 0x4c], xmm2
mov rcx, qword [rbx + 0x290]
cmp dword [rcx], 0
jne 0x180126113
call fcn.180105430
movss xmm0, dword [rdi + 4]
lea rdx, [rdi + 4]
movss xmm1, dword [rdx + 4]
lea r8, [rsp + 0x80]
addss xmm0, dword [rdi + 0xc]
addss xmm1, dword [rdi + 0x10]
mov rcx, qword [rbx + 0x290]
xor r9d, r9d
movss dword [rsp + 0x80], xmm0
movss dword [rsp + 0x84], xmm1
call fcn.180124930
mov rax, qword [0x1801b0620]
lea rcx, [rsp + 0x50]
movss xmm0, dword [r14 + 0x4a0c]
movups xmm1, xmmword [rax + 0x3bc8]
mulss xmm0, dword [rax + 0x37e0]
movups xmmword [rsp + 0x50], xmm1
shufps xmm1, xmm1, 0xff
mulss xmm1, xmm0
movss dword [rsp + 0x5c], xmm1
call fcn.18010f880
movss xmm0, dword [0x1801794dc]
lea r8, [rsp + 0x48]
mov rcx, qword [rbx + 0x290]
lea rdx, [rsp + 0x40]
movss dword [rsp + 0x30], xmm0
mov r9d, eax
movss xmm0, dword [rbx + 0x50]
mov dword [rsp + 0x28], 0
movss dword [rsp + 0x20], xmm0
call fcn.180107be0
mov rcx, qword [rbx + 0x290]
mov rdi, qword [rsp + 0x60]
add rsp, 0x68
pop r14
pop rbx
jmp fcn.180123e80
mov qword [rsp + 0x88], rbp
mov rcx, rbx
mov qword [rsp + 0x90], rsi
mov rdi, rbx
call fcn.180113550
movsxd rsi, eax
mov rbp, rsi
test eax, eax
js 0x180126298
nop dword [rax + rax]
cmp esi, dword [r14 + 0x3e40]
jl 0x180126233
mov r8d, 0x6fa
lea rdx, str.C:Users_runneradmin.cargo_registry_srcindex.crates.io_6f17d22bba15001fimgui_sys_0.12.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 [r14 + 0x3e48]
mov rcx, qword [rax + rbp*8]
mov edx, dword [rcx + 0xc]
bt edx, 0x18
jb 0x18012628c
mov rax, rcx
cmp qword [rcx + 0x370], rbx
je 0x180126266
cmp rax, rbx
je 0x180126266
mov rax, qword [rax + 0x368]
test rax, rax
jne 0x180126253
jmp 0x180126298
cmp byte [rcx + 0xae], 0
je 0x18012628c
cmp byte [rcx + 0xb5], 0
jne 0x18012628c
mov eax, dword [rbx + 0xc]
and edx, 0x2000000
and eax, 0x2000000
cmp edx, eax
cmovbe rdi, rcx
dec esi
sub rbp, 1
jns 0x180126210
mov rax, qword [0x1801b0620]
lea rcx, [rsp + 0x50]
movss xmm0, dword [r14 + 0x4a24]
movups xmm1, xmmword [rax + 0x3be8]
mulss xmm0, dword [rax + 0x37e0]
movups xmmword [rsp + 0x50], xmm1
shufps xmm1, xmm1, 0xff
mulss xmm1, xmm0
movss dword [rsp + 0x5c], xmm1
call fcn.18010f880
mov edx, eax
mov rcx, rdi
call fcn.180125b50
mov rsi, qword [rsp + 0x90]
mov rbp, qword [rsp + 0x88]
mov rdi, qword [rsp + 0x60]
add rsp, 0x68
pop r14
pop rbx
ret