LLM4Binary/decompile-bench-makefile huggingface dataset:
// File: Ciaxur[P]yagb-emu/include/imgui/imgui_draw.cpp
// Function: ImBezierCubicCalc(ImVec2 const&, ImVec2 const&, ImVec2 const&, ImVec2 const&, float)
ImVec2 ImBezierCubicCalc(const ImVec2& p1, const ImVec2& p2, const ImVec2& p3, const ImVec2& p4, float t)
{
    float u = 1.0f - t;
    float w1 = u * u * u;
    float w2 = 3 * u * u * t;
    float w3 = 3 * u * t * t;
    float w4 = t * t * t;
    return ImVec2(w1 * p1.x + w2 * p2.x + w3 * p3.x + w4 * p4.x, w1 * p1.y + w2 * p2.y + w3 * p3.y + w4 * p4.y);
}

// Assembly:
pushq %rbp
movq %rsp, %rbp
subq $0x40, %rsp
movq %rdi, -0x10(%rbp)
movq %rsi, -0x18(%rbp)
movq %rdx, -0x20(%rbp)
movq %rcx, -0x28(%rbp)
movss %xmm0, -0x2c(%rbp)
movss -0x2c(%rbp), %xmm1
movss 0x5ec12(%rip), %xmm0    # 0x170c3c
subss %xmm1, %xmm0
movss %xmm0, -0x30(%rbp)
movss -0x30(%rbp), %xmm1
movaps %xmm1, %xmm0
mulss %xmm0, %xmm0
mulss %xmm1, %xmm0
movss %xmm0, -0x34(%rbp)
movss -0x30(%rbp), %xmm2
movss 0x5ff6b(%rip), %xmm1    # 0x171fc0
movaps %xmm2, %xmm0
mulss %xmm1, %xmm0
mulss %xmm2, %xmm0
movss -0x2c(%rbp), %xmm2
mulss %xmm2, %xmm0
movss %xmm0, -0x38(%rbp)
movss -0x30(%rbp), %xmm0
mulss %xmm1, %xmm0
movss -0x2c(%rbp), %xmm1
mulss %xmm1, %xmm0
mulss %xmm1, %xmm0
movss %xmm0, -0x3c(%rbp)
movss -0x2c(%rbp), %xmm1
movaps %xmm1, %xmm0
mulss %xmm0, %xmm0
mulss %xmm1, %xmm0
movss %xmm0, -0x40(%rbp)
movss -0x34(%rbp), %xmm4
movq -0x10(%rbp), %rax
movss -0x38(%rbp), %xmm6
movq -0x18(%rbp), %rcx
movss (%rcx), %xmm0
movss 0x4(%rcx), %xmm8
movaps %xmm6, %xmm1
mulss %xmm0, %xmm1
movss (%rax), %xmm2
movss 0x4(%rax), %xmm7
movaps %xmm4, %xmm0
mulss %xmm2, %xmm0
addss %xmm1, %xmm0
movss -0x3c(%rbp), %xmm2
movq -0x20(%rbp), %rax
movss (%rax), %xmm1
movss 0x4(%rax), %xmm5
movaps %xmm2, %xmm9
mulss %xmm1, %xmm9
addss %xmm0, %xmm9
movss -0x40(%rbp), %xmm1
movq -0x28(%rbp), %rax
movss (%rax), %xmm10
movss 0x4(%rax), %xmm3
movaps %xmm1, %xmm0
mulss %xmm10, %xmm0
addss %xmm9, %xmm0
mulss %xmm8, %xmm6
mulss %xmm7, %xmm4
addss %xmm6, %xmm4
mulss %xmm5, %xmm2
addss %xmm4, %xmm2
mulss %xmm3, %xmm1
addss %xmm2, %xmm1
leaq -0x8(%rbp), %rdi
callq 0xbf4c0
movsd -0x8(%rbp), %xmm0
addq $0x40, %rsp
popq %rbp
retq
nopw %cs:(%rax,%rax)
// File: Ciaxur[P]yagb-emu/include/imgui/imgui_draw.cpp
// Function: ImBezierQuadraticCalc(ImVec2 const&, ImVec2 const&, ImVec2 const&, float)
ImVec2 ImBezierQuadraticCalc(const ImVec2& p1, const ImVec2& p2, const ImVec2& p3, float t)
{
    float u = 1.0f - t;
    float w1 = u * u;
    float w2 = 2 * u * t;
    float w3 = t * t;
    return ImVec2(w1 * p1.x + w2 * p2.x + w3 * p3.x, w1 * p1.y + w2 * p2.y + w3 * p3.y);
}

// Assembly:
pushq %rbp
movq %rsp, %rbp
subq $0x40, %rsp
movq %rdi, -0x10(%rbp)
movq %rsi, -0x18(%rbp)
movq %rdx, -0x20(%rbp)
movss %xmm0, -0x24(%rbp)
movss -0x24(%rbp), %xmm1
movss 0x5eac6(%rip), %xmm0    # 0x170c3c
subss %xmm1, %xmm0
movss %xmm0, -0x28(%rbp)
movss -0x28(%rbp), %xmm0
mulss %xmm0, %xmm0
movss %xmm0, -0x2c(%rbp)
movss -0x28(%rbp), %xmm0
addss %xmm0, %xmm0
movss -0x24(%rbp), %xmm1
mulss %xmm1, %xmm0
movss %xmm0, -0x30(%rbp)
movss -0x24(%rbp), %xmm0
mulss %xmm0, %xmm0
movss %xmm0, -0x34(%rbp)
movss -0x2c(%rbp), %xmm2
movq -0x10(%rbp), %rax
movss -0x30(%rbp), %xmm4
movq -0x18(%rbp), %rcx
movss (%rcx), %xmm1
movss 0x4(%rcx), %xmm6
movaps %xmm4, %xmm0
mulss %xmm1, %xmm0
movss (%rax), %xmm1
movss 0x4(%rax), %xmm5
movaps %xmm2, %xmm7
mulss %xmm1, %xmm7
addss %xmm0, %xmm7
movss -0x34(%rbp), %xmm1
movq -0x20(%rbp), %rax
movss (%rax), %xmm8
movss 0x4(%rax), %xmm3
movaps %xmm1, %xmm0
mulss %xmm8, %xmm0
addss %xmm7, %xmm0
mulss %xmm6, %xmm4
mulss %xmm5, %xmm2
addss %xmm4, %xmm2
mulss %xmm3, %xmm1
addss %xmm2, %xmm1
leaq -0x8(%rbp), %rdi
callq 0xbf4c0
movsd -0x8(%rbp), %xmm0
addq $0x40, %rsp
popq %rbp
retq
nop
// File: Ciaxur[P]yagb-emu/include/imgui/imgui_draw.cpp
// Function: ImDrawList::PathBezierCubicCurveTo(ImVec2 const&, ImVec2 const&, ImVec2 const&, int)
void ImDrawList::PathBezierCubicCurveTo(const ImVec2& p2, const ImVec2& p3, const ImVec2& p4, int num_segments)
{
    ImVec2 p1 = _Path.back();
    if (num_segments == 0)
    {
        PathBezierCubicCurveToCasteljau(&_Path, p1.x, p1.y, p2.x, p2.y, p3.x, p3.y, p4.x, p4.y, _Data->CurveTessellationTol, 0); // Auto-tessellated
    }
    else
    {
        float t_step = 1.0f / (float)num_segments;
        for (int i_step = 1; i_step <= num_segments; i_step++)
            _Path.push_back(ImBezierCubicCalc(p1, p2, p3, p4, t_step * i_step));
    }
}

// Assembly:
pushq %rbp
movq %rsp, %rbp
subq $0x60, %rsp
movq %rdi, -0x8(%rbp)
movq %rsi, -0x10(%rbp)
movq %rdx, -0x18(%rbp)
movq %rcx, -0x20(%rbp)
movl %r8d, -0x24(%rbp)
movq -0x8(%rbp), %rdi
movq %rdi, -0x48(%rbp)
addq $0x78, %rdi
callq 0x10b7d0
movq (%rax), %rax
movq %rax, -0x2c(%rbp)
cmpl $0x0, -0x24(%rbp)
jne 0x1122cb
movq -0x48(%rbp), %rax
movq %rax, %rdi
addq $0x78, %rdi
movss -0x2c(%rbp), %xmm0
movss -0x28(%rbp), %xmm1
movq -0x10(%rbp), %rcx
movss (%rcx), %xmm2
movq -0x10(%rbp), %rcx
movss 0x4(%rcx), %xmm3
movq -0x18(%rbp), %rcx
movss (%rcx), %xmm4
movq -0x18(%rbp), %rcx
movss 0x4(%rcx), %xmm5
movq -0x20(%rbp), %rcx
movss (%rcx), %xmm6
movq -0x20(%rbp), %rcx
movss 0x4(%rcx), %xmm7
movq 0x38(%rax), %rax
movss 0x14(%rax), %xmm8
xorl %esi, %esi
movss %xmm8, (%rsp)
callq 0x112350
jmp 0x11233e
cvtsi2ssl -0x24(%rbp), %xmm1
movss 0x5e964(%rip), %xmm0    # 0x170c3c
divss %xmm1, %xmm0
movss %xmm0, -0x30(%rbp)
movl $0x1, -0x34(%rbp)
movl -0x34(%rbp), %eax
cmpl -0x24(%rbp), %eax
jg 0x11233c
movq -0x48(%rbp), %rax
addq $0x78, %rax
movq %rax, -0x50(%rbp)
movq -0x10(%rbp), %rsi
movq -0x18(%rbp), %rdx
movq -0x20(%rbp), %rcx
movss -0x30(%rbp), %xmm0
cvtsi2ssl -0x34(%rbp), %xmm1
mulss %xmm1, %xmm0
leaq -0x2c(%rbp), %rdi
callq 0x112000
movq -0x50(%rbp), %rdi
movlpd %xmm0, -0x3c(%rbp)
leaq -0x3c(%rbp), %rsi
callq 0xee5d0
movl -0x34(%rbp), %eax
addl $0x1, %eax
movl %eax, -0x34(%rbp)
jmp 0x1122e8
jmp 0x11233e
addq $0x60, %rsp
popq %rbp
retq
nopw %cs:(%rax,%rax)
// File: Ciaxur[P]yagb-emu/include/imgui/imgui_draw.cpp
// Function: ImDrawList::PathBezierQuadraticCurveTo(ImVec2 const&, ImVec2 const&, int)
void ImDrawList::PathBezierQuadraticCurveTo(const ImVec2& p2, const ImVec2& p3, int num_segments)
{
    ImVec2 p1 = _Path.back();
    if (num_segments == 0)
    {
        PathBezierQuadraticCurveToCasteljau(&_Path, p1.x, p1.y, p2.x, p2.y, p3.x, p3.y, _Data->CurveTessellationTol, 0);// Auto-tessellated
    }
    else
    {
        float t_step = 1.0f / (float)num_segments;
        for (int i_step = 1; i_step <= num_segments; i_step++)
            _Path.push_back(ImBezierQuadraticCalc(p1, p2, p3, t_step * i_step));
    }
}

