// File: /workspace/github_c_makefile_star2_O2/stetre[P]moonnuklear/src/./nuklear/nuklear.h
// Function: nk_widget_disable_end
NK_API void
nk_widget_disable_end(struct nk_context* ctx)
{
    struct nk_window* win;
    struct nk_style* style;

    NK_ASSERT(ctx);
    NK_ASSERT(ctx->current);

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

    win = ctx->current;
    style = &ctx->style;

    win->widgets_disabled = nk_false;

    style->button.color_factor_text = 1.0f;
    style->button.color_factor_background = 1.0f;
    style->chart.color_factor = 1.0f;
    style->checkbox.color_factor = 1.0f;
    style->combo.color_factor = 1.0f;
    style->combo.button.color_factor_text = 1.0f;
    style->combo.button.color_factor_background = 1.0f;
    style->contextual_button.color_factor_text = 1.0f;
    style->contextual_button.color_factor_background = 1.0f;
    style->edit.color_factor = 1.0f;
    style->edit.scrollbar.color_factor = 1.0f;
    style->menu_button.color_factor_text = 1.0f;
    style->menu_button.color_factor_background = 1.0f;
    style->option.color_factor = 1.0f;
    style->progress.color_factor = 1.0f;
    style->property.color_factor = 1.0f;
    style->property.inc_button.color_factor_text = 1.0f;
    style->property.inc_button.color_factor_background = 1.0f;
    style->property.dec_button.color_factor_text = 1.0f;
    style->property.dec_button.color_factor_background = 1.0f;
    style->property.edit.color_factor = 1.0f;
    style->scrollh.color_factor = 1.0f;
    style->scrollh.inc_button.color_factor_text = 1.0f;
    style->scrollh.inc_button.color_factor_background = 1.0f;
    style->scrollh.dec_button.color_factor_text = 1.0f;
    style->scrollh.dec_button.color_factor_background = 1.0f;
    style->scrollv.color_factor = 1.0f;
    style->scrollv.inc_button.color_factor_text = 1.0f;
    style->scrollv.inc_button.color_factor_background = 1.0f;
    style->scrollv.dec_button.color_factor_text = 1.0f;
    style->scrollv.dec_button.color_factor_background = 1.0f;
    style->selectable.color_factor = 1.0f;
    style->slider.color_factor = 1.0f;
    style->slider.inc_button.color_factor_text = 1.0f;
    style->slider.inc_button.color_factor_background = 1.0f;
    style->slider.dec_button.color_factor_text = 1.0f;
    style->slider.dec_button.color_factor_background = 1.0f;
    style->tab.color_factor = 1.0f;
    style->tab.node_maximize_button.color_factor_text = 1.0f;
    style->tab.node_minimize_button.color_factor_text = 1.0f;
    style->tab.tab_maximize_button.color_factor_text = 1.0f;
    style->tab.tab_maximize_button.color_factor_background = 1.0f;
    style->tab.tab_minimize_button.color_factor_text = 1.0f;
    style->tab.tab_minimize_button.color_factor_background = 1.0f;
    style->text.color_factor = 1.0f;
}

// Assembly:
pushq %r14
pushq %rbx
pushq %rax
movq %rdi, %rbx
testq %rdi, %rdi
jne 0x41591
movq 0x43a84(%rip), %r14     # 0x84ff0
movq (%r14), %rdi
leaq 0x28796(%rip), %rsi     # 0x69d0c
leaq 0x287ad(%rip), %rdx     # 0x69d2a
movl $0x5b85, %ecx           # imm = 0x5B85
xorl %eax, %eax
callq 0x12ea0
movq (%r14), %rdi
callq 0x13960
movq 0x4780(%rbx), %rax
testq %rax, %rax
jne 0x415d9
movq 0x43a4c(%rip), %r14     # 0x84ff0
movq (%r14), %rdi
leaq 0x2875e(%rip), %rsi     # 0x69d0c
leaq 0x28775(%rip), %rdx     # 0x69d2a
movl $0x5b86, %ecx           # imm = 0x5B86
xorl %eax, %eax
callq 0x12ea0
movq (%r14), %rdi
callq 0x13960
movq 0x4780(%rbx), %rax
testq %rax, %rax
je 0x416f3
andl $0x0, 0x1b0(%rax)
movl $0x3f800000, %eax       # imm = 0x3F800000
movl %eax, 0x264(%rbx)
movl %eax, 0x24c(%rbx)
movl %eax, 0x166c(%rbx)
movl %eax, 0x674(%rbx)
movl %eax, 0x21b4(%rbx)
movl %eax, 0x2144(%rbx)
movl %eax, 0x212c(%rbx)
movl %eax, 0x33c(%rbx)
movl %eax, 0x324(%rbx)
movl %eax, 0x161c(%rbx)
movl %eax, 0x13f4(%rbx)
movl %eax, 0x414(%rbx)
movl %eax, 0x3fc(%rbx)
movl %eax, 0x554(%rbx)
movl %eax, 0xc04(%rbx)
movl %eax, 0xcc8(%rbx)
movl %eax, 0x112c(%rbx)
movl %eax, 0x1114(%rbx)
movl %eax, 0x1204(%rbx)
movl %eax, 0x11ec(%rbx)
movl %eax, 0x108c(%rbx)
movl %eax, 0x178c(%rbx)
movl %eax, 0x182c(%rbx)
movl %eax, 0x1814(%rbx)
movl %eax, 0x1904(%rbx)
movl %eax, 0x18ec(%rbx)
movl %eax, 0x1a7c(%rbx)
movl %eax, 0x1b1c(%rbx)
movl %eax, 0x1b04(%rbx)
movl %eax, 0x1bf4(%rbx)
movl %eax, 0x1bdc(%rbx)
movl %eax, 0x7c4(%rbx)
movl %eax, 0x914(%rbx)
movl %eax, 0x9b4(%rbx)
movl %eax, 0x99c(%rbx)
movl %eax, 0xa8c(%rbx)
movl %eax, 0xa74(%rbx)
movl %eax, 0x200c(%rbx)
movl %eax, 0x1ecc(%rbx)
movl %eax, 0x1fa4(%rbx)
movl %eax, 0x1d1c(%rbx)
movl %eax, 0x1d04(%rbx)
movl %eax, 0x1df4(%rbx)
movl %eax, 0x1ddc(%rbx)
movl %eax, 0x1c8(%rbx)
addq $0x8, %rsp
popq %rbx
popq %r14
retq