// File: /workspace/github_cpp_makefile_star2_O1/Ciaxur[P]yagb-emu/include/imgui/imgui_demo.cpp
// Function: ShowExampleMenuFile()
static void ShowExampleMenuFile()
{
    ImGui::MenuItem("(demo menu)", NULL, false, false);
    if (ImGui::MenuItem("New")) {}
    if (ImGui::MenuItem("Open", "Ctrl+O")) {}
    if (ImGui::BeginMenu("Open Recent"))
    {
        ImGui::MenuItem("fish_hat.c");
        ImGui::MenuItem("fish_hat.inl");
        ImGui::MenuItem("fish_hat.h");
        if (ImGui::BeginMenu("More.."))
        {
            ImGui::MenuItem("Hello");
            ImGui::MenuItem("Sailor");
            if (ImGui::BeginMenu("Recurse.."))
            {
                ShowExampleMenuFile();
                ImGui::EndMenu();
            }
            ImGui::EndMenu();
        }
        ImGui::EndMenu();
    }
    if (ImGui::MenuItem("Save", "Ctrl+S")) {}
    if (ImGui::MenuItem("Save As..")) {}

    ImGui::Separator();
    if (ImGui::BeginMenu("Options"))
    {
        static bool enabled = true;
        ImGui::MenuItem("Enabled", "", &enabled);
        ImGui::BeginChild("child", ImVec2(0, 60), true);
        for (int i = 0; i < 10; i++)
            ImGui::Text("Scrolling Text %d", i);
        ImGui::EndChild();
        static float f = 0.5f;
        static int n = 0;
        ImGui::SliderFloat("Value", &f, 0.0f, 1.0f);
        ImGui::InputFloat("Input", &f, 0.1f);
        ImGui::Combo("Combo", &n, "Yes\0No\0Maybe\0\0");
        ImGui::EndMenu();
    }

    if (ImGui::BeginMenu("Colors"))
    {
        float sz = ImGui::GetTextLineHeight();
        for (int i = 0; i < ImGuiCol_COUNT; i++)
        {
            const char* name = ImGui::GetStyleColorName((ImGuiCol)i);
            ImVec2 p = ImGui::GetCursorScreenPos();
            ImGui::GetWindowDrawList()->AddRectFilled(p, ImVec2(p.x + sz, p.y + sz), ImGui::GetColorU32((ImGuiCol)i));
            ImGui::Dummy(ImVec2(sz, sz));
            ImGui::SameLine();
            ImGui::MenuItem(name);
        }
        ImGui::EndMenu();
    }

    // Here we demonstrate appending again to the "Options" menu (which we already created above)
    // Of course in this demo it is a little bit silly that this function calls BeginMenu("Options") twice.
    // In a real code-base using it would make senses to use this feature from very different code locations.
    if (ImGui::BeginMenu("Options")) // <-- Append!
    {
        static bool b = true;
        ImGui::Checkbox("SomeOption", &b);
        ImGui::EndMenu();
    }

    if (ImGui::BeginMenu("Disabled", false)) // Disabled
    {
        IM_ASSERT(0);
    }
    if (ImGui::MenuItem("Checked", NULL, true)) {}
    if (ImGui::MenuItem("Quit", "Alt+F4")) {}
}

