LLM4Binary/decompile-bench-makefile huggingface dataset:
// File: /workspace/github_c_makefile_star2_O0/stetre[P]moonnuklear/src/./nuklear/nuklear.h
// Function: nk_layout_space_rect_to_screen
NK_API struct nk_rect
nk_layout_space_rect_to_screen(struct nk_context *ctx, struct nk_rect ret)
{
    struct nk_window *win;
    struct nk_panel *layout;

    NK_ASSERT(ctx);
    NK_ASSERT(ctx->current);
    NK_ASSERT(ctx->current->layout);
    win = ctx->current;
    layout = win->layout;

    ret.x += layout->at_x - (float)*layout->offset_x;
    ret.y += layout->at_y - (float)*layout->offset_y;
    return ret;
}

// Assembly:
subq $0x48, %rsp
movlpd %xmm0, 0x20(%rsp)
movlpd %xmm1, 0x28(%rsp)
movq %rdi, 0x18(%rsp)
cmpq $0x0, 0x18(%rsp)
jne 0x61d50
movq 0x632cc(%rip), %rax     # 0xc4ff0
movq (%rax), %rdi
leaq 0x4f672(%rip), %rsi     # 0xb13a0
leaq 0x4f689(%rip), %rdx     # 0xb13be
movl $0x56d4, %ecx           # imm = 0x56D4
movb $0x0, %al
callq 0x13ec0
movq 0x632a8(%rip), %rax     # 0xc4ff0
movq (%rax), %rdi
callq 0x149a0
jmp 0x61d52
jmp 0x61d54
movq 0x18(%rsp), %rax
cmpq $0x0, 0x4780(%rax)
jne 0x61d96
movq 0x63286(%rip), %rax     # 0xc4ff0
movq (%rax), %rdi
leaq 0x4f62c(%rip), %rsi     # 0xb13a0
leaq 0x4f643(%rip), %rdx     # 0xb13be
movl $0x56d5, %ecx           # imm = 0x56D5
movb $0x0, %al
callq 0x13ec0
movq 0x63262(%rip), %rax     # 0xc4ff0
movq (%rax), %rdi
callq 0x149a0
jmp 0x61d98
jmp 0x61d9a
movq 0x18(%rsp), %rax
movq 0x4780(%rax), %rax
cmpq $0x0, 0xa8(%rax)
jne 0x61de3
movq 0x63239(%rip), %rax     # 0xc4ff0
movq (%rax), %rdi
leaq 0x4f5df(%rip), %rsi     # 0xb13a0
leaq 0x4f5f6(%rip), %rdx     # 0xb13be
movl $0x56d6, %ecx           # imm = 0x56D6
movb $0x0, %al
callq 0x13ec0
movq 0x63215(%rip), %rax     # 0xc4ff0
movq (%rax), %rdi
callq 0x149a0
jmp 0x61de5
movq 0x18(%rsp), %rax
movq 0x4780(%rax), %rax
movq %rax, 0x10(%rsp)
movq 0x10(%rsp), %rax
movq 0xa8(%rax), %rax
movq %rax, 0x8(%rsp)
movq 0x8(%rsp), %rax
movss 0x28(%rax), %xmm1
movq 0x18(%rax), %rax
movl (%rax), %eax
cvtsi2ss %rax, %xmm0
subss %xmm0, %xmm1
movss 0x20(%rsp), %xmm0
addss %xmm1, %xmm0
movss %xmm0, 0x20(%rsp)
movq 0x8(%rsp), %rax
movss 0x2c(%rax), %xmm1
movq 0x20(%rax), %rax
movl (%rax), %eax
cvtsi2ss %rax, %xmm0
subss %xmm0, %xmm1
movss 0x24(%rsp), %xmm0
addss %xmm1, %xmm0
movss %xmm0, 0x24(%rsp)
movups 0x20(%rsp), %xmm0
movaps %xmm0, 0x30(%rsp)
movsd 0x30(%rsp), %xmm0
movsd 0x38(%rsp), %xmm1
addq $0x48, %rsp
retq
nopw %cs:(%rax,%rax)
// File: /workspace/github_c_makefile_star2_O0/stetre[P]moonnuklear/src/./nuklear/nuklear.h
// Function: nk_layout_space_rect_to_local
NK_API struct nk_rect
nk_layout_space_rect_to_local(struct nk_context *ctx, struct nk_rect ret)
{
    struct nk_window *win;
    struct nk_panel *layout;

    NK_ASSERT(ctx);
    NK_ASSERT(ctx->current);
    NK_ASSERT(ctx->current->layout);
    win = ctx->current;
    layout = win->layout;

    ret.x += -layout->at_x + (float)*layout->offset_x;
    ret.y += -layout->at_y + (float)*layout->offset_y;
    return ret;
}

// Assembly:
subq $0x48, %rsp
movlpd %xmm0, 0x20(%rsp)
movlpd %xmm1, 0x28(%rsp)
movq %rdi, 0x18(%rsp)
cmpq $0x0, 0x18(%rsp)
jne 0x61ed0
movq 0x6314c(%rip), %rax     # 0xc4ff0
movq (%rax), %rdi
leaq 0x4f4f2(%rip), %rsi     # 0xb13a0
leaq 0x4f509(%rip), %rdx     # 0xb13be
movl $0x56e4, %ecx           # imm = 0x56E4
movb $0x0, %al
callq 0x13ec0
movq 0x63128(%rip), %rax     # 0xc4ff0
movq (%rax), %rdi
callq 0x149a0
jmp 0x61ed2
jmp 0x61ed4
movq 0x18(%rsp), %rax
cmpq $0x0, 0x4780(%rax)
jne 0x61f16
movq 0x63106(%rip), %rax     # 0xc4ff0
movq (%rax), %rdi
leaq 0x4f4ac(%rip), %rsi     # 0xb13a0
leaq 0x4f4c3(%rip), %rdx     # 0xb13be
movl $0x56e5, %ecx           # imm = 0x56E5
movb $0x0, %al
callq 0x13ec0
movq 0x630e2(%rip), %rax     # 0xc4ff0
movq (%rax), %rdi
callq 0x149a0
jmp 0x61f18
jmp 0x61f1a
movq 0x18(%rsp), %rax
movq 0x4780(%rax), %rax
cmpq $0x0, 0xa8(%rax)
jne 0x61f63
movq 0x630b9(%rip), %rax     # 0xc4ff0
movq (%rax), %rdi
leaq 0x4f45f(%rip), %rsi     # 0xb13a0
leaq 0x4f476(%rip), %rdx     # 0xb13be
movl $0x56e6, %ecx           # imm = 0x56E6
movb $0x0, %al
callq 0x13ec0
movq 0x63095(%rip), %rax     # 0xc4ff0
movq (%rax), %rdi
callq 0x149a0
jmp 0x61f65
movq 0x18(%rsp), %rax
movq 0x4780(%rax), %rax
movq %rax, 0x10(%rsp)
movq 0x10(%rsp), %rax
movq 0xa8(%rax), %rax
movq %rax, 0x8(%rsp)
movq 0x8(%rsp), %rax
movss 0x28(%rax), %xmm0
movq 0x18(%rax), %rax
movl (%rax), %eax
cvtsi2ss %rax, %xmm1
subss %xmm0, %xmm1
movss 0x20(%rsp), %xmm0
addss %xmm1, %xmm0
movss %xmm0, 0x20(%rsp)
movq 0x8(%rsp), %rax
movss 0x2c(%rax), %xmm0
movq 0x20(%rax), %rax
movl (%rax), %eax
cvtsi2ss %rax, %xmm1
subss %xmm0, %xmm1
movss 0x24(%rsp), %xmm0
addss %xmm1, %xmm0
movss %xmm0, 0x24(%rsp)
movups 0x20(%rsp), %xmm0
movaps %xmm0, 0x30(%rsp)
movsd 0x30(%rsp), %xmm0
movsd 0x38(%rsp), %xmm1
addq $0x48, %rsp
retq
nopw %cs:(%rax,%rax)
// File: /workspace/github_c_makefile_star2_O0/stetre[P]moonnuklear/src/./nuklear/nuklear.h
// Function: nk_panel_alloc_space
NK_LIB void
nk_panel_alloc_space(struct nk_rect *bounds, const struct nk_context *ctx)
{
    struct nk_window *win;
    struct nk_panel *layout;

    NK_ASSERT(ctx);
    NK_ASSERT(ctx->current);
    NK_ASSERT(ctx->current->layout);
    if (!ctx || !ctx->current || !ctx->current->layout)
        return;

    /* check if the end of the row has been hit and begin new row if so */
    win = ctx->current;
    layout = win->layout;
    if (layout->row.index >= layout->row.columns)
        nk_panel_alloc_row(ctx, win);

    /* calculate widget position and size */
    nk_layout_widget_space(bounds, ctx, win, nk_true);
    layout->row.index++;
}

// Assembly:
subq $0x28, %rsp
movq %rdi, 0x20(%rsp)
movq %rsi, 0x18(%rsp)
cmpq $0x0, 0x18(%rsp)
jne 0x62079
movq 0x62fa3(%rip), %rax     # 0xc4ff0
movq (%rax), %rdi
leaq 0x4f349(%rip), %rsi     # 0xb13a0
leaq 0x4f360(%rip), %rdx     # 0xb13be
movl $0x5783, %ecx           # imm = 0x5783
movb $0x0, %al
callq 0x13ec0
movq 0x62f7f(%rip), %rax     # 0xc4ff0
movq (%rax), %rdi
callq 0x149a0
jmp 0x6207b
jmp 0x6207d
movq 0x18(%rsp), %rax
cmpq $0x0, 0x4780(%rax)
jne 0x620bf
movq 0x62f5d(%rip), %rax     # 0xc4ff0
movq (%rax), %rdi
leaq 0x4f303(%rip), %rsi     # 0xb13a0
leaq 0x4f31a(%rip), %rdx     # 0xb13be
movl $0x5784, %ecx           # imm = 0x5784
movb $0x0, %al
callq 0x13ec0
movq 0x62f39(%rip), %rax     # 0xc4ff0
movq (%rax), %rdi
callq 0x149a0
jmp 0x620c1
jmp 0x620c3
movq 0x18(%rsp), %rax
movq 0x4780(%rax), %rax
cmpq $0x0, 0xa8(%rax)
jne 0x6210c
movq 0x62f10(%rip), %rax     # 0xc4ff0
movq (%rax), %rdi
leaq 0x4f2b6(%rip), %rsi     # 0xb13a0
leaq 0x4f2cd(%rip), %rdx     # 0xb13be
movl $0x5785, %ecx           # imm = 0x5785
movb $0x0, %al
callq 0x13ec0
movq 0x62eec(%rip), %rax     # 0xc4ff0
movq (%rax), %rdi
callq 0x149a0
jmp 0x6210e
cmpq $0x0, 0x18(%rsp)
je 0x6213b
movq 0x18(%rsp), %rax
cmpq $0x0, 0x4780(%rax)
je 0x6213b
movq 0x18(%rsp), %rax
movq 0x4780(%rax), %rax
cmpq $0x0, 0xa8(%rax)
jne 0x6213d
jmp 0x621aa
movq 0x18(%rsp), %rax
movq 0x4780(%rax), %rax
movq %rax, 0x10(%rsp)
movq 0x10(%rsp), %rax
movq 0xa8(%rax), %rax
movq %rax, 0x8(%rsp)
movq 0x8(%rsp), %rax
movl 0x74(%rax), %eax
movq 0x8(%rsp), %rcx
cmpl 0x80(%rcx), %eax
jl 0x62183
movq 0x18(%rsp), %rdi
movq 0x10(%rsp), %rsi
callq 0x65f00
movq 0x20(%rsp), %rdi
movq 0x18(%rsp), %rsi
movq 0x10(%rsp), %rdx
movl $0x1, %ecx
callq 0x87d90
movq 0x8(%rsp), %rax
movl 0x74(%rax), %ecx
addl $0x1, %ecx
movl %ecx, 0x74(%rax)
addq $0x28, %rsp
retq
nop
// File: /workspace/github_c_makefile_star2_O0/stetre[P]moonnuklear/src/./nuklear/nuklear.h
// Function: nk_tree_state_pop
NK_API void
nk_tree_state_pop(struct nk_context *ctx)
{
    struct nk_window *win = 0;
    struct nk_panel *layout = 0;

    NK_ASSERT(ctx);
    NK_ASSERT(ctx->current);
    NK_ASSERT(ctx->current->layout);
    if (!ctx || !ctx->current || !ctx->current->layout)
        return;

    win = ctx->current;
    layout = win->layout;
    layout->at_x -= ctx->style.tab.indent + (float)*layout->offset_x;
    layout->bounds.w += ctx->style.tab.indent + ctx->style.window.padding.x;
    NK_ASSERT(layout->row.tree_depth);
    layout->row.tree_depth--;
}

// Assembly:
subq $0x18, %rsp
movq %rdi, 0x10(%rsp)
movq $0x0, 0x8(%rsp)
movq $0x0, (%rsp)
cmpq $0x0, 0x10(%rsp)
jne 0x62ce5
movq 0x62337(%rip), %rax     # 0xc4ff0
movq (%rax), %rdi
leaq 0x4e6dd(%rip), %rsi     # 0xb13a0
leaq 0x4e6f4(%rip), %rdx     # 0xb13be
movl $0x585a, %ecx           # imm = 0x585A
movb $0x0, %al
callq 0x13ec0
movq 0x62313(%rip), %rax     # 0xc4ff0
movq (%rax), %rdi
callq 0x149a0
jmp 0x62ce7
jmp 0x62ce9
movq 0x10(%rsp), %rax
cmpq $0x0, 0x4780(%rax)
jne 0x62d2b
movq 0x622f1(%rip), %rax     # 0xc4ff0
movq (%rax), %rdi
leaq 0x4e697(%rip), %rsi     # 0xb13a0
leaq 0x4e6ae(%rip), %rdx     # 0xb13be
movl $0x585b, %ecx           # imm = 0x585B
movb $0x0, %al
callq 0x13ec0
movq 0x622cd(%rip), %rax     # 0xc4ff0
movq (%rax), %rdi
callq 0x149a0
jmp 0x62d2d
jmp 0x62d2f
movq 0x10(%rsp), %rax
movq 0x4780(%rax), %rax
cmpq $0x0, 0xa8(%rax)
jne 0x62d78
movq 0x622a4(%rip), %rax     # 0xc4ff0
movq (%rax), %rdi
leaq 0x4e64a(%rip), %rsi     # 0xb13a0
leaq 0x4e661(%rip), %rdx     # 0xb13be
movl $0x585c, %ecx           # imm = 0x585C
movb $0x0, %al
callq 0x13ec0
movq 0x62280(%rip), %rax     # 0xc4ff0
movq (%rax), %rdi
callq 0x149a0
jmp 0x62d7a
cmpq $0x0, 0x10(%rsp)
je 0x62da7
movq 0x10(%rsp), %rax
cmpq $0x0, 0x4780(%rax)
je 0x62da7
movq 0x10(%rsp), %rax
movq 0x4780(%rax), %rax
cmpq $0x0, 0xa8(%rax)
jne 0x62dac
jmp 0x62e7c
movq 0x10(%rsp), %rax
movq 0x4780(%rax), %rax
movq %rax, 0x8(%rsp)
movq 0x8(%rsp), %rax
movq 0xa8(%rax), %rax
movq %rax, (%rsp)
movq 0x10(%rsp), %rax
movss 0x1ff8(%rax), %xmm1
movq (%rsp), %rax
movq 0x18(%rax), %rax
movl (%rax), %eax
cvtsi2ss %rax, %xmm0
addss %xmm0, %xmm1
movq (%rsp), %rax
movss 0x28(%rax), %xmm0
subss %xmm1, %xmm0
movss %xmm0, 0x28(%rax)
movq 0x10(%rsp), %rax
movss 0x1ff8(%rax), %xmm0
movq 0x10(%rsp), %rax
addss 0x24cc(%rax), %xmm0
movq (%rsp), %rax
addss 0x10(%rax), %xmm0
movss %xmm0, 0x10(%rax)
movq (%rsp), %rax
cmpl $0x0, 0xb0(%rax)
jne 0x62e67
movq 0x621b5(%rip), %rax     # 0xc4ff0
movq (%rax), %rdi
leaq 0x4e55b(%rip), %rsi     # 0xb13a0
leaq 0x4e572(%rip), %rdx     # 0xb13be
movl $0x5864, %ecx           # imm = 0x5864
movb $0x0, %al
callq 0x13ec0
movq 0x62191(%rip), %rax     # 0xc4ff0
movq (%rax), %rdi
callq 0x149a0
jmp 0x62e69
movq (%rsp), %rax
movl 0xb0(%rax), %ecx
addl $-0x1, %ecx
movl %ecx, 0xb0(%rax)
addq $0x18, %rsp
retq
nopw %cs:(%rax,%rax)
// File: /workspace/github_c_makefile_star2_O0/stetre[P]moonnuklear/src/./nuklear/nuklear.h
// Function: nk_tree_base
NK_INTERN int
nk_tree_base(struct nk_context *ctx, enum nk_tree_type type,
    struct nk_image *img, const char *title, enum nk_collapse_states initial_state,
    const char *hash, int len, int line)
{
    struct nk_window *win = ctx->current;
    int title_len = 0;
    nk_hash tree_hash = 0;
    nk_uint *state = 0;

    /* retrieve tree state from internal widget state tables */
    if (!hash) {
        title_len = (int)nk_strlen(title);
        tree_hash = nk_murmur_hash(title, (int)title_len, (nk_hash)line);
    } else tree_hash = nk_murmur_hash(hash, len, (nk_hash)line);
    state = nk_find_value(win, tree_hash);
    if (!state) {
        state = nk_add_value(ctx, win, tree_hash, 0);
        *state = initial_state;
    }
    return nk_tree_state_base(ctx, type, img, title, (enum nk_collapse_states*)state);
}

// Assembly:
subq $0x48, %rsp
movl 0x58(%rsp), %eax
movl 0x50(%rsp), %eax
movq %rdi, 0x40(%rsp)
movl %esi, 0x3c(%rsp)
movq %rdx, 0x30(%rsp)
movq %rcx, 0x28(%rsp)
movl %r8d, 0x24(%rsp)
movq %r9, 0x18(%rsp)
movq 0x40(%rsp), %rax
movq 0x4780(%rax), %rax
movq %rax, 0x10(%rsp)
movl $0x0, 0xc(%rsp)
movl $0x0, 0x8(%rsp)
movq $0x0, (%rsp)
cmpq $0x0, 0x18(%rsp)
jne 0x62f70
movq 0x28(%rsp), %rdi
callq 0x14050
movl %eax, 0xc(%rsp)
movq 0x28(%rsp), %rdi
movl 0xc(%rsp), %esi
movl 0x58(%rsp), %edx
callq 0x135e0
movl %eax, 0x8(%rsp)
jmp 0x62f86
movq 0x18(%rsp), %rdi
movl 0x50(%rsp), %esi
movl 0x58(%rsp), %edx
callq 0x135e0
movl %eax, 0x8(%rsp)
movq 0x10(%rsp), %rdi
movl 0x8(%rsp), %esi
callq 0x64100
movq %rax, (%rsp)
cmpq $0x0, (%rsp)
jne 0x62fc2
movq 0x40(%rsp), %rdi
movq 0x10(%rsp), %rsi
movl 0x8(%rsp), %edx
xorl %ecx, %ecx
callq 0x641d0
movq %rax, (%rsp)
movl 0x24(%rsp), %ecx
movq (%rsp), %rax
movl %ecx, (%rax)
movq 0x40(%rsp), %rdi
movl 0x3c(%rsp), %esi
movq 0x30(%rsp), %rdx
movq 0x28(%rsp), %rcx
movq (%rsp), %r8
callq 0x621f0
addq $0x48, %rsp
retq
nopw %cs:(%rax,%rax)
// File: /workspace/github_c_makefile_star2_O0/stetre[P]moonnuklear/src/./nuklear/nuklear.h
// Function: nk_tree_element_base
NK_INTERN int
nk_tree_element_base(struct nk_context *ctx, enum nk_tree_type type,
    struct nk_image *img, const char *title, enum nk_collapse_states initial_state,
    nk_bool *selected, const char *hash, int len, int line)
{
    struct nk_window *win = ctx->current;
    int title_len = 0;
    nk_hash tree_hash = 0;
    nk_uint *state = 0;

    /* retrieve tree state from internal widget state tables */
    if (!hash) {
        title_len = (int)nk_strlen(title);
        tree_hash = nk_murmur_hash(title, (int)title_len, (nk_hash)line);
    } else tree_hash = nk_murmur_hash(hash, len, (nk_hash)line);
    state = nk_find_value(win, tree_hash);
    if (!state) {
        state = nk_add_value(ctx, win, tree_hash, 0);
        *state = initial_state;
    } return nk_tree_element_image_push_hashed_base(ctx, type, img, title,
        nk_strlen(title), (enum nk_collapse_states*)state, selected);
}

// Assembly:
subq $0x78, %rsp
movl 0x90(%rsp), %eax
movl 0x88(%rsp), %eax
movq 0x80(%rsp), %rax
movq %rdi, 0x70(%rsp)
movl %esi, 0x6c(%rsp)
movq %rdx, 0x60(%rsp)
movq %rcx, 0x58(%rsp)
movl %r8d, 0x54(%rsp)
movq %r9, 0x48(%rsp)
movq 0x70(%rsp), %rax
movq 0x4780(%rax), %rax
movq %rax, 0x40(%rsp)
movl $0x0, 0x3c(%rsp)
movl $0x0, 0x38(%rsp)
movq $0x0, 0x30(%rsp)
cmpq $0x0, 0x80(%rsp)
jne 0x63165
movq 0x58(%rsp), %rdi
callq 0x14050
movl %eax, 0x3c(%rsp)
movq 0x58(%rsp), %rdi
movl 0x3c(%rsp), %esi
movl 0x90(%rsp), %edx
callq 0x135e0
movl %eax, 0x38(%rsp)
jmp 0x63184
movq 0x80(%rsp), %rdi
movl 0x88(%rsp), %esi
movl 0x90(%rsp), %edx
callq 0x135e0
movl %eax, 0x38(%rsp)
movq 0x40(%rsp), %rdi
movl 0x38(%rsp), %esi
callq 0x64100
movq %rax, 0x30(%rsp)
cmpq $0x0, 0x30(%rsp)
jne 0x631c4
movq 0x70(%rsp), %rdi
movq 0x40(%rsp), %rsi
movl 0x38(%rsp), %edx
xorl %ecx, %ecx
callq 0x641d0
movq %rax, 0x30(%rsp)
movl 0x54(%rsp), %ecx
movq 0x30(%rsp), %rax
movl %ecx, (%rax)
movq 0x70(%rsp), %rax
movq %rax, 0x10(%rsp)
movl 0x6c(%rsp), %eax
movl %eax, 0x1c(%rsp)
movq 0x60(%rsp), %rax
movq %rax, 0x20(%rsp)
movq 0x58(%rsp), %rax
movq %rax, 0x28(%rsp)
movq 0x58(%rsp), %rdi
callq 0x14050
movq 0x10(%rsp), %rdi
movl 0x1c(%rsp), %esi
movq 0x20(%rsp), %rdx
movq 0x28(%rsp), %rcx
movl %eax, %r8d
movq 0x30(%rsp), %r9
movq 0x48(%rsp), %rax
movq %rax, (%rsp)
callq 0x887a0
addq $0x78, %rsp
retq
nopw %cs:(%rax,%rax)
// File: /workspace/github_c_makefile_star2_O0/stetre[P]moonnuklear/src/./nuklear/nuklear.h
// Function: nk_find_value
NK_LIB nk_uint*
nk_find_value(struct nk_window *win, nk_hash name)
{
    struct nk_table *iter = win->tables;
    while (iter) {
        unsigned int i = 0;
        unsigned int size = iter->size;
        for (i = 0; i < size; ++i) {
            if (iter->keys[i] == name) {
                iter->seq = win->seq;
                return &iter->values[i];
            }
        } size = NK_VALUE_PAGE_CAPACITY;
        iter = iter->next;
    }
    return 0;
}

// Assembly:
movq %rdi, -0x10(%rsp)
movl %esi, -0x14(%rsp)
movq -0x10(%rsp), %rax
movq 0x1b8(%rax), %rax
movq %rax, -0x20(%rsp)
cmpq $0x0, -0x20(%rsp)
je 0x641b7
movl $0x0, -0x24(%rsp)
movq -0x20(%rsp), %rax
movl 0x4(%rax), %eax
movl %eax, -0x28(%rsp)
movl $0x0, -0x24(%rsp)
movl -0x24(%rsp), %eax
cmpl -0x28(%rsp), %eax
jae 0x64199
movq -0x20(%rsp), %rax
movl -0x24(%rsp), %ecx
movl 0x8(%rax,%rcx,4), %eax
cmpl -0x14(%rsp), %eax
jne 0x6418a
movq -0x10(%rsp), %rax
movl (%rax), %ecx
movq -0x20(%rsp), %rax
movl %ecx, (%rax)
movq -0x20(%rsp), %rax
addq $0xf8, %rax
movl -0x24(%rsp), %ecx
shlq $0x2, %rcx
addq %rcx, %rax
movq %rax, -0x8(%rsp)
jmp 0x641c0
jmp 0x6418c
movl -0x24(%rsp), %eax
addl $0x1, %eax
movl %eax, -0x24(%rsp)
jmp 0x64142
movl $0x3c, -0x28(%rsp)
movq -0x20(%rsp), %rax
movq 0x1e8(%rax), %rax
movq %rax, -0x20(%rsp)
jmp 0x6411a
movq $0x0, -0x8(%rsp)
movq -0x8(%rsp), %rax
retq
nopw %cs:(%rax,%rax)
// File: /workspace/github_c_makefile_star2_O0/stetre[P]moonnuklear/src/./nuklear/nuklear.h
// Function: nk_add_value
NK_LIB nk_uint*
nk_add_value(struct nk_context *ctx, struct nk_window *win,
            nk_hash name, nk_uint value)
{
    NK_ASSERT(ctx);
    NK_ASSERT(win);
    if (!win || !ctx) return 0;
    if (!win->tables || win->tables->size >= NK_VALUE_PAGE_CAPACITY) {
        struct nk_table *tbl = nk_create_table(ctx);
        NK_ASSERT(tbl);
        if (!tbl) return 0;
        nk_push_table(win, tbl);
    }
    win->tables->seq = win->seq;
    win->tables->keys[win->tables->size] = name;
    win->tables->values[win->tables->size] = value;
    return &win->tables->values[win->tables->size++];
}

// Assembly:
subq $0x28, %rsp
movq %rdi, 0x18(%rsp)
movq %rsi, 0x10(%rsp)
movl %edx, 0xc(%rsp)
movl %ecx, 0x8(%rsp)
cmpq $0x0, 0x18(%rsp)
jne 0x64221
movq 0x60dfb(%rip), %rax     # 0xc4ff0
movq (%rax), %rdi
leaq 0x4d1a1(%rip), %rsi     # 0xb13a0
leaq 0x4d1b8(%rip), %rdx     # 0xb13be
movl $0x4c6a, %ecx           # imm = 0x4C6A
movb $0x0, %al
callq 0x13ec0
movq 0x60dd7(%rip), %rax     # 0xc4ff0
movq (%rax), %rdi
callq 0x149a0
jmp 0x64223
jmp 0x64225
cmpq $0x0, 0x10(%rsp)
jne 0x64260
movq 0x60dbc(%rip), %rax     # 0xc4ff0
movq (%rax), %rdi
leaq 0x4d162(%rip), %rsi     # 0xb13a0
leaq 0x4d179(%rip), %rdx     # 0xb13be
movl $0x4c6b, %ecx           # imm = 0x4C6B
movb $0x0, %al
callq 0x13ec0
movq 0x60d98(%rip), %rax     # 0xc4ff0
movq (%rax), %rdi
callq 0x149a0
jmp 0x64262
cmpq $0x0, 0x10(%rsp)
je 0x64272
cmpq $0x0, 0x18(%rsp)
jne 0x64280
movq $0x0, 0x20(%rsp)
jmp 0x643a6
movq 0x10(%rsp), %rax
cmpq $0x0, 0x1b8(%rax)
je 0x642a4
movq 0x10(%rsp), %rax
movq 0x1b8(%rax), %rax
movl 0x4(%rax), %eax
cmpq $0x3c, %rax
jb 0x64311
movq 0x18(%rsp), %rdi
callq 0x89270
movq %rax, (%rsp)
cmpq $0x0, (%rsp)
jne 0x642ec
movq 0x60d30(%rip), %rax     # 0xc4ff0
movq (%rax), %rdi
leaq 0x4d0d6(%rip), %rsi     # 0xb13a0
leaq 0x4d0ed(%rip), %rdx     # 0xb13be
movl $0x4c6f, %ecx           # imm = 0x4C6F
movb $0x0, %al
callq 0x13ec0
movq 0x60d0c(%rip), %rax     # 0xc4ff0
movq (%rax), %rdi
callq 0x149a0
jmp 0x642ee
cmpq $0x0, (%rsp)
jne 0x64303
movq $0x0, 0x20(%rsp)
jmp 0x643a6
movq 0x10(%rsp), %rdi
movq (%rsp), %rsi
callq 0x892c0
movq 0x10(%rsp), %rax
movl (%rax), %ecx
movq 0x10(%rsp), %rax
movq 0x1b8(%rax), %rax
movl %ecx, (%rax)
movl 0xc(%rsp), %edx
movq 0x10(%rsp), %rax
movq 0x1b8(%rax), %rax
movq 0x10(%rsp), %rcx
movq 0x1b8(%rcx), %rcx
movl 0x4(%rcx), %ecx
movl %edx, 0x8(%rax,%rcx,4)
movl 0x8(%rsp), %edx
movq 0x10(%rsp), %rax
movq 0x1b8(%rax), %rax
movq 0x10(%rsp), %rcx
movq 0x1b8(%rcx), %rcx
movl 0x4(%rcx), %ecx
movl %edx, 0xf8(%rax,%rcx,4)
movq 0x10(%rsp), %rax
movq 0x1b8(%rax), %rax
addq $0xf8, %rax
movq 0x10(%rsp), %rcx
movq 0x1b8(%rcx), %rdx
movl 0x4(%rdx), %ecx
movl %ecx, %esi
addl $0x1, %esi
movl %esi, 0x4(%rdx)
movl %ecx, %ecx
shlq $0x2, %rcx
addq %rcx, %rax
movq %rax, 0x20(%rsp)
movq 0x20(%rsp), %rax
addq $0x28, %rsp
retq
// File: /workspace/github_c_makefile_star2_O0/stetre[P]moonnuklear/src/./nuklear/nuklear.h
// Function: nk_iceilf
NK_LIB int
nk_iceilf(float x)
{
    if (x >= 0) {
        int i = (int)x;
        return (x > i) ? i+1: i;
    } else {
        int t = (int)x;
        float r = x - (float)t;
        return (r > 0.0f) ? t+1: t;
    }
}

// Assembly:
movss %xmm0, -0x8(%rsp)
movss -0x8(%rsp), %xmm0
xorps %xmm1, %xmm1
ucomiss %xmm1, %xmm0
jb 0x64e4e
cvttss2si -0x8(%rsp), %eax
movl %eax, -0xc(%rsp)
movss -0x8(%rsp), %xmm0
cvtsi2ssl -0xc(%rsp), %xmm1
ucomiss %xmm1, %xmm0
jbe 0x64e3c
movl -0xc(%rsp), %eax
addl $0x1, %eax
movl %eax, -0x18(%rsp)
jmp 0x64e44
movl -0xc(%rsp), %eax
movl %eax, -0x18(%rsp)
movl -0x18(%rsp), %eax
movl %eax, -0x4(%rsp)
jmp 0x64e99
cvttss2si -0x8(%rsp), %eax
movl %eax, -0x10(%rsp)
movss -0x8(%rsp), %xmm0
cvtsi2ssl -0x10(%rsp), %xmm1
subss %xmm1, %xmm0
movss %xmm0, -0x14(%rsp)
movss -0x14(%rsp), %xmm0
xorps %xmm1, %xmm1
ucomiss %xmm1, %xmm0
jbe 0x64e89
movl -0x10(%rsp), %eax
addl $0x1, %eax
movl %eax, -0x1c(%rsp)
jmp 0x64e91
movl -0x10(%rsp), %eax
movl %eax, -0x1c(%rsp)
movl -0x1c(%rsp), %eax
movl %eax, -0x4(%rsp)
movl -0x4(%rsp), %eax
retq
nop
// File: /workspace/github_c_makefile_star2_O0/stetre[P]moonnuklear/src/./nuklear/nuklear.h
// Function: nk_list_view_end
NK_API void
nk_list_view_end(struct nk_list_view *view)
{
    struct nk_context *ctx;
    struct nk_window *win;
    struct nk_panel *layout;

    NK_ASSERT(view);
    NK_ASSERT(view->ctx);
    NK_ASSERT(view->scroll_pointer);
    if (!view || !view->ctx) return;

    ctx = view->ctx;
    win = ctx->current;
    layout = win->layout;
    layout->at_y = layout->bounds.y + (float)view->total_height;
    *view->scroll_pointer = *view->scroll_pointer + view->scroll_value;
    nk_group_end(view->ctx);
}

// Assembly:
subq $0x28, %rsp
movq %rdi, 0x20(%rsp)
cmpq $0x0, 0x20(%rsp)
jne 0x64ee4
movq 0x60138(%rip), %rax     # 0xc4ff0
movq (%rax), %rdi
leaq 0x4c4de(%rip), %rsi     # 0xb13a0
leaq 0x4c4f5(%rip), %rdx     # 0xb13be
movl $0x5a4b, %ecx           # imm = 0x5A4B
movb $0x0, %al
callq 0x13ec0
movq 0x60114(%rip), %rax     # 0xc4ff0
movq (%rax), %rdi
callq 0x149a0
jmp 0x64ee6
jmp 0x64ee8
movq 0x20(%rsp), %rax
cmpq $0x0, 0x10(%rax)
jne 0x64f27
movq 0x600f5(%rip), %rax     # 0xc4ff0
movq (%rax), %rdi
leaq 0x4c49b(%rip), %rsi     # 0xb13a0
leaq 0x4c4b2(%rip), %rdx     # 0xb13be
movl $0x5a4c, %ecx           # imm = 0x5A4C
movb $0x0, %al
callq 0x13ec0
movq 0x600d1(%rip), %rax     # 0xc4ff0
movq (%rax), %rdi
callq 0x149a0
jmp 0x64f29
jmp 0x64f2b
movq 0x20(%rsp), %rax
cmpq $0x0, 0x18(%rax)
jne 0x64f6a
movq 0x600b2(%rip), %rax     # 0xc4ff0
movq (%rax), %rdi
leaq 0x4c458(%rip), %rsi     # 0xb13a0
leaq 0x4c46f(%rip), %rdx     # 0xb13be
movl $0x5a4d, %ecx           # imm = 0x5A4D
movb $0x0, %al
callq 0x13ec0
movq 0x6008e(%rip), %rax     # 0xc4ff0
movq (%rax), %rdi
callq 0x149a0
jmp 0x64f6c
cmpq $0x0, 0x20(%rsp)
je 0x64f80
movq 0x20(%rsp), %rax
cmpq $0x0, 0x10(%rax)
jne 0x64f82
jmp 0x65000
movq 0x20(%rsp), %rax
movq 0x10(%rax), %rax
movq %rax, 0x18(%rsp)
movq 0x18(%rsp), %rax
movq 0x4780(%rax), %rax
movq %rax, 0x10(%rsp)
movq 0x10(%rsp), %rax
movq 0xa8(%rax), %rax
movq %rax, 0x8(%rsp)
movq 0x8(%rsp), %rax
movss 0xc(%rax), %xmm0
movq 0x20(%rsp), %rax
cvtsi2ssl 0xc(%rax), %xmm1
addss %xmm1, %xmm0
movq 0x8(%rsp), %rax
movss %xmm0, 0x2c(%rax)
movq 0x20(%rsp), %rax
movq 0x18(%rax), %rax
movl (%rax), %ecx
movq 0x20(%rsp), %rax
addl 0x20(%rax), %ecx
movq 0x20(%rsp), %rax
movq 0x18(%rax), %rax
movl %ecx, (%rax)
movq 0x20(%rsp), %rax
movq 0x10(%rax), %rdi
callq 0x13030
addq $0x28, %rsp
retq
nopw %cs:(%rax,%rax)
// File: /workspace/github_c_makefile_star2_O0/stetre[P]moonnuklear/src/./nuklear/nuklear.h
// Function: nk_widget_bounds
NK_API struct nk_rect
nk_widget_bounds(struct nk_context *ctx)
{
    struct nk_rect bounds;
    NK_ASSERT(ctx);
    NK_ASSERT(ctx->current);
    if (!ctx || !ctx->current)
        return nk_rect(0,0,0,0);
    nk_layout_peek(&bounds, ctx);
    return bounds;
}

// Assembly:
subq $0x28, %rsp
movq %rdi, 0x10(%rsp)
cmpq $0x0, 0x10(%rsp)
jne 0x65054
movq 0x5ffc8(%rip), %rax     # 0xc4ff0
movq (%rax), %rdi
leaq 0x4c36e(%rip), %rsi     # 0xb13a0
leaq 0x4c385(%rip), %rdx     # 0xb13be
movl $0x5a65, %ecx           # imm = 0x5A65
movb $0x0, %al
callq 0x13ec0
movq 0x5ffa4(%rip), %rax     # 0xc4ff0
movq (%rax), %rdi
callq 0x149a0
jmp 0x65056
jmp 0x65058
movq 0x10(%rsp), %rax
cmpq $0x0, 0x4780(%rax)
jne 0x6509a
movq 0x5ff82(%rip), %rax     # 0xc4ff0
movq (%rax), %rdi
leaq 0x4c328(%rip), %rsi     # 0xb13a0
leaq 0x4c33f(%rip), %rdx     # 0xb13be
movl $0x5a66, %ecx           # imm = 0x5A66
movb $0x0, %al
callq 0x13ec0
movq 0x5ff5e(%rip), %rax     # 0xc4ff0
movq (%rax), %rdi
callq 0x149a0
jmp 0x6509c
cmpq $0x0, 0x10(%rsp)
je 0x650b3
movq 0x10(%rsp), %rax
cmpq $0x0, 0x4780(%rax)
jne 0x650d2
xorps %xmm3, %xmm3
movaps %xmm3, %xmm0
movaps %xmm3, %xmm1
movaps %xmm3, %xmm2
callq 0x151a0
movlpd %xmm0, 0x18(%rsp)
movlpd %xmm1, 0x20(%rsp)
jmp 0x650f2
movq 0x10(%rsp), %rsi
movq %rsp, %rdi
callq 0x65110
movq (%rsp), %rax
movq %rax, 0x18(%rsp)
movq 0x8(%rsp), %rax
movq %rax, 0x20(%rsp)
movsd 0x18(%rsp), %xmm0
movsd 0x20(%rsp), %xmm1
addq $0x28, %rsp
retq
nopw %cs:(%rax,%rax)
// File: /workspace/github_c_makefile_star2_O0/stetre[P]moonnuklear/src/./nuklear/nuklear.h
// Function: nk_widget_position
NK_API struct nk_vec2
nk_widget_position(struct nk_context *ctx)
{
    struct nk_rect bounds;
    NK_ASSERT(ctx);
    NK_ASSERT(ctx->current);
    if (!ctx || !ctx->current)
        return nk_vec2(0,0);

    nk_layout_peek(&bounds, ctx);
    return nk_vec2(bounds.x, bounds.y);
}

// Assembly:
subq $0x28, %rsp
movq %rdi, 0x18(%rsp)
cmpq $0x0, 0x18(%rsp)
jne 0x65384
movq 0x5fc98(%rip), %rax     # 0xc4ff0
movq (%rax), %rdi
leaq 0x4c03e(%rip), %rsi     # 0xb13a0
leaq 0x4c055(%rip), %rdx     # 0xb13be
movl $0x5a70, %ecx           # imm = 0x5A70
movb $0x0, %al
callq 0x13ec0
movq 0x5fc74(%rip), %rax     # 0xc4ff0
movq (%rax), %rdi
callq 0x149a0
jmp 0x65386
jmp 0x65388
movq 0x18(%rsp), %rax
cmpq $0x0, 0x4780(%rax)
jne 0x653ca
movq 0x5fc52(%rip), %rax     # 0xc4ff0
movq (%rax), %rdi
leaq 0x4bff8(%rip), %rsi     # 0xb13a0
leaq 0x4c00f(%rip), %rdx     # 0xb13be
movl $0x5a71, %ecx           # imm = 0x5A71
movb $0x0, %al
callq 0x13ec0
movq 0x5fc2e(%rip), %rax     # 0xc4ff0
movq (%rax), %rdi
callq 0x149a0
jmp 0x653cc
cmpq $0x0, 0x18(%rsp)
je 0x653e3
movq 0x18(%rsp), %rax
cmpq $0x0, 0x4780(%rax)
jne 0x653f6
xorps %xmm1, %xmm1
movaps %xmm1, %xmm0
callq 0x13460
movlpd %xmm0, 0x20(%rsp)
jmp 0x6541c
movq 0x18(%rsp), %rsi
leaq 0x8(%rsp), %rdi
callq 0x65110
movss 0x8(%rsp), %xmm0
movss 0xc(%rsp), %xmm1
callq 0x13460
movlpd %xmm0, 0x20(%rsp)
movsd 0x20(%rsp), %xmm0
addq $0x28, %rsp
retq
nopw (%rax,%rax)
// File: /workspace/github_c_makefile_star2_O0/stetre[P]moonnuklear/src/./nuklear/nuklear.h
// Function: nk_widget_size
NK_API struct nk_vec2
nk_widget_size(struct nk_context *ctx)
{
    struct nk_rect bounds;
    NK_ASSERT(ctx);
    NK_ASSERT(ctx->current);
    if (!ctx || !ctx->current)
        return nk_vec2(0,0);

    nk_layout_peek(&bounds, ctx);
    return nk_vec2(bounds.w, bounds.h);
}

// Assembly:
subq $0x28, %rsp
movq %rdi, 0x18(%rsp)
cmpq $0x0, 0x18(%rsp)
jne 0x65474
movq 0x5fba8(%rip), %rax     # 0xc4ff0
movq (%rax), %rdi
leaq 0x4bf4e(%rip), %rsi     # 0xb13a0
leaq 0x4bf65(%rip), %rdx     # 0xb13be
movl $0x5a7c, %ecx           # imm = 0x5A7C
movb $0x0, %al
callq 0x13ec0
movq 0x5fb84(%rip), %rax     # 0xc4ff0
movq (%rax), %rdi
callq 0x149a0
jmp 0x65476
jmp 0x65478
movq 0x18(%rsp), %rax
cmpq $0x0, 0x4780(%rax)
jne 0x654ba
movq 0x5fb62(%rip), %rax     # 0xc4ff0
movq (%rax), %rdi
leaq 0x4bf08(%rip), %rsi     # 0xb13a0
leaq 0x4bf1f(%rip), %rdx     # 0xb13be
movl $0x5a7d, %ecx           # imm = 0x5A7D
movb $0x0, %al
callq 0x13ec0
movq 0x5fb3e(%rip), %rax     # 0xc4ff0
movq (%rax), %rdi
callq 0x149a0
jmp 0x654bc
cmpq $0x0, 0x18(%rsp)
je 0x654d3
movq 0x18(%rsp), %rax
cmpq $0x0, 0x4780(%rax)
jne 0x654e6
xorps %xmm1, %xmm1
movaps %xmm1, %xmm0
callq 0x13460
movlpd %xmm0, 0x20(%rsp)
jmp 0x6550c
movq 0x18(%rsp), %rsi
leaq 0x8(%rsp), %rdi
callq 0x65110
movss 0x10(%rsp), %xmm0
movss 0x14(%rsp), %xmm1
callq 0x13460
movlpd %xmm0, 0x20(%rsp)
movsd 0x20(%rsp), %xmm0
addq $0x28, %rsp
retq
nopw (%rax,%rax)
// File: /workspace/github_c_makefile_star2_O0/stetre[P]moonnuklear/src/./nuklear/nuklear.h
// Function: nk_widget_width
NK_API float
nk_widget_width(struct nk_context *ctx)
{
    struct nk_rect bounds;
    NK_ASSERT(ctx);
    NK_ASSERT(ctx->current);
    if (!ctx || !ctx->current)
        return 0;

    nk_layout_peek(&bounds, ctx);
    return bounds.w;
}

// Assembly:
subq $0x28, %rsp
movq %rdi, 0x18(%rsp)
cmpq $0x0, 0x18(%rsp)
jne 0x65564
movq 0x5fab8(%rip), %rax     # 0xc4ff0
movq (%rax), %rdi
leaq 0x4be5e(%rip), %rsi     # 0xb13a0
leaq 0x4be75(%rip), %rdx     # 0xb13be
movl $0x5a88, %ecx           # imm = 0x5A88
movb $0x0, %al
callq 0x13ec0
movq 0x5fa94(%rip), %rax     # 0xc4ff0
movq (%rax), %rdi
callq 0x149a0
jmp 0x65566
jmp 0x65568
movq 0x18(%rsp), %rax
cmpq $0x0, 0x4780(%rax)
jne 0x655aa
movq 0x5fa72(%rip), %rax     # 0xc4ff0
movq (%rax), %rdi
leaq 0x4be18(%rip), %rsi     # 0xb13a0
leaq 0x4be2f(%rip), %rdx     # 0xb13be
movl $0x5a89, %ecx           # imm = 0x5A89
movb $0x0, %al
callq 0x13ec0
movq 0x5fa4e(%rip), %rax     # 0xc4ff0
movq (%rax), %rdi
callq 0x149a0
jmp 0x655ac
cmpq $0x0, 0x18(%rsp)
je 0x655c3
movq 0x18(%rsp), %rax
cmpq $0x0, 0x4780(%rax)
jne 0x655ce
xorps %xmm0, %xmm0
movss %xmm0, 0x24(%rsp)
jmp 0x655e9
movq 0x18(%rsp), %rsi
leaq 0x8(%rsp), %rdi
callq 0x65110
movss 0x10(%rsp), %xmm0
movss %xmm0, 0x24(%rsp)
movss 0x24(%rsp), %xmm0
addq $0x28, %rsp
retq
nopw %cs:(%rax,%rax)
// File: /workspace/github_c_makefile_star2_O0/stetre[P]moonnuklear/src/./nuklear/nuklear.h
// Function: nk_widget_height
NK_API float
nk_widget_height(struct nk_context *ctx)
{
    struct nk_rect bounds;
    NK_ASSERT(ctx);
    NK_ASSERT(ctx->current);
    if (!ctx || !ctx->current)
        return 0;

    nk_layout_peek(&bounds, ctx);
    return bounds.h;
}

// Assembly:
subq $0x28, %rsp
movq %rdi, 0x18(%rsp)
cmpq $0x0, 0x18(%rsp)
jne 0x65644
movq 0x5f9d8(%rip), %rax     # 0xc4ff0
movq (%rax), %rdi
leaq 0x4bd7e(%rip), %rsi     # 0xb13a0
leaq 0x4bd95(%rip), %rdx     # 0xb13be
movl $0x5a94, %ecx           # imm = 0x5A94
movb $0x0, %al
callq 0x13ec0
movq 0x5f9b4(%rip), %rax     # 0xc4ff0
movq (%rax), %rdi
callq 0x149a0
jmp 0x65646
jmp 0x65648
movq 0x18(%rsp), %rax
cmpq $0x0, 0x4780(%rax)
jne 0x6568a
movq 0x5f992(%rip), %rax     # 0xc4ff0
movq (%rax), %rdi
leaq 0x4bd38(%rip), %rsi     # 0xb13a0
leaq 0x4bd4f(%rip), %rdx     # 0xb13be
movl $0x5a95, %ecx           # imm = 0x5A95
movb $0x0, %al
callq 0x13ec0
movq 0x5f96e(%rip), %rax     # 0xc4ff0
movq (%rax), %rdi
callq 0x149a0
jmp 0x6568c
cmpq $0x0, 0x18(%rsp)
je 0x656a3
movq 0x18(%rsp), %rax
cmpq $0x0, 0x4780(%rax)
jne 0x656ae
xorps %xmm0, %xmm0
movss %xmm0, 0x24(%rsp)
jmp 0x656c9
movq 0x18(%rsp), %rsi
leaq 0x8(%rsp), %rdi
callq 0x65110
movss 0x14(%rsp), %xmm0
movss %xmm0, 0x24(%rsp)
movss 0x24(%rsp), %xmm0
addq $0x28, %rsp
retq
nopw %cs:(%rax,%rax)
// File: /workspace/github_c_makefile_star2_O0/stetre[P]moonnuklear/src/./nuklear/nuklear.h
// Function: nk_widget_is_hovered
NK_API nk_bool
nk_widget_is_hovered(struct nk_context *ctx)
{
    struct nk_rect c, v;
    struct nk_rect bounds;
    NK_ASSERT(ctx);
    NK_ASSERT(ctx->current);
    if (!ctx || !ctx->current || ctx->active != ctx->current)
        return 0;

    c = ctx->current->layout->clip;
    c.x = (float)((int)c.x);
    c.y = (float)((int)c.y);
    c.w = (float)((int)c.w);
    c.h = (float)((int)c.h);

    nk_layout_peek(&bounds, ctx);
    nk_unify(&v, &c, bounds.x, bounds.y, bounds.x + bounds.w, bounds.y + bounds.h);
    if (!NK_INTERSECT(c.x, c.y, c.w, c.h, bounds.x, bounds.y, bounds.w, bounds.h))
        return 0;
    return nk_input_is_mouse_hovering_rect(&ctx->input, bounds);
}

// Assembly:
subq $0x48, %rsp
movq %rdi, 0x38(%rsp)
cmpq $0x0, 0x38(%rsp)
jne 0x65724
movq 0x5f8f8(%rip), %rax     # 0xc4ff0
movq (%rax), %rdi
leaq 0x4bc9e(%rip), %rsi     # 0xb13a0
leaq 0x4bcb5(%rip), %rdx     # 0xb13be
movl $0x5aa1, %ecx           # imm = 0x5AA1
movb $0x0, %al
callq 0x13ec0
movq 0x5f8d4(%rip), %rax     # 0xc4ff0
movq (%rax), %rdi
callq 0x149a0
jmp 0x65726
jmp 0x65728
movq 0x38(%rsp), %rax
cmpq $0x0, 0x4780(%rax)
jne 0x6576a
movq 0x5f8b2(%rip), %rax     # 0xc4ff0
movq (%rax), %rdi
leaq 0x4bc58(%rip), %rsi     # 0xb13a0
leaq 0x4bc6f(%rip), %rdx     # 0xb13be
movl $0x5aa2, %ecx           # imm = 0x5AA2
movb $0x0, %al
callq 0x13ec0
movq 0x5f88e(%rip), %rax     # 0xc4ff0
movq (%rax), %rdi
callq 0x149a0
jmp 0x6576c
cmpq $0x0, 0x38(%rsp)
je 0x6579d
movq 0x38(%rsp), %rax
cmpq $0x0, 0x4780(%rax)
je 0x6579d
movq 0x38(%rsp), %rax
movq 0x4778(%rax), %rax
movq 0x38(%rsp), %rcx
cmpq 0x4780(%rcx), %rax
je 0x657aa
movl $0x0, 0x44(%rsp)
jmp 0x658d1
movq 0x38(%rsp), %rax
movq 0x4780(%rax), %rax
movq 0xa8(%rax), %rax
movq 0x44(%rax), %rcx
movq %rcx, 0x28(%rsp)
movq 0x4c(%rax), %rax
movq %rax, 0x30(%rsp)
cvttss2si 0x28(%rsp), %eax
cvtsi2ss %eax, %xmm0
movss %xmm0, 0x28(%rsp)
cvttss2si 0x2c(%rsp), %eax
cvtsi2ss %eax, %xmm0
movss %xmm0, 0x2c(%rsp)
cvttss2si 0x30(%rsp), %eax
cvtsi2ss %eax, %xmm0
movss %xmm0, 0x30(%rsp)
cvttss2si 0x34(%rsp), %eax
cvtsi2ss %eax, %xmm0
movss %xmm0, 0x34(%rsp)
movq 0x38(%rsp), %rsi
leaq 0x8(%rsp), %rdi
callq 0x65110
movss 0x8(%rsp), %xmm0
movss 0xc(%rsp), %xmm1
movss 0x8(%rsp), %xmm2
addss 0x10(%rsp), %xmm2
movss 0xc(%rsp), %xmm3
addss 0x14(%rsp), %xmm3
leaq 0x18(%rsp), %rdi
leaq 0x28(%rsp), %rsi
callq 0x63b70
movss 0x8(%rsp), %xmm1
movss 0x28(%rsp), %xmm0
addss 0x30(%rsp), %xmm0
ucomiss %xmm1, %xmm0
jbe 0x658ad
movss 0x28(%rsp), %xmm1
movss 0x8(%rsp), %xmm0
addss 0x10(%rsp), %xmm0
ucomiss %xmm1, %xmm0
jbe 0x658ad
movss 0xc(%rsp), %xmm1
movss 0x2c(%rsp), %xmm0
addss 0x34(%rsp), %xmm0
ucomiss %xmm1, %xmm0
jbe 0x658ad
movss 0x2c(%rsp), %xmm1
movss 0xc(%rsp), %xmm0
addss 0x14(%rsp), %xmm0
ucomiss %xmm1, %xmm0
ja 0x658b7
movl $0x0, 0x44(%rsp)
jmp 0x658d1
movq 0x38(%rsp), %rdi
movsd 0x8(%rsp), %xmm0
movsd 0x10(%rsp), %xmm1
callq 0x15440
movl %eax, 0x44(%rsp)
movl 0x44(%rsp), %eax
addq $0x48, %rsp
retq
nopw (%rax,%rax)
// File: /workspace/github_c_makefile_star2_O0/stetre[P]moonnuklear/src/./nuklear/nuklear.h
// Function: nk_widget_is_mouse_clicked
NK_API nk_bool
nk_widget_is_mouse_clicked(struct nk_context *ctx, enum nk_buttons btn)
{
    struct nk_rect c, v;
    struct nk_rect bounds;
    NK_ASSERT(ctx);
    NK_ASSERT(ctx->current);
    if (!ctx || !ctx->current || ctx->active != ctx->current)
        return 0;

    c = ctx->current->layout->clip;
    c.x = (float)((int)c.x);
    c.y = (float)((int)c.y);
    c.w = (float)((int)c.w);
    c.h = (float)((int)c.h);

    nk_layout_peek(&bounds, ctx);
    nk_unify(&v, &c, bounds.x, bounds.y, bounds.x + bounds.w, bounds.y + bounds.h);
    if (!NK_INTERSECT(c.x, c.y, c.w, c.h, bounds.x, bounds.y, bounds.w, bounds.h))
        return 0;
    return nk_input_mouse_clicked(&ctx->input, btn, bounds);
}

// Assembly:
subq $0x48, %rsp
movq %rdi, 0x38(%rsp)
movl %esi, 0x34(%rsp)
cmpq $0x0, 0x38(%rsp)
jne 0x65928
movq 0x5f6f4(%rip), %rax     # 0xc4ff0
movq (%rax), %rdi
leaq 0x4ba9a(%rip), %rsi     # 0xb13a0
leaq 0x4bab1(%rip), %rdx     # 0xb13be
movl $0x5ab7, %ecx           # imm = 0x5AB7
movb $0x0, %al
callq 0x13ec0
movq 0x5f6d0(%rip), %rax     # 0xc4ff0
movq (%rax), %rdi
callq 0x149a0
jmp 0x6592a
jmp 0x6592c
movq 0x38(%rsp), %rax
cmpq $0x0, 0x4780(%rax)
jne 0x6596e
movq 0x5f6ae(%rip), %rax     # 0xc4ff0
movq (%rax), %rdi
leaq 0x4ba54(%rip), %rsi     # 0xb13a0
leaq 0x4ba6b(%rip), %rdx     # 0xb13be
movl $0x5ab8, %ecx           # imm = 0x5AB8
movb $0x0, %al
callq 0x13ec0
movq 0x5f68a(%rip), %rax     # 0xc4ff0
movq (%rax), %rdi
callq 0x149a0
jmp 0x65970
cmpq $0x0, 0x38(%rsp)
je 0x659a1
movq 0x38(%rsp), %rax
cmpq $0x0, 0x4780(%rax)
je 0x659a1
movq 0x38(%rsp), %rax
movq 0x4778(%rax), %rax
movq 0x38(%rsp), %rcx
cmpq 0x4780(%rcx), %rax
je 0x659ae
movl $0x0, 0x44(%rsp)
jmp 0x65ad9
movq 0x38(%rsp), %rax
movq 0x4780(%rax), %rax
movq 0xa8(%rax), %rax
movq 0x44(%rax), %rcx
movq %rcx, 0x24(%rsp)
movq 0x4c(%rax), %rax
movq %rax, 0x2c(%rsp)
cvttss2si 0x24(%rsp), %eax
cvtsi2ss %eax, %xmm0
movss %xmm0, 0x24(%rsp)
cvttss2si 0x28(%rsp), %eax
cvtsi2ss %eax, %xmm0
movss %xmm0, 0x28(%rsp)
cvttss2si 0x2c(%rsp), %eax
cvtsi2ss %eax, %xmm0
movss %xmm0, 0x2c(%rsp)
cvttss2si 0x30(%rsp), %eax
cvtsi2ss %eax, %xmm0
movss %xmm0, 0x30(%rsp)
movq 0x38(%rsp), %rsi
leaq 0x4(%rsp), %rdi
callq 0x65110
movss 0x4(%rsp), %xmm0
movss 0x8(%rsp), %xmm1
movss 0x4(%rsp), %xmm2
addss 0xc(%rsp), %xmm2
movss 0x8(%rsp), %xmm3
addss 0x10(%rsp), %xmm3
leaq 0x14(%rsp), %rdi
leaq 0x24(%rsp), %rsi
callq 0x63b70
movss 0x4(%rsp), %xmm1
movss 0x24(%rsp), %xmm0
addss 0x2c(%rsp), %xmm0
ucomiss %xmm1, %xmm0
jbe 0x65ab1
movss 0x24(%rsp), %xmm1
movss 0x4(%rsp), %xmm0
addss 0xc(%rsp), %xmm0
ucomiss %xmm1, %xmm0
jbe 0x65ab1
movss 0x8(%rsp), %xmm1
movss 0x28(%rsp), %xmm0
addss 0x30(%rsp), %xmm0
ucomiss %xmm1, %xmm0
jbe 0x65ab1
movss 0x28(%rsp), %xmm1
movss 0x8(%rsp), %xmm0
addss 0x10(%rsp), %xmm0
ucomiss %xmm1, %xmm0
ja 0x65abb
movl $0x0, 0x44(%rsp)
jmp 0x65ad9
movq 0x38(%rsp), %rdi
movl 0x34(%rsp), %esi
movsd 0x4(%rsp), %xmm0
movsd 0xc(%rsp), %xmm1
callq 0x133d0
movl %eax, 0x44(%rsp)
movl 0x44(%rsp), %eax
addq $0x48, %rsp
retq
nopw %cs:(%rax,%rax)
// File: /workspace/github_c_makefile_star2_O0/stetre[P]moonnuklear/src/./nuklear/nuklear.h
// Function: nk_panel_alloc_row
NK_LIB void
nk_panel_alloc_row(const struct nk_context *ctx, struct nk_window *win)
{
    struct nk_panel *layout = win->layout;
    struct nk_vec2 spacing = ctx->style.window.spacing;
    const float row_height = layout->row.height - spacing.y;
    nk_panel_layout(ctx, win, row_height, layout->row.columns);
}

