LLM4Binary/decompile-bench-makefile huggingface dataset:
// File: /workspace/github_cpp_makefile_star2_O1/Ciaxur[P]yagb-emu/include/imgui/imgui_tables.cpp
// Function: ImGui::TableGcCompactTransientBuffers(ImGuiTable*)
void ImGui::TableGcCompactTransientBuffers(ImGuiTable* table)
{
    //IMGUI_DEBUG_LOG("TableGcCompactTransientBuffers() id=0x%08X\n", table->ID);
    ImGuiContext& g = *GImGui;
    IM_ASSERT(table->MemoryCompacted == false);
    table->DrawSplitter.ClearFreeMemory();
    table->SortSpecsMulti.clear();
    table->SortSpecs.Specs = NULL;
    table->IsSortSpecsDirty = true;
    table->ColumnsNames.clear();
    table->MemoryCompacted = true;
    for (int n = 0; n < table->ColumnsCount; n++)
        table->Columns[n].NameOffset = -1;
    g.TablesLastTimeActive[g.Tables.GetIndex(table)] = -1.0f;
}

// Assembly:
pushq %rbp
movq %rsp, %rbp
pushq %r15
pushq %r14
pushq %rbx
pushq %rax
cmpb $0x0, 0x255(%rdi)
jne 0x8f80a
movq %rdi, %rbx
leaq 0x6e5aa(%rip), %rax     # 0xfdcd0
movq (%rax), %r14
addq $0x1e8, %rdi            # imm = 0x1E8
callq 0x76a48
movq 0x218(%rbx), %rdi
testq %rdi, %rdi
je 0x8f757
xorl %r15d, %r15d
movq %r15, 0x210(%rbx)
callq 0x425d4
movq %r15, 0x218(%rbx)
movq $0x0, 0x220(%rbx)
movb $0x1, 0x24b(%rbx)
movq 0x1e0(%rbx), %rdi
testq %rdi, %rdi
je 0x8f78b
xorl %r15d, %r15d
movq %r15, 0x1d8(%rbx)
callq 0x425d4
movq %r15, 0x1e0(%rbx)
movb $0x1, 0x255(%rbx)
movslq 0x6c(%rbx), %rax
testq %rax, %rax
jle 0x8f7b4
movq 0x10(%rbx), %rcx
cmpq 0x18(%rbx), %rcx
jae 0x8f7eb
movw $0xffff, 0x50(%rcx)     # imm = 0xFFFF
addq $0x68, %rcx
decq %rax
jne 0x8f79f
leaq 0x20b0(%r14), %rdi
movq %rbx, %rsi
callq 0x9171a
testl %eax, %eax
js 0x8f829
cmpl %eax, 0x20e8(%r14)
jle 0x8f829
movq 0x20f0(%r14), %rcx
movl %eax, %eax
movl $0xbf800000, (%rcx,%rax,4) # imm = 0xBF800000
addq $0x8, %rsp
popq %rbx
popq %r14
popq %r15
popq %rbp
retq
leaq 0x2cec6(%rip), %rdi     # 0xbc6b8
leaq 0x2be46(%rip), %rsi     # 0xbb63f
leaq 0x2ced1(%rip), %rcx     # 0xbc6d1
movl $0x20e, %edx            # imm = 0x20E
callq 0xc140
leaq 0x42967(%rip), %rdi     # 0xd2178
leaq 0x416a2(%rip), %rsi     # 0xd0eba
leaq 0x42979(%rip), %rcx     # 0xd2198
movl $0xd0f, %edx            # imm = 0xD0F
callq 0xc140
leaq 0x2be48(%rip), %rdi     # 0xbb678
leaq 0x2be54(%rip), %rsi     # 0xbb68b
leaq 0x415b6(%rip), %rcx     # 0xd0df4
movl $0x65c, %edx            # imm = 0x65C
callq 0xc140
// File: /workspace/github_cpp_makefile_star2_O1/Ciaxur[P]yagb-emu/include/imgui/imgui_tables.cpp
// Function: ImGui::TableGcCompactSettings()
void ImGui::TableGcCompactSettings()
{
    ImGuiContext& g = *GImGui;
    int required_memory = 0;
    for (ImGuiTableSettings* settings = g.SettingsTables.begin(); settings != NULL; settings = g.SettingsTables.next_chunk(settings))
        if (settings->ID != 0)
            required_memory += (int)TableSettingsCalcChunkSize(settings->ColumnsCount);
    if (required_memory == g.SettingsTables.Buf.Size)
        return;
    ImChunkStream<ImGuiTableSettings> new_chunk_stream;
    new_chunk_stream.Buf.reserve(required_memory);
    for (ImGuiTableSettings* settings = g.SettingsTables.begin(); settings != NULL; settings = g.SettingsTables.next_chunk(settings))
        if (settings->ID != 0)
            memcpy(new_chunk_stream.alloc_chunk(TableSettingsCalcChunkSize(settings->ColumnsCount)), settings, TableSettingsCalcChunkSize(settings->ColumnsCount));
    g.SettingsTables.swap(new_chunk_stream);
}

// Assembly:
pushq %rbp
movq %rsp, %rbp
pushq %r15
pushq %r14
pushq %r12
pushq %rbx
subq $0x10, %rsp
leaq 0x6e472(%rip), %rax     # 0xfdcd0
movq (%rax), %r12
leaq 0x3118(%r12), %rbx
movq 0x3120(%r12), %rax
testq %rax, %rax
je 0x8f8a3
addq $0x4, %rax
xorl %r15d, %r15d
cmpl $0x0, (%rax)
je 0x8f891
movsbl 0xc(%rax), %ecx
leal (%rcx,%rcx,2), %ecx
leal (%r15,%rcx,4), %r15d
addl $0x10, %r15d
movq %rbx, %rdi
movq %rax, %rsi
callq 0x5f6be
testq %rax, %rax
jne 0x8f87d
jmp 0x8f8a6
xorl %r15d, %r15d
cmpl (%rbx), %r15d
je 0x8f9a2
xorps %xmm0, %xmm0
movaps %xmm0, -0x30(%rbp)
cmpl %r15d, -0x2c(%rbp)
jge 0x8f8ed
movslq %r15d, %rdi
callq 0x424fb
movq %rax, %r14
movq -0x28(%rbp), %rsi
testq %rsi, %rsi
je 0x8f8e5
movslq -0x30(%rbp), %rdx
movq %r14, %rdi
callq 0xc080
movq -0x28(%rbp), %rdi
callq 0x425d4
movq %r14, -0x28(%rbp)
movl %r15d, -0x2c(%rbp)
movq 0x3120(%r12), %rax
leaq 0x4(%rax), %r14
testq %rax, %rax
cmoveq %rax, %r14
leaq -0x30(%rbp), %r15
testq %r14, %r14
je 0x8f954
cmpl $0x0, (%r14)
je 0x8f944
movsbq 0xc(%r14), %rax
leaq (%rax,%rax,2), %rax
leaq 0x10(,%rax,4), %rsi
movq %r15, %rdi
callq 0x918ac
movsbq 0xc(%r14), %rcx
leaq (%rcx,%rcx,2), %rcx
leaq 0x10(,%rcx,4), %rdx
movq %rax, %rdi
movq %r14, %rsi
callq 0xc080
movq %rbx, %rdi
movq %r14, %rsi
callq 0x5f6be
movq %rax, %r14
jmp 0x8f904
movl 0x3118(%r12), %eax
movl -0x30(%rbp), %ecx
movl %ecx, 0x3118(%r12)
movl %eax, -0x30(%rbp)
movl 0x311c(%r12), %eax
movl -0x2c(%rbp), %ecx
movl %ecx, 0x311c(%r12)
movl %eax, -0x2c(%rbp)
movq 0x3120(%r12), %rdi
movq -0x28(%rbp), %rax
movq %rax, 0x3120(%r12)
movq %rdi, -0x28(%rbp)
testq %rdi, %rdi
je 0x8f9a2
callq 0x425d4
addq $0x10, %rsp
popq %rbx
popq %r12
popq %r14
popq %r15
popq %rbp
retq
movq %rax, %rdi
callq 0x3a5b4
jmp 0x8f9b9
movq %rax, %rbx
leaq -0x30(%rbp), %rdi
callq 0x5f834
movq %rbx, %rdi
callq 0xc560
// File: /workspace/github_cpp_makefile_star2_O1/Ciaxur[P]yagb-emu/include/imgui/imgui_tables.cpp
// Function: ImGui::DebugNodeTableSettings(ImGuiTableSettings*)
void ImGui::DebugNodeTableSettings(ImGuiTableSettings* settings)
{
    if (!TreeNode((void*)(intptr_t)settings->ID, "Settings 0x%08X (%d columns)", settings->ID, settings->ColumnsCount))
        return;
    BulletText("SaveFlags: 0x%08X", settings->SaveFlags);
    BulletText("ColumnsCount: %d (max %d)", settings->ColumnsCount, settings->ColumnsCountMax);
    for (int n = 0; n < settings->ColumnsCount; n++)
    {
        ImGuiTableColumnSettings* column_settings = &settings->GetColumnSettings()[n];
        ImGuiSortDirection sort_dir = (column_settings->SortOrder != -1) ? (ImGuiSortDirection)column_settings->SortDirection : ImGuiSortDirection_None;
        BulletText("Column %d Order %d SortOrder %d %s Vis %d %s %7.3f UserID 0x%08X",
            n, column_settings->DisplayOrder, column_settings->SortOrder,
            (sort_dir == ImGuiSortDirection_Ascending) ? "Asc" : (sort_dir == ImGuiSortDirection_Descending) ? "Des" : "---",
            column_settings->IsEnabled, column_settings->IsStretch ? "Weight" : "Width ", column_settings->WidthOrWeight, column_settings->UserID);
    }
    TreePop();
}

// Assembly:
pushq %rbp
movq %rsp, %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
pushq %rax
movq %rdi, %rbx
movl (%rdi), %edi
movsbl 0xc(%rbx), %ecx
leaq 0x42442(%rip), %rsi     # 0xd24ed
movl %edi, %edx
xorl %eax, %eax
callq 0xa21c9
testb %al, %al
je 0x901aa
movl 0x4(%rbx), %esi
leaq 0x42444(%rip), %rdi     # 0xd250a
xorl %eax, %eax
callq 0x92645
movsbl 0xc(%rbx), %esi
movsbl 0xd(%rbx), %edx
leaq 0x42440(%rip), %rdi     # 0xd251c
xorl %eax, %eax
callq 0x92645
cmpb $0x0, 0xc(%rbx)
jle 0x90197
leaq 0x1b(%rbx), %r12
xorl %r14d, %r14d
leaq 0x4248b(%rip), %r13     # 0xd2586
leaq 0x42434(%rip), %r15     # 0xd2536
movsbl -0x1(%r12), %ecx
movl $0x0, %eax
cmpl $-0x1, %ecx
je 0x9011a
movzbl (%r12), %eax
andl $0x3, %eax
leaq 0x4245a(%rip), %r8      # 0xd257b
cmpl $0x2, %eax
je 0x9012d
leaq 0x43340(%rip), %r8      # 0xd346d
cmpl $0x1, %eax
leaq 0x42440(%rip), %rax     # 0xd2577
cmoveq %rax, %r8
movzbl (%r12), %r9d
movq %r13, %r10
testb $0x8, %r9b
je 0x90150
leaq 0x4242f(%rip), %r10     # 0xd257f
movsbl -0x2(%r12), %edx
shrl $0x2, %r9d
andl $0x1, %r9d
xorps %xmm0, %xmm0
cvtss2sd -0xb(%r12), %xmm0
movl -0x7(%r12), %r11d
movq %r15, %rdi
movl %r14d, %esi
movb $0x1, %al
pushq %r11
pushq %r10
callq 0x92645
addq $0x10, %rsp
incq %r14
movsbq 0xc(%rbx), %rax
addq $0xc, %r12
cmpq %rax, %r14
jl 0x90102
addq $0x8, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
jmp 0xa2f4e
addq $0x8, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
// File: /workspace/github_cpp_makefile_star2_O1/Ciaxur[P]yagb-emu/include/imgui/imgui_tables.cpp
// Function: ImGui::GetColumnOffset(int)
float ImGui::GetColumnOffset(int column_index)
{
    ImGuiWindow* window = GetCurrentWindowRead();
    ImGuiOldColumns* columns = window->DC.CurrentColumns;
    if (columns == NULL)
        return 0.0f;

    if (column_index < 0)
        column_index = columns->Current;
    IM_ASSERT(column_index < columns->Columns.Size);

    const float t = columns->Columns[column_index].OffsetNorm;
    const float x_offset = ImLerp(columns->OffMinX, columns->OffMaxX, t);
    return x_offset;
}

// Assembly:
pushq %rbp
movq %rsp, %rbp
leaq 0x6da8d(%rip), %rax     # 0xfdcd0
movq (%rax), %rax
movq 0x1ae0(%rax), %rax
movq 0x1b0(%rax), %rax
testq %rax, %rax
je 0x90293
testl %edi, %edi
jns 0x90260
movl 0xc(%rax), %edi
cmpl 0x60(%rax), %edi
jge 0x90298
testl %edi, %edi
js 0x902b7
movq 0x68(%rax), %rcx
movl %edi, %edx
leaq (%rdx,%rdx,8), %rsi
leaq (%rsi,%rsi,2), %rsi
addq %rdx, %rsi
movss 0x14(%rax), %xmm1
movss 0x18(%rax), %xmm0
subss %xmm1, %xmm0
mulss (%rcx,%rsi), %xmm0
addss %xmm1, %xmm0
jmp 0x90296
xorps %xmm0, %xmm0
popq %rbp
retq
leaq 0x422ee(%rip), %rdi     # 0xd258d
leaq 0x40c14(%rip), %rsi     # 0xd0eba
leaq 0x42305(%rip), %rcx     # 0xd25b2
movl $0xdee, %edx            # imm = 0xDEE
callq 0xc140
leaq 0x2b3ba(%rip), %rdi     # 0xbb678
leaq 0x2b3c6(%rip), %rsi     # 0xbb68b
leaq 0x42b46(%rip), %rcx     # 0xd2e12
movl $0x65c, %edx            # imm = 0x65C
callq 0xc140
// File: /workspace/github_cpp_makefile_star2_O1/Ciaxur[P]yagb-emu/include/imgui/imgui_tables.cpp
// Function: ImGui::GetColumnWidth(int)
float ImGui::GetColumnWidth(int column_index)
{
    ImGuiContext& g = *GImGui;
    ImGuiWindow* window = g.CurrentWindow;
    ImGuiOldColumns* columns = window->DC.CurrentColumns;
    if (columns == NULL)
        return GetContentRegionAvail().x;

    if (column_index < 0)
        column_index = columns->Current;
    return GetColumnOffsetFromNorm(columns, columns->Columns[column_index + 1].OffsetNorm - columns->Columns[column_index].OffsetNorm);
}

// Assembly:
pushq %rbp
movq %rsp, %rbp
leaq 0x6d9ef(%rip), %rax     # 0xfdcd0
movq (%rax), %rax
movq 0x1ae0(%rax), %rax
movq 0x1b0(%rax), %rax
testq %rax, %rax
je 0x90347
testl %edi, %edi
jns 0x902fe
movl 0xc(%rax), %edi
cmpl $-0x1, %edi
jl 0x9034e
leal 0x1(%rdi), %ecx
cmpl %ecx, 0x60(%rax)
jle 0x9034e
testl %edi, %edi
js 0x9034e
movq 0x68(%rax), %rdx
movl %ecx, %ecx
leaq (%rcx,%rcx,8), %rsi
leaq (%rsi,%rsi,2), %rsi
addq %rcx, %rsi
movss (%rdx,%rsi), %xmm1
movl %edi, %ecx
leaq (%rcx,%rcx,8), %rsi
leaq (%rsi,%rsi,2), %rsi
addq %rcx, %rsi
subss (%rdx,%rsi), %xmm1
movss 0x18(%rax), %xmm0
subss 0x14(%rax), %xmm0
mulss %xmm1, %xmm0
jmp 0x9034c
callq 0x52f20
popq %rbp
retq
leaq 0x2b323(%rip), %rdi     # 0xbb678
leaq 0x2b32f(%rip), %rsi     # 0xbb68b
leaq 0x42aaf(%rip), %rcx     # 0xd2e12
movl $0x65c, %edx            # imm = 0x65C
callq 0xc140
// File: /workspace/github_cpp_makefile_star2_O1/Ciaxur[P]yagb-emu/include/imgui/imgui_tables.cpp
// Function: ImGui::SetColumnWidth(int, float)
void ImGui::SetColumnWidth(int column_index, float width)
{
    ImGuiWindow* window = GetCurrentWindowRead();
    ImGuiOldColumns* columns = window->DC.CurrentColumns;
    IM_ASSERT(columns != NULL);

    if (column_index < 0)
        column_index = columns->Current;
    SetColumnOffset(column_index + 1, GetColumnOffset(column_index) + width);
}

// Assembly:
pushq %rbp
movq %rsp, %rbp
pushq %rbx
pushq %rax
leaq 0x6d750(%rip), %rax     # 0xfdcd0
movq (%rax), %rax
movq 0x1ae0(%rax), %rax
movq 0x1b0(%rax), %rax
testq %rax, %rax
je 0x905bc
movss %xmm0, -0xc(%rbp)
testl %edi, %edi
jns 0x905a2
movl 0xc(%rax), %edi
leal 0x1(%rdi), %ebx
callq 0x90238
addss -0xc(%rbp), %xmm0
movl %ebx, %edi
addq $0x8, %rsp
popq %rbx
popq %rbp
jmp 0x9036d
leaq 0x42011(%rip), %rdi     # 0xd25d4
leaq 0x408f0(%rip), %rsi     # 0xd0eba
leaq 0x4203d(%rip), %rcx     # 0xd260e
movl $0xe29, %edx            # imm = 0xE29
callq 0xc140
// File: /workspace/github_cpp_makefile_star2_O1/Ciaxur[P]yagb-emu/include/imgui/imgui_tables.cpp
// Function: ImGui::PushColumnsBackground()
void ImGui::PushColumnsBackground()
{
    ImGuiWindow* window = GetCurrentWindowRead();
    ImGuiOldColumns* columns = window->DC.CurrentColumns;
    if (columns->Count == 1)
        return;

    // Optimization: avoid SetCurrentChannel() + PushClipRect()
    columns->HostBackupClipRect = window->ClipRect;
    SetWindowClipRectBeforeSetChannel(window, columns->HostInitialClipRect);
    columns->Splitter.SetCurrentChannel(window->DrawList, 0);
}

