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

    ImGuiState& g = *GImGui;
    const ImGuiStyle& style = g.Style;
    const float w = CalcItemWidth();

    const ImVec2 label_size = CalcTextSize(label, NULL, true);
    const ImRect value_bb(window->DC.CursorPos, window->DC.CursorPos + ImVec2(w + style.FramePadding.x*2, label_size.y + style.FramePadding.y*2));
    const ImRect total_bb(window->DC.CursorPos, window->DC.CursorPos + ImVec2(w + style.FramePadding.x*2 + (label_size.x > 0.0f ? style.ItemInnerSpacing.x : 0.0f), style.FramePadding.y*2) + label_size);
    ItemSize(total_bb, style.FramePadding.y);
    if (!ItemAdd(total_bb, NULL))
        return;

    // Render
    const char* value_text_begin = &g.TempBuffer[0];
    const char* value_text_end = value_text_begin + ImFormatStringV(g.TempBuffer, IM_ARRAYSIZE(g.TempBuffer), fmt, args);
    RenderTextClipped(value_bb.Min, value_bb.Max, value_text_begin, value_text_end, NULL, ImGuiAlign_VCenter);
    RenderText(ImVec2(value_bb.Max.x + style.ItemInnerSpacing.x, value_bb.Min.y + style.FramePadding.y), label);
}

// Assembly:
pushq %rbp
movq %rsp, %rbp
subq $0xf0, %rsp
movq %rdi, -0x8(%rbp)
movq %rsi, -0x10(%rbp)
movq %rdx, -0x18(%rbp)
callq 0x2e220
movq %rax, -0x20(%rbp)
movq -0x20(%rbp), %rax
testb $0x1, 0x74(%rax)
je 0x1a73f
jmp 0x1a9cd
movq 0x5ed7a(%rip), %rax     # 0x794c0
movq %rax, -0x28(%rbp)
movq -0x28(%rbp), %rax
addq $0x13e8, %rax           # imm = 0x13E8
movq %rax, -0x30(%rbp)
callq 0x185e0
movss %xmm0, -0x34(%rbp)
movq -0x8(%rbp), %rdi
xorl %eax, %eax
movl %eax, %esi
movl $0x1, %edx
movss 0x40905(%rip), %xmm0    # 0x5b07c
callq 0x10930
movlpd %xmm0, -0x3c(%rbp)
movq -0x20(%rbp), %rax
addq $0xa8, %rax
movq %rax, -0xc0(%rbp)
movss -0x34(%rbp), %xmm2
movq -0x30(%rbp), %rax
movss 0x20(%rax), %xmm0
movss 0x24(%rax), %xmm1
addss %xmm0, %xmm0
addss %xmm2, %xmm0
movss -0x38(%rbp), %xmm2
addss %xmm1, %xmm1
addss %xmm2, %xmm1
leaq -0x5c(%rbp), %rdi
movq %rdi, -0xc8(%rbp)
callq 0x2d280
movq -0xc8(%rbp), %rsi
movq -0xc0(%rbp), %rdi
callq 0xc7e0
movq -0xc0(%rbp), %rsi
movlpd %xmm0, -0x54(%rbp)
leaq -0x4c(%rbp), %rdi
leaq -0x54(%rbp), %rdx
callq 0x2eb40
movq -0x20(%rbp), %rax
addq $0xa8, %rax
movq %rax, -0xb8(%rbp)
movq -0x20(%rbp), %rax
addq $0xa8, %rax
movq %rax, -0xb0(%rbp)
movss -0x34(%rbp), %xmm1
movq -0x30(%rbp), %rax
movss 0x20(%rax), %xmm0
addss %xmm0, %xmm0
addss %xmm1, %xmm0
movss %xmm0, -0xa4(%rbp)
movss -0x3c(%rbp), %xmm0
xorps %xmm1, %xmm1
ucomiss %xmm1, %xmm0
jbe 0x1a856
movq -0x30(%rbp), %rax
movss 0x34(%rax), %xmm0
movss %xmm0, -0xcc(%rbp)
jmp 0x1a863
xorps %xmm0, %xmm0
movss %xmm0, -0xcc(%rbp)
jmp 0x1a863
movss -0xa4(%rbp), %xmm0
movss -0xcc(%rbp), %xmm1
addss %xmm1, %xmm0
movq -0x30(%rbp), %rax
movss 0x24(%rax), %xmm1
addss %xmm1, %xmm1
leaq -0x84(%rbp), %rdi
movq %rdi, -0xd8(%rbp)
callq 0x2d280
movq -0xb0(%rbp), %rdi
movq -0xd8(%rbp), %rsi
callq 0xc7e0
movlpd %xmm0, -0x7c(%rbp)
leaq -0x7c(%rbp), %rdi
leaq -0x3c(%rbp), %rsi
callq 0xc7e0
movq -0xb8(%rbp), %rsi
movlpd %xmm0, -0x74(%rbp)
leaq -0x6c(%rbp), %rdi
leaq -0x74(%rbp), %rdx
callq 0x2eb40
movq -0x30(%rbp), %rax
movss 0x24(%rax), %xmm0
leaq -0x6c(%rbp), %rdi
callq 0xc060
leaq -0x6c(%rbp), %rdi
xorl %eax, %eax
movl %eax, %esi
callq 0xc0a0
testb $0x1, %al
jne 0x1a8fd
jmp 0x1a9cd
movq -0x28(%rbp), %rax
addq $0x2df2, %rax           # imm = 0x2DF2
movq %rax, -0x90(%rbp)
movq -0x90(%rbp), %rax
movq %rax, -0xe0(%rbp)
movq -0x28(%rbp), %rdi
addq $0x2df2, %rdi           # imm = 0x2DF2
movq -0x10(%rbp), %rdx
movq -0x18(%rbp), %rcx
movl $0xc01, %esi            # imm = 0xC01
callq 0x9680
movl %eax, %ecx
movq -0xe0(%rbp), %rax
movslq %ecx, %rcx
addq %rcx, %rax
movq %rax, -0x98(%rbp)
leaq -0x44(%rbp), %rsi
movq -0x90(%rbp), %rdx
movq -0x98(%rbp), %rcx
movq %rsp, %rax
movq $0x0, 0x8(%rax)
movq $0x0, (%rax)
xorl %eax, %eax
movl %eax, %r8d
leaq -0x4c(%rbp), %rdi
movl $0x10, %r9d
callq 0x105f0
movss -0x48(%rbp), %xmm1
movss -0x44(%rbp), %xmm0
movq -0x30(%rbp), %rax
movss 0x24(%rax), %xmm2
movss 0x34(%rax), %xmm3
addss %xmm3, %xmm0
addss %xmm2, %xmm1
leaq -0xa0(%rbp), %rdi
callq 0x2d280
movq -0x8(%rbp), %rdi
movsd -0xa0(%rbp), %xmm0
xorl %eax, %eax
movl %eax, %esi
movl $0x1, %edx
callq 0x10100
addq $0xf0, %rsp
popq %rbp
retq
nopw %cs:(%rax,%rax)