// Assembly:
pushq %rbp
movq %rsp, %rbp
subq $0x50, %rsp
movq %rdi, -0x8(%rbp)
movq %rsi, -0x10(%rbp)
movq %rdx, -0x18(%rbp)
movl %ecx, -0x1c(%rbp)
movq -0x8(%rbp), %rdi
movq %rdi, -0x40(%rbp)
addq $0x78, %rdi
callq 0x10b7d0
movq (%rax), %rax
movq %rax, -0x24(%rbp)
cmpl $0x0, -0x1c(%rbp)
jne 0x11276e
movq -0x40(%rbp), %rax
movq %rax, %rdi
addq $0x78, %rdi
movss -0x24(%rbp), %xmm0
movss -0x20(%rbp), %xmm1
movq -0x10(%rbp), %rcx
movss (%rcx), %xmm2
movq -0x10(%rbp), %rcx
movss 0x4(%rcx), %xmm3
movq -0x18(%rbp), %rcx
movss (%rcx), %xmm4
movq -0x18(%rbp), %rcx
movss 0x4(%rcx), %xmm5
movq 0x38(%rax), %rax
movss 0x14(%rax), %xmm6
xorl %esi, %esi
callq 0x1127f0
jmp 0x1127dd
cvtsi2ssl -0x1c(%rbp), %xmm1
movss 0x5e4c1(%rip), %xmm0    # 0x170c3c
divss %xmm1, %xmm0
movss %xmm0, -0x28(%rbp)
movl $0x1, -0x2c(%rbp)
movl -0x2c(%rbp), %eax
cmpl -0x1c(%rbp), %eax
jg 0x1127db
movq -0x40(%rbp), %rax
addq $0x78, %rax
movq %rax, -0x48(%rbp)
movq -0x10(%rbp), %rsi
movq -0x18(%rbp), %rdx
movss -0x28(%rbp), %xmm0
cvtsi2ssl -0x2c(%rbp), %xmm1
mulss %xmm1, %xmm0
leaq -0x24(%rbp), %rdi
callq 0x112150
movq -0x48(%rbp), %rdi
movlpd %xmm0, -0x34(%rbp)
leaq -0x34(%rbp), %rsi
callq 0xee5d0
movl -0x2c(%rbp), %eax
addl $0x1, %eax
movl %eax, -0x2c(%rbp)
jmp 0x11278b
jmp 0x1127dd
addq $0x50, %rsp
popq %rbp
retq
nopw %cs:(%rax,%rax)
// File: Ciaxur[P]yagb-emu/include/imgui/imgui_draw.cpp
// Function: ImDrawList::AddLine(ImVec2 const&, ImVec2 const&, unsigned int, float)
void ImDrawList::AddLine(const ImVec2& p1, const ImVec2& p2, ImU32 col, float thickness)
{
    if ((col & IM_COL32_A_MASK) == 0)
        return;
    PathLineTo(p1 + ImVec2(0.5f, 0.5f));
    PathLineTo(p2 + ImVec2(0.5f, 0.5f));
    PathStroke(col, false, thickness);
}

// Assembly:
pushq %rbp
movq %rsp, %rbp
subq $0x70, %rsp
movq %rdi, -0x8(%rbp)
movq %rsi, -0x10(%rbp)
movq %rdx, -0x18(%rbp)
movl %ecx, -0x1c(%rbp)
movss %xmm0, -0x20(%rbp)
movq -0x8(%rbp), %rax
movq %rax, -0x48(%rbp)
movl -0x1c(%rbp), %eax
andl $0xff000000, %eax       # imm = 0xFF000000
cmpl $0x0, %eax
jne 0x112e56
jmp 0x112ee9
movq -0x10(%rbp), %rax
movq %rax, -0x70(%rbp)
leaq -0x30(%rbp), %rdi
movq %rdi, -0x68(%rbp)
movss 0x5f16a(%rip), %xmm1    # 0x171fd8
movss %xmm1, -0x5c(%rbp)
movaps %xmm1, %xmm0
callq 0xbf4c0
movq -0x70(%rbp), %rdi
movq -0x68(%rbp), %rsi
callq 0x111670
movq -0x48(%rbp), %rdi
movlpd %xmm0, -0x28(%rbp)
leaq -0x28(%rbp), %rsi
callq 0xee560
movss -0x5c(%rbp), %xmm1
movq -0x18(%rbp), %rax
movq %rax, -0x58(%rbp)
leaq -0x40(%rbp), %rdi
movq %rdi, -0x50(%rbp)
movaps %xmm1, %xmm0
callq 0xbf4c0
movq -0x58(%rbp), %rdi
movq -0x50(%rbp), %rsi
callq 0x111670
movq -0x48(%rbp), %rdi
movlpd %xmm0, -0x38(%rbp)
leaq -0x38(%rbp), %rsi
callq 0xee560
movq -0x48(%rbp), %rdi
movl -0x1c(%rbp), %esi
movss -0x20(%rbp), %xmm0
xorl %edx, %edx
callq 0xee720
addq $0x70, %rsp
popq %rbp
retq
nop
// File: Ciaxur[P]yagb-emu/include/imgui/imgui_draw.cpp
// Function: ImDrawList::AddRect(ImVec2 const&, ImVec2 const&, unsigned int, float, int, float)
void ImDrawList::AddRect(const ImVec2& p_min, const ImVec2& p_max, ImU32 col, float rounding, ImDrawCornerFlags rounding_corners, float thickness)
{
    if ((col & IM_COL32_A_MASK) == 0)
        return;
    if (Flags & ImDrawListFlags_AntiAliasedLines)
        PathRect(p_min + ImVec2(0.50f, 0.50f), p_max - ImVec2(0.50f, 0.50f), rounding, rounding_corners);
    else
        PathRect(p_min + ImVec2(0.50f, 0.50f), p_max - ImVec2(0.49f, 0.49f), rounding, rounding_corners); // Better looking lower-right corner and rounded non-AA shapes.
    PathStroke(col, true, thickness);
}

// Assembly:
pushq %rbp
movq %rsp, %rbp
subq $0xc0, %rsp
movq %rdi, -0x8(%rbp)
movq %rsi, -0x10(%rbp)
movq %rdx, -0x18(%rbp)
movl %ecx, -0x1c(%rbp)
movss %xmm0, -0x20(%rbp)
movl %r8d, -0x24(%rbp)
movss %xmm1, -0x28(%rbp)
movq -0x8(%rbp), %rax
movq %rax, -0x70(%rbp)
movl -0x1c(%rbp), %eax
andl $0xff000000, %eax       # imm = 0xFF000000
cmpl $0x0, %eax
jne 0x112f32
jmp 0x113086
movq -0x70(%rbp), %rax
movl 0x30(%rax), %eax
andl $0x1, %eax
cmpl $0x0, %eax
je 0x112fdb
movq -0x10(%rbp), %rax
movq %rax, -0x98(%rbp)
leaq -0x38(%rbp), %rdi
movq %rdi, -0x90(%rbp)
movss 0x5f075(%rip), %xmm1    # 0x171fd8
movss %xmm1, -0x84(%rbp)
movaps %xmm1, %xmm0
callq 0xbf4c0
movq -0x98(%rbp), %rdi
movq -0x90(%rbp), %rsi
callq 0x111670
movss -0x84(%rbp), %xmm1
movlpd %xmm0, -0x30(%rbp)
movq -0x18(%rbp), %rax
movq %rax, -0x80(%rbp)
leaq -0x48(%rbp), %rdi
movq %rdi, -0x78(%rbp)
movaps %xmm1, %xmm0
callq 0xbf4c0
movq -0x80(%rbp), %rdi
movq -0x78(%rbp), %rsi
callq 0x111700
movq -0x70(%rbp), %rdi
movlpd %xmm0, -0x40(%rbp)
movss -0x20(%rbp), %xmm0
movl -0x24(%rbp), %ecx
leaq -0x30(%rbp), %rsi
leaq -0x40(%rbp), %rdx
callq 0x112a00
jmp 0x113070
movq -0x10(%rbp), %rax
movq %rax, -0xb8(%rbp)
leaq -0x58(%rbp), %rdi
movq %rdi, -0xb0(%rbp)
movss 0x5efdf(%rip), %xmm1    # 0x171fd8
movaps %xmm1, %xmm0
callq 0xbf4c0
movq -0xb8(%rbp), %rdi
movq -0xb0(%rbp), %rsi
callq 0x111670
movlpd %xmm0, -0x50(%rbp)
movq -0x18(%rbp), %rax
movq %rax, -0xa8(%rbp)
leaq -0x68(%rbp), %rdi
movq %rdi, -0xa0(%rbp)
movss 0x709c1(%rip), %xmm1    # 0x1839f8
movaps %xmm1, %xmm0
callq 0xbf4c0
movq -0xa8(%rbp), %rdi
movq -0xa0(%rbp), %rsi
callq 0x111700
movq -0x70(%rbp), %rdi
movlpd %xmm0, -0x60(%rbp)
movss -0x20(%rbp), %xmm0
movl -0x24(%rbp), %ecx
leaq -0x50(%rbp), %rsi
leaq -0x60(%rbp), %rdx
callq 0x112a00
movq -0x70(%rbp), %rdi
movl -0x1c(%rbp), %esi
movss -0x28(%rbp), %xmm0
movl $0x1, %edx
callq 0xee720
addq $0xc0, %rsp
popq %rbp
retq
nop
// File: Ciaxur[P]yagb-emu/include/imgui/imgui_draw.cpp
// Function: ImDrawList::AddRectFilled(ImVec2 const&, ImVec2 const&, unsigned int, float, int)
void ImDrawList::AddRectFilled(const ImVec2& p_min, const ImVec2& p_max, ImU32 col, float rounding, ImDrawCornerFlags rounding_corners)
{
    if ((col & IM_COL32_A_MASK) == 0)
        return;
    if (rounding > 0.0f)
    {
        PathRect(p_min, p_max, rounding, rounding_corners);
        PathFillConvex(col);
    }
    else
    {
        PrimReserve(6, 4);
        PrimRect(p_min, p_max, col);
    }
}