// Assembly:
pushq %rbp
movq %rsp, %rbp
leaq 0x6d677(%rip), %rax     # 0xfdcd0
movq (%rax), %rax
movq 0x1ae0(%rax), %rax
movq 0x1b0(%rax), %rdi
cmpl $0x1, 0x10(%rdi)
jne 0x90672
popq %rbp
retq
movups 0x258(%rax), %xmm0
movups %xmm0, 0x3c(%rdi)
movsd 0x2c(%rdi), %xmm0
movups 0x2c(%rdi), %xmm1
movhps 0x34(%rdi), %xmm0       # xmm0 = xmm0[0,1],mem[0,1]
movups %xmm1, 0x258(%rax)
movq 0x2b8(%rax), %rcx
movups %xmm0, 0x88(%rcx)
movq 0x2b8(%rax), %rcx
movq 0x60(%rcx), %rdx
movslq 0x58(%rcx), %rcx
shlq $0x4, %rcx
movups %xmm0, -0x10(%rdx,%rcx)
addq $0x70, %rdi
movq 0x2b8(%rax), %rsi
xorl %edx, %edx
popq %rbp
jmp 0x7c2ae
// File: /workspace/github_cpp_makefile_star2_O1/Ciaxur[P]yagb-emu/include/imgui/imgui_tables.cpp
// Function: ImGui::PopColumnsBackground()
void ImGui::PopColumnsBackground()
{
    ImGuiWindow* window = GetCurrentWindowRead();
    ImGuiOldColumns* columns = window->DC.CurrentColumns;
    if (columns->Count == 1)
        return;

    // Optimization: avoid PopClipRect() + SetCurrentChannel()
    SetWindowClipRectBeforeSetChannel(window, columns->HostBackupClipRect);
    columns->Splitter.SetCurrentChannel(window->DrawList, columns->Current + 1);
}

// Assembly:
pushq %rbp
movq %rsp, %rbp
leaq 0x6d5fb(%rip), %rax     # 0xfdcd0
movq (%rax), %rax
movq 0x1ae0(%rax), %rax
movq 0x1b0(%rax), %rdi
cmpl $0x1, 0x10(%rdi)
jne 0x906ee
popq %rbp
retq
movsd 0x3c(%rdi), %xmm0
movhps 0x44(%rdi), %xmm0       # xmm0 = xmm0[0,1],mem[0,1]
movups 0x3c(%rdi), %xmm1
movups %xmm1, 0x258(%rax)
movq 0x2b8(%rax), %rcx
movups %xmm0, 0x88(%rcx)
movq 0x2b8(%rax), %rcx
movq 0x60(%rcx), %rdx
movslq 0x58(%rcx), %rcx
shlq $0x4, %rcx
movups %xmm0, -0x10(%rdx,%rcx)
movq 0x2b8(%rax), %rsi
movl 0xc(%rdi), %edx
addq $0x70, %rdi
incl %edx
popq %rbp
jmp 0x7c2ae
// File: /workspace/github_cpp_makefile_star2_O1/Ciaxur[P]yagb-emu/include/imgui/imgui_tables.cpp
// Function: ImGui::FindOrCreateColumns(ImGuiWindow*, unsigned int)
ImGuiOldColumns* ImGui::FindOrCreateColumns(ImGuiWindow* window, ImGuiID id)
{
    // We have few columns per window so for now we don't need bother much with turning this into a faster lookup.
    for (int n = 0; n < window->ColumnsStorage.Size; n++)
        if (window->ColumnsStorage[n].ID == id)
            return &window->ColumnsStorage[n];

    window->ColumnsStorage.push_back(ImGuiOldColumns());
    ImGuiOldColumns* columns = &window->ColumnsStorage.back();
    columns->ID = id;
    return columns;
}

// Assembly:
pushq %rbp
movq %rsp, %rbp
pushq %r15
pushq %r14
pushq %r12
pushq %rbx
subq $0x90, %rsp
movl %esi, %ebx
movq %rdi, %r14
movslq 0x2a0(%rdi), %r12
testq %r12, %r12
setg %cl
jle 0x9079c
movq 0x2a8(%r14), %rax
cmpl %ebx, (%rax)
je 0x907a1
movl $0x1, %ecx
cmpq %rcx, %r12
je 0x9079e
leaq 0x88(%rax), %rdx
incq %rcx
cmpl %ebx, 0x88(%rax)
movq %rdx, %rax
jne 0x90774
decq %rcx
cmpq %r12, %rcx
setb %cl
movq %rdx, %rax
jmp 0x907a1
jmp 0x907a1
seta %cl
testb %cl, %cl
jne 0x908c2
leaq -0xa8(%rbp), %rdi
movl $0x88, %edx
xorl %esi, %esi
callq 0xc260
movl 0x2a4(%r14), %eax
cmpl %eax, %r12d
jne 0x90843
incl %r12d
testl %eax, %eax
je 0x907dc
movl %eax, %ecx
shrl $0x1f, %ecx
addl %eax, %ecx
sarl %ecx
addl %eax, %ecx
jmp 0x907e1
movl $0x8, %ecx
cmpl %r12d, %ecx
cmovgl %ecx, %r12d
cmpl %r12d, %eax
jge 0x90843
movslq %r12d, %rax
movq %rax, %rcx
shlq $0x7, %rcx
leaq (%rcx,%rax,8), %rdi
callq 0x424fb
movq %rax, %r15
movq 0x2a8(%r14), %rsi
testq %rsi, %rsi
je 0x90835
movslq 0x2a0(%r14), %rax
movq %rax, %rcx
shlq $0x7, %rcx
leaq (%rcx,%rax,8), %rdx
movq %r15, %rdi
callq 0xc080
movq 0x2a8(%r14), %rdi
callq 0x425d4
movq %r15, 0x2a8(%r14)
movl %r12d, 0x2a4(%r14)
movslq 0x2a0(%r14), %rax
movq %rax, %rcx
shlq $0x7, %rcx
leaq (%rcx,%rax,8), %rdi
addq 0x2a8(%r14), %rdi
leaq -0xa8(%rbp), %rsi
movl $0x88, %edx
callq 0xc080
incl 0x2a0(%r14)
leaq -0x38(%rbp), %rdi
callq 0x76a48
movq -0x28(%rbp), %rdi
testq %rdi, %rdi
je 0x9088b
callq 0x425d4
movq -0x40(%rbp), %rdi
testq %rdi, %rdi
je 0x90899
callq 0x425d4
movslq 0x2a0(%r14), %rax
testq %rax, %rax
jle 0x908d2
movq 0x2a8(%r14), %rcx
movq %rax, %rdx
shlq $0x7, %rdx
leaq (%rdx,%rax,8), %rax
addq %rcx, %rax
addq $-0x88, %rax
movl %ebx, (%rax)
addq $0x90, %rsp
popq %rbx
popq %r12
popq %r14
popq %r15
popq %rbp
retq
leaq 0x3f101(%rip), %rdi     # 0xcf9da
leaq 0x2adab(%rip), %rsi     # 0xbb68b
leaq 0x42575(%rip), %rcx     # 0xd2e5c
movl $0x666, %edx            # imm = 0x666
callq 0xc140
movq %rax, %rbx
leaq -0xa8(%rbp), %rdi
callq 0x919a0
movq %rbx, %rdi
callq 0xc560
jmp 0x9090c
jmp 0x9090c
movq %rax, %rdi
callq 0x3a5b4
// File: /workspace/github_cpp_makefile_star2_O1/Ciaxur[P]yagb-emu/include/imgui/imgui_tables.cpp
// Function: ImGui::GetColumnsID(char const*, int)
ImGuiID ImGui::GetColumnsID(const char* str_id, int columns_count)
{
    ImGuiWindow* window = GetCurrentWindow();

    // Differentiate column ID with an arbitrary prefix for cases where users name their columns set the same as another widget.
    // In addition, when an identifier isn't explicitly provided we include the number of columns in the hash to make it uniquer.
    PushID(0x11223347 + (str_id ? 0 : columns_count));
    ImGuiID id = window->GetID(str_id ? str_id : "columns");
    PopID();

    return id;
}

