// File: /workspace/github_cpp_makefile_star2_O2/donfreiday[P]gb/./imgui/imgui.cpp
// Function: ImGui::BulletTextV(char const*, __va_list_tag*)
void ImGui::BulletTextV(const char* fmt, va_list args)
{
    ImGuiWindow* window = GetCurrentWindow();
    if (window->SkipItems)
        return;

    ImGuiState& g = *GImGui;
    const ImGuiStyle& style = g.Style;

    const char* text_begin = g.TempBuffer;
    const char* text_end = text_begin + ImFormatStringV(g.TempBuffer, IM_ARRAYSIZE(g.TempBuffer), fmt, args);
    const float line_height = g.FontSize;
    const ImVec2 label_size = CalcTextSize(text_begin, text_end, true);
    const ImRect bb(window->DC.CursorPos, window->DC.CursorPos + ImVec2(line_height + (label_size.x > 0.0f ? (style.FramePadding.x*2) : 0.0f),0) + label_size);  // Empty text doesn't add padding
    ItemSize(bb);
    if (!ItemAdd(bb, NULL))
        return;

    // Render
    const float bullet_size = line_height*0.15f;
    window->DrawList->AddCircleFilled(bb.Min + ImVec2(style.FramePadding.x + line_height*0.5f, line_height*0.5f), bullet_size, window->Color(ImGuiCol_Text));
    RenderText(bb.Min+ImVec2(g.FontSize + style.FramePadding.x*2,0), text_begin, text_end);
}

// Assembly:
pushq %rbp
movq %rsp, %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $0x38, %rsp
movq 0x3cc0e(%rip), %r14     # 0x50480
movq 0x1758(%r14), %r15
movb $0x1, 0x72(%r15)
cmpb $0x0, 0x74(%r15)
jne 0x139ee
movq %rsi, %rcx
movq %rdi, %rdx
leaq 0x2df2(%r14), %rbx
movq %rbx, %rdi
movl $0xc01, %esi            # imm = 0xC01
callq 0x8446
cltq
leaq (%r14,%rax), %r13
addq $0x2df2, %r13           # imm = 0x2DF2
movss 0x1718(%r14), %xmm0
movaps %xmm0, -0x40(%rbp)
pushq $0x1
popq %rdx
movss 0x22ad4(%rip), %xmm0    # 0x3639c
movq %rbx, %rdi
movq %r13, %rsi
callq 0xc6e3
xorps %xmm2, %xmm2
ucomiss %xmm2, %xmm0
xorps %xmm1, %xmm1
jbe 0x138eb
movss 0x1408(%r14), %xmm1
addss %xmm1, %xmm1
addss -0x40(%rbp), %xmm1
addss 0xa8(%r15), %xmm1
movss 0xac(%r15), %xmm3
addss %xmm2, %xmm3
addss %xmm0, %xmm1
shufps $0x55, %xmm0, %xmm0     # xmm0 = xmm0[1,1,1,1]
addss %xmm3, %xmm0
unpcklps %xmm0, %xmm1            # xmm1 = xmm1[0],xmm0[0],xmm1[1],xmm0[1]
movq 0xa8(%r15), %rax
leaq -0x50(%rbp), %r12
movq %rax, (%r12)
movlps %xmm1, 0x8(%r12)
xorps %xmm0, %xmm0
movq %r12, %rdi
callq 0x9af8
movq %r12, %rdi
xorl %esi, %esi
callq 0x9b28
testb %al, %al
je 0x139ee
movss 0x22add(%rip), %xmm0    # 0x3642c
movaps -0x40(%rbp), %xmm1
mulss %xmm1, %xmm0
movss %xmm0, -0x2c(%rbp)
mulss 0x22a6c(%rip), %xmm1    # 0x363d0
movss 0x1408(%r14), %xmm0
addss %xmm1, %xmm0
addss -0x50(%rbp), %xmm0
addss -0x4c(%rbp), %xmm1
movq 0x270(%r15), %r12
unpcklps %xmm1, %xmm0            # xmm0 = xmm0[0],xmm1[0],xmm0[1],xmm1[1]
movq %r13, -0x40(%rbp)
leaq -0x58(%rbp), %r13
movlps %xmm0, (%r13)
movss 0x229f6(%rip), %xmm0    # 0x36390
movq %r15, %rdi
xorl %esi, %esi
callq 0x1eae4
pushq $0xc
popq %rcx
movq %r12, %rdi
movq %r13, %rsi
movss -0x2c(%rbp), %xmm0
movl %eax, %edx
callq 0x29c92
movss 0x1408(%r14), %xmm0
addss %xmm0, %xmm0
addss 0x1718(%r14), %xmm0
addss -0x50(%rbp), %xmm0
xorps %xmm1, %xmm1
addss -0x4c(%rbp), %xmm1
unpcklps %xmm1, %xmm0            # xmm0 = xmm0[0],xmm1[0],xmm0[1],xmm1[1]
pushq $0x1
popq %rdx
movq %rbx, %rdi
movq -0x40(%rbp), %rsi
callq 0xc16e
addq $0x38, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq