// File: /workspace/github_cpp_makefile_star2_O1/Ciaxur[P]yagb-emu/src/../include/imgui_club/imgui_memory_editor/imgui_memory_editor.h
// Function: MemoryEditor::DrawPreviewLine(MemoryEditor::Sizes const&, void*, unsigned long, unsigned long)
void DrawPreviewLine(const Sizes& s, void* mem_data_void, size_t mem_size, size_t base_display_addr)
    {
        IM_UNUSED(base_display_addr);
        ImU8* mem_data = (ImU8*)mem_data_void;
        ImGuiStyle& style = ImGui::GetStyle();
        ImGui::AlignTextToFramePadding();
        ImGui::Text("Preview as:");
        ImGui::SameLine();
        ImGui::PushItemWidth((s.GlyphWidth * 10.0f) + style.FramePadding.x * 2.0f + style.ItemInnerSpacing.x);
        if (ImGui::BeginCombo("##combo_type", DataTypeGetDesc(PreviewDataType), ImGuiComboFlags_HeightLargest))
        {
            for (int n = 0; n < ImGuiDataType_COUNT; n++)
                if (ImGui::Selectable(DataTypeGetDesc((ImGuiDataType)n), PreviewDataType == n))
                    PreviewDataType = (ImGuiDataType)n;
            ImGui::EndCombo();
        }
        ImGui::PopItemWidth();
        ImGui::SameLine();
        ImGui::PushItemWidth((s.GlyphWidth * 6.0f) + style.FramePadding.x * 2.0f + style.ItemInnerSpacing.x);
        ImGui::Combo("##combo_endianess", &PreviewEndianess, "LE\0BE\0\0");
        ImGui::PopItemWidth();

        char buf[128] = "";
        float x = s.GlyphWidth * 6.0f;
        bool has_value = DataPreviewAddr != (size_t)-1;
        if (has_value)
            DrawPreviewData(DataPreviewAddr, mem_data, mem_size, PreviewDataType, DataFormat_Dec, buf, (size_t)IM_ARRAYSIZE(buf));
        ImGui::Text("Dec"); ImGui::SameLine(x); ImGui::TextUnformatted(has_value ? buf : "N/A");
        if (has_value)
            DrawPreviewData(DataPreviewAddr, mem_data, mem_size, PreviewDataType, DataFormat_Hex, buf, (size_t)IM_ARRAYSIZE(buf));
        ImGui::Text("Hex"); ImGui::SameLine(x); ImGui::TextUnformatted(has_value ? buf : "N/A");
        if (has_value)
            DrawPreviewData(DataPreviewAddr, mem_data, mem_size, PreviewDataType, DataFormat_Bin, buf, (size_t)IM_ARRAYSIZE(buf));
        buf[IM_ARRAYSIZE(buf) - 1] = 0;
        ImGui::Text("Bin"); ImGui::SameLine(x); ImGui::TextUnformatted(has_value ? buf : "N/A");
    }