// Assembly:
pushq %rbp
movq %rsp, %rbp
pushq %r14
pushq %rbx
leaq 0x6d3ae(%rip), %rax     # 0xfdcd0
movq (%rax), %rax
movq 0x1ae0(%rax), %rbx
movb $0x1, 0x90(%rbx)
movl $0x11223347, %ecx       # imm = 0x11223347
leal (%rsi,%rcx), %eax
testq %rdi, %rdi
cmovnel %ecx, %eax
leaq 0x35c9e(%rip), %r14     # 0xc65e6
cmovneq %rdi, %r14
movl %eax, %edi
callq 0x55f53
movq %rbx, %rdi
movq %r14, %rsi
xorl %edx, %edx
callq 0x46258
movl %eax, %ebx
callq 0x56188
movl %ebx, %eax
popq %rbx
popq %r14
popq %rbp
retq
// File: /workspace/github_cpp_makefile_star2_O1/Ciaxur[P]yagb-emu/include/imgui/imgui_tables.cpp
// Function: ImGui::Columns(int, char const*, bool)
void ImGui::Columns(int columns_count, const char* id, bool border)
{
    ImGuiWindow* window = GetCurrentWindow();
    IM_ASSERT(columns_count >= 1);

    ImGuiOldColumnFlags flags = (border ? 0 : ImGuiOldColumnFlags_NoBorder);
    //flags |= ImGuiOldColumnFlags_NoPreserveWidths; // NB: Legacy behavior
    ImGuiOldColumns* columns = window->DC.CurrentColumns;
    if (columns != NULL && columns->Count == columns_count && columns->Flags == flags)
        return;

    if (columns != NULL)
        EndColumns();

    if (columns_count != 1)
        BeginColumns(id, columns_count, flags);
}

// Assembly:
pushq %rbp
movq %rsp, %rbp
pushq %r15
pushq %r14
pushq %rbx
pushq %rax
leaq 0x6c705(%rip), %rax     # 0xfdcd0
movq (%rax), %rax
movq 0x1ae0(%rax), %rax
movb $0x1, 0x90(%rax)
testl %edi, %edi
jle 0x9162f
movq %rsi, %r14
movl %edi, %ebx
xorb $0x1, %dl
movzbl %dl, %r15d
movq 0x1b0(%rax), %rax
testq %rax, %rax
je 0x91608
cmpl %ebx, 0x10(%rax)
jne 0x91603
cmpl %r15d, 0x4(%rax)
je 0x9160d
callq 0x91148
cmpl $0x1, %ebx
jne 0x91618
addq $0x8, %rsp
popq %rbx
popq %r14
popq %r15
popq %rbp
retq
movq %r14, %rdi
movl %ebx, %esi
movl %r15d, %edx
addq $0x8, %rsp
popq %rbx
popq %r14
popq %r15
popq %rbp
jmp 0x9096e
leaq 0x40fff(%rip), %rdi     # 0xd2635
leaq 0x3f87d(%rip), %rsi     # 0xd0eba
leaq 0x410c3(%rip), %rcx     # 0xd2707
movl $0xf42, %edx            # imm = 0xF42
callq 0xc140
// File: /workspace/github_cpp_makefile_star2_O1/Ciaxur[P]yagb-emu/include/imgui/imgui_widgets.cpp
// Function: ImGui::TextV(char const*, __va_list_tag*)
void ImGui::TextV(const char* fmt, va_list args)
{
    ImGuiWindow* window = GetCurrentWindow();
    if (window->SkipItems)
        return;

    ImGuiContext& g = *GImGui;
    const char* text_end = g.TempBuffer + ImFormatStringV(g.TempBuffer, IM_ARRAYSIZE(g.TempBuffer), fmt, args);
    TextEx(g.TempBuffer, text_end, ImGuiTextFlags_NoWidthForLargeClippedText);
}

// Assembly:
pushq %rbp
movq %rsp, %rbp
pushq %r14
pushq %rbx
leaq 0x6bc23(%rip), %rax     # 0xfdcd0
movq (%rax), %r14
movq 0x1ae0(%r14), %rax
movb $0x1, 0x90(%rax)
cmpb $0x0, 0x93(%rax)
je 0x920cc
popq %rbx
popq %r14
popq %rbp
retq
movq %rsi, %rcx
movq %rdi, %rdx
leaq 0x3378(%r14), %rbx
movl $0xc01, %esi            # imm = 0xC01
movq %rbx, %rdi
callq 0x42870
cltq
leaq (%r14,%rax), %rsi
addq $0x3378, %rsi           # imm = 0x3378
movq %rbx, %rdi
movl $0x1, %edx
popq %rbx
popq %r14
popq %rbp
jmp 0x91b8c
// File: /workspace/github_cpp_makefile_star2_O1/Ciaxur[P]yagb-emu/include/imgui/imgui_widgets.cpp
// Function: ImGui::TextColoredV(ImVec4 const&, char const*, __va_list_tag*)
void ImGui::TextColoredV(const ImVec4& col, const char* fmt, va_list args)
{
    PushStyleColor(ImGuiCol_Text, col);
    if (fmt[0] == '%' && fmt[1] == 's' && fmt[2] == 0)
        TextEx(va_arg(args, const char*), NULL, ImGuiTextFlags_NoWidthForLargeClippedText); // Skip formatting
    else
        TextV(fmt, args);
    PopStyleColor();
}

// Assembly:
pushq %rbp
movq %rsp, %rbp
pushq %r14
pushq %rbx
movq %rdx, %rbx
movq %rsi, %r14
movq %rdi, %rsi
xorl %edi, %edi
callq 0x4481b
cmpb $0x25, (%r14)
jne 0x921a6
cmpb $0x73, 0x1(%r14)
jne 0x921a6
cmpb $0x0, 0x2(%r14)
je 0x921bf
movq %r14, %rdi
movq %rbx, %rsi
callq 0x9209f
movl $0x1, %edi
popq %rbx
popq %r14
popq %rbp
jmp 0x44964
movl (%rbx), %ecx
cmpq $0x28, %rcx
ja 0x921d5
movq %rcx, %rax
addq 0x10(%rbx), %rax
addl $0x8, %ecx
movl %ecx, (%rbx)
jmp 0x921e1
movq 0x8(%rbx), %rax
leaq 0x8(%rax), %rcx
movq %rcx, 0x8(%rbx)
movq (%rax), %rdi
xorl %esi, %esi
movl $0x1, %edx
callq 0x91b8c
jmp 0x921b1
// File: /workspace/github_cpp_makefile_star2_O1/Ciaxur[P]yagb-emu/include/imgui/imgui_widgets.cpp
// Function: ImGui::TextDisabledV(char const*, __va_list_tag*)
void ImGui::TextDisabledV(const char* fmt, va_list args)
{
    ImGuiContext& g = *GImGui;
    PushStyleColor(ImGuiCol_Text, g.Style.Colors[ImGuiCol_TextDisabled]);
    if (fmt[0] == '%' && fmt[1] == 's' && fmt[2] == 0)
        TextEx(va_arg(args, const char*), NULL, ImGuiTextFlags_NoWidthForLargeClippedText); // Skip formatting
    else
        TextV(fmt, args);
    PopStyleColor();
}

// Assembly:
pushq %rbp
movq %rsp, %rbp
pushq %r14
pushq %rbx
movq %rsi, %rbx
movq %rdi, %r14
leaq 0x6ba4f(%rip), %rax     # 0xfdcd0
movl $0x1634, %esi           # imm = 0x1634
addq (%rax), %rsi
xorl %edi, %edi
callq 0x4481b
cmpb $0x25, (%r14)
jne 0x922a4
cmpb $0x73, 0x1(%r14)
jne 0x922a4
cmpb $0x0, 0x2(%r14)
je 0x922bd
movq %r14, %rdi
movq %rbx, %rsi
callq 0x9209f
movl $0x1, %edi
popq %rbx
popq %r14
popq %rbp
jmp 0x44964
movl (%rbx), %ecx
cmpq $0x28, %rcx
ja 0x922d3
movq %rcx, %rax
addq 0x10(%rbx), %rax
addl $0x8, %ecx
movl %ecx, (%rbx)
jmp 0x922df
movq 0x8(%rbx), %rax
leaq 0x8(%rax), %rcx
movq %rcx, 0x8(%rbx)
movq (%rax), %rdi
xorl %esi, %esi
movl $0x1, %edx
callq 0x91b8c
jmp 0x922af
// File: /workspace/github_cpp_makefile_star2_O1/Ciaxur[P]yagb-emu/include/imgui/imgui_widgets.cpp
// Function: ImGui::TextWrappedV(char const*, __va_list_tag*)
void ImGui::TextWrappedV(const char* fmt, va_list args)
{
    ImGuiContext& g = *GImGui;
    bool need_backup = (g.CurrentWindow->DC.TextWrapPos < 0.0f);  // Keep existing wrap position if one is already set
    if (need_backup)
        PushTextWrapPos(0.0f);
    if (fmt[0] == '%' && fmt[1] == 's' && fmt[2] == 0)
        TextEx(va_arg(args, const char*), NULL, ImGuiTextFlags_NoWidthForLargeClippedText); // Skip formatting
    else
        TextV(fmt, args);
    if (need_backup)
        PopTextWrapPos();
}