// Assembly:
pushq %rbp
movq %rsp, %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $0x18, %rsp
leaq 0x6079c(%rip), %rdi     # 0xc723b
xorl %esi, %esi
xorl %edx, %edx
xorl %ecx, %ecx
callq 0xa5164
leaq 0x60796(%rip), %rdi     # 0xc7247
xorl %esi, %esi
xorl %edx, %edx
movl $0x1, %ecx
callq 0xa5164
leaq 0x60785(%rip), %rdi     # 0xc724b
leaq 0x60783(%rip), %rsi     # 0xc7250
xorl %edx, %edx
movl $0x1, %ecx
callq 0xa5164
leaq 0x60777(%rip), %rdi     # 0xc7257
movl $0x1, %esi
callq 0xa4890
testb %al, %al
je 0x66b99
leaq 0x6076a(%rip), %rdi     # 0xc7263
xorl %esi, %esi
xorl %edx, %edx
movl $0x1, %ecx
callq 0xa5164
leaq 0x60760(%rip), %rdi     # 0xc726e
xorl %esi, %esi
xorl %edx, %edx
movl $0x1, %ecx
callq 0xa5164
leaq 0x60758(%rip), %rdi     # 0xc727b
xorl %esi, %esi
xorl %edx, %edx
movl $0x1, %ecx
callq 0xa5164
leaq 0x6074e(%rip), %rdi     # 0xc7286
movl $0x1, %esi
callq 0xa4890
testb %al, %al
je 0x66b94
leaq 0x5be66(%rip), %rdi     # 0xc29b3
xorl %esi, %esi
xorl %edx, %edx
movl $0x1, %ecx
callq 0xa5164
leaq 0x59659(%rip), %rdi     # 0xc01bb
xorl %esi, %esi
xorl %edx, %edx
movl $0x1, %ecx
callq 0xa5164
leaq 0x60716(%rip), %rdi     # 0xc728d
movl $0x1, %esi
callq 0xa4890
testb %al, %al
je 0x66b8f
callq 0x66a87
callq 0xa50fd
callq 0xa50fd
callq 0xa50fd
leaq 0x5819d(%rip), %rdi     # 0xbed3d
leaq 0x606f0(%rip), %rsi     # 0xc7297
xorl %edx, %edx
movl $0x1, %ecx
callq 0xa5164
leaq 0x606e4(%rip), %rdi     # 0xc729e
xorl %esi, %esi
xorl %edx, %edx
movl $0x1, %ecx
callq 0xa5164
callq 0x9552a
leaq 0x508b2(%rip), %rdi     # 0xb7486
movl $0x1, %esi
callq 0xa4890
testb %al, %al
je 0x66cbe
leaq 0x5f80c(%rip), %rdi     # 0xc63f9
leaq 0x50329(%rip), %rsi     # 0xb6f1d
leaq 0x96ee5(%rip), %rdx     # 0xfdae0
movl $0x1, %ecx
callq 0xa5446
movabsq $0x4270000000000000, %rax # imm = 0x4270000000000000
leaq -0x38(%rbp), %rsi
movq %rax, (%rsi)
leaq 0x5b557(%rip), %rdi     # 0xc2174
movl $0x1, %edx
xorl %ecx, %ecx
callq 0x53078
leaq 0x60678(%rip), %rbx     # 0xc72a8
xorl %r14d, %r14d
movq %rbx, %rdi
movl %r14d, %esi
xorl %eax, %eax
callq 0x92024
incl %r14d
cmpl $0xa, %r14d
jne 0x66c33
callq 0x53104
leaq 0x5cb51(%rip), %rdi     # 0xc37a6
leaq 0x96e88(%rip), %rbx     # 0xfdae4
leaq 0x6dbf0(%rip), %r14     # 0xd4853
movss 0x50379(%rip), %xmm1    # 0xb6fe4
xorps %xmm0, %xmm0
movq %rbx, %rsi
movq %r14, %rdx
xorl %ecx, %ecx
callq 0x99114
leaq 0x59826(%rip), %rdi     # 0xc04a8
movss 0x50bfe(%rip), %xmm0    # 0xb7888
xorps %xmm1, %xmm1
movq %rbx, %rsi
movq %r14, %rdx
xorl %ecx, %ecx
callq 0x9cf74
leaq 0x5b279(%rip), %rdi     # 0xc1f1a
leaq 0x98084(%rip), %rsi     # 0xfed2c
leaq 0x56605(%rip), %rdx     # 0xbd2b4
movl $0xffffffff, %ecx       # imm = 0xFFFFFFFF
callq 0x967e7
callq 0xa50fd
leaq 0x57fdb(%rip), %rdi     # 0xbeca0
movl $0x1, %esi
callq 0xa4890
testb %al, %al
je 0x66d97
xorl %ebx, %ebx
callq 0x573d2
movss %xmm0, -0x2c(%rbp)
leaq -0x38(%rbp), %r14
leaq -0x40(%rbp), %r15
movl %ebx, %edi
callq 0x44e52
movq %rax, %r12
callq 0x56ab2
movlps %xmm0, -0x38(%rbp)
callq 0x557cb
movq %rax, %r13
movss -0x38(%rbp), %xmm0
movss -0x2c(%rbp), %xmm2
addss %xmm2, %xmm0
movss -0x34(%rbp), %xmm1
addss %xmm2, %xmm1
movss %xmm0, -0x40(%rbp)
movss %xmm1, -0x3c(%rbp)
movl %ebx, %edi
movss 0x502b3(%rip), %xmm0    # 0xb6fe4
callq 0x445bd
xorps %xmm0, %xmm0
movq %r13, %rdi
movq %r14, %rsi
movq %r15, %rdx
movl %eax, %ecx
movl $0xf, %r8d
callq 0x79d4a
movss -0x2c(%rbp), %xmm0
movss %xmm0, -0x40(%rbp)
movss %xmm0, -0x3c(%rbp)
movq %r15, %rdi
callq 0x950e0
xorps %xmm0, %xmm0
movss 0x5025f(%rip), %xmm1    # 0xb6fd0
callq 0x569e1
movq %r12, %rdi
xorl %esi, %esi
xorl %edx, %edx
movl $0x1, %ecx
callq 0xa5164
incl %ebx
cmpl $0x35, %ebx
jne 0x66ceb
callq 0xa50fd
leaq 0x506e8(%rip), %rdi     # 0xb7486
movl $0x1, %esi
callq 0xa4890
testb %al, %al
je 0x66dc4
leaq 0x60507(%rip), %rdi     # 0xc72ba
leaq 0x96d2e(%rip), %rsi     # 0xfdae8
callq 0x9450c
callq 0xa50fd
leaq 0x517b1(%rip), %rdi     # 0xb857c
xorl %esi, %esi
callq 0xa4890
testb %al, %al
jne 0x66e17
leaq 0x60503(%rip), %rdi     # 0xc72e0
xorl %esi, %esi
movl $0x1, %edx
movl $0x1, %ecx
callq 0xa5164
leaq 0x604f3(%rip), %rdi     # 0xc72e8
leaq 0x604f1(%rip), %rsi     # 0xc72ed
xorl %edx, %edx
movl $0x1, %ecx
callq 0xa5164
addq $0x18, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
leaq 0x532ce(%rip), %rdi     # 0xba0ec
leaq 0x56892(%rip), %rsi     # 0xbd6b7
leaq 0x60499(%rip), %rcx     # 0xc72c5
movl $0x17ed, %edx           # imm = 0x17ED
callq 0xc140