// Assembly:
pushq %rbp
movq %rsp, %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $0x98, %rsp
movq %rcx, %rbx
movq %rdx, -0x38(%rbp)
movq %rsi, %r12
movq %rdi, %r15
callq 0x44587
movq %rax, %r13
callq 0x951e6
leaq 0x77351(%rip), %rdi     # 0xb74ee
xorl %eax, %eax
callq 0x92024
movss 0x76e24(%rip), %xmm1    # 0xb6fd0
xorps %xmm0, %xmm0
callq 0x569e1
movss 0x8(%r12), %xmm0
movss 0x38(%r13), %xmm1
mulss 0x76e3f(%rip), %xmm0    # 0xb7008
addss %xmm1, %xmm1
addss %xmm1, %xmm0
addss 0x50(%r13), %xmm0
callq 0x56dd7
movl 0xb4(%r15), %eax
cmpq $0xa, %rax
jae 0x40485
leaq 0xb818c(%rip), %r14     # 0xf8380
movq (%r14,%rax,8), %rsi
leaq 0x772fb(%rip), %rdi     # 0xb74fa
movl $0x10, %edx
callq 0x95a09
testb %al, %al
je 0x4026c
movq %r12, -0x40(%rbp)
movq %rbx, -0x30(%rbp)
xorl %r12d, %r12d
leaq -0xc0(%rbp), %rbx
movq (%r14), %rdi
movl 0xb4(%r15), %eax
xorl %esi, %esi
cmpq %rax, %r12
sete %sil
movq $0x0, -0xc0(%rbp)
xorl %edx, %edx
movq %rbx, %rcx
callq 0x962c5
testb %al, %al
je 0x40252
movl %r12d, 0xb4(%r15)
incq %r12
addq $0x8, %r14
cmpq $0xa, %r12
jne 0x4021f
callq 0x9610f
movq -0x30(%rbp), %rbx
movq -0x40(%rbp), %r12
callq 0x571b8
movss 0x76d57(%rip), %xmm1    # 0xb6fd0
xorps %xmm0, %xmm0
callq 0x569e1
movss 0x38(%r13), %xmm1
addss %xmm1, %xmm1
movss 0x76d79(%rip), %xmm2    # 0xb700c
movss %xmm2, -0x30(%rbp)
movss 0x8(%r12), %xmm0
mulss %xmm2, %xmm0
addss %xmm1, %xmm0
addss 0x50(%r13), %xmm0
callq 0x56dd7
leaq 0xb0(%r15), %rsi
leaq 0x77247(%rip), %rdi     # 0xb7507
leaq 0x77469(%rip), %rdx     # 0xb7730
movl $0xffffffff, %ecx       # imm = 0xFFFFFFFF
callq 0x967e7
callq 0x571b8
xorps %xmm0, %xmm0
movaps %xmm0, -0x50(%rbp)
movaps %xmm0, -0x60(%rbp)
movaps %xmm0, -0x70(%rbp)
movaps %xmm0, -0x80(%rbp)
movaps %xmm0, -0x90(%rbp)
movaps %xmm0, -0xa0(%rbp)
movaps %xmm0, -0xb0(%rbp)
movaps %xmm0, -0xc0(%rbp)
movss -0x30(%rbp), %xmm0
mulss 0x8(%r12), %xmm0
movss %xmm0, -0x30(%rbp)
movq 0x40(%r15), %r13
cmpq $-0x1, %r13
je 0x40353
movl 0xb4(%r15), %r8d
leaq -0xc0(%rbp), %r12
movq %r15, %rdi
movq %r13, %rsi
movq -0x38(%rbp), %rdx
movq %rbx, %rcx
movl $0x1, %r9d
pushq $0x80
pushq %r12
callq 0x404a4
addq $0x10, %rsp
jmp 0x4035a
leaq 0x771c3(%rip), %r12     # 0xb751d
leaq 0x771b8(%rip), %rdi     # 0xb7519
xorl %eax, %eax
callq 0x92024
movss 0x76c60(%rip), %xmm1    # 0xb6fd0
movss -0x30(%rbp), %xmm0
callq 0x569e1
movq %r12, %rdi
xorl %esi, %esi
callq 0x92015
cmpq $-0x1, %r13
je 0x4041b
movq 0x40(%r15), %rsi
movl 0xb4(%r15), %r8d
movq %rbx, %r13
movl $0x80, %eax
leaq -0xc0(%rbp), %r14
movq %r15, %rdi
movq -0x38(%rbp), %rbx
movq %rbx, %rdx
movq %r13, %rcx
movl $0x2, %r9d
pushq %rax
pushq %r14
callq 0x404a4
addq $0x10, %rsp
leaq 0x77111(%rip), %rdi     # 0xb74df
xorl %eax, %eax
callq 0x92024
movss 0x76bf3(%rip), %xmm1    # 0xb6fd0
movss -0x30(%rbp), %xmm0
callq 0x569e1
movq %r12, %rdi
xorl %esi, %esi
callq 0x92015
movq 0x40(%r15), %rsi
movl 0xb4(%r15), %r8d
movq %r15, %rdi
movq %rbx, %rdx
movq %r13, %rcx
xorl %r9d, %r9d
movl $0x80, %eax
pushq %rax
pushq %r14
callq 0x404a4
addq $0x10, %rsp
jmp 0x40445
leaq 0x770bd(%rip), %rdi     # 0xb74df
xorl %eax, %eax
callq 0x92024
movss 0x76b9f(%rip), %xmm1    # 0xb6fd0
movss -0x30(%rbp), %xmm0
callq 0x569e1
movq %r12, %rdi
xorl %esi, %esi
callq 0x92015
movb $0x0, -0x41(%rbp)
leaq 0x770d1(%rip), %rdi     # 0xb7521
xorl %eax, %eax
callq 0x92024
movss 0x76b71(%rip), %xmm1    # 0xb6fd0
movss -0x30(%rbp), %xmm0
callq 0x569e1
movq %r12, %rdi
xorl %esi, %esi
callq 0x92015
addq $0x98, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
leaq 0x76f68(%rip), %rdi     # 0xb73f4
leaq 0x76ee5(%rip), %rsi     # 0xb7378
leaq 0x770c4(%rip), %rcx     # 0xb755e
movl $0x225, %edx            # imm = 0x225
callq 0xc140