// Assembly:
pushq %rbp
movq %rsp, %rbp
pushq %r14
pushq %rbx
subq $0x10, %rsp
movq %rsi, %rbx
movq %rdi, %r14
leaq 0x6b94d(%rip), %rax     # 0xfdcd0
movq (%rax), %rax
movq 0x1ae0(%rax), %rax
movss 0x1d4(%rax), %xmm1
xorps %xmm0, %xmm0
movss %xmm1, -0x14(%rbp)
ucomiss %xmm1, %xmm0
jbe 0x923a7
callq 0x55008
cmpb $0x25, (%r14)
jne 0x923bb
cmpb $0x73, 0x1(%r14)
jne 0x923bb
cmpb $0x0, 0x2(%r14)
je 0x923e5
movq %r14, %rdi
movq %rbx, %rsi
callq 0x9209f
xorps %xmm0, %xmm0
ucomiss -0x14(%rbp), %xmm0
jbe 0x923dc
addq $0x10, %rsp
popq %rbx
popq %r14
popq %rbp
jmp 0x5511a
addq $0x10, %rsp
popq %rbx
popq %r14
popq %rbp
retq
movl (%rbx), %ecx
cmpq $0x28, %rcx
ja 0x923fb
movq %rcx, %rax
addq 0x10(%rbx), %rax
addl $0x8, %ecx
movl %ecx, (%rbx)
jmp 0x92407
movq 0x8(%rbx), %rax
leaq 0x8(%rax), %rcx
movq %rcx, 0x8(%rbx)
movq (%rax), %rdi
xorl %esi, %esi
movl $0x1, %edx
callq 0x91b8c
jmp 0x923c6
// File: /workspace/github_cpp_makefile_star2_O1/Ciaxur[P]yagb-emu/include/imgui/imgui_widgets.cpp
// Function: ImGui::SmallButton(char const*)
bool ImGui::SmallButton(const char* label)
{
    ImGuiContext& g = *GImGui;
    float backup_padding_y = g.Style.FramePadding.y;
    g.Style.FramePadding.y = 0.0f;
    bool pressed = ButtonEx(label, ImVec2(0, 0), ImGuiButtonFlags_AlignTextBaseLine);
    g.Style.FramePadding.y = backup_padding_y;
    return pressed;
}

// Assembly:
pushq %rbp
movq %rsp, %rbp
pushq %rbx
subq $0x18, %rsp
leaq 0x6ab8c(%rip), %rax     # 0xfdcd0
movq (%rax), %rbx
movss 0x159c(%rbx), %xmm0
movss %xmm0, -0xc(%rbp)
movl $0x0, 0x159c(%rbx)
leaq -0x14(%rbp), %rsi
movq $0x0, (%rsi)
movl $0x8000, %edx           # imm = 0x8000
callq 0x92ee7
movss -0xc(%rbp), %xmm0
movss %xmm0, 0x159c(%rbx)
addq $0x18, %rsp
popq %rbx
popq %rbp
retq
// File: /workspace/github_cpp_makefile_star2_O1/Ciaxur[P]yagb-emu/include/imgui/imgui_widgets.cpp
// Function: ImGui::InvisibleButton(char const*, ImVec2 const&, int)
bool ImGui::InvisibleButton(const char* str_id, const ImVec2& size_arg, ImGuiButtonFlags flags)
{
    ImGuiWindow* window = GetCurrentWindow();
    if (window->SkipItems)
        return false;

    // Cannot use zero-size for InvisibleButton(). Unlike Button() there is not way to fallback using the label size.
    IM_ASSERT(size_arg.x != 0.0f && size_arg.y != 0.0f);

    const ImGuiID id = window->GetID(str_id);
    ImVec2 size = CalcItemSize(size_arg, 0.0f, 0.0f);
    const ImRect bb(window->DC.CursorPos, window->DC.CursorPos + size);
    ItemSize(size);
    if (!ItemAdd(bb, id))
        return false;

    bool hovered, held;
    bool pressed = ButtonBehavior(bb, id, &hovered, &held, flags);

    return pressed;
}

// Assembly:
pushq %rbp
movq %rsp, %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $0x28, %rsp
leaq 0x6ab31(%rip), %rax     # 0xfdcd0
movq (%rax), %rax
movq 0x1ae0(%rax), %r12
movb $0x1, 0x90(%r12)
cmpb $0x0, 0x93(%r12)
je 0x931c5
xorl %r14d, %r14d
jmp 0x93286
movq %rsi, %r13
movss (%rsi), %xmm1
xorps %xmm0, %xmm0
ucomiss %xmm0, %xmm1
jne 0x931da
jnp 0x93298
movss 0x4(%r13), %xmm1
ucomiss %xmm0, %xmm1
jne 0x931eb
jnp 0x93298
movl %edx, %ebx
movq %rdi, %rsi
xorl %r14d, %r14d
movq %r12, %rdi
xorl %edx, %edx
callq 0x46258
movl %eax, %r15d
movsd (%r13), %xmm0
xorps %xmm1, %xmm1
xorps %xmm2, %xmm2
callq 0x57311
leaq -0x48(%rbp), %rdi
movlps %xmm0, (%rdi)
movss 0xd8(%r12), %xmm0
addss (%rdi), %xmm0
movss 0xdc(%r12), %xmm1
addss 0x4(%rdi), %xmm1
unpcklps %xmm1, %xmm0            # xmm0 = xmm0[0],xmm1[0],xmm0[1],xmm1[1]
movq 0xd8(%r12), %rax
leaq -0x40(%rbp), %r12
movq %rax, (%r12)
movlps %xmm0, 0x8(%r12)
movss 0x23d7a(%rip), %xmm0    # 0xb6fd0
callq 0x532de
movq %r12, %rdi
movl %r15d, %esi
xorl %edx, %edx
callq 0x5346f
testb %al, %al
je 0x93286
leaq -0x40(%rbp), %rdi
leaq -0x2a(%rbp), %rdx
leaq -0x29(%rbp), %rcx
movl %r15d, %esi
movl %ebx, %r8d
callq 0x92870
movl %eax, %r14d
movl %r14d, %eax
addq $0x28, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
leaq 0x3ff99(%rip), %rdi     # 0xd3238
leaq 0x3fea2(%rip), %rsi     # 0xd3148
leaq 0x3ffb4(%rip), %rcx     # 0xd3261
movl $0x2da, %edx            # imm = 0x2DA
callq 0xc140
// File: /workspace/github_cpp_makefile_star2_O1/Ciaxur[P]yagb-emu/include/imgui/imgui_widgets.cpp
// Function: ImGui::GetWindowScrollbarRect(ImGuiWindow*, ImGuiAxis)
ImRect ImGui::GetWindowScrollbarRect(ImGuiWindow* window, ImGuiAxis axis)
{
    const ImRect outer_rect = window->Rect();
    const ImRect inner_rect = window->InnerRect;
    const float border_size = window->WindowBorderSize;
    const float scrollbar_size = window->ScrollbarSizes[axis ^ 1]; // (ScrollbarSizes.x = width of Y scrollbar; ScrollbarSizes.y = height of X scrollbar)
    IM_ASSERT(scrollbar_size > 0.0f);
    if (axis == ImGuiAxis_X)
        return ImRect(inner_rect.Min.x, ImMax(outer_rect.Min.y, outer_rect.Max.y - border_size - scrollbar_size), inner_rect.Max.x, outer_rect.Max.y);
    else
        return ImRect(ImMax(outer_rect.Min.x, outer_rect.Max.x - border_size - scrollbar_size), inner_rect.Min.y, outer_rect.Max.x, inner_rect.Max.y);
}

// Assembly:
pushq %rbp
movq %rsp, %rbp
cmpl $0x2, %esi
jae 0x93977
movl %esi, %eax
xorl $0x1, %eax
movss 0x84(%rdi,%rax,4), %xmm4
xorps %xmm0, %xmm0
ucomiss %xmm0, %xmm4
jbe 0x93996
movss 0x4c(%rdi), %xmm5
testl %esi, %esi
je 0x93932
movss 0x10(%rdi), %xmm6
movss 0x18(%rdi), %xmm1
addss %xmm6, %xmm1
movss 0x21c(%rdi), %xmm3
movss 0x224(%rdi), %xmm2
movaps %xmm1, %xmm7
subss %xmm5, %xmm7
subss %xmm4, %xmm7
movaps %xmm7, %xmm0
cmpless %xmm6, %xmm0
movaps %xmm0, %xmm4
andnps %xmm7, %xmm4
andps %xmm6, %xmm0
orps %xmm4, %xmm0
jmp 0x9396f
movss 0x14(%rdi), %xmm6
movss 0x1c(%rdi), %xmm2
addss %xmm6, %xmm2
movss 0x218(%rdi), %xmm0
movss 0x220(%rdi), %xmm1
movaps %xmm2, %xmm7
subss %xmm5, %xmm7
subss %xmm4, %xmm7
movaps %xmm7, %xmm3
cmpless %xmm6, %xmm3
movaps %xmm3, %xmm4
andnps %xmm7, %xmm4
andps %xmm6, %xmm3
orps %xmm4, %xmm3
unpcklps %xmm2, %xmm1            # xmm1 = xmm1[0],xmm2[0],xmm1[1],xmm2[1]
unpcklps %xmm3, %xmm0            # xmm0 = xmm0[0],xmm3[0],xmm0[1],xmm3[1]
popq %rbp
retq
leaq 0x416d0(%rip), %rdi     # 0xd504e
leaq 0x27d06(%rip), %rsi     # 0xbb68b
leaq 0x416cb(%rip), %rcx     # 0xd5057
movl $0xe5, %edx
callq 0xc140
leaq 0x3f922(%rip), %rdi     # 0xd32bf
leaq 0x3f7a4(%rip), %rsi     # 0xd3148
leaq 0x3f92a(%rip), %rcx     # 0xd32d5
movl $0x351, %edx            # imm = 0x351
callq 0xc140
// File: /workspace/github_cpp_makefile_star2_O1/Ciaxur[P]yagb-emu/include/imgui/imgui_widgets.cpp
// Function: ImGui::Scrollbar(ImGuiAxis)
void ImGui::Scrollbar(ImGuiAxis axis)
{
    ImGuiContext& g = *GImGui;
    ImGuiWindow* window = g.CurrentWindow;

    const ImGuiID id = GetWindowScrollbarID(window, axis);
    KeepAliveID(id);

    // Calculate scrollbar bounding box
    ImRect bb = GetWindowScrollbarRect(window, axis);
    ImDrawCornerFlags rounding_corners = 0;
    if (axis == ImGuiAxis_X)
    {
        rounding_corners |= ImDrawCornerFlags_BotLeft;
        if (!window->ScrollbarY)
            rounding_corners |= ImDrawCornerFlags_BotRight;
    }
    else
    {
        if ((window->Flags & ImGuiWindowFlags_NoTitleBar) && !(window->Flags & ImGuiWindowFlags_MenuBar))
            rounding_corners |= ImDrawCornerFlags_TopRight;
        if (!window->ScrollbarX)
            rounding_corners |= ImDrawCornerFlags_BotRight;
    }
    float size_avail = window->InnerRect.Max[axis] - window->InnerRect.Min[axis];
    float size_contents = window->ContentSize[axis] + window->WindowPadding[axis] * 2.0f;
    ScrollbarEx(bb, id, axis, &window->Scroll[axis], size_avail, size_contents, rounding_corners);
}