// Assembly:
pushq %rbp
movq %rsp, %rbp
subq $0x30, %rsp
movq %rdi, -0x8(%rbp)
movq %rsi, -0x10(%rbp)
movq %rdx, -0x18(%rbp)
movl %ecx, -0x1c(%rbp)
movss %xmm0, -0x20(%rbp)
movl %r8d, -0x24(%rbp)
movq -0x8(%rbp), %rax
movq %rax, -0x30(%rbp)
movl -0x1c(%rbp), %eax
andl $0xff000000, %eax       # imm = 0xFF000000
cmpl $0x0, %eax
jne 0x1130c7
jmp 0x113122
movss -0x20(%rbp), %xmm0
xorps %xmm1, %xmm1
ucomiss %xmm1, %xmm0
jbe 0x1130fb
movq -0x30(%rbp), %rdi
movq -0x10(%rbp), %rsi
movq -0x18(%rbp), %rdx
movss -0x20(%rbp), %xmm0
movl -0x24(%rbp), %ecx
callq 0x112a00
movq -0x30(%rbp), %rdi
movl -0x1c(%rbp), %esi
callq 0xee590
jmp 0x113122
movq -0x30(%rbp), %rdi
movl $0x6, %esi
movl $0x4, %edx
callq 0x10f7f0
movq -0x30(%rbp), %rdi
movq -0x10(%rbp), %rsi
movq -0x18(%rbp), %rdx
movl -0x1c(%rbp), %ecx
callq 0x10f930
addq $0x30, %rsp
popq %rbp
retq
nopl (%rax,%rax)
// File: Ciaxur[P]yagb-emu/include/imgui/imgui_draw.cpp
// Function: ImDrawList::AddRectFilledMultiColor(ImVec2 const&, ImVec2 const&, unsigned int, unsigned int, unsigned int, unsigned int)
void ImDrawList::AddRectFilledMultiColor(const ImVec2& p_min, const ImVec2& p_max, ImU32 col_upr_left, ImU32 col_upr_right, ImU32 col_bot_right, ImU32 col_bot_left)
{
    if (((col_upr_left | col_upr_right | col_bot_right | col_bot_left) & IM_COL32_A_MASK) == 0)
        return;

    const ImVec2 uv = _Data->TexUvWhitePixel;
    PrimReserve(6, 4);
    PrimWriteIdx((ImDrawIdx)(_VtxCurrentIdx)); PrimWriteIdx((ImDrawIdx)(_VtxCurrentIdx + 1)); PrimWriteIdx((ImDrawIdx)(_VtxCurrentIdx + 2));
    PrimWriteIdx((ImDrawIdx)(_VtxCurrentIdx)); PrimWriteIdx((ImDrawIdx)(_VtxCurrentIdx + 2)); PrimWriteIdx((ImDrawIdx)(_VtxCurrentIdx + 3));
    PrimWriteVtx(p_min, uv, col_upr_left);
    PrimWriteVtx(ImVec2(p_max.x, p_min.y), uv, col_upr_right);
    PrimWriteVtx(p_max, uv, col_bot_right);
    PrimWriteVtx(ImVec2(p_min.x, p_max.y), uv, col_bot_left);
}

// Assembly:
pushq %rbp
movq %rsp, %rbp
subq $0x50, %rsp
movl 0x10(%rbp), %eax
movq %rdi, -0x8(%rbp)
movq %rsi, -0x10(%rbp)
movq %rdx, -0x18(%rbp)
movl %ecx, -0x1c(%rbp)
movl %r8d, -0x20(%rbp)
movl %r9d, -0x24(%rbp)
movq -0x8(%rbp), %rax
movq %rax, -0x48(%rbp)
movl -0x1c(%rbp), %eax
orl -0x20(%rbp), %eax
orl -0x24(%rbp), %eax
orl 0x10(%rbp), %eax
andl $0xff000000, %eax       # imm = 0xFF000000
cmpl $0x0, %eax
jne 0x113175
jmp 0x11327d
movq -0x48(%rbp), %rdi
movq 0x38(%rdi), %rax
movq (%rax), %rax
movq %rax, -0x2c(%rbp)
movl $0x6, %esi
movl $0x4, %edx
callq 0x10f7f0
movq -0x48(%rbp), %rdi
movl 0x34(%rdi), %eax
movzwl %ax, %esi
callq 0x127320
movq -0x48(%rbp), %rdi
movl 0x34(%rdi), %eax
addl $0x1, %eax
movzwl %ax, %esi
callq 0x127320
movq -0x48(%rbp), %rdi
movl 0x34(%rdi), %eax
addl $0x2, %eax
movzwl %ax, %esi
callq 0x127320
movq -0x48(%rbp), %rdi
movl 0x34(%rdi), %eax
movzwl %ax, %esi
callq 0x127320
movq -0x48(%rbp), %rdi
movl 0x34(%rdi), %eax
addl $0x2, %eax
movzwl %ax, %esi
callq 0x127320
movq -0x48(%rbp), %rdi
movl 0x34(%rdi), %eax
addl $0x3, %eax
movzwl %ax, %esi
callq 0x127320
movq -0x48(%rbp), %rdi
movq -0x10(%rbp), %rsi
movl -0x1c(%rbp), %ecx
leaq -0x2c(%rbp), %rdx
callq 0x127350
movq -0x18(%rbp), %rax
movss (%rax), %xmm0
movq -0x10(%rbp), %rax
movss 0x4(%rax), %xmm1
leaq -0x34(%rbp), %rdi
callq 0xbf4c0
movq -0x48(%rbp), %rdi
movl -0x20(%rbp), %ecx
leaq -0x34(%rbp), %rsi
leaq -0x2c(%rbp), %rdx
callq 0x127350
movq -0x48(%rbp), %rdi
movq -0x18(%rbp), %rsi
movl -0x24(%rbp), %ecx
leaq -0x2c(%rbp), %rdx
callq 0x127350
movq -0x10(%rbp), %rax
movss (%rax), %xmm0
movq -0x18(%rbp), %rax
movss 0x4(%rax), %xmm1
leaq -0x3c(%rbp), %rdi
callq 0xbf4c0
movq -0x48(%rbp), %rdi
movl 0x10(%rbp), %ecx
leaq -0x3c(%rbp), %rsi
leaq -0x2c(%rbp), %rdx
callq 0x127350
addq $0x50, %rsp
popq %rbp
retq
nopw %cs:(%rax,%rax)
// File: Ciaxur[P]yagb-emu/include/imgui/imgui_draw.cpp
// Function: ImDrawList::AddQuad(ImVec2 const&, ImVec2 const&, ImVec2 const&, ImVec2 const&, unsigned int, float)
void ImDrawList::AddQuad(const ImVec2& p1, const ImVec2& p2, const ImVec2& p3, const ImVec2& p4, ImU32 col, float thickness)
{
    if ((col & IM_COL32_A_MASK) == 0)
        return;

    PathLineTo(p1);
    PathLineTo(p2);
    PathLineTo(p3);
    PathLineTo(p4);
    PathStroke(col, true, thickness);
}

// Assembly:
pushq %rbp
movq %rsp, %rbp
subq $0x40, %rsp
movq %rdi, -0x8(%rbp)
movq %rsi, -0x10(%rbp)
movq %rdx, -0x18(%rbp)
movq %rcx, -0x20(%rbp)
movq %r8, -0x28(%rbp)
movl %r9d, -0x2c(%rbp)
movss %xmm0, -0x30(%rbp)
movq -0x8(%rbp), %rax
movq %rax, -0x38(%rbp)
movl -0x2c(%rbp), %eax
andl $0xff000000, %eax       # imm = 0xFF000000
cmpl $0x0, %eax
jne 0x1132cc
jmp 0x113316
movq -0x38(%rbp), %rdi
movq -0x10(%rbp), %rsi
callq 0xee560
movq -0x38(%rbp), %rdi
movq -0x18(%rbp), %rsi
callq 0xee560
movq -0x38(%rbp), %rdi
movq -0x20(%rbp), %rsi
callq 0xee560
movq -0x38(%rbp), %rdi
movq -0x28(%rbp), %rsi
callq 0xee560
movq -0x38(%rbp), %rdi
movl -0x2c(%rbp), %esi
movss -0x30(%rbp), %xmm0
movl $0x1, %edx
callq 0xee720
addq $0x40, %rsp
popq %rbp
retq
nopl (%rax)
// File: Ciaxur[P]yagb-emu/include/imgui/imgui_draw.cpp
// Function: ImDrawList::AddQuadFilled(ImVec2 const&, ImVec2 const&, ImVec2 const&, ImVec2 const&, unsigned int)
void ImDrawList::AddQuadFilled(const ImVec2& p1, const ImVec2& p2, const ImVec2& p3, const ImVec2& p4, ImU32 col)
{
    if ((col & IM_COL32_A_MASK) == 0)
        return;

    PathLineTo(p1);
    PathLineTo(p2);
    PathLineTo(p3);
    PathLineTo(p4);
    PathFillConvex(col);
}

// Assembly:
pushq %rbp
movq %rsp, %rbp
subq $0x40, %rsp
movq %rdi, -0x8(%rbp)
movq %rsi, -0x10(%rbp)
movq %rdx, -0x18(%rbp)
movq %rcx, -0x20(%rbp)
movq %r8, -0x28(%rbp)
movl %r9d, -0x2c(%rbp)
movq -0x8(%rbp), %rax
movq %rax, -0x38(%rbp)
movl -0x2c(%rbp), %eax
andl $0xff000000, %eax       # imm = 0xFF000000
cmpl $0x0, %eax
jne 0x113357
jmp 0x113397
movq -0x38(%rbp), %rdi
movq -0x10(%rbp), %rsi
callq 0xee560
movq -0x38(%rbp), %rdi
movq -0x18(%rbp), %rsi
callq 0xee560
movq -0x38(%rbp), %rdi
movq -0x20(%rbp), %rsi
callq 0xee560
movq -0x38(%rbp), %rdi
movq -0x28(%rbp), %rsi
callq 0xee560
movq -0x38(%rbp), %rdi
movl -0x2c(%rbp), %esi
callq 0xee590
addq $0x40, %rsp
popq %rbp
retq
nopl (%rax)
// File: Ciaxur[P]yagb-emu/include/imgui/imgui_draw.cpp
// Function: ImDrawList::AddTriangle(ImVec2 const&, ImVec2 const&, ImVec2 const&, unsigned int, float)
void ImDrawList::AddTriangle(const ImVec2& p1, const ImVec2& p2, const ImVec2& p3, ImU32 col, float thickness)
{
    if ((col & IM_COL32_A_MASK) == 0)
        return;

    PathLineTo(p1);
    PathLineTo(p2);
    PathLineTo(p3);
    PathStroke(col, true, thickness);
}

// Assembly:
pushq %rbp
movq %rsp, %rbp
subq $0x30, %rsp
movq %rdi, -0x8(%rbp)
movq %rsi, -0x10(%rbp)
movq %rdx, -0x18(%rbp)
movq %rcx, -0x20(%rbp)
movl %r8d, -0x24(%rbp)
movss %xmm0, -0x28(%rbp)
movq -0x8(%rbp), %rax
movq %rax, -0x30(%rbp)
movl -0x24(%rbp), %eax
andl $0xff000000, %eax       # imm = 0xFF000000
cmpl $0x0, %eax
jne 0x1133d8
jmp 0x113415
movq -0x30(%rbp), %rdi
movq -0x10(%rbp), %rsi
callq 0xee560
movq -0x30(%rbp), %rdi
movq -0x18(%rbp), %rsi
callq 0xee560
movq -0x30(%rbp), %rdi
movq -0x20(%rbp), %rsi
callq 0xee560
movq -0x30(%rbp), %rdi
movl -0x24(%rbp), %esi
movss -0x28(%rbp), %xmm0
movl $0x1, %edx
callq 0xee720
addq $0x30, %rsp
popq %rbp
retq
nopl (%rax,%rax)
// File: Ciaxur[P]yagb-emu/include/imgui/imgui_draw.cpp
// Function: ImDrawList::AddTriangleFilled(ImVec2 const&, ImVec2 const&, ImVec2 const&, unsigned int)
void ImDrawList::AddTriangleFilled(const ImVec2& p1, const ImVec2& p2, const ImVec2& p3, ImU32 col)
{
    if ((col & IM_COL32_A_MASK) == 0)
        return;

    PathLineTo(p1);
    PathLineTo(p2);
    PathLineTo(p3);
    PathFillConvex(col);
}

// Assembly:
pushq %rbp
movq %rsp, %rbp
subq $0x30, %rsp
movq %rdi, -0x8(%rbp)
movq %rsi, -0x10(%rbp)
movq %rdx, -0x18(%rbp)
movq %rcx, -0x20(%rbp)
movl %r8d, -0x24(%rbp)
movq -0x8(%rbp), %rax
movq %rax, -0x30(%rbp)
movl -0x24(%rbp), %eax
andl $0xff000000, %eax       # imm = 0xFF000000
cmpl $0x0, %eax
jne 0x113453
jmp 0x113486
movq -0x30(%rbp), %rdi
movq -0x10(%rbp), %rsi
callq 0xee560
movq -0x30(%rbp), %rdi
movq -0x18(%rbp), %rsi
callq 0xee560
movq -0x30(%rbp), %rdi
movq -0x20(%rbp), %rsi
callq 0xee560
movq -0x30(%rbp), %rdi
movl -0x24(%rbp), %esi
callq 0xee590
addq $0x30, %rsp
popq %rbp
retq
nopl (%rax)
// File: Ciaxur[P]yagb-emu/include/imgui/imgui_draw.cpp
// Function: ImDrawList::AddCircleFilled(ImVec2 const&, float, unsigned int, int)
void ImDrawList::AddCircleFilled(const ImVec2& center, float radius, ImU32 col, int num_segments)
{
    if ((col & IM_COL32_A_MASK) == 0 || radius <= 0.0f)
        return;

    // Obtain segment count
    if (num_segments <= 0)
    {
        // Automatic segment count
        const int radius_idx = (int)radius;
        if (radius_idx < IM_ARRAYSIZE(_Data->CircleSegmentCounts))
            num_segments = _Data->CircleSegmentCounts[radius_idx]; // Use cached value
        else
            num_segments = IM_DRAWLIST_CIRCLE_AUTO_SEGMENT_CALC(radius, _Data->CircleSegmentMaxError);
    }
    else
    {
        // Explicit segment count (still clamp to avoid drawing insanely tessellated shapes)
        num_segments = ImClamp(num_segments, 3, IM_DRAWLIST_CIRCLE_AUTO_SEGMENT_MAX);
    }

    // Because we are filling a closed shape we remove 1 from the count of segments/points
    const float a_max = (IM_PI * 2.0f) * ((float)num_segments - 1.0f) / (float)num_segments;
    if (num_segments == 12)
        PathArcToFast(center, radius, 0, 12 - 1);
    else
        PathArcTo(center, radius, 0.0f, a_max, num_segments - 1);
    PathFillConvex(col);
}

// Assembly:
pushq %rbp
movq %rsp, %rbp
subq $0x30, %rsp
movq %rdi, -0x8(%rbp)
movq %rsi, -0x10(%rbp)
movss %xmm0, -0x14(%rbp)
movl %edx, -0x18(%rbp)
movl %ecx, -0x1c(%rbp)
movq -0x8(%rbp), %rax
movq %rax, -0x30(%rbp)
movl -0x18(%rbp), %eax
andl $0xff000000, %eax       # imm = 0xFF000000
cmpl $0x0, %eax
je 0x113639
xorps %xmm0, %xmm0
ucomiss -0x14(%rbp), %xmm0
jb 0x11363e
jmp 0x11373b
cmpl $0x0, -0x1c(%rbp)
jg 0x1136ae
cvttss2si -0x14(%rbp), %eax
movl %eax, -0x20(%rbp)
cmpl $0x40, -0x20(%rbp)
jge 0x11366b
movq -0x30(%rbp), %rax
movq 0x38(%rax), %rax
movslq -0x20(%rbp), %rcx
movzbl 0x90(%rax,%rcx), %eax
movl %eax, -0x1c(%rbp)
jmp 0x1136ac
movq -0x30(%rbp), %rax
movss -0x14(%rbp), %xmm0
movq 0x38(%rax), %rax
subss 0x18(%rax), %xmm0
divss -0x14(%rbp), %xmm0
callq 0xd590
movaps %xmm0, %xmm1
movss 0x70372(%rip), %xmm0    # 0x183a04
divss %xmm1, %xmm0
cvttss2si %xmm0, %edi
movl $0xc, %esi
movl $0x200, %edx            # imm = 0x200
callq 0x10ed10
movl %eax, -0x1c(%rbp)
jmp 0x1136c3
movl -0x1c(%rbp), %edi
movl $0x3, %esi
movl $0x200, %edx            # imm = 0x200
callq 0x10ed10
movl %eax, -0x1c(%rbp)
cvtsi2ssl -0x1c(%rbp), %xmm1
movss 0x5d56c(%rip), %xmm0    # 0x170c3c
subss %xmm0, %xmm1
movss 0x70328(%rip), %xmm0    # 0x183a04
mulss %xmm1, %xmm0
cvtsi2ssl -0x1c(%rbp), %xmm1
divss %xmm1, %xmm0
movss %xmm0, -0x24(%rbp)
cmpl $0xc, -0x1c(%rbp)
jne 0x11370f
movq -0x30(%rbp), %rdi
movq -0x10(%rbp), %rsi
movss -0x14(%rbp), %xmm0
xorl %edx, %edx
movl $0xb, %ecx
callq 0x111da0
jmp 0x11372f
movq -0x30(%rbp), %rdi
movq -0x10(%rbp), %rsi
movss -0x14(%rbp), %xmm0
movss -0x24(%rbp), %xmm2
movl -0x1c(%rbp), %edx
subl $0x1, %edx
xorps %xmm1, %xmm1
callq 0x111ec0
movq -0x30(%rbp), %rdi
movl -0x18(%rbp), %esi
callq 0xee590
addq $0x30, %rsp
popq %rbp
retq
nopw %cs:(%rax,%rax)
// File: Ciaxur[P]yagb-emu/include/imgui/imgui_draw.cpp
// Function: ImDrawList::AddNgon(ImVec2 const&, float, unsigned int, int, float)
void ImDrawList::AddNgon(const ImVec2& center, float radius, ImU32 col, int num_segments, float thickness)
{
    if ((col & IM_COL32_A_MASK) == 0 || num_segments <= 2)
        return;

    // Because we are filling a closed shape we remove 1 from the count of segments/points
    const float a_max = (IM_PI * 2.0f) * ((float)num_segments - 1.0f) / (float)num_segments;
    PathArcTo(center, radius - 0.5f, 0.0f, a_max, num_segments - 1);
    PathStroke(col, true, thickness);
}

