// File: Ciaxur[P]yagb-emu/include/imgui/imgui_draw.cpp
// Function: ImGui::RenderArrowPointingAt(ImDrawList*, ImVec2, ImVec2, int, unsigned int)
void ImGui::RenderArrowPointingAt(ImDrawList* draw_list, ImVec2 pos, ImVec2 half_sz, ImGuiDir direction, ImU32 col)
{
    switch (direction)
    {
    case ImGuiDir_Left:  draw_list->AddTriangleFilled(ImVec2(pos.x + half_sz.x, pos.y - half_sz.y), ImVec2(pos.x + half_sz.x, pos.y + half_sz.y), pos, col); return;
    case ImGuiDir_Right: draw_list->AddTriangleFilled(ImVec2(pos.x - half_sz.x, pos.y + half_sz.y), ImVec2(pos.x - half_sz.x, pos.y - half_sz.y), pos, col); return;
    case ImGuiDir_Up:    draw_list->AddTriangleFilled(ImVec2(pos.x + half_sz.x, pos.y + half_sz.y), ImVec2(pos.x - half_sz.x, pos.y + half_sz.y), pos, col); return;
    case ImGuiDir_Down:  draw_list->AddTriangleFilled(ImVec2(pos.x - half_sz.x, pos.y - half_sz.y), ImVec2(pos.x + half_sz.x, pos.y - half_sz.y), pos, col); return;
    case ImGuiDir_None: case ImGuiDir_COUNT: break; // Fix warnings
    }
}

// Assembly:
pushq %rbp
movq %rsp, %rbp
subq $0x90, %rsp
movlpd %xmm0, -0x8(%rbp)
movlpd %xmm1, -0x10(%rbp)
movq %rdi, -0x18(%rbp)
movl %esi, -0x1c(%rbp)
movl %edx, -0x20(%rbp)
movl -0x1c(%rbp), %eax
incl %eax
movl %eax, %ecx
movq %rcx, -0x68(%rbp)
subl $0x5, %eax
ja 0x11d679
movq -0x68(%rbp), %rax
leaq 0x66572(%rip), %rcx     # 0x183a60
movslq (%rcx,%rax,4), %rax
addq %rcx, %rax
jmpq *%rax
movq -0x18(%rbp), %rax
movq %rax, -0x70(%rbp)
movss -0x8(%rbp), %xmm0
addss -0x10(%rbp), %xmm0
movss -0x4(%rbp), %xmm1
subss -0xc(%rbp), %xmm1
leaq -0x28(%rbp), %rdi
callq 0xbf4c0
movss -0x8(%rbp), %xmm0
addss -0x10(%rbp), %xmm0
movss -0x4(%rbp), %xmm1
addss -0xc(%rbp), %xmm1
leaq -0x30(%rbp), %rdi
callq 0xbf4c0
movq -0x70(%rbp), %rdi
movl -0x20(%rbp), %r8d
leaq -0x28(%rbp), %rsi
leaq -0x30(%rbp), %rdx
leaq -0x8(%rbp), %rcx
callq 0x113420
jmp 0x11d679
movq -0x18(%rbp), %rax
movq %rax, -0x78(%rbp)
movss -0x8(%rbp), %xmm0
subss -0x10(%rbp), %xmm0
movss -0x4(%rbp), %xmm1
addss -0xc(%rbp), %xmm1
leaq -0x38(%rbp), %rdi
callq 0xbf4c0
movss -0x8(%rbp), %xmm0
subss -0x10(%rbp), %xmm0
movss -0x4(%rbp), %xmm1
subss -0xc(%rbp), %xmm1
leaq -0x40(%rbp), %rdi
callq 0xbf4c0
movq -0x78(%rbp), %rdi
movl -0x20(%rbp), %r8d
leaq -0x38(%rbp), %rsi
leaq -0x40(%rbp), %rdx
leaq -0x8(%rbp), %rcx
callq 0x113420
jmp 0x11d679
movq -0x18(%rbp), %rax
movq %rax, -0x80(%rbp)
movss -0x8(%rbp), %xmm0
addss -0x10(%rbp), %xmm0
movss -0x4(%rbp), %xmm1
addss -0xc(%rbp), %xmm1
leaq -0x48(%rbp), %rdi
callq 0xbf4c0
movss -0x8(%rbp), %xmm0
subss -0x10(%rbp), %xmm0
movss -0x4(%rbp), %xmm1
addss -0xc(%rbp), %xmm1
leaq -0x50(%rbp), %rdi
callq 0xbf4c0
movq -0x80(%rbp), %rdi
movl -0x20(%rbp), %r8d
leaq -0x48(%rbp), %rsi
leaq -0x50(%rbp), %rdx
leaq -0x8(%rbp), %rcx
callq 0x113420
jmp 0x11d679
movq -0x18(%rbp), %rax
movq %rax, -0x88(%rbp)
movss -0x8(%rbp), %xmm0
subss -0x10(%rbp), %xmm0
movss -0x4(%rbp), %xmm1
subss -0xc(%rbp), %xmm1
leaq -0x58(%rbp), %rdi
callq 0xbf4c0
movss -0x8(%rbp), %xmm0
addss -0x10(%rbp), %xmm0
movss -0x4(%rbp), %xmm1
subss -0xc(%rbp), %xmm1
leaq -0x60(%rbp), %rdi
callq 0xbf4c0
movq -0x88(%rbp), %rdi
movl -0x20(%rbp), %r8d
leaq -0x58(%rbp), %rsi
leaq -0x60(%rbp), %rdx
leaq -0x8(%rbp), %rcx
callq 0x113420
jmp 0x11d679
jmp 0x11d679
addq $0x90, %rsp
popq %rbp
retq
nopw %cs:(%rax,%rax)