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

Disassembly:
mov r11, rsp
push rbp
push rdi
sub rsp, 0xe8
mov rax, qword [0x180583020]
xor rax, rsp
mov qword [rsp + 0x70], rax
mov rdi, qword [0x18059fbe8]
mov qword [r11 + 8], rbx
mov qword [r11 + 0x10], rsi
mov qword [r11 + 0x18], r12
test byte [rdi + 8], 2
mov qword [r11 - 0x18], r13
mov qword [r11 - 0x28], r15
movaps xmmword [r11 - 0x78], xmm10
mov byte [rdi + 0xdb], 0
je 0x18004c147
test byte [rdi + 0xc], 1
je 0x18004c147
movdqa xmm0, xmmword [0x18056b6c0]
lea rbx, [rsp + 0x50]
movdqa xmm1, xmmword [0x18056b6d0]
mov bpl, 1
movdqu xmmword [rsp + 0x50], xmm0
movdqu xmmword [rsp + 0x60], xmm1
mov ecx, dword [rbx]
call fcn.180044a80
test al, al
je 0x18004c137
mov dword [rdi + 0x48e4], 3
add rbx, 4
lea rax, [rsp + 0x70]
cmp rbx, rax
jne 0x18004c122
jmp 0x18004c14a
xor bpl, bpl
movzx r15d, byte [rdi + 8]
movdqa xmm0, xmmword [0x18056b6b0]
and r15b, 1
mov byte [rsp + 0x20], r15b
mov qword [rsp + 0xd8], r14
movdqu xmmword [rsp + 0x30], xmm0
mov dword [rsp + 0x40], 0x201
mov dword [rsp + 0x44], 0x203
mov dword [rsp + 0x48], 0x204
je 0x18004c206
lea rsi, [rsp + 0x30]
nop dword [rax]
mov ebx, dword [rsi]
mov edx, ebx
mov rcx, qword [0x18059fbe8]
call fcn.1800441c0
cmp byte [rax], 0
je 0x18004c1f8
lea eax, [rbx - 0x200]
cmp eax, 0x8b
jbe 0x18004c1da
cmp ebx, 0x1000
je 0x18004c1da
cmp ebx, 0x2000
je 0x18004c1da
cmp ebx, 0x4000
je 0x18004c1da
cmp ebx, 0x8000
je 0x18004c1da
cmp ebx, 0x800
jne 0x18004c1ee
mov rcx, qword [0x18059fbe8]
mov edx, ebx
call fcn.1800320c0
cmp byte [rax + 8], 0
jne 0x18004c1f8
mov dword [rdi + 0x48e4], 2
add rsi, 4
lea rax, [rsp + 0x4c]
cmp rsi, rax
jne 0x18004c190
xor r13d, r13d
cmp dword [rdi + 0x48f4], r13d
je 0x18004c318
mov rbx, qword [0x18059fbe8]
mov r9, qword [rbx + 0x48b0]
test r9, r9
je 0x18004c318
test byte [rbx + 0x5c9c], 8
je 0x18004c253
mov r9, qword [r9 + 8]
lea rcx, str._nav__NavInitRequest:_ApplyResult:_NavID_0x_08X_in_Layer__d_Window___s__n
mov r8d, dword [rbx + 0x48e8]
mov edx, dword [rbx + 0x48f4]
call fcn.180059f60
mov rsi, qword [0x18059fbe8]
movsxd r14, dword [rbx + 0x48e8]
mov r15d, dword [rbx + 0x48f4]
cmp qword [rsi + 0x48b0], r13
jne 0x18004c28b
mov r8d, 0x2982
lea rdx, str.C:UsersEtoShinya_source_reposMmintyImGuiImGuiimgui.cpp
lea rcx, str.g.NavWindow___0
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__wassert]
cmp r14d, 1
jbe 0x18004c2ab
mov r8d, 0x2983
lea rdx, str.C:UsersEtoShinya_source_reposMmintyImGuiImGuiimgui.cpp
lea rcx, str.nav_layer__ImGuiNavLayer_Main__nav_layer__ImGuiNavLayer_Menu
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__wassert]
mov rax, qword [rsi + 0x48b0]
mov rcx, r14
mov dword [rsi + 0x48b8], r15d
add rcx, rcx
mov dword [rsi + 0x48e8], r14d
mov dword [rsi + 0x48bc], r13d
mov dword [rax + r14*4 + 0x3a0], r15d
mov rax, qword [rsi + 0x48b0]
movups xmm0, xmmword [rbx + 0x48f8]
movzx r15d, byte [rsp + 0x20]
movups xmmword [rax + rcx*8 + 0x3a8], xmm0
mov byte [rbx + 0x48ec], 1
cmp byte [rbx + 0x48f2], r13b
je 0x18004c318
mov rax, qword [0x18059fbe8]
mov word [rax + 0x48ed], 1
mov byte [rax + 0x48ef], 1
mov word [rdi + 0x48f1], r13w
mov dword [rdi + 0x48f4], r13d
mov dword [rdi + 0x48d0], r13d
cmp byte [rdi + 0x4908], r13b
je 0x18004c33c
call fcn.18004d870
xor al, al
mov dword [rdi + 0x494c], r13d
mov r12d, 1
mov word [rdi + 0x4908], r13w
mov dword [rsp + 0x24], eax
cmp byte [rdi + 0x48ed], r13b
je 0x18004c38d
cmp byte [rdi + 0x48ec], r13b
je 0x18004c38d
cmp byte [rdi + 0x48ee], r13b
jne 0x18004c38d
cmp byte [rdi + 0x48ef], r13b
je 0x18004c38d
cmp qword [rdi + 0x48b0], r13
movzx eax, al
cmovne eax, r12d
mov dword [rsp + 0x24], eax
mov byte [rdi + 0x48ed], r13b
cmp dword [rdi + 0x48e8], r12d
jbe 0x18004c3b7
mov r8d, 0x2bcf
lea rdx, str.C:UsersEtoShinya_source_reposMmintyImGuiImGuiimgui.cpp
lea rcx, str.g.NavLayer__ImGuiNavLayer_Main__g.NavLayer__ImGuiNavLayer_Menu
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__wassert]
mov rcx, qword [rdi + 0x48b0]
test rcx, rcx
je 0x18004c3f2
mov rax, rcx
cmp qword [rax + 0x378], rax
je 0x18004c3e6
test dword [rax + 0x14], 0x14000000
jne 0x18004c3e6
mov rax, qword [rax + 0x368]
test rax, rax
jne 0x18004c3c6
jmp 0x18004c3f2
cmp rax, rcx
je 0x18004c3f2
mov qword [rax + 0x398], rcx
mov rax, qword [rdi + 0x48b0]
test rax, rax
je 0x18004c417
cmp qword [rax + 0x398], r13
je 0x18004c417
cmp dword [rdi + 0x48e8], r13d
jne 0x18004c417
mov qword [rax + 0x398], r13
call fcn.18004e780
test r15b, r15b
jne 0x18004c42a
test bpl, bpl
je 0x18004c593
mov rax, qword [rdi + 0x48b0]
test rax, rax
je 0x18004c593
test dword [rax + 0x14], 0x40000
jne 0x18004c593
mov byte [rdi + 0xdd], r12b
cmp dword [rdi + 0x48b8], r13d
je 0x18004c59a
lea r14, [rdi + 0x48ee]
cmp byte [r14], r13b
jne 0x18004c59a
lea r13, [rdi + 0x4a18]
movzx eax, r12b
movzx r15d, bpl
mov byte [rdi + 0xde], al
call fcn.18004dba0
cmp dword [rdi + 0x48b8], 0
mov qword [rdi + 0x48c4], 0
mov dword [rdi + 0x48c0], 0
mov dword [rdi + 0x48cc], 0
je 0x18004c6fb
lea rbx, [rdi + 0x48ee]
cmp byte [rbx], 0
mov r14, rbx
jne 0x18004c6fb
cmp qword [r13], 0
jne 0x18004c6fb
mov rax, qword [rdi + 0x48b0]
test rax, rax
je 0x18004c6fb
test dword [rax + 0x14], 0x40000
jne 0x18004c6fb
movzx esi, byte [rsp + 0x20]
test sil, sil
je 0x18004c523
mov rcx, qword [0x18059fbe8]
mov edx, 0x20c
call fcn.1800441c0
cmp byte [rax], 0
je 0x18004c523
mov rcx, qword [0x18059fbe8]
mov edx, 0x20c
call fcn.1800320c0
cmp byte [rax + 8], 0
je 0x18004c559
test bpl, bpl
je 0x18004c5ba
mov rcx, qword [0x18059fbe8]
mov edx, 0x26e
call fcn.1800441c0
cmp byte [rax], 0
je 0x18004c5ba
mov rcx, qword [0x18059fbe8]
mov edx, 0x26e
call fcn.1800320c0
cmp byte [rax + 8], 0
jne 0x18004c5ba
movzx r14d, r12b
test sil, sil
je 0x18004c575
xor r8d, r8d
xor edx, edx
mov ecx, 0x20c
call fcn.180044b00
test al, al
jne 0x18004c58d
test bpl, bpl
je 0x18004c5bd
xor r8d, r8d
xor edx, edx
mov ecx, 0x26e
call fcn.180044b00
test al, al
je 0x18004c5bd
movzx r15d, r12b
jmp 0x18004c5c0
mov byte [rdi + 0xdd], r13b
lea r13, [rdi + 0x4a18]
cmp qword [r13], 0
lea r14, [rdi + 0x48ee]
jne 0x18004c472
xor al, al
jmp 0x18004c476
xor r14b, r14b
xor r15b, r15b
test sil, sil
je 0x18004c5f2
mov rcx, qword [0x18059fbe8]
mov edx, 0x20d
call fcn.1800441c0
cmp byte [rax], 0
je 0x18004c5f2
mov rcx, qword [0x18059fbe8]
mov edx, 0x20d
call fcn.1800320c0
cmp byte [rax + 8], 0
je 0x18004c624
test bpl, bpl
je 0x18004c660
mov rcx, qword [0x18059fbe8]
mov edx, 0x26d
call fcn.1800441c0
cmp byte [rax], 0
je 0x18004c660
mov rcx, qword [0x18059fbe8]
mov edx, 0x26d
call fcn.1800320c0
cmp byte [rax + 8], 0
jne 0x18004c660
cmp byte [rsp + 0x20], 0
movzx esi, r12b
je 0x18004c642
xor r8d, r8d
xor edx, edx
mov ecx, 0x20d
call fcn.180044b00
test al, al
jne 0x18004c65a
test bpl, bpl
je 0x18004c663
xor r8d, r8d
xor edx, edx
mov ecx, 0x26d
call fcn.180044b00
test al, al
je 0x18004c663
movzx edx, r12b
jmp 0x18004c665
xor sil, sil
xor dl, dl
mov ecx, dword [rdi + 0x3f30]
test ecx, ecx
jne 0x18004c68c
test r15b, r15b
je 0x18004c694
mov eax, dword [rdi + 0x48b8]
mov dword [rdi + 0x48c0], eax
mov dword [rdi + 0x48cc], 2
jmp 0x18004c694
cmp ecx, dword [rdi + 0x48b8]
jne 0x18004c6d1
test dl, dl
je 0x18004c6ab
mov eax, dword [rdi + 0x48b8]
mov dword [rdi + 0x48c0], eax
mov dword [rdi + 0x48cc], r12d
test ecx, ecx
je 0x18004c6b7
cmp ecx, dword [rdi + 0x48b8]
jne 0x18004c6d1
test r14b, r14b
jne 0x18004c6c1
test sil, sil
je 0x18004c6cd
mov eax, dword [rdi + 0x48b8]
mov dword [rdi + 0x48c4], eax
test ecx, ecx
je 0x18004c6dc
mov r14, rbx
cmp ecx, dword [rdi + 0x48b8]
jne 0x18004c6f7
test r15b, r15b
jne 0x18004c6e8
mov r14, rbx
test dl, dl
je 0x18004c6f7
mov eax, dword [rdi + 0x48b8]
mov r14, rbx
mov dword [rdi + 0x48c8], eax
movzx r15d, bpl
mov rax, qword [rdi + 0x48b0]
test rax, rax
je 0x18004c713
test dword [rax + 0x14], 0x40000
je 0x18004c713
mov byte [r14], r12b
mov eax, dword [rdi + 0x48c0]
test eax, eax
je 0x18004c73f
cmp dword [rdi + 0x48c4], eax
je 0x18004c73f
mov r8d, 0x2bfc
lea rdx, str.C:UsersEtoShinya_source_reposMmintyImGuiImGuiimgui.cpp
lea rcx, str.g.NavActivateDownId__g.NavActivateId
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__wassert]
mov eax, dword [rdi + 0x48dc]
test eax, eax
je 0x18004c767
mov dword [rdi + 0x48c8], eax
mov dword [rdi + 0x48c4], eax
mov dword [rdi + 0x48c0], eax
mov eax, dword [rdi + 0x48e0]
mov dword [rdi + 0x48cc], eax
mov dword [rdi + 0x48dc], 0
call fcn.18004cd00
cmp dword [rdi + 0x4918], 0xffffffff
xorps xmm10, xmm10
jne 0x18004c90b
mov rbx, qword [0x18059fbe8]
cmp dword [rbx + 0x4918], 0xffffffff
mov rsi, qword [rbx + 0x48b0]
je 0x18004c7b8
mov r8d, 0x2cce
lea rdx, str.C:UsersEtoShinya_source_reposMmintyImGuiImGuiimgui.cpp
lea rcx, str.g.NavMoveDir__ImGuiDir_None
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__wassert]
test rsi, rsi
je 0x18004c90b
cmp qword [rbx + 0x4a18], 0
jne 0x18004c90b
test dword [rsi + 0x14], 0x40000
jne 0x18004c90b
mov rcx, qword [0x18059fbe8]
mov edx, 0x200
call fcn.1800441c0
cmp byte [rax], 0
je 0x18004c90b
movss xmm0, dword [rax + 4]
comiss xmm10, xmm0
ja 0x18004c90b
ucomiss xmm0, xmm10
jp 0x18004c80d
je 0x18004c839
mov rax, qword [0x18059fbe8]
movss xmm1, dword [rax + 0x3c]
comiss xmm0, xmm1
jbe 0x18004c90b
movss xmm2, dword [rax + 0x40]
mov ecx, 0x200
call fcn.180044410
test eax, eax
jle 0x18004c90b
mov rcx, qword [0x18059fbe8]
cmp byte [rcx + 0x4744], 0
je 0x18004c856
cmp dword [rcx + 0x3f30], 0xffffffff
jne 0x18004c90b
mov edx, 0x200
call fcn.1800320c0
cmp dword [rax], 0xffffffff
jne 0x18004c90b
cmp byte [rbx + 0xe24], 0
jne 0x18004c90b
cmp byte [rbx + 0xe26], 0
jne 0x18004c90b
movzx eax, byte [rbx + 0xe25]
test byte [rbx + 8], r12b
je 0x18004c8b3
test al, al
je 0x18004c89c
mov r12d, 0xffffffff
jmp 0x18004c8cd
cmp byte [rbx + 0x48ee], r12b
jne 0x18004c8cd
cmp dword [rbx + 0x3f30], 0
jne 0x18004c8cd
xor r12d, r12d
jmp 0x18004c8cd
test al, al
je 0x18004c8bf
mov r12d, 0xffffffff
jmp 0x18004c8cd
xor r12d, r12d
cmp dword [rbx + 0x3f30], r12d
setne r12b
mov dword [rbx + 0x4948], r12d
mov eax, 0x21
cmp byte [rsi + 0xbc], 0
mov r9d, 3
mov r8d, 0x400
cmovne r9d, eax
sar r12d, 0x1f
lea ecx, [rax - 0x22]
lea edx, [r12 + 3]
call fcn.18004b740
mov dword [rbx + 0x494c], 0xffffffff
mov rax, qword [0x18059fbe8]
mov r12, qword [rsp + 0x110]
cmp byte [rax + 0x4909], 0
jne 0x18004c935
cmp byte [rax + 0x48f1], 0
jne 0x18004c935
mov byte [rax + 0x48f0], 0
jmp 0x18004c964
cmp qword [rax + 0x48b0], 0
movzx ebp, r15b
mov byte [rax + 0x48f0], 1
jne 0x18004c964
mov r8d, 0x2b4d
lea rdx, str.C:UsersEtoShinya_source_reposMmintyImGuiImGuiimgui.cpp
lea rcx, str.g.NavWindow___0
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__wassert]
mov rsi, qword [rdi + 0x48b0]
mov r15, qword [rsp + 0xd0]
mov byte [rdi + 0x48ec], 0
test rsi, rsi
je 0x18004cc4b
test dword [rsi + 0x14], 0x40000
jne 0x18004cc4b
cmp qword [r13], 0
jne 0x18004cc4b
mov rax, qword [rsi]
movaps xmmword [rsp + 0xa0], xmm8
movaps xmmword [rsp + 0x90], xmm9
movss xmm0, dword [rax + 0x3c0c]
mov rax, qword [rsi + 0x368]
mulss xmm0, dword [rsi + 0x290]
test rax, rax
je 0x18004c9d4
mulss xmm0, dword [rax + 0x290]
cmp word [rsi + 0x15c], 0
mulss xmm0, dword [0x18056b4ac]
mov ecx, dword [rdi + 0x4918]
movss xmm8, dword [0x18056b398]
mulss xmm0, dword [rdi + 0x18]
addss xmm0, dword [0x18056b344]
cvttss2si eax, xmm0
movd xmm9, eax
cvtdq2ps xmm9, xmm9
jne 0x18004cab9
cmp byte [rsi + 0x162], 0
je 0x18004cab9
cmp ecx, 0xffffffff
je 0x18004cab9
movss xmm1, dword [0x18056b560]
test ecx, ecx
je 0x18004ca40
cmp ecx, 1
jne 0x18004ca77
movaps xmm0, xmm8
jmp 0x18004ca43
movaps xmm0, xmm1
mulss xmm0, xmm9
mov dword [rsi + 0x9c], 0
mov dword [rsi + 0xa4], 0
addss xmm0, dword [rsi + 0x84]
cvttss2si eax, xmm0
movd xmm0, eax
cvtdq2ps xmm0, xmm0
movss dword [rsi + 0x94], xmm0
cmp ecx, 2
je 0x18004ca85
cmp ecx, 3
jne 0x18004cab9
movaps xmm1, xmm8
mulss xmm1, xmm9
mov dword [rsi + 0xa0], 0
mov dword [rsi + 0xa8], 0
addss xmm1, dword [rsi + 0x88]
cvttss2si eax, xmm1
movd xmm0, eax
cvtdq2ps xmm0, xmm0
movss dword [rsi + 0x98], xmm0
test bpl, bpl
je 0x18004cc39
mov rcx, qword [0x18059fbe8]
mov edx, 0x27c
movaps xmmword [rsp + 0xc0], xmm6
movaps xmmword [rsp + 0xb0], xmm7
call fcn.1800441c0
mov rcx, qword [0x18059fbe8]
mov edx, 0x27b
mov rbx, rax
call fcn.1800441c0
movss xmm6, dword [rbx + 0xc]
mov edx, 0x27a
mov rcx, qword [0x18059fbe8]
subss xmm6, dword [rax + 0xc]
call fcn.1800441c0
mov rcx, qword [0x18059fbe8]
mov edx, 0x279
mov rbx, rax
call fcn.1800441c0
movss xmm7, dword [rbx + 0xc]
mov edx, 0x273
mov rcx, qword [0x18059fbe8]
subss xmm7, dword [rax + 0xc]
call fcn.1800441c0
cmp byte [rax], 0
je 0x18004cb68
mov rcx, qword [0x18059fbe8]
mov edx, 0x273
call fcn.1800320c0
cmp byte [rax + 8], 0
jne 0x18004cb68
movss xmm8, dword [0x18056b310]
jmp 0x18004cb9e
mov rcx, qword [0x18059fbe8]
mov edx, 0x274
call fcn.1800441c0
cmp byte [rax], 0
je 0x18004cb9e
mov rcx, qword [0x18059fbe8]
mov edx, 0x274
call fcn.1800320c0
cmp byte [rax + 8], 0
jne 0x18004cb9e
movss xmm8, dword [0x18056b464]
ucomiss xmm7, xmm10
jp 0x18004cba6
je 0x18004cbe8
cmp byte [rsi + 0xb4], 0
je 0x18004cbe8
mulss xmm7, xmm9
mov dword [rsi + 0x9c], 0
mov dword [rsi + 0xa4], 0
mulss xmm7, xmm8
addss xmm7, dword [rsi + 0x84]
cvttss2si eax, xmm7
movd xmm0, eax
cvtdq2ps xmm0, xmm0
movss dword [rsi + 0x94], xmm0
ucomiss xmm6, xmm10
movaps xmm7, xmmword [rsp + 0xb0]
jp 0x18004cbf8
je 0x18004cc31
mulss xmm6, xmm9
mov dword [rsi + 0xa0], 0
mov dword [rsi + 0xa8], 0
mulss xmm6, xmm8
addss xmm6, dword [rsi + 0x88]
cvttss2si eax, xmm6
movd xmm0, eax
cvtdq2ps xmm0, xmm0
movss dword [rsi + 0x98], xmm0
movaps xmm6, xmmword [rsp + 0xc0]
movaps xmm8, xmmword [rsp + 0xa0]
movaps xmm9, xmmword [rsp + 0x90]
cmp byte [rsp + 0x20], 0
movaps xmm10, xmmword [rsp + 0x80]
mov r13, qword [rsp + 0xe0]
mov rsi, qword [rsp + 0x108]
mov rbx, qword [rsp + 0x100]
jne 0x18004cc85
test bpl, bpl
jne 0x18004cc85
mov byte [r14], 1
mov byte [rdi + 0x48ef], bpl
jmp 0x18004ccd2
cmp byte [rsp + 0x24], 0
je 0x18004ccd2
test byte [rdi + 8], 4
je 0x18004ccd2
test byte [rdi + 0xc], 4
je 0x18004ccd2
lea rcx, [rsp + 0x24]
call fcn.18004bd20
movss xmm0, dword [rax]
movss xmm1, dword [rax + 4]
movss dword [rdi + 0x36f0], xmm0
movss dword [rdi + 0x36f4], xmm1
movss dword [rdi + 0xe08], xmm0
movss dword [rdi + 0xe0c], xmm1
mov byte [rdi + 0xdb], 1
mov r14, qword [rsp + 0xd8]
mov dword [rdi + 0x4944], 0
mov rcx, qword [rsp + 0x70]
xor rcx, rsp
call fcn.1800f15b0
add rsp, 0xe8
pop rdi
pop rbp
ret