// Assembly:
pushq %rbp
movq %rsp, %rbp
pushq %r15
pushq %r14
pushq %rbx
subq $0x18, %rsp
movl %edi, %ebx
leaq 0x6a305(%rip), %rax     # 0xfdcd0
movq (%rax), %rax
movq 0x1ae0(%rax), %r14
testl %edi, %edi
leaq 0x3f8cf(%rip), %rax     # 0xd32ad
leaq 0x3f8d1(%rip), %rsi     # 0xd32b6
cmoveq %rax, %rsi
movq %r14, %rdi
xorl %edx, %edx
callq 0x4667e
movl %eax, %r15d
movl %eax, %edi
callq 0x46530
movq %r14, %rdi
movl %ebx, %esi
callq 0x938c3
movlhps %xmm1, %xmm0            # xmm0 = xmm0[0],xmm1[0]
movups %xmm0, -0x28(%rbp)
testl %ebx, %ebx
je 0x93a3d
movl $0x401, %eax            # imm = 0x401
andl 0xc(%r14), %eax
xorl %ecx, %ecx
cmpl $0x1, %eax
sete %cl
leal 0x8(,%rcx,2), %r8d
movl %ecx, %eax
addl %ecx, %eax
cmpb $0x0, 0x8c(%r14)
cmovnel %eax, %r8d
jmp 0x93a50
movzbl 0x8d(%r14), %eax
xorl $0x1, %eax
leal 0x4(,%rax,8), %r8d
cmpl $0x2, %ebx
jae 0x93a96
movl %ebx, %eax
leaq (%r14,%rax,4), %rcx
addq $0x5c, %rcx
movss 0x1c4(%rcx), %xmm0
subss 0x1bc(%rcx), %xmm0
movss -0x1c(%rcx), %xmm1
addss %xmm1, %xmm1
addss -0x34(%rcx), %xmm1
leaq -0x28(%rbp), %rdi
movl %r15d, %esi
movl %ebx, %edx
callq 0x93ab5
addq $0x18, %rsp
popq %rbx
popq %r14
popq %r15
popq %rbp
retq
leaq 0x415b1(%rip), %rdi     # 0xd504e
leaq 0x27be7(%rip), %rsi     # 0xbb68b
leaq 0x415ac(%rip), %rcx     # 0xd5057
movl $0xe5, %edx
callq 0xc140
// File: /workspace/github_cpp_makefile_star2_O1/Ciaxur[P]yagb-emu/include/imgui/imgui_widgets.cpp
// Function: ImGui::Image(void*, ImVec2 const&, ImVec2 const&, ImVec2 const&, ImVec4 const&, ImVec4 const&)
void ImGui::Image(ImTextureID user_texture_id, const ImVec2& size, const ImVec2& uv0, const ImVec2& uv1, const ImVec4& tint_col, const ImVec4& border_col)
{
    ImGuiWindow* window = GetCurrentWindow();
    if (window->SkipItems)
        return;

    ImRect bb(window->DC.CursorPos, window->DC.CursorPos + size);
    if (border_col.w > 0.0f)
        bb.Max += ImVec2(2, 2);
    ItemSize(bb);
    if (!ItemAdd(bb, 0))
        return;

    if (border_col.w > 0.0f)
    {
        window->DrawList->AddRect(bb.Min, bb.Max, GetColorU32(border_col), 0.0f);
        window->DrawList->AddImage(user_texture_id, bb.Min + ImVec2(1, 1), bb.Max - ImVec2(1, 1), uv0, uv1, GetColorU32(tint_col));
    }
    else
    {
        window->DrawList->AddImage(user_texture_id, bb.Min, bb.Max, uv0, uv1, GetColorU32(tint_col));
    }
}

// Assembly:
pushq %rbp
movq %rsp, %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $0x38, %rsp
leaq 0x69c6e(%rip), %rax     # 0xfdcd0
movq (%rax), %rax
movq 0x1ae0(%rax), %r14
movb $0x1, 0x90(%r14)
cmpb $0x0, 0x93(%r14)
jne 0x941ea
movq %r9, %r13
movq %r8, %r12
movq %rdi, %r15
movq %rdx, -0x40(%rbp)
movq %rcx, -0x48(%rbp)
movss 0xd8(%r14), %xmm0
movss 0xdc(%r14), %xmm1
addss (%rsi), %xmm0
addss 0x4(%rsi), %xmm1
unpcklps %xmm1, %xmm0            # xmm0 = xmm0[0],xmm1[0],xmm0[1],xmm1[1]
movq 0xd8(%r14), %rax
movq %rax, -0x38(%rbp)
movlps %xmm0, -0x30(%rbp)
movss 0xc(%r9), %xmm0
xorps %xmm1, %xmm1
ucomiss %xmm1, %xmm0
jbe 0x940ee
movss 0x23792(%rip), %xmm0    # 0xb7868
movss -0x30(%rbp), %xmm1
addss %xmm0, %xmm1
movss %xmm1, -0x30(%rbp)
addss -0x2c(%rbp), %xmm0
movss %xmm0, -0x2c(%rbp)
leaq -0x38(%rbp), %rbx
movss 0x22ed6(%rip), %xmm0    # 0xb6fd0
movq %rbx, %rdi
callq 0x56a82
movq %rbx, %rdi
xorl %esi, %esi
xorl %edx, %edx
callq 0x5346f
testb %al, %al
je 0x941ea
movss 0xc(%r13), %xmm0
xorps %xmm1, %xmm1
ucomiss %xmm1, %xmm0
movq 0x2b8(%r14), %rbx
jbe 0x941c4
movq %r13, %rdi
callq 0x445ff
leaq -0x38(%rbp), %r13
movss 0x22ea1(%rip), %xmm1    # 0xb6fe4
xorps %xmm0, %xmm0
movq %rbx, %rdi
movq %r13, %rsi
leaq -0x30(%rbp), %rdx
movl %eax, %ecx
movl $0xf, %r8d
callq 0x79c80
movq 0x2b8(%r14), %rbx
movss (%r13), %xmm0
movss 0x22e72(%rip), %xmm1    # 0xb6fe4
addss %xmm1, %xmm0
addss 0x4(%r13), %xmm1
unpcklps %xmm1, %xmm0            # xmm0 = xmm0[0],xmm1[0],xmm0[1],xmm1[1]
leaq -0x58(%rbp), %r14
movss 0x8(%r13), %xmm1
movss 0x22e3f(%rip), %xmm2    # 0xb6fd0
addss %xmm2, %xmm1
addss 0xc(%r13), %xmm2
movlps %xmm0, (%r14)
unpcklps %xmm2, %xmm1            # xmm1 = xmm1[0],xmm2[0],xmm1[1],xmm2[1]
leaq -0x50(%rbp), %r13
movlps %xmm1, (%r13)
movq %r12, %rdi
callq 0x445ff
movl %eax, (%rsp)
movq %rbx, %rdi
movq %r15, %rsi
movq %r14, %rdx
movq %r13, %rcx
jmp 0x941dd
movq %r12, %rdi
callq 0x445ff
movl %eax, (%rsp)
leaq -0x38(%rbp), %rdx
movq %rbx, %rdi
movq %r15, %rsi
leaq -0x30(%rbp), %rcx
movq -0x40(%rbp), %r8
movq -0x48(%rbp), %r9
callq 0x7b6fe
addq $0x38, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
// File: /workspace/github_cpp_makefile_star2_O1/Ciaxur[P]yagb-emu/include/imgui/imgui_widgets.cpp
// Function: ImGui::ImageButton(void*, ImVec2 const&, ImVec2 const&, ImVec2 const&, int, ImVec4 const&, ImVec4 const&)
bool ImGui::ImageButton(ImTextureID user_texture_id, const ImVec2& size, const ImVec2& uv0, const ImVec2& uv1, int frame_padding, const ImVec4& bg_col, const ImVec4& tint_col)
{
    ImGuiContext& g = *GImGui;
    ImGuiWindow* window = g.CurrentWindow;
    if (window->SkipItems)
        return false;

    // Default to using texture ID as ID. User can still push string/integer prefixes.
    PushID((void*)(intptr_t)user_texture_id);
    const ImGuiID id = window->GetID("#image");
    PopID();

    const ImVec2 padding = (frame_padding >= 0) ? ImVec2((float)frame_padding, (float)frame_padding) : g.Style.FramePadding;
    return ImageButtonEx(id, user_texture_id, size, uv0, uv1, padding, bg_col, tint_col);
}