// Assembly:
subq $0x28, %rsp
movq %rdi, 0x20(%rsp)
movq %rsi, 0x18(%rsp)
movq 0x18(%rsp), %rax
movq 0xa8(%rax), %rax
movq %rax, 0x10(%rsp)
movq 0x20(%rsp), %rax
movq 0x24b4(%rax), %rax
movq %rax, 0x8(%rsp)
movq 0x10(%rsp), %rax
movss 0x78(%rax), %xmm0
subss 0xc(%rsp), %xmm0
movss %xmm0, 0x4(%rsp)
movq 0x20(%rsp), %rdi
movq 0x18(%rsp), %rsi
movss 0x4(%rsp), %xmm0
movq 0x10(%rsp), %rax
movl 0x80(%rax), %edx
callq 0x5fa00
addq $0x28, %rsp
retq
nopl (%rax,%rax)
// File: /workspace/github_c_makefile_star2_O0/stetre[P]moonnuklear/src/./nuklear/nuklear.h
// Function: nk_text_colored
NK_API void
nk_text_colored(struct nk_context *ctx, const char *str, int len,
    nk_flags alignment, struct nk_color color)
{
    struct nk_window *win;
    const struct nk_style *style;

    struct nk_vec2 item_padding;
    struct nk_rect bounds;
    struct nk_text text;

    NK_ASSERT(ctx);
    NK_ASSERT(ctx->current);
    NK_ASSERT(ctx->current->layout);
    if (!ctx || !ctx->current || !ctx->current->layout) return;

    win = ctx->current;
    style = &ctx->style;
    nk_panel_alloc_space(&bounds, ctx);
    item_padding = style->text.padding;

    text.padding.x = item_padding.x;
    text.padding.y = item_padding.y;
    text.background = style->window.background;
    text.text = nk_rgb_factor(color, style->text.color_factor);
    nk_widget_text(&win->buffer, bounds, str, len, &text, alignment, style->font);
}

// Assembly:
subq $0x68, %rsp
movl %r8d, 0x64(%rsp)
movq %rdi, 0x58(%rsp)
movq %rsi, 0x50(%rsp)
movl %edx, 0x4c(%rsp)
movl %ecx, 0x48(%rsp)
cmpq $0x0, 0x58(%rsp)
jne 0x66936
movq 0x5e6e6(%rip), %rax     # 0xc4ff0
movq (%rax), %rdi
leaq 0x4aa8c(%rip), %rsi     # 0xb13a0
leaq 0x4aaa3(%rip), %rdx     # 0xb13be
movl $0x5c26, %ecx           # imm = 0x5C26
movb $0x0, %al
callq 0x13ec0
movq 0x5e6c2(%rip), %rax     # 0xc4ff0
movq (%rax), %rdi
callq 0x149a0
jmp 0x66938
jmp 0x6693a
movq 0x58(%rsp), %rax
cmpq $0x0, 0x4780(%rax)
jne 0x6697c
movq 0x5e6a0(%rip), %rax     # 0xc4ff0
movq (%rax), %rdi
leaq 0x4aa46(%rip), %rsi     # 0xb13a0
leaq 0x4aa5d(%rip), %rdx     # 0xb13be
movl $0x5c27, %ecx           # imm = 0x5C27
movb $0x0, %al
callq 0x13ec0
movq 0x5e67c(%rip), %rax     # 0xc4ff0
movq (%rax), %rdi
callq 0x149a0
jmp 0x6697e
jmp 0x66980
movq 0x58(%rsp), %rax
movq 0x4780(%rax), %rax
cmpq $0x0, 0xa8(%rax)
jne 0x669c9
movq 0x5e653(%rip), %rax     # 0xc4ff0
movq (%rax), %rdi
leaq 0x4a9f9(%rip), %rsi     # 0xb13a0
leaq 0x4aa10(%rip), %rdx     # 0xb13be
movl $0x5c28, %ecx           # imm = 0x5C28
movb $0x0, %al
callq 0x13ec0
movq 0x5e62f(%rip), %rax     # 0xc4ff0
movq (%rax), %rdi
callq 0x149a0
jmp 0x669cb
cmpq $0x0, 0x58(%rsp)
je 0x669f8
movq 0x58(%rsp), %rax
cmpq $0x0, 0x4780(%rax)
je 0x669f8
movq 0x58(%rsp), %rax
movq 0x4780(%rax), %rax
cmpq $0x0, 0xa8(%rax)
jne 0x669fd
jmp 0x66ab6
movq 0x58(%rsp), %rax
movq 0x4780(%rax), %rax
movq %rax, 0x40(%rsp)
movq 0x58(%rsp), %rax
addq $0x168, %rax            # imm = 0x168
movq %rax, 0x38(%rsp)
movq 0x58(%rsp), %rsi
leaq 0x20(%rsp), %rdi
callq 0x62030
movq 0x38(%rsp), %rax
movq 0x58(%rax), %rax
movq %rax, 0x30(%rsp)
movss 0x30(%rsp), %xmm0
movss %xmm0, 0x10(%rsp)
movss 0x34(%rsp), %xmm0
movss %xmm0, 0x14(%rsp)
movq 0x38(%rsp), %rax
movl 0x22e0(%rax), %eax
movl %eax, 0x18(%rsp)
movq 0x38(%rsp), %rax
movss 0x60(%rax), %xmm0
movl 0x64(%rsp), %edi
callq 0x15100
movl %eax, 0xc(%rsp)
movl 0xc(%rsp), %eax
movl %eax, 0x1c(%rsp)
movq 0x40(%rsp), %rdi
addq $0x68, %rdi
movq 0x50(%rsp), %rsi
movl 0x4c(%rsp), %edx
movl 0x48(%rsp), %r8d
movq 0x38(%rsp), %rax
movq (%rax), %r9
movsd 0x20(%rsp), %xmm0
movsd 0x28(%rsp), %xmm1
leaq 0x10(%rsp), %rcx
callq 0x66ac0
addq $0x68, %rsp
retq
nopl (%rax,%rax)
// File: /workspace/github_c_makefile_star2_O0/stetre[P]moonnuklear/src/./nuklear/nuklear.h
// Function: nk_text_wrap_colored
NK_API void
nk_text_wrap_colored(struct nk_context *ctx, const char *str,
    int len, struct nk_color color)
{
    struct nk_window *win;
    const struct nk_style *style;

    struct nk_vec2 item_padding;
    struct nk_rect bounds;
    struct nk_text text;

    NK_ASSERT(ctx);
    NK_ASSERT(ctx->current);
    NK_ASSERT(ctx->current->layout);
    if (!ctx || !ctx->current || !ctx->current->layout) return;

    win = ctx->current;
    style = &ctx->style;
    nk_panel_alloc_space(&bounds, ctx);
    item_padding = style->text.padding;

    text.padding.x = item_padding.x;
    text.padding.y = item_padding.y;
    text.background = style->window.background;
    text.text = nk_rgb_factor(color, style->text.color_factor);
    nk_widget_text_wrap(&win->buffer, bounds, str, len, &text, style->font);
}

