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

Disassembly:
push rbx
push rsi
push r13
push r15
sub rsp, 0x88
mov rbx, qword [0x140213af0]
mov qword [rsp + 0x78], r12
movaps xmmword [rsp + 0x50], xmm7
mov eax, dword [rbx + 0x4c78]
cmp dword [rbx + 0x39e8], eax
jle 0x1400506fd
mov r8d, 0x3973
lea rdx, str.C:DataVisualStudioNipponEditorImGuiimgui.cpp
lea rcx, str.g.PlatformIO.Viewports.Size___g.Viewports.Size
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__wassert]
mov eax, dword [rbx + 0x4c78]
mov r12d, dword [rbx + 0x3e64]
xor r15d, r15d
shr r12d, 0xa
mov qword [rsp + 0xc8], rbp
and r12b, 1
mov qword [rsp + 0x80], rdi
mov dword [rsp + 0xb0], r12d
mov qword [rsp + 0x70], r14
je 0x140050950
mov rsi, qword [rbx + 0x4c80]
mov r14d, r15d
cdqe
lea r12, [rsi + rax*8]
cmp rsi, r12
je 0x140050948
nop dword [rax + rax]
mov rdi, qword [rsi]
mov rax, qword [rbx + 0x3968]
movzx ebp, byte [rdi + 0x58]
test rax, rax
je 0x140050781
test bpl, bpl
je 0x140050781
mov rcx, rdi
call rax
mov ecx, dword [rdi + 4]
test al, al
je 0x14005077a
bts ecx, 0xc
jmp 0x14005077e
btr ecx, 0xc
mov dword [rdi + 4], ecx
mov rax, qword [rbx + 0x3960]
test rax, rax
je 0x1400507ae
test bpl, bpl
je 0x1400507ae
mov rcx, rdi
call rax
mov ecx, dword [rdi + 4]
test al, al
je 0x1400507a7
bts ecx, 0xd
mov r14, rdi
jmp 0x1400507ab
btr ecx, 0xd
mov dword [rdi + 4], ecx
add rsi, 8
cmp rsi, r12
jne 0x140050750
test r14, r14
je 0x140050948
mov edx, dword [rbx + 0x4ca8]
mov r8d, dword [r14]
cmp edx, r8d
je 0x140050929
test dword [rbx + 0x6a8c], 0x200
je 0x1400507ea
lea rcx, str._viewport__Focused_viewport_changed__08X_____08X__attempting_to_apply_our_focus._n
call fcn.14005ecf0
mov rbp, qword [0x140213af0]
mov rcx, qword [rbp + 0x4c80]
movsxd rax, dword [rbp + 0x4c78]
lea rdx, [rcx + rax*8]
cmp rcx, rdx
je 0x140050821
mov r8d, dword [rbx + 0x4ca8]
nop
mov rax, qword [rcx]
cmp dword [rax], r8d
je 0x140050885
add rcx, 8
cmp rcx, rdx
jne 0x140050810
mov cl, 1
mov eax, dword [rbx + 0x4cf8]
cmp dword [r14 + 0x70], eax
je 0x14005083b
inc eax
mov dword [rbx + 0x4cf8], eax
mov dword [r14 + 0x70], eax
mov eax, dword [r14]
mov dword [rbx + 0x4ca8], eax
mov rax, r15
nop word [rax + rax]
cmp byte [rax + rbp + 0xe50], r15b
jne 0x140050929
inc rax
cmp rax, 5
jl 0x140050850
test cl, cl
jne 0x140050929
mov rax, qword [rbx + 0x4d00]
test rax, rax
je 0x14005088f
cmp qword [rax + 0x40], r14
jne 0x14005088f
mov al, 1
jmp 0x140050891
cmp byte [rax + 0x58], r15b
je 0x140050821
xor cl, cl
jmp 0x140050823
xor al, al
or al, byte [r14 + 0x88]
mov rcx, qword [r14 + 0x60]
mov byte [r14 + 0x88], al
test rcx, rcx
jne 0x14005091f
test al, al
je 0x14005091d
mov edi, dword [rbp + 0x40f0]
sub edi, 1
movsxd rsi, edi
js 0x140050918
nop word [rax + rax]
cmp edi, dword [rbp + 0x40f0]
jl 0x1400508e2
mov r8d, 0x7df
lea rdx, str.C:DataVisualStudioNipponEditorImGuiimgui.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 [rbp + 0x40f8]
mov rcx, qword [rax + rsi*8]
test rcx, rcx
je 0x140050910
cmp byte [rcx + 0xf4], r15b
je 0x140050910
cmp qword [rcx + 0x40], r14
jne 0x140050910
mov eax, dword [rcx + 0x14]
and eax, 0x10200
cmp eax, 0x10200
jne 0x14005091f
dec edi
sub rsi, 1
jns 0x1400508c0
mov rcx, r15
jmp 0x14005091f
xor ecx, ecx
mov edx, 3
call fcn.140041960
mov rax, qword [rbx + 0x4d00]
test rax, rax
je 0x14005093f
cmp qword [rax + 0x40], r14
jne 0x14005093f
mov al, 1
jmp 0x140050941
xor al, al
mov byte [r14 + 0x88], al
mov r12d, dword [rsp + 0xb0]
cmp dword [rbx + 0x4c78], r15d
jg 0x140050973
mov r8d, 0x7df
lea rdx, str.C:DataVisualStudioNipponEditorImGuiimgui.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 [rbx + 0x4c80]
mov r13, qword [rax]
cmp dword [r13], 0x11111111
je 0x1400509a1
mov r8d, 0x39bb
lea rdx, str.C:DataVisualStudioNipponEditorImGuiimgui.cpp
lea rcx, str.main_viewport__ID__IMGUI_VIEWPORT_DEFAULT_ID
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__wassert]
cmp qword [r13 + 0x60], r15
je 0x1400509c1
mov r8d, 0x39bc
lea rdx, str.C:DataVisualStudioNipponEditorImGuiimgui.cpp
lea rcx, str.main_viewport__Window__0
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__wassert]
xorps xmm7, xmm7
test r12b, r12b
je 0x140050a10
mov rax, qword [rbx + 0x3940]
lea rcx, [rsp + 0xb8]
mov rdx, r13
call rax
test dword [r13 + 4], 0x1000
movsd xmm1, qword [rbx + 0x10]
movsd xmm0, qword [rax]
movsd qword [rsp + 0xc0], xmm0
movsd qword [rsp + 0xb8], xmm1
je 0x140050a3b
movsd xmm0, qword [r13 + 8]
movsd xmm1, qword [r13 + 0x10]
jmp 0x140050a29
movsd xmm1, qword [rbx + 0x10]
lea rax, [rsp + 0xb8]
mov qword [rsp + 0xb8], r15
movsd xmm0, qword [rax]
movsd qword [rsp + 0xb8], xmm1
movsd qword [rsp + 0xc0], xmm0
lea r9, [rsp + 0xb8]
mov dword [rsp + 0x20], 0x804
lea r8, [rsp + 0xc0]
mov edx, 0x11111111
xor ecx, ecx
call fcn.140051340
mov eax, dword [rbx + 0x4c78]
mov esi, r15d
mov dword [rbx + 0x4c88], r15d
mov qword [rbx + 0x4c90], r15
mov qword [rbx + 0x4c98], r15
test eax, eax
jle 0x140050da8
movaps xmmword [rsp + 0x40], xmm8
mov r14, r15
movss xmm8, dword [0x1401e8ce8]
movaps xmmword [rsp + 0x60], xmm6
nop dword [rax]
test esi, esi
js 0x140050aa8
cmp esi, eax
jl 0x140050ac2
mov r8d, 0x7df
lea rdx, str.C:DataVisualStudioNipponEditorImGuiimgui.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 [rbx + 0x4c80]
mov rdi, qword [r14 + rax]
mov dword [rdi + 0x68], esi
test esi, esi
jle 0x140050af5
mov eax, dword [rbx + 0x4098]
sub eax, 2
cmp dword [rdi + 0x6c], eax
jge 0x140050af5
mov rcx, rdi
call fcn.140051710
dec esi
sub r14, 8
jmp 0x140050d89
movzx ebp, byte [rdi + 0x58]
test r12b, r12b
je 0x140050b84
test dword [rdi + 4], 0x1000
jne 0x140050b84
test bpl, bpl
je 0x140050b84
cmp byte [rdi + 0x59], r15b
je 0x140050b4a
mov rdx, rdi
lea rcx, [rsp + 0xb8]
call qword [rbx + 0x3940]
movss xmm0, dword [rax]
movss xmm1, dword [rax + 4]
movss dword [rdi + 0x108], xmm0
movss dword [rdi + 0x10c], xmm1
movss dword [rdi + 8], xmm0
movss dword [rdi + 0xc], xmm1
cmp byte [rdi + 0x5a], r15b
je 0x140050b84
mov rdx, rdi
lea rcx, [rsp + 0xc0]
call qword [rbx + 0x3950]
movss xmm0, dword [rax]
movss xmm1, dword [rax + 4]
movss dword [rdi + 0x110], xmm0
movss dword [rdi + 0x114], xmm1
movss dword [rdi + 0x10], xmm0
movss dword [rdi + 0x14], xmm1
movss xmm0, dword [rdi + 8]
lea rcx, [rsp + 0x30]
movss xmm1, dword [rdi + 0xc]
movss dword [rsp + 0x30], xmm0
addss xmm0, dword [rdi + 0x10]
movss dword [rsp + 0x34], xmm1
addss xmm1, dword [rdi + 0x14]
movss dword [rsp + 0x38], xmm0
movss dword [rsp + 0x3c], xmm1
call fcn.140052750
test dword [rdi + 4], 0x800
lea rdx, [rdi + 0x78]
movsd xmm4, qword [rdi + 0x130]
movsd xmm3, qword [rdi + 0x138]
movaps xmm0, xmm4
movss xmm6, dword [rdi + 0xc]
movaps xmm2, xmm4
movss xmm5, dword [rdi + 8]
movaps xmm1, xmm6
shufps xmm0, xmm0, 0x55
addss xmm2, xmm5
addss xmm1, xmm0
mov word [rdi + 0x8a], ax
movss xmm0, dword [rdi + 0x10]
subss xmm0, xmm4
mov qword [rdi + 0x138], r15
mov qword [rdi + 0x130], r15
movss dword [rdi + 0x18], xmm2
movaps xmm2, xmm7
movss dword [rdi + 0x1c], xmm1
movss xmm1, dword [rdi + 0x14]
addss xmm0, xmm3
movsd qword [rdi + 0x128], xmm3
movsd qword [rdi + 0x120], xmm4
maxss xmm2, xmm0
movaps xmm0, xmm4
shufps xmm0, xmm0, 0x55
subss xmm1, xmm0
movaps xmm0, xmm7
addss xmm1, dword [rdi + 0x12c]
movss dword [rdi + 0x20], xmm2
mov dword [rdi + 0x80], 0x3f800000
maxss xmm0, xmm1
movss dword [rdi + 0x24], xmm0
subss xmm5, dword [rdx]
subss xmm6, dword [rdx + 4]
je 0x140050c8f
ucomiss xmm5, xmm7
jp 0x140050c83
jne 0x140050c83
ucomiss xmm6, xmm7
jp 0x140050c83
je 0x140050c8f
lea r8, [rdi + 8]
mov rcx, rdi
call fcn.140050310
mov rax, qword [rbx + 0x3998]
test rax, rax
je 0x140050caa
test bpl, bpl
je 0x140050caa
mov rcx, rdi
call rax
movaps xmm6, xmm0
jmp 0x140050d0e
movsx rax, word [rdi + 0x8a]
cmp ax, 0xffff
je 0x140050cfe
mov rbp, rax
test eax, eax
js 0x140050cc7
cmp ebp, dword [rbx + 0x39d8]
jl 0x140050ce1
mov r8d, 0x7df
lea rdx, str.C:DataVisualStudioNipponEditorImGuiimgui.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 [rbx + 0x39e0]
lea rcx, [rbp*2]
add rcx, rbp
add rcx, rcx
movss xmm6, dword [rax + rcx*8 + 0x20]
jmp 0x140050d0e
movss xmm6, dword [rdi + 0x28]
ucomiss xmm6, xmm7
jp 0x140050d0e
jne 0x140050d0e
movaps xmm6, xmm8
movss xmm0, dword [rdi + 0x28]
ucomiss xmm0, xmm7
jp 0x140050d1a
je 0x140050d7c
ucomiss xmm6, xmm0
jp 0x140050d21
je 0x140050d7c
test dword [rbx + 8], 0x4000
movaps xmm5, xmm6
divss xmm5, xmm0
je 0x140050d7c
mov rcx, qword [rdi + 0x60]
test rcx, rcx
je 0x140050d44
movaps xmm1, xmm5
call fcn.1400366d0
jmp 0x140050d7c
mov rax, qword [0x140213af0]
mov rdx, qword [rax + 0x40e8]
movsxd rax, dword [rax + 0x40e0]
lea r8, [rdx + rax*8]
cmp rdx, r8
je 0x140050d7c
mov rcx, qword [rdx]
cmp qword [rcx + 0x40], rdi
jne 0x140050d73
movaps xmm1, xmm5
call fcn.1400366d0
add rdx, 8
cmp rdx, r8
jne 0x140050d62
mov r12d, dword [rsp + 0xb0]
movss dword [rdi + 0x28], xmm6
mov eax, dword [rbx + 0x4c78]
inc esi
add r14, 8
cmp esi, eax
jl 0x140050aa0
movaps xmm8, xmmword [rsp + 0x40]
movaps xmm6, xmmword [rsp + 0x60]
mov dword [rbx + 0x4ce0], 0x7f7fffff
mov dword [rbx + 0x4ce4], 0x7f7fffff
mov dword [rbx + 0x4ce8], 0xff7fffff
mov dword [rbx + 0x4cec], 0xff7fffff
movss xmm2, dword [0x1401e8f94]
movaps xmm4, xmm2
movss xmm3, dword [0x1401e8f20]
movaps xmm7, xmmword [rsp + 0x50]
mov r14, qword [rsp + 0x70]
mov rbp, qword [rsp + 0xc8]
cmp dword [rbx + 0x39d8], r15d
jne 0x140050f21
movsd xmm0, qword [r13 + 8]
movsd qword [rbx + 0x4cb0], xmm0
movsd xmm1, qword [r13 + 0x10]
movsd qword [rbx + 0x4cb8], xmm1
movsd xmm0, qword [r13 + 0x18]
movsd qword [rbx + 0x4cc0], xmm0
movsd xmm1, qword [r13 + 0x20]
movsd qword [rbx + 0x4cc8], xmm1
mov eax, dword [r13 + 0x28]
mov dword [rbx + 0x4cd0], eax
movss xmm5, dword [rbx + 0x4ce0]
movss xmm0, dword [rbx + 0x4cc0]
comiss xmm5, xmm0
jbe 0x140050e64
movss dword [rbx + 0x4ce0], xmm0
movaps xmm5, xmm0
movss xmm3, dword [rbx + 0x4ce4]
movss xmm0, dword [rbx + 0x4cc4]
comiss xmm3, xmm0
jbe 0x140050e84
movss dword [rbx + 0x4ce4], xmm0
movaps xmm3, xmm0
movss xmm2, dword [rbx + 0x4ce8]
movss xmm0, dword [rbx + 0x4cc0]
comiss xmm0, xmm2
jbe 0x140050ea4
movss dword [rbx + 0x4ce8], xmm0
movaps xmm2, xmm0
movss xmm4, dword [rbx + 0x4cec]
movss xmm0, dword [rbx + 0x4cc4]
comiss xmm0, xmm4
jbe 0x140050ec4
movss dword [rbx + 0x4cec], xmm0
movaps xmm4, xmm0
movss xmm1, dword [rbx + 0x4cc0]
addss xmm1, dword [rbx + 0x4cc8]
movss xmm0, dword [rbx + 0x4ccc]
addss xmm0, dword [rbx + 0x4cc4]
comiss xmm5, xmm1
jbe 0x140050ef1
movss dword [rbx + 0x4ce0], xmm1
comiss xmm3, xmm0
jbe 0x140050f01
movss dword [rbx + 0x4ce4], xmm0
movaps xmm3, xmm0
comiss xmm1, xmm2
jbe 0x140050f11
movss dword [rbx + 0x4ce8], xmm1
movaps xmm2, xmm1
comiss xmm0, xmm4
jbe 0x140050f21
movss dword [rbx + 0x4cec], xmm0
movaps xmm4, xmm0
mov rcx, qword [rbx + 0x39e0]
movsxd rax, dword [rbx + 0x39d8]
lea rdx, [rax + rax*2]
shl rdx, 4
add rdx, rcx
cmp rcx, rdx
je 0x140051006
movss xmm5, dword [rbx + 0x4ce0]
lea rax, [rcx + 0x14]
nop
movss xmm0, dword [rax - 4]
comiss xmm5, xmm0
jbe 0x140050f65
movss dword [rbx + 0x4ce0], xmm0
movaps xmm5, xmm0
movss xmm0, dword [rax]
comiss xmm3, xmm0
jbe 0x140050f79
movss dword [rbx + 0x4ce4], xmm0
movaps xmm3, xmm0
movss xmm0, dword [rax - 4]
comiss xmm0, xmm2
jbe 0x140050f8e
movss dword [rbx + 0x4ce8], xmm0
movaps xmm2, xmm0
movss xmm0, dword [rax]
comiss xmm0, xmm4
jbe 0x140050fa2
movss dword [rbx + 0x4cec], xmm0
movaps xmm4, xmm0
movss xmm1, dword [rax - 4]
addss xmm1, dword [rax + 4]
movss xmm0, dword [rax + 8]
addss xmm0, dword [rax]
comiss xmm5, xmm1
jbe 0x140050fc5
movss dword [rbx + 0x4ce0], xmm1
movaps xmm5, xmm1
comiss xmm3, xmm0
jbe 0x140050fd5
movss dword [rbx + 0x4ce4], xmm0
movaps xmm3, xmm0
comiss xmm1, xmm2
jbe 0x140050fe5
movss dword [rbx + 0x4ce8], xmm1
movaps xmm2, xmm1
comiss xmm0, xmm4
jbe 0x140050ff5
movss dword [rbx + 0x4cec], xmm0
movaps xmm4, xmm0
add rcx, 0x30
add rax, 0x30
cmp rcx, rdx
jne 0x140050f50
test r12b, r12b
mov r12, qword [rsp + 0x78]
jne 0x14005101c
mov qword [rbx + 0x4c98], r13
jmp 0x140051187
test dword [rbx + 0xc], 0x800
je 0x14005106e
mov edx, dword [rbx + 0xe64]
test edx, edx
je 0x140051097
mov rax, qword [0x140213af0]
mov rcx, qword [rax + 0x4c80]
movsxd rax, dword [rax + 0x4c78]
lea r8, [rcx + rax*8]
cmp rcx, r8
je 0x140051060
nop dword [rax]
mov rdi, qword [rcx]
cmp dword [rdi], edx
je 0x140051063
add rcx, 8
cmp rcx, r8
jne 0x140051050
mov rdi, r15
test rdi, rdi
je 0x14005107d
test byte [rdi + 4], 0x80
je 0x14005107d
lea rcx, [rbx + 0xe48]
call fcn.140050620
mov rdi, rax
lea rcx, [rbx + 0x4ca0]
mov rsi, rcx
test rdi, rdi
je 0x1400510a4
mov qword [rcx], rdi
mov rdx, rdi
mov rcx, rdi
jmp 0x1400510e2
lea rcx, [rbx + 0x4ca0]
mov rdi, r15
mov rsi, rcx
mov rcx, qword [rcx]
mov rdx, rcx
test rcx, rcx
jne 0x1400510e2
cmp dword [rbx + 0x4c78], r15d
jg 0x1400510d2
mov r8d, 0x7df
lea rdx, str.C:DataVisualStudioNipponEditorImGuiimgui.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 [rbx + 0x4c80]
mov rcx, qword [rax]
mov qword [rsi], rcx
mov rdx, rcx
mov rax, qword [rbx + 0x4158]
test rax, rax
je 0x1400510f7
mov rax, qword [rax + 0x40]
test rax, rax
jne 0x1400510fa
mov rax, rcx
mov qword [rbx + 0x4c98], rax
movzx ecx, byte [rbx + 0x4f34]
test cl, cl
je 0x140051134
test rdi, rdi
jne 0x140051130
mov rdi, rdx
mov rcx, rax
test rdi, rdi
je 0x140051168
cmp rdi, rax
je 0x140051168
test byte [rdi + 4], 0x80
jne 0x140051168
mov qword [rbx + 0x4c98], rdi
jmp 0x140051187
test cl, cl
jne 0x140051114
cmp dword [rbx + 0x41a4], r15d
je 0x140051114
mov rax, qword [0x140213af0]
cmp byte [rax + r15 + 0xe50], 0
jne 0x140051161
inc r15
cmp r15, 5
jl 0x140051144
mov rax, qword [rbx + 0x4c98]
jmp 0x140051114
mov rcx, qword [rbx + 0x4c98]
test rcx, rcx
jne 0x140051187
mov r8d, 0x3a53
lea rdx, str.C:DataVisualStudioNipponEditorImGuiimgui.cpp
lea rcx, str.g.MouseViewport___0
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__wassert]
mov rdi, qword [rsp + 0x80]
add rsp, 0x88
pop r15
pop r13
pop rsi
pop rbx
ret