// Assembly:
pushq %rbp
movq %rsp, %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $0x28, %rsp
leaq 0x69861(%rip), %rax     # 0xfdcd0
movq (%rax), %r15
movq 0x1ae0(%r15), %r14
cmpb $0x0, 0x93(%r14)
je 0x94487
xorl %eax, %eax
jmp 0x944fd
movl %r8d, %ebx
movq %rsi, %r12
movq %rdi, %r13
movq %rdx, -0x38(%rbp)
movq %rcx, -0x40(%rbp)
movq %r9, -0x48(%rbp)
callq 0x55e4b
leaq 0x3eefe(%rip), %rsi     # 0xd33a6
movq %r14, %rdi
xorl %edx, %edx
callq 0x46258
movl %eax, %r14d
callq 0x56188
testl %ebx, %ebx
js 0x944ce
cvtsi2ss %ebx, %xmm0
movss %xmm0, -0x30(%rbp)
movss %xmm0, -0x2c(%rbp)
jmp 0x944d9
movq 0x1598(%r15), %rax
movq %rax, -0x30(%rbp)
leaq -0x30(%rbp), %r9
movl %r14d, %edi
movq %r13, %rsi
movq %r12, %rdx
movq -0x38(%rbp), %rcx
movq -0x40(%rbp), %r8
pushq 0x10(%rbp)
pushq -0x48(%rbp)
callq 0x941f9
addq $0x10, %rsp
addq $0x28, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
// File: /workspace/github_cpp_makefile_star2_O1/Ciaxur[P]yagb-emu/include/imgui/imgui_widgets.cpp
// Function: ImGui::RadioButton(char const*, int*, int)
bool ImGui::RadioButton(const char* label, int* v, int v_button)
{
    const bool pressed = RadioButton(label, *v == v_button);
    if (pressed)
        *v = v_button;
    return pressed;
}

// Assembly:
pushq %rbp
movq %rsp, %rbp
pushq %r14
pushq %rbx
movl %edx, %ebx
movq %rsi, %r14
xorl %esi, %esi
cmpl %edx, (%r14)
sete %sil
callq 0x948c0
testb %al, %al
je 0x94c8e
movl %ebx, (%r14)
popq %rbx
popq %r14
popq %rbp
retq
// File: /workspace/github_cpp_makefile_star2_O1/Ciaxur[P]yagb-emu/include/imgui/imgui_widgets.cpp
// Function: ImGui::Bullet()
void ImGui::Bullet()
{
    ImGuiWindow* window = GetCurrentWindow();
    if (window->SkipItems)
        return;

    ImGuiContext& g = *GImGui;
    const ImGuiStyle& style = g.Style;
    const float line_height = ImMax(ImMin(window->DC.CurrLineSize.y, g.FontSize + g.Style.FramePadding.y * 2), g.FontSize);
    const ImRect bb(window->DC.CursorPos, window->DC.CursorPos + ImVec2(g.FontSize, line_height));
    ItemSize(bb);
    if (!ItemAdd(bb, 0))
    {
        SameLine(0, style.FramePadding.x * 2);
        return;
    }

    // Render and stay on same line
    ImU32 text_col = GetColorU32(ImGuiCol_Text);
    RenderBullet(window->DrawList, bb.Min + ImVec2(style.FramePadding.x + g.FontSize * 0.5f, line_height * 0.5f), text_col);
    SameLine(0, style.FramePadding.x * 2.0f);
}

// Assembly:
pushq %rbp
movq %rsp, %rbp
pushq %r15
pushq %r14
pushq %rbx
subq $0x28, %rsp
leaq 0x68d4e(%rip), %rax     # 0xfdcd0
movq (%rax), %r14
movq 0x1ae0(%r14), %r15
movb $0x1, 0x90(%r15)
cmpb $0x0, 0x93(%r15)
jne 0x9508e
movss 0x104(%r15), %xmm0
movss 0x1980(%r14), %xmm1
movss 0x159c(%r14), %xmm2
addss %xmm2, %xmm2
addss %xmm1, %xmm2
minss %xmm2, %xmm0
movaps %xmm1, %xmm2
cmpless %xmm0, %xmm2
andps %xmm2, %xmm0
andnps %xmm1, %xmm2
addss 0xd8(%r15), %xmm1
orps %xmm0, %xmm2
movss 0xdc(%r15), %xmm0
movaps %xmm2, -0x40(%rbp)
addss %xmm2, %xmm0
unpcklps %xmm0, %xmm1            # xmm1 = xmm1[0],xmm0[0],xmm1[1],xmm0[1]
movq 0xd8(%r15), %rax
leaq -0x28(%rbp), %rbx
movq %rax, (%rbx)
movlps %xmm1, 0x8(%rbx)
movss 0x21fbf(%rip), %xmm0    # 0xb6fd0
movq %rbx, %rdi
callq 0x56a82
movq %rbx, %rdi
xorl %esi, %esi
xorl %edx, %edx
callq 0x5346f
testb %al, %al
je 0x95079
movss 0x21fb3(%rip), %xmm0    # 0xb6fe4
xorl %edi, %edi
callq 0x445bd
movq 0x2b8(%r15), %rdi
movss 0x21fbd(%rip), %xmm1    # 0xb7004
movss 0x1980(%r14), %xmm0
mulss %xmm1, %xmm0
addss 0x1598(%r14), %xmm0
addss -0x28(%rbp), %xmm0
movaps -0x40(%rbp), %xmm2
mulss %xmm1, %xmm2
addss -0x24(%rbp), %xmm2
unpcklps %xmm2, %xmm0            # xmm0 = xmm0[0],xmm2[0],xmm0[1],xmm2[1]
movl %eax, %esi
callq 0x83a80
movss 0x1598(%r14), %xmm1
addss %xmm1, %xmm1
xorps %xmm0, %xmm0
callq 0x569e1
addq $0x28, %rsp
popq %rbx
popq %r14
popq %r15
popq %rbp
retq
// File: /workspace/github_cpp_makefile_star2_O1/Ciaxur[P]yagb-emu/include/imgui/imgui_widgets.cpp
// Function: ImGui::NewLine()
void ImGui::NewLine()
{
    ImGuiWindow* window = GetCurrentWindow();
    if (window->SkipItems)
        return;

    ImGuiContext& g = *GImGui;
    const ImGuiLayoutType backup_layout_type = window->DC.LayoutType;
    window->DC.LayoutType = ImGuiLayoutType_Vertical;
    if (window->DC.CurrLineSize.y > 0.0f)     // In the event that we are on a line with items that is smaller that FontSize high, we will preserve its height.
        ItemSize(ImVec2(0, 0));
    else
        ItemSize(ImVec2(0.0f, g.FontSize));
    window->DC.LayoutType = backup_layout_type;
}

// Assembly:
pushq %rbp
movq %rsp, %rbp
pushq %r14
pushq %rbx
subq $0x10, %rsp
leaq 0x68b66(%rip), %rax     # 0xfdcd0
movq (%rax), %rax
movq 0x1ae0(%rax), %rbx
movb $0x1, 0x90(%rbx)
cmpb $0x0, 0x93(%rbx)
jne 0x951dd
movl 0x1bc(%rbx), %r14d
movl $0x1, 0x1bc(%rbx)
movss 0x104(%rbx), %xmm0
xorps %xmm1, %xmm1
ucomiss %xmm1, %xmm0
jbe 0x951b2
leaq -0x18(%rbp), %rdi
movq $0x0, (%rdi)
jmp 0x951c9
movss 0x1980(%rax), %xmm0
leaq -0x18(%rbp), %rdi
movl $0x0, (%rdi)
movss %xmm0, 0x4(%rdi)
movss 0x21dff(%rip), %xmm0    # 0xb6fd0
callq 0x532de
movl %r14d, 0x1bc(%rbx)
addq $0x10, %rsp
popq %rbx
popq %r14
popq %rbp
retq
// File: /workspace/github_cpp_makefile_star2_O1/Ciaxur[P]yagb-emu/include/imgui/imgui_widgets.cpp
// Function: ImGui::AlignTextToFramePadding()
void ImGui::AlignTextToFramePadding()
{
    ImGuiWindow* window = GetCurrentWindow();
    if (window->SkipItems)
        return;

    ImGuiContext& g = *GImGui;
    window->DC.CurrLineSize.y = ImMax(window->DC.CurrLineSize.y, g.FontSize + g.Style.FramePadding.y * 2);
    window->DC.CurrLineTextBaseOffset = ImMax(window->DC.CurrLineTextBaseOffset, g.Style.FramePadding.y);
}