// Assembly:
subq $0x68, %rsp
movl %ecx, 0x64(%rsp)
movq %rdi, 0x58(%rsp)
movq %rsi, 0x50(%rsp)
movl %edx, 0x4c(%rsp)
cmpq $0x0, 0x58(%rsp)
jne 0x67111
movq 0x5df0b(%rip), %rax     # 0xc4ff0
movq (%rax), %rdi
leaq 0x4a2b1(%rip), %rsi     # 0xb13a0
leaq 0x4a2c8(%rip), %rdx     # 0xb13be
movl $0x5c41, %ecx           # imm = 0x5C41
movb $0x0, %al
callq 0x13ec0
movq 0x5dee7(%rip), %rax     # 0xc4ff0
movq (%rax), %rdi
callq 0x149a0
jmp 0x67113
jmp 0x67115
movq 0x58(%rsp), %rax
cmpq $0x0, 0x4780(%rax)
jne 0x67157
movq 0x5dec5(%rip), %rax     # 0xc4ff0
movq (%rax), %rdi
leaq 0x4a26b(%rip), %rsi     # 0xb13a0
leaq 0x4a282(%rip), %rdx     # 0xb13be
movl $0x5c42, %ecx           # imm = 0x5C42
movb $0x0, %al
callq 0x13ec0
movq 0x5dea1(%rip), %rax     # 0xc4ff0
movq (%rax), %rdi
callq 0x149a0
jmp 0x67159
jmp 0x6715b
movq 0x58(%rsp), %rax
movq 0x4780(%rax), %rax
cmpq $0x0, 0xa8(%rax)
jne 0x671a4
movq 0x5de78(%rip), %rax     # 0xc4ff0
movq (%rax), %rdi
leaq 0x4a21e(%rip), %rsi     # 0xb13a0
leaq 0x4a235(%rip), %rdx     # 0xb13be
movl $0x5c43, %ecx           # imm = 0x5C43
movb $0x0, %al
callq 0x13ec0
movq 0x5de54(%rip), %rax     # 0xc4ff0
movq (%rax), %rdi
callq 0x149a0
jmp 0x671a6
cmpq $0x0, 0x58(%rsp)
je 0x671d3
movq 0x58(%rsp), %rax
cmpq $0x0, 0x4780(%rax)
je 0x671d3
movq 0x58(%rsp), %rax
movq 0x4780(%rax), %rax
cmpq $0x0, 0xa8(%rax)
jne 0x671d8
jmp 0x6728c
movq 0x58(%rsp), %rax
movq 0x4780(%rax), %rax
movq %rax, 0x40(%rsp)
movq 0x58(%rsp), %rax
addq $0x168, %rax            # imm = 0x168
movq %rax, 0x38(%rsp)
movq 0x58(%rsp), %rsi
leaq 0x20(%rsp), %rdi
callq 0x62030
movq 0x38(%rsp), %rax
movq 0x58(%rax), %rax
movq %rax, 0x30(%rsp)
movss 0x30(%rsp), %xmm0
movss %xmm0, 0x10(%rsp)
movss 0x34(%rsp), %xmm0
movss %xmm0, 0x14(%rsp)
movq 0x38(%rsp), %rax
movl 0x22e0(%rax), %eax
movl %eax, 0x18(%rsp)
movq 0x38(%rsp), %rax
movss 0x60(%rax), %xmm0
movl 0x64(%rsp), %edi
callq 0x15100
movl %eax, 0xc(%rsp)
movl 0xc(%rsp), %eax
movl %eax, 0x1c(%rsp)
movq 0x40(%rsp), %rdi
addq $0x68, %rdi
movq 0x50(%rsp), %rsi
movl 0x4c(%rsp), %edx
movq 0x38(%rsp), %rax
movq (%rax), %r8
movsd 0x20(%rsp), %xmm0
movsd 0x28(%rsp), %xmm1
leaq 0x10(%rsp), %rcx
callq 0x672a0
addq $0x68, %rsp
retq
nopw %cs:(%rax,%rax)
// File: /workspace/github_c_makefile_star2_O0/stetre[P]moonnuklear/src/./nuklear/nuklear.h
// Function: nk_strfmt
NK_LIB int
nk_strfmt(char *buf, int buf_size, const char *fmt, va_list args)
{
    int result = -1;
    NK_ASSERT(buf);
    NK_ASSERT(buf_size);
    if (!buf || !buf_size || !fmt) return 0;
#ifdef NK_INCLUDE_STANDARD_IO
    result = NK_VSNPRINTF(buf, (nk_size)buf_size, fmt, args);
    result = (result >= buf_size) ? -1: result;
    buf[buf_size-1] = 0;
#else
    result = nk_vsnprintf(buf, buf_size, fmt, args);
#endif
    return result;
}

// Assembly:
subq $0x38, %rsp
movq %rdi, 0x28(%rsp)
movl %esi, 0x24(%rsp)
movq %rdx, 0x18(%rsp)
movq %rcx, 0x10(%rsp)
movl $0xffffffff, 0xc(%rsp)  # imm = 0xFFFFFFFF
cmpq $0x0, 0x28(%rsp)
jne 0x67b3a
movq 0x5d4e2(%rip), %rax     # 0xc4ff0
movq (%rax), %rdi
leaq 0x49888(%rip), %rsi     # 0xb13a0
leaq 0x4989f(%rip), %rdx     # 0xb13be
movl $0x1cf8, %ecx           # imm = 0x1CF8
movb $0x0, %al
callq 0x13ec0
movq 0x5d4be(%rip), %rax     # 0xc4ff0
movq (%rax), %rdi
callq 0x149a0
jmp 0x67b3c
jmp 0x67b3e
cmpl $0x0, 0x24(%rsp)
jne 0x67b78
movq 0x5d4a4(%rip), %rax     # 0xc4ff0
movq (%rax), %rdi
leaq 0x4984a(%rip), %rsi     # 0xb13a0
leaq 0x49861(%rip), %rdx     # 0xb13be
movl $0x1cf9, %ecx           # imm = 0x1CF9
movb $0x0, %al
callq 0x13ec0
movq 0x5d480(%rip), %rax     # 0xc4ff0
movq (%rax), %rdi
callq 0x149a0
jmp 0x67b7a
cmpq $0x0, 0x28(%rsp)
je 0x67b91
cmpl $0x0, 0x24(%rsp)
je 0x67b91
cmpq $0x0, 0x18(%rsp)
jne 0x67b9b
movl $0x0, 0x34(%rsp)
jmp 0x67bf8
movq 0x28(%rsp), %rdi
movslq 0x24(%rsp), %rsi
movq 0x18(%rsp), %rdx
movq 0x10(%rsp), %rcx
callq 0x13550
movl %eax, 0xc(%rsp)
movl 0xc(%rsp), %eax
cmpl 0x24(%rsp), %eax
jl 0x67bcd
movl $0xffffffff, %eax       # imm = 0xFFFFFFFF
movl %eax, 0x8(%rsp)
jmp 0x67bd5
movl 0xc(%rsp), %eax
movl %eax, 0x8(%rsp)
movl 0x8(%rsp), %eax
movl %eax, 0xc(%rsp)
movq 0x28(%rsp), %rax
movl 0x24(%rsp), %ecx
subl $0x1, %ecx
movslq %ecx, %rcx
movb $0x0, (%rax,%rcx)
movl 0xc(%rsp), %eax
movl %eax, 0x34(%rsp)
movl 0x34(%rsp), %eax
addq $0x38, %rsp
retq
nopw %cs:(%rax,%rax)
// File: /workspace/github_c_makefile_star2_O0/stetre[P]moonnuklear/src/./nuklear/nuklear.h
// Function: nk_subimage_ptr
NK_API struct nk_image
nk_subimage_ptr(void *ptr, nk_ushort w, nk_ushort h, struct nk_rect r)
{
    struct nk_image s;
    nk_zero(&s, sizeof(s));
    s.handle.ptr = ptr;
    s.w = w; s.h = h;
    s.region[0] = (nk_ushort)r.x;
    s.region[1] = (nk_ushort)r.y;
    s.region[2] = (nk_ushort)r.w;
    s.region[3] = (nk_ushort)r.h;
    return s;
}

// Assembly:
subq $0x38, %rsp
movq %rdi, 0x8(%rsp)
movw %cx, %ax
movw %dx, %cx
movq %rdi, %rdx
movq %rdx, 0x10(%rsp)
movlpd %xmm0, 0x28(%rsp)
movlpd %xmm1, 0x30(%rsp)
movq %rsi, 0x20(%rsp)
movw %cx, 0x1e(%rsp)
movw %ax, 0x1c(%rsp)
movl $0x18, %esi
callq 0x2f0e0
movq 0x8(%rsp), %rdi
movq 0x10(%rsp), %rax
movq 0x20(%rsp), %rcx
movq %rcx, (%rdi)
movw 0x1e(%rsp), %cx
movw %cx, 0x8(%rdi)
movw 0x1c(%rsp), %cx
movw %cx, 0xa(%rdi)
cvttss2si 0x28(%rsp), %ecx
movw %cx, 0xc(%rdi)
cvttss2si 0x2c(%rsp), %ecx
movw %cx, 0xe(%rdi)
cvttss2si 0x30(%rsp), %ecx
movw %cx, 0x10(%rdi)
cvttss2si 0x34(%rsp), %ecx
movw %cx, 0x12(%rdi)
addq $0x38, %rsp
retq
nopl (%rax)
// File: /workspace/github_c_makefile_star2_O0/stetre[P]moonnuklear/src/./nuklear/nuklear.h
// Function: nk_subimage_id
NK_API struct nk_image
nk_subimage_id(int id, nk_ushort w, nk_ushort h, struct nk_rect r)
{
    struct nk_image s;
    nk_zero(&s, sizeof(s));
    s.handle.id = id;
    s.w = w; s.h = h;
    s.region[0] = (nk_ushort)r.x;
    s.region[1] = (nk_ushort)r.y;
    s.region[2] = (nk_ushort)r.w;
    s.region[3] = (nk_ushort)r.h;
    return s;
}

// Assembly:
subq $0x28, %rsp
movq %rdi, (%rsp)
movw %cx, %ax
movw %dx, %cx
movq %rdi, %rdx
movq %rdx, 0x8(%rsp)
movlpd %xmm0, 0x18(%rsp)
movlpd %xmm1, 0x20(%rsp)
movl %esi, 0x14(%rsp)
movw %cx, 0x12(%rsp)
movw %ax, 0x10(%rsp)
movl $0x18, %esi
callq 0x2f0e0
movq (%rsp), %rdi
movq 0x8(%rsp), %rax
movl 0x14(%rsp), %ecx
movl %ecx, (%rdi)
movw 0x12(%rsp), %cx
movw %cx, 0x8(%rdi)
movw 0x10(%rsp), %cx
movw %cx, 0xa(%rdi)
cvttss2si 0x18(%rsp), %ecx
movw %cx, 0xc(%rdi)
cvttss2si 0x1c(%rsp), %ecx
movw %cx, 0xe(%rdi)
cvttss2si 0x20(%rsp), %ecx
movw %cx, 0x10(%rdi)
cvttss2si 0x24(%rsp), %ecx
movw %cx, 0x12(%rdi)
addq $0x28, %rsp
retq
nopl (%rax,%rax)