// Assembly:
pushq %rbp
movq %rsp, %rbp
subq $0x30, %rsp
movq %rdi, -0x8(%rbp)
movq %rsi, -0x10(%rbp)
movss %xmm0, -0x14(%rbp)
movl %edx, -0x18(%rbp)
movl %ecx, -0x1c(%rbp)
movss %xmm1, -0x20(%rbp)
movq -0x8(%rbp), %rax
movq %rax, -0x30(%rbp)
movl -0x18(%rbp), %eax
andl $0xff000000, %eax       # imm = 0xFF000000
cmpl $0x0, %eax
je 0x11378b
cmpl $0x2, -0x1c(%rbp)
jg 0x11378d
jmp 0x1137fa
movq -0x30(%rbp), %rdi
cvtsi2ssl -0x1c(%rbp), %xmm1
movss 0x5d49e(%rip), %xmm0    # 0x170c3c
subss %xmm0, %xmm1
movss 0x7025a(%rip), %xmm0    # 0x183a04
mulss %xmm1, %xmm0
cvtsi2ssl -0x1c(%rbp), %xmm1
divss %xmm1, %xmm0
movss %xmm0, -0x24(%rbp)
movq -0x10(%rbp), %rsi
movss -0x14(%rbp), %xmm0
movss 0x5e80b(%rip), %xmm1    # 0x171fd8
subss %xmm1, %xmm0
movss -0x24(%rbp), %xmm2
movl -0x1c(%rbp), %edx
subl $0x1, %edx
xorps %xmm1, %xmm1
callq 0x111ec0
movq -0x30(%rbp), %rdi
movl -0x18(%rbp), %esi
movss -0x20(%rbp), %xmm0
movl $0x1, %edx
callq 0xee720
addq $0x30, %rsp
popq %rbp
retq
// File: Ciaxur[P]yagb-emu/include/imgui/imgui_draw.cpp
// Function: ImDrawList::AddNgonFilled(ImVec2 const&, float, unsigned int, int)
void ImDrawList::AddNgonFilled(const ImVec2& center, float radius, ImU32 col, int num_segments)
{
    if ((col & IM_COL32_A_MASK) == 0 || num_segments <= 2)
        return;

    // Because we are filling a closed shape we remove 1 from the count of segments/points
    const float a_max = (IM_PI * 2.0f) * ((float)num_segments - 1.0f) / (float)num_segments;
    PathArcTo(center, radius, 0.0f, a_max, num_segments - 1);
    PathFillConvex(col);
}

// Assembly:
pushq %rbp
movq %rsp, %rbp
subq $0x30, %rsp
movq %rdi, -0x8(%rbp)
movq %rsi, -0x10(%rbp)
movss %xmm0, -0x14(%rbp)
movl %edx, -0x18(%rbp)
movl %ecx, -0x1c(%rbp)
movq -0x8(%rbp), %rax
movq %rax, -0x28(%rbp)
movl -0x18(%rbp), %eax
andl $0xff000000, %eax       # imm = 0xFF000000
cmpl $0x0, %eax
je 0x113836
cmpl $0x2, -0x1c(%rbp)
jg 0x113838
jmp 0x11388f
movq -0x28(%rbp), %rdi
cvtsi2ssl -0x1c(%rbp), %xmm1
movss 0x5d3f3(%rip), %xmm0    # 0x170c3c
subss %xmm0, %xmm1
movss 0x701af(%rip), %xmm0    # 0x183a04
mulss %xmm1, %xmm0
cvtsi2ssl -0x1c(%rbp), %xmm1
divss %xmm1, %xmm0
movss %xmm0, -0x20(%rbp)
movq -0x10(%rbp), %rsi
movss -0x14(%rbp), %xmm0
movss -0x20(%rbp), %xmm2
movl -0x1c(%rbp), %edx
subl $0x1, %edx
xorps %xmm1, %xmm1
callq 0x111ec0
movq -0x28(%rbp), %rdi
movl -0x18(%rbp), %esi
callq 0xee590
addq $0x30, %rsp
popq %rbp
retq
nopw %cs:(%rax,%rax)
// File: Ciaxur[P]yagb-emu/include/imgui/imgui_draw.cpp
// Function: ImDrawList::AddBezierCubic(ImVec2 const&, ImVec2 const&, ImVec2 const&, ImVec2 const&, unsigned int, float, int)
void ImDrawList::AddBezierCubic(const ImVec2& p1, const ImVec2& p2, const ImVec2& p3, const ImVec2& p4, ImU32 col, float thickness, int num_segments)
{
    if ((col & IM_COL32_A_MASK) == 0)
        return;

    PathLineTo(p1);
    PathBezierCubicCurveTo(p2, p3, p4, num_segments);
    PathStroke(col, false, thickness);
}

// Assembly:
pushq %rbp
movq %rsp, %rbp
subq $0x40, %rsp
movl 0x10(%rbp), %eax
movq %rdi, -0x8(%rbp)
movq %rsi, -0x10(%rbp)
movq %rdx, -0x18(%rbp)
movq %rcx, -0x20(%rbp)
movq %r8, -0x28(%rbp)
movl %r9d, -0x2c(%rbp)
movss %xmm0, -0x30(%rbp)
movq -0x8(%rbp), %rax
movq %rax, -0x38(%rbp)
movl -0x2c(%rbp), %eax
andl $0xff000000, %eax       # imm = 0xFF000000
cmpl $0x0, %eax
jne 0x1138df
jmp 0x113918
movq -0x38(%rbp), %rdi
movq -0x10(%rbp), %rsi
callq 0xee560
movq -0x38(%rbp), %rdi
movq -0x18(%rbp), %rsi
movq -0x20(%rbp), %rdx
movq -0x28(%rbp), %rcx
movl 0x10(%rbp), %r8d
callq 0x112230
movq -0x38(%rbp), %rdi
movl -0x2c(%rbp), %esi
movss -0x30(%rbp), %xmm0
xorl %edx, %edx
callq 0xee720
addq $0x40, %rsp
popq %rbp
retq
nop
// File: Ciaxur[P]yagb-emu/include/imgui/imgui_draw.cpp
// Function: ImDrawList::AddBezierQuadratic(ImVec2 const&, ImVec2 const&, ImVec2 const&, unsigned int, float, int)
void ImDrawList::AddBezierQuadratic(const ImVec2& p1, const ImVec2& p2, const ImVec2& p3, ImU32 col, float thickness, int num_segments)
{
    if ((col & IM_COL32_A_MASK) == 0)
        return;

    PathLineTo(p1);
    PathBezierQuadraticCurveTo(p2, p3, num_segments);
    PathStroke(col, false, thickness);
}

// Assembly:
pushq %rbp
movq %rsp, %rbp
subq $0x40, %rsp
movq %rdi, -0x8(%rbp)
movq %rsi, -0x10(%rbp)
movq %rdx, -0x18(%rbp)
movq %rcx, -0x20(%rbp)
movl %r8d, -0x24(%rbp)
movss %xmm0, -0x28(%rbp)
movl %r9d, -0x2c(%rbp)
movq -0x8(%rbp), %rax
movq %rax, -0x38(%rbp)
movl -0x24(%rbp), %eax
andl $0xff000000, %eax       # imm = 0xFF000000
cmpl $0x0, %eax
jne 0x11395c
jmp 0x113990
movq -0x38(%rbp), %rdi
movq -0x10(%rbp), %rsi
callq 0xee560
movq -0x38(%rbp), %rdi
movq -0x18(%rbp), %rsi
movq -0x20(%rbp), %rdx
movl -0x2c(%rbp), %ecx
callq 0x1126f0
movq -0x38(%rbp), %rdi
movl -0x24(%rbp), %esi
movss -0x28(%rbp), %xmm0
xorl %edx, %edx
callq 0xee720
addq $0x40, %rsp
popq %rbp
retq
nopw %cs:(%rax,%rax)
// File: Ciaxur[P]yagb-emu/include/imgui/imgui_draw.cpp
// Function: ImDrawList::AddImage(void*, ImVec2 const&, ImVec2 const&, ImVec2 const&, ImVec2 const&, unsigned int)
void ImDrawList::AddImage(ImTextureID user_texture_id, const ImVec2& p_min, const ImVec2& p_max, const ImVec2& uv_min, const ImVec2& uv_max, ImU32 col)
{
    if ((col & IM_COL32_A_MASK) == 0)
        return;

    const bool push_texture_id = user_texture_id != _CmdHeader.TextureId;
    if (push_texture_id)
        PushTextureID(user_texture_id);

    PrimReserve(6, 4);
    PrimRectUV(p_min, p_max, uv_min, uv_max, col);

    if (push_texture_id)
        PopTextureID();
}