// Assembly:
pushq %rbp
movq %rsp, %rbp
leaq 0x68adf(%rip), %rax     # 0xfdcd0
movq (%rax), %rcx
movq 0x1ae0(%rcx), %rax
movb $0x1, 0x90(%rax)
cmpb $0x0, 0x93(%rax)
jne 0x95264
movss 0x159c(%rcx), %xmm0
movss 0x110(%rax), %xmm1
movaps %xmm0, %xmm2
cmpless %xmm1, %xmm2
andps %xmm2, %xmm1
andnps %xmm0, %xmm2
addss %xmm0, %xmm0
addss 0x1980(%rcx), %xmm0
movss 0x104(%rax), %xmm3
movaps %xmm0, %xmm4
cmpless %xmm3, %xmm4
movaps %xmm4, %xmm5
andnps %xmm0, %xmm5
andps %xmm3, %xmm4
orps %xmm5, %xmm4
movss %xmm4, 0x104(%rax)
orps %xmm1, %xmm2
movss %xmm2, 0x110(%rax)
popq %rbp
retq
// File: /workspace/github_cpp_makefile_star2_O1/Ciaxur[P]yagb-emu/include/imgui/imgui_widgets.cpp
// Function: ImGui::Separator()
void ImGui::Separator()
{
    ImGuiContext& g = *GImGui;
    ImGuiWindow* window = g.CurrentWindow;
    if (window->SkipItems)
        return;

    // Those flags should eventually be overridable by the user
    ImGuiSeparatorFlags flags = (window->DC.LayoutType == ImGuiLayoutType_Horizontal) ? ImGuiSeparatorFlags_Vertical : ImGuiSeparatorFlags_Horizontal;
    flags |= ImGuiSeparatorFlags_SpanAllColumns;
    SeparatorEx(flags);
}

// Assembly:
pushq %rbp
movq %rsp, %rbp
leaq 0x6879b(%rip), %rax     # 0xfdcd0
movq (%rax), %rax
movq 0x1ae0(%rax), %rax
cmpb $0x0, 0x93(%rax)
je 0x9554a
popq %rbp
retq
xorl %edi, %edi
cmpl $0x1, 0x1bc(%rax)
adcl $0x5, %edi
popq %rbp
jmp 0x95266
// File: /workspace/github_cpp_makefile_star2_O1/Ciaxur[P]yagb-emu/include/imgui/imgui_widgets.cpp
// Function: ImGui::Combo(char const*, int*, char const*, int)
bool ImGui::Combo(const char* label, int* current_item, const char* items_separated_by_zeros, int height_in_items)
{
    int items_count = 0;
    const char* p = items_separated_by_zeros;       // FIXME-OPT: Avoid computing this, or at least only when combo is open
    while (*p)
    {
        p += strlen(p) + 1;
        items_count++;
    }
    bool value_changed = Combo(label, current_item, Items_SingleStringGetter, (void*)items_separated_by_zeros, items_count, height_in_items);
    return value_changed;
}

// Assembly:
pushq %rbp
movq %rsp, %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
pushq %rax
movl %ecx, -0x2c(%rbp)
movq %rdx, %rbx
movq %rsi, %r15
movq %rdi, %r12
cmpb $0x0, (%rdx)
je 0x96825
xorl %r13d, %r13d
movq %rbx, %r14
movq %r14, %rdi
callq 0xc350
addq %rax, %r14
incq %r14
incl %r13d
cmpb $0x0, (%r14)
jne 0x9680c
jmp 0x96828
xorl %r13d, %r13d
leaq 0x23(%rip), %rdx        # 0x96852
movq %r12, %rdi
movq %r15, %rsi
movq %rbx, %rcx
movl %r13d, %r8d
movl -0x2c(%rbp), %r9d
addq $0x8, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
jmp 0x96119
// File: /workspace/github_cpp_makefile_star2_O1/Ciaxur[P]yagb-emu/include/imgui/imgui_widgets.cpp
// Function: Items_SingleStringGetter(void*, int, char const**)
static bool Items_SingleStringGetter(void* data, int idx, const char** out_text)
{
    // FIXME-OPT: we could pre-compute the indices to fasten this. But only 1 active combo means the waste is limited.
    const char* items_separated_by_zeros = (const char*)data;
    int items_count = 0;
    const char* p = items_separated_by_zeros;
    while (*p)
    {
        if (idx == items_count)
            break;
        p += strlen(p) + 1;
        items_count++;
    }
    if (!*p)
        return false;
    if (out_text)
        *out_text = p;
    return true;
}

// Assembly:
pushq %rbp
movq %rsp, %rbp
pushq %r15
pushq %r14
pushq %rbx
pushq %rax
movq %rdx, %rbx
movq %rdi, %r14
movb (%rdi), %al
testb %al, %al
sete %cl
testl %esi, %esi
sete %dl
orb %cl, %dl
jne 0x96898
movl %esi, %r15d
decl %r15d
movq %r14, %rdi
callq 0xc350
addq %rax, %r14
incq %r14
movb (%r14), %al
subl $0x1, %r15d
setb %cl
testb %al, %al
je 0x96898
testb %cl, %cl
je 0x96878
testq %rbx, %rbx
je 0x968a4
testb %al, %al
je 0x968a4
movq %r14, (%rbx)
testb %al, %al
setne %al
addq $0x8, %rsp
popq %rbx
popq %r14
popq %r15
popq %rbp
retq
// File: /workspace/github_cpp_makefile_star2_O1/Ciaxur[P]yagb-emu/include/imgui/imgui_widgets.cpp
// Function: ImGui::DataTypeFormatString(char*, int, int, void const*, char const*)
int ImGui::DataTypeFormatString(char* buf, int buf_size, ImGuiDataType data_type, const void* p_data, const char* format)
{
    // Signedness doesn't matter when pushing integer arguments
    if (data_type == ImGuiDataType_S32 || data_type == ImGuiDataType_U32)
        return ImFormatString(buf, buf_size, format, *(const ImU32*)p_data);
    if (data_type == ImGuiDataType_S64 || data_type == ImGuiDataType_U64)
        return ImFormatString(buf, buf_size, format, *(const ImU64*)p_data);
    if (data_type == ImGuiDataType_Float)
        return ImFormatString(buf, buf_size, format, *(const float*)p_data);
    if (data_type == ImGuiDataType_Double)
        return ImFormatString(buf, buf_size, format, *(const double*)p_data);
    if (data_type == ImGuiDataType_S8)
        return ImFormatString(buf, buf_size, format, *(const ImS8*)p_data);
    if (data_type == ImGuiDataType_U8)
        return ImFormatString(buf, buf_size, format, *(const ImU8*)p_data);
    if (data_type == ImGuiDataType_S16)
        return ImFormatString(buf, buf_size, format, *(const ImS16*)p_data);
    if (data_type == ImGuiDataType_U16)
        return ImFormatString(buf, buf_size, format, *(const ImU16*)p_data);
    IM_ASSERT(0);
    return 0;
}

// Assembly:
movl %edx, %eax
andl $-0x2, %eax
cmpl $0x6, %eax
je 0x9690b
cmpl $0x4, %eax
jne 0x9691b
movslq %esi, %rsi
movl (%rcx), %ecx
movq %r8, %rdx
xorl %eax, %eax
jmp 0x427cb
movslq %esi, %rsi
movq (%rcx), %rcx
movq %r8, %rdx
xorl %eax, %eax
jmp 0x427cb
cmpl $0x9, %edx
ja 0x9696c
movl %edx, %eax
leaq 0x3c627(%rip), %rdx     # 0xd2f50
movslq (%rdx,%rax,4), %rax
addq %rdx, %rax
jmpq *%rax
movslq %esi, %rsi
movsbl (%rcx), %ecx
jmp 0x96901
movslq %esi, %rsi
cvtss2sd (%rcx), %xmm0
jmp 0x96952
movslq %esi, %rsi
movzbl (%rcx), %ecx
jmp 0x96901
movslq %esi, %rsi
movsd (%rcx), %xmm0
movq %r8, %rdx
movb $0x1, %al
jmp 0x427cb
movslq %esi, %rsi
movswl (%rcx), %ecx
jmp 0x96901
movslq %esi, %rsi
movzwl (%rcx), %ecx
jmp 0x96901
pushq %rbp
movq %rsp, %rbp
leaq 0x23775(%rip), %rdi     # 0xba0ec
leaq 0x3c7ca(%rip), %rsi     # 0xd3148
leaq 0x3ccf7(%rip), %rcx     # 0xd367c
movl $0x724, %edx            # imm = 0x724
callq 0xc140