// Assembly:
pushq %rbp
movq %rsp, %rbp
subq $0x40, %rsp
movl 0x10(%rbp), %eax
movq %rdi, -0x8(%rbp)
movq %rsi, -0x10(%rbp)
movq %rdx, -0x18(%rbp)
movq %rcx, -0x20(%rbp)
movq %r8, -0x28(%rbp)
movq %r9, -0x30(%rbp)
movq -0x8(%rbp), %rax
movq %rax, -0x40(%rbp)
movl 0x10(%rbp), %eax
andl $0xff000000, %eax       # imm = 0xFF000000
cmpl $0x0, %eax
jne 0x11470a
jmp 0x114773
movq -0x40(%rbp), %rcx
movq -0x10(%rbp), %rax
cmpq 0x98(%rcx), %rax
setne %al
andb $0x1, %al
movb %al, -0x31(%rbp)
testb $0x1, -0x31(%rbp)
je 0x114734
movq -0x40(%rbp), %rdi
movq -0x10(%rbp), %rsi
callq 0x10f740
movq -0x40(%rbp), %rdi
movl $0x6, %esi
movl $0x4, %edx
callq 0x10f7f0
movq -0x40(%rbp), %rdi
movq -0x18(%rbp), %rsi
movq -0x20(%rbp), %rdx
movq -0x28(%rbp), %rcx
movq -0x30(%rbp), %r8
movl 0x10(%rbp), %r9d
callq 0x10fab0
testb $0x1, -0x31(%rbp)
je 0x114773
movq -0x40(%rbp), %rdi
callq 0x10f780
addq $0x40, %rsp
popq %rbp
retq
nopl (%rax)
// File: Ciaxur[P]yagb-emu/include/imgui/imgui_draw.cpp
// Function: ImDrawList::AddImageQuad(void*, ImVec2 const&, ImVec2 const&, ImVec2 const&, ImVec2 const&, ImVec2 const&, ImVec2 const&, ImVec2 const&, ImVec2 const&, unsigned int)
void ImDrawList::AddImageQuad(ImTextureID user_texture_id, const ImVec2& p1, const ImVec2& p2, const ImVec2& p3, const ImVec2& p4, const ImVec2& uv1, const ImVec2& uv2, const ImVec2& uv3, const ImVec2& uv4, ImU32 col)
{
    if ((col & IM_COL32_A_MASK) == 0)
        return;

    const bool push_texture_id = user_texture_id != _CmdHeader.TextureId;
    if (push_texture_id)
        PushTextureID(user_texture_id);

    PrimReserve(6, 4);
    PrimQuadUV(p1, p2, p3, p4, uv1, uv2, uv3, uv4, col);

    if (push_texture_id)
        PopTextureID();
}

// Assembly:
pushq %rbp
movq %rsp, %rbp
pushq %rbx
subq $0x68, %rsp
movl 0x30(%rbp), %eax
movq 0x28(%rbp), %rax
movq 0x20(%rbp), %rax
movq 0x18(%rbp), %rax
movq 0x10(%rbp), %rax
movq %rdi, -0x10(%rbp)
movq %rsi, -0x18(%rbp)
movq %rdx, -0x20(%rbp)
movq %rcx, -0x28(%rbp)
movq %r8, -0x30(%rbp)
movq %r9, -0x38(%rbp)
movq -0x10(%rbp), %rax
movq %rax, -0x48(%rbp)
movl 0x30(%rbp), %eax
andl $0xff000000, %eax       # imm = 0xFF000000
cmpl $0x0, %eax
jne 0x1147ce
jmp 0x114858
movq -0x48(%rbp), %rcx
movq -0x18(%rbp), %rax
cmpq 0x98(%rcx), %rax
setne %al
andb $0x1, %al
movb %al, -0x39(%rbp)
testb $0x1, -0x39(%rbp)
je 0x1147f8
movq -0x48(%rbp), %rdi
movq -0x18(%rbp), %rsi
callq 0x10f740
movq -0x48(%rbp), %rdi
movl $0x6, %esi
movl $0x4, %edx
callq 0x10f7f0
movq -0x48(%rbp), %rdi
movq -0x20(%rbp), %rsi
movq -0x28(%rbp), %rdx
movq -0x30(%rbp), %rcx
movq -0x38(%rbp), %r8
movq 0x10(%rbp), %r9
movq 0x18(%rbp), %rbx
movq 0x20(%rbp), %r11
movq 0x28(%rbp), %r10
movl 0x30(%rbp), %eax
movq %rbx, (%rsp)
movq %r11, 0x8(%rsp)
movq %r10, 0x10(%rsp)
movl %eax, 0x18(%rsp)
callq 0x10fc70
testb $0x1, -0x39(%rbp)
je 0x114858
movq -0x48(%rbp), %rdi
callq 0x10f780
addq $0x68, %rsp
popq %rbx
popq %rbp
retq
nop
// File: Ciaxur[P]yagb-emu/include/imgui/imgui_draw.cpp
// Function: ImDrawList::AddImageRounded(void*, ImVec2 const&, ImVec2 const&, ImVec2 const&, ImVec2 const&, unsigned int, float, int)
void ImDrawList::AddImageRounded(ImTextureID user_texture_id, const ImVec2& p_min, const ImVec2& p_max, const ImVec2& uv_min, const ImVec2& uv_max, ImU32 col, float rounding, ImDrawCornerFlags rounding_corners)
{
    if ((col & IM_COL32_A_MASK) == 0)
        return;

    if (rounding <= 0.0f || (rounding_corners & ImDrawCornerFlags_All) == 0)
    {
        AddImage(user_texture_id, p_min, p_max, uv_min, uv_max, col);
        return;
    }

    const bool push_texture_id = _TextureIdStack.empty() || user_texture_id != _TextureIdStack.back();
    if (push_texture_id)
        PushTextureID(user_texture_id);

    int vert_start_idx = VtxBuffer.Size;
    PathRect(p_min, p_max, rounding, rounding_corners);
    PathFillConvex(col);
    int vert_end_idx = VtxBuffer.Size;
    ImGui::ShadeVertsLinearUV(this, vert_start_idx, vert_end_idx, p_min, p_max, uv_min, uv_max, true);

    if (push_texture_id)
        PopTextureID();
}

// Assembly:
pushq %rbp
movq %rsp, %rbp
subq $0x70, %rsp
movl 0x18(%rbp), %eax
movl 0x10(%rbp), %eax
movq %rdi, -0x8(%rbp)
movq %rsi, -0x10(%rbp)
movq %rdx, -0x18(%rbp)
movq %rcx, -0x20(%rbp)
movq %r8, -0x28(%rbp)
movq %r9, -0x30(%rbp)
movss %xmm0, -0x34(%rbp)
movq -0x8(%rbp), %rax
movq %rax, -0x48(%rbp)
movl 0x10(%rbp), %eax
andl $0xff000000, %eax       # imm = 0xFF000000
cmpl $0x0, %eax
jne 0x1148a5
jmp 0x1149a5
xorps %xmm0, %xmm0
ucomiss -0x34(%rbp), %xmm0
jae 0x1148b9
movl 0x18(%rbp), %eax
andl $0xf, %eax
cmpl $0x0, %eax
jne 0x1148e1
movq -0x48(%rbp), %rdi
movq -0x10(%rbp), %rsi
movq -0x18(%rbp), %rdx
movq -0x20(%rbp), %rcx
movq -0x28(%rbp), %r8
movq -0x30(%rbp), %r9
movl 0x10(%rbp), %eax
movl %eax, (%rsp)
callq 0x1146d0
jmp 0x1149a5
movq -0x48(%rbp), %rdi
addq $0x68, %rdi
callq 0x1273b0
movb %al, %cl
movb $0x1, %al
testb $0x1, %cl
movb %al, -0x49(%rbp)
jne 0x11491f
movq -0x48(%rbp), %rdi
movq -0x10(%rbp), %rax
movq %rax, -0x58(%rbp)
addq $0x68, %rdi
callq 0x1273d0
movq %rax, %rcx
movq -0x58(%rbp), %rax
cmpq (%rcx), %rax
setne %al
movb %al, -0x49(%rbp)
movb -0x49(%rbp), %al
andb $0x1, %al
movb %al, -0x35(%rbp)
testb $0x1, -0x35(%rbp)
je 0x11493a
movq -0x48(%rbp), %rdi
movq -0x10(%rbp), %rsi
callq 0x10f740
movq -0x48(%rbp), %rdi
movl 0x20(%rdi), %eax
movl %eax, -0x3c(%rbp)
movq -0x18(%rbp), %rsi
movq -0x20(%rbp), %rdx
movss -0x34(%rbp), %xmm0
movl 0x18(%rbp), %ecx
callq 0x112a00
movq -0x48(%rbp), %rdi
movl 0x10(%rbp), %esi
callq 0xee590
movq -0x48(%rbp), %rdi
movl 0x20(%rdi), %eax
movl %eax, -0x40(%rbp)
movl -0x3c(%rbp), %esi
movl -0x40(%rbp), %edx
movq -0x18(%rbp), %rcx
movq -0x20(%rbp), %r8
movq -0x28(%rbp), %r9
movq -0x30(%rbp), %rax
movq %rax, (%rsp)
movl $0x1, 0x8(%rsp)
callq 0x1149b0
testb $0x1, -0x35(%rbp)
je 0x1149a5
movq -0x48(%rbp), %rdi
callq 0x10f780
addq $0x70, %rsp
popq %rbp
retq
nopl (%rax,%rax)
// File: Ciaxur[P]yagb-emu/include/imgui/imgui_draw.cpp
// Function: ImDrawData::DeIndexAllBuffers()
void ImDrawData::DeIndexAllBuffers()
{
    ImVector<ImDrawVert> new_vtx_buffer;
    TotalVtxCount = TotalIdxCount = 0;
    for (int i = 0; i < CmdListsCount; i++)
    {
        ImDrawList* cmd_list = CmdLists[i];
        if (cmd_list->IdxBuffer.empty())
            continue;
        new_vtx_buffer.resize(cmd_list->IdxBuffer.Size);
        for (int j = 0; j < cmd_list->IdxBuffer.Size; j++)
            new_vtx_buffer[j] = cmd_list->VtxBuffer[cmd_list->IdxBuffer[j]];
        cmd_list->VtxBuffer.swap(new_vtx_buffer);
        cmd_list->IdxBuffer.resize(0);
        TotalVtxCount += cmd_list->VtxBuffer.Size;
    }
}

// Assembly:
pushq %rbp
movq %rsp, %rbp
subq $0x70, %rsp
movq %rdi, -0x8(%rbp)
movq -0x8(%rbp), %rax
movq %rax, -0x40(%rbp)
leaq -0x18(%rbp), %rdi
callq 0xece10
movq -0x40(%rbp), %rax
movl $0x0, 0x14(%rax)
movl $0x0, 0x18(%rax)
movl $0x0, -0x1c(%rbp)
movq -0x40(%rbp), %rcx
movl -0x1c(%rbp), %eax
cmpl 0x10(%rcx), %eax
jge 0x11556c
movq -0x40(%rbp), %rax
movq 0x8(%rax), %rax
movslq -0x1c(%rbp), %rcx
movq (%rax,%rcx,8), %rax
movq %rax, -0x28(%rbp)
movq -0x28(%rbp), %rdi
addq $0x10, %rdi
callq 0x1276c0
movb %al, -0x41(%rbp)
jmp 0x11546c
movb -0x41(%rbp), %al
testb $0x1, %al
jne 0x115475
jmp 0x115494
jmp 0x11555e
movq %rax, %rcx
movl %edx, %eax
movq %rcx, -0x30(%rbp)
movl %eax, -0x34(%rbp)
leaq -0x18(%rbp), %rdi
callq 0xecff0
jmp 0x11557b
movq -0x28(%rbp), %rax
movl 0x10(%rax), %esi
leaq -0x18(%rbp), %rdi
callq 0x126cb0
jmp 0x1154a6
movl $0x0, -0x38(%rbp)
movl -0x38(%rbp), %eax
movq -0x28(%rbp), %rcx
cmpl 0x10(%rcx), %eax
jge 0x115529
movq -0x28(%rbp), %rdi
movq %rdi, %rax
addq $0x20, %rax
movq %rax, -0x58(%rbp)
addq $0x10, %rdi
movl -0x38(%rbp), %esi
callq 0x1094a0
movq %rax, -0x50(%rbp)
jmp 0x1154da
movq -0x58(%rbp), %rdi
movq -0x50(%rbp), %rax
movzwl (%rax), %esi
callq 0x1276e0
movq %rax, -0x60(%rbp)
jmp 0x1154f0
movl -0x38(%rbp), %esi
leaq -0x18(%rbp), %rdi
callq 0x1276e0
movq %rax, -0x68(%rbp)
jmp 0x115502
movq -0x68(%rbp), %rax
movq -0x60(%rbp), %rcx
movq (%rcx), %rdx
movq %rdx, (%rax)
movq 0x8(%rcx), %rdx
movq %rdx, 0x8(%rax)
movl 0x10(%rcx), %ecx
movl %ecx, 0x10(%rax)
movl -0x38(%rbp), %eax
addl $0x1, %eax
movl %eax, -0x38(%rbp)
jmp 0x1154ad
movq -0x28(%rbp), %rdi
addq $0x20, %rdi
leaq -0x18(%rbp), %rsi
callq 0x127760
jmp 0x11553c
movq -0x28(%rbp), %rdi
addq $0x10, %rdi
xorl %esi, %esi
callq 0xe7f00
jmp 0x11554d
movq -0x40(%rbp), %rax
movq -0x28(%rbp), %rcx
movl 0x20(%rcx), %ecx
addl 0x18(%rax), %ecx
movl %ecx, 0x18(%rax)
movl -0x1c(%rbp), %eax
addl $0x1, %eax
movl %eax, -0x1c(%rbp)
jmp 0x115436
leaq -0x18(%rbp), %rdi
callq 0xecff0
addq $0x70, %rsp
popq %rbp
retq
movq -0x30(%rbp), %rdi
callq 0xd620
nopw %cs:(%rax,%rax)
// File: Ciaxur[P]yagb-emu/include/imgui/imgui_draw.cpp
// Function: ImDrawData::ScaleClipRects(ImVec2 const&)
void ImDrawData::ScaleClipRects(const ImVec2& fb_scale)
{
    for (int i = 0; i < CmdListsCount; i++)
    {
        ImDrawList* cmd_list = CmdLists[i];
        for (int cmd_i = 0; cmd_i < cmd_list->CmdBuffer.Size; cmd_i++)
        {
            ImDrawCmd* cmd = &cmd_list->CmdBuffer[cmd_i];
            cmd->ClipRect = ImVec4(cmd->ClipRect.x * fb_scale.x, cmd->ClipRect.y * fb_scale.y, cmd->ClipRect.z * fb_scale.x, cmd->ClipRect.w * fb_scale.y);
        }
    }
}

// Assembly:
pushq %rbp
movq %rsp, %rbp
subq $0x50, %rsp
movq %rdi, -0x8(%rbp)
movq %rsi, -0x10(%rbp)
movq -0x8(%rbp), %rax
movq %rax, -0x48(%rbp)
movl $0x0, -0x14(%rbp)
movq -0x48(%rbp), %rcx
movl -0x14(%rbp), %eax
cmpl 0x10(%rcx), %eax
jge 0x115674
movq -0x48(%rbp), %rax
movq 0x8(%rax), %rax
movslq -0x14(%rbp), %rcx
movq (%rax,%rcx,8), %rax
movq %rax, -0x20(%rbp)
movl $0x0, -0x24(%rbp)
movl -0x24(%rbp), %eax
movq -0x20(%rbp), %rcx
cmpl (%rcx), %eax
jge 0x115664
movq -0x20(%rbp), %rdi
movl -0x24(%rbp), %esi
callq 0xeb940
movq %rax, -0x30(%rbp)
movq -0x30(%rbp), %rax
movss (%rax), %xmm0
movq -0x10(%rbp), %rax
mulss (%rax), %xmm0
movq -0x30(%rbp), %rax
movss 0x4(%rax), %xmm1
movq -0x10(%rbp), %rax
mulss 0x4(%rax), %xmm1
movq -0x30(%rbp), %rax
movss 0x8(%rax), %xmm2
movq -0x10(%rbp), %rax
mulss (%rax), %xmm2
movq -0x30(%rbp), %rax
movss 0xc(%rax), %xmm3
movq -0x10(%rbp), %rax
mulss 0x4(%rax), %xmm3
leaq -0x40(%rbp), %rdi
callq 0xbf4f0
movq -0x30(%rbp), %rax
movq -0x40(%rbp), %rcx
movq %rcx, (%rax)
movq -0x38(%rbp), %rcx
movq %rcx, 0x8(%rax)
movl -0x24(%rbp), %eax
addl $0x1, %eax
movl %eax, -0x24(%rbp)
jmp 0x1155da
jmp 0x115666
movl -0x14(%rbp), %eax
addl $0x1, %eax
movl %eax, -0x14(%rbp)
jmp 0x1155af
addq $0x50, %rsp
popq %rbp
retq
nopw (%rax,%rax)
// File: Ciaxur[P]yagb-emu/include/imgui/imgui_draw.cpp
// Function: ImFontConfig::ImFontConfig()
ImFontConfig::ImFontConfig()
{
    FontData = NULL;
    FontDataSize = 0;
    FontDataOwnedByAtlas = true;
    FontNo = 0;
    SizePixels = 0.0f;
    OversampleH = 3; // FIXME: 2 may be a better default?
    OversampleV = 1;
    PixelSnapH = false;
    GlyphExtraSpacing = ImVec2(0.0f, 0.0f);
    GlyphOffset = ImVec2(0.0f, 0.0f);
    GlyphRanges = NULL;
    GlyphMinAdvanceX = 0.0f;
    GlyphMaxAdvanceX = FLT_MAX;
    MergeMode = false;
    RasterizerFlags = 0x00;
    RasterizerMultiply = 1.0f;
    EllipsisChar = (ImWchar)-1;
    memset(Name, 0, sizeof(Name));
    DstFont = NULL;
}

// Assembly:
pushq %rbp
movq %rsp, %rbp
subq $0x20, %rsp
movq %rdi, -0x8(%rbp)
movq -0x8(%rbp), %rdi
movq %rdi, -0x20(%rbp)
addq $0x24, %rdi
callq 0xe7de0
movq -0x20(%rbp), %rdi
addq $0x2c, %rdi
callq 0xe7de0
movq -0x20(%rbp), %rax
movq $0x0, (%rax)
movl $0x0, 0x8(%rax)
movb $0x1, 0xc(%rax)
movl $0x0, 0x10(%rax)
xorps %xmm0, %xmm0
movss %xmm0, 0x14(%rax)
movl $0x3, 0x18(%rax)
movl $0x1, 0x1c(%rax)
movb $0x0, 0x20(%rax)
leaq -0x10(%rbp), %rdi
xorps %xmm1, %xmm1
movaps %xmm1, %xmm0
callq 0xbf4c0
movq -0x20(%rbp), %rax
movq -0x10(%rbp), %rcx
movq %rcx, 0x24(%rax)
leaq -0x18(%rbp), %rdi
xorps %xmm1, %xmm1
movaps %xmm1, %xmm0
callq 0xbf4c0
movq -0x20(%rbp), %rdi
movq -0x18(%rbp), %rax
movq %rax, 0x2c(%rdi)
movq $0x0, 0x38(%rdi)
xorps %xmm0, %xmm0
movss %xmm0, 0x40(%rdi)
movss 0x5c345(%rip), %xmm0    # 0x171fb4
movss %xmm0, 0x44(%rdi)
movb $0x0, 0x48(%rdi)
movl $0x0, 0x4c(%rdi)
movss 0x5afb5(%rip), %xmm0    # 0x170c3c
movss %xmm0, 0x50(%rdi)
movw $0xffff, 0x54(%rdi)     # imm = 0xFFFF
addq $0x56, %rdi
xorl %esi, %esi
movl $0x28, %edx
callq 0xd2f0
movq -0x20(%rbp), %rax
movq $0x0, 0x80(%rax)
addq $0x20, %rsp
popq %rbp
retq
nopw (%rax,%rax)
// File: Ciaxur[P]yagb-emu/include/imgui/imgui_draw.cpp
// Function: ImFontAtlas::ImFontAtlas()
ImFontAtlas::ImFontAtlas()
{
    Locked = false;
    Flags = ImFontAtlasFlags_None;
    TexID = (ImTextureID)NULL;
    TexDesiredWidth = 0;
    TexGlyphPadding = 1;

    TexPixelsAlpha8 = NULL;
    TexPixelsRGBA32 = NULL;
    TexWidth = TexHeight = 0;
    TexUvScale = ImVec2(0.0f, 0.0f);
    TexUvWhitePixel = ImVec2(0.0f, 0.0f);
    PackIdMouseCursors = PackIdLines = -1;
}

// Assembly:
pushq %rbp
movq %rsp, %rbp
subq $0x60, %rsp
movq %rdi, -0x8(%rbp)
movq -0x8(%rbp), %rdi
movq %rdi, -0x38(%rbp)
addq $0x30, %rdi
callq 0xe7de0
movq -0x38(%rbp), %rdi
addq $0x38, %rdi
callq 0xe7de0
movq -0x38(%rbp), %rdi
addq $0x40, %rdi
movq %rdi, -0x40(%rbp)
callq 0xed2c0
movq -0x38(%rbp), %rdi
addq $0x50, %rdi
movq %rdi, -0x30(%rbp)
callq 0x1277d0
jmp 0x115d0e
movq -0x38(%rbp), %rdi
addq $0x60, %rdi
movq %rdi, -0x48(%rbp)
callq 0x127800
jmp 0x115d21
movq -0x38(%rbp), %rax
addq $0x70, %rax
movq %rax, %rcx
addq $0x400, %rcx            # imm = 0x400
movq %rcx, -0x58(%rbp)
movq %rax, -0x50(%rbp)
movq -0x50(%rbp), %rdi
movq %rdi, -0x60(%rbp)
callq 0xe7e00
jmp 0x115d4a
movq -0x58(%rbp), %rcx
movq -0x60(%rbp), %rax
addq $0x10, %rax
cmpq %rcx, %rax
movq %rax, -0x50(%rbp)
jne 0x115d3b
movq -0x38(%rbp), %rax
movb $0x0, (%rax)
movl $0x0, 0x4(%rax)
movq $0x0, 0x8(%rax)
movl $0x0, 0x10(%rax)
movl $0x1, 0x14(%rax)
movq $0x0, 0x18(%rax)
movq $0x0, 0x20(%rax)
movl $0x0, 0x2c(%rax)
movl $0x0, 0x28(%rax)
leaq -0x1c(%rbp), %rdi
xorps %xmm1, %xmm1
movaps %xmm1, %xmm0
callq 0xbf4c0
jmp 0x115db2
movq -0x38(%rbp), %rax
movq -0x1c(%rbp), %rcx
movq %rcx, 0x30(%rax)
leaq -0x24(%rbp), %rdi
xorps %xmm1, %xmm1
movaps %xmm1, %xmm0
callq 0xbf4c0
jmp 0x115dcf
movq -0x38(%rbp), %rax
movq -0x24(%rbp), %rcx
movq %rcx, 0x38(%rax)
movl $0xffffffff, 0x474(%rax) # imm = 0xFFFFFFFF
movl $0xffffffff, 0x470(%rax) # imm = 0xFFFFFFFF
addq $0x60, %rsp
popq %rbp
retq
movq %rax, %rcx
movl %edx, %eax
movq %rcx, -0x10(%rbp)
movl %eax, -0x14(%rbp)
jmp 0x115e2f
movq %rax, %rcx
movl %edx, %eax
movq %rcx, -0x10(%rbp)
movl %eax, -0x14(%rbp)
jmp 0x115e26
movq -0x48(%rbp), %rdi
movq %rax, %rcx
movl %edx, %eax
movq %rcx, -0x10(%rbp)
movl %eax, -0x14(%rbp)
callq 0x127830
movq -0x30(%rbp), %rdi
callq 0x127870
movq -0x40(%rbp), %rdi
callq 0xedba0
movq -0x10(%rbp), %rdi
callq 0xd620
nopw %cs:(%rax,%rax)
// File: Ciaxur[P]yagb-emu/include/imgui/imgui_draw.cpp
// Function: ImFontAtlas::ClearInputData()
void    ImFontAtlas::ClearInputData()
{
    IM_ASSERT(!Locked && "Cannot modify a locked ImFontAtlas between NewFrame() and EndFrame/Render()!");
    for (int i = 0; i < ConfigData.Size; i++)
        if (ConfigData[i].FontData && ConfigData[i].FontDataOwnedByAtlas)
        {
            IM_FREE(ConfigData[i].FontData);
            ConfigData[i].FontData = NULL;
        }

    // When clearing this we lose access to the font name and other information used to build the font.
    for (int i = 0; i < Fonts.Size; i++)
        if (Fonts[i]->ConfigData >= ConfigData.Data && Fonts[i]->ConfigData < ConfigData.Data + ConfigData.Size)
        {
            Fonts[i]->ConfigData = NULL;
            Fonts[i]->ConfigDataCount = 0;
        }
    ConfigData.clear();
    CustomRects.clear();
    PackIdMouseCursors = PackIdLines = -1;
}

// Assembly:
pushq %rbp
movq %rsp, %rbp
subq $0x20, %rsp
movq %rdi, -0x8(%rbp)
movq -0x8(%rbp), %rcx
movq %rcx, -0x20(%rbp)
xorl %eax, %eax
testb $0x1, (%rcx)
movb %al, -0x11(%rbp)
jne 0x115f45
movb $0x1, %al
movb %al, -0x11(%rbp)
jmp 0x115f45
movb -0x11(%rbp), %al
testb $0x1, %al
jne 0x115f4e
jmp 0x115f50
jmp 0x115f6f
leaq 0x7458a(%rip), %rdi     # 0x18a4e1
leaq 0x74218(%rip), %rsi     # 0x18a176
movl $0x712, %edx            # imm = 0x712
leaq 0x745ed(%rip), %rcx     # 0x18a557
callq 0xd180
movl $0x0, -0xc(%rbp)
movq -0x20(%rbp), %rcx
movl -0xc(%rbp), %eax
cmpl 0x60(%rcx), %eax
jge 0x115fea
movq -0x20(%rbp), %rdi
addq $0x60, %rdi
movl -0xc(%rbp), %esi
callq 0x1278b0
cmpq $0x0, (%rax)
je 0x115fdd
movq -0x20(%rbp), %rdi
addq $0x60, %rdi
movl -0xc(%rbp), %esi
callq 0x1278b0
testb $0x1, 0xc(%rax)
je 0x115fdd
movq -0x20(%rbp), %rdi
addq $0x60, %rdi
movl -0xc(%rbp), %esi
callq 0x1278b0
movq (%rax), %rdi
callq 0xc4920
movq -0x20(%rbp), %rdi
addq $0x60, %rdi
movl -0xc(%rbp), %esi
callq 0x1278b0
movq $0x0, (%rax)
jmp 0x115fdf
movl -0xc(%rbp), %eax
addl $0x1, %eax
movl %eax, -0xc(%rbp)
jmp 0x115f76
movl $0x0, -0x10(%rbp)
movq -0x20(%rbp), %rcx
movl -0x10(%rbp), %eax
cmpl 0x40(%rcx), %eax
jge 0x116098
movq -0x20(%rbp), %rdi
addq $0x40, %rdi
movl -0x10(%rbp), %esi
callq 0xede60
movq -0x20(%rbp), %rcx
movq (%rax), %rax
movq 0x48(%rax), %rax
cmpq 0x68(%rcx), %rax
jb 0x116088
movq -0x20(%rbp), %rdi
addq $0x40, %rdi
movl -0x10(%rbp), %esi
callq 0xede60
movq -0x20(%rbp), %rdx
movq (%rax), %rax
movq 0x48(%rax), %rax
movq 0x68(%rdx), %rcx
movslq 0x60(%rdx), %rdx
imulq $0x88, %rdx, %rdx
addq %rdx, %rcx
cmpq %rcx, %rax
jae 0x116088
movq -0x20(%rbp), %rdi
addq $0x40, %rdi
movl -0x10(%rbp), %esi
callq 0xede60
movq -0x20(%rbp), %rdi
movq (%rax), %rax
movq $0x0, 0x48(%rax)
addq $0x40, %rdi
movl -0x10(%rbp), %esi
callq 0xede60
movq (%rax), %rax
movw $0x0, 0x50(%rax)
jmp 0x11608a
movl -0x10(%rbp), %eax
addl $0x1, %eax
movl %eax, -0x10(%rbp)
jmp 0x115ff1
movq -0x20(%rbp), %rdi
addq $0x60, %rdi
callq 0x127930
movq -0x20(%rbp), %rdi
addq $0x50, %rdi
callq 0x127980
movq -0x20(%rbp), %rax
movl $0xffffffff, 0x474(%rax) # imm = 0xFFFFFFFF
movl $0xffffffff, 0x470(%rax) # imm = 0xFFFFFFFF
addq $0x20, %rsp
popq %rbp
retq