// File: donfreiday[P]gb/./imgui/imgui.cpp
// Function: ImGui::DragIntRange2(char const*, int*, int*, float, int, int, char const*, char const*)
bool ImGui::DragIntRange2(const char* label, int* v_current_min, int* v_current_max, float v_speed, int v_min, int v_max, const char* display_format, const char* display_format_max)
{
    ImGuiWindow* window = GetCurrentWindow();
    if (window->SkipItems)
        return false;

    ImGuiState& g = *GImGui;
    ImGui::PushID(label);
    ImGui::BeginGroup();
    PushMultiItemsWidths(2);

    bool value_changed = ImGui::DragInt("##min", v_current_min, v_speed, (v_min >= v_max) ? IM_INT_MIN : v_min, (v_min >= v_max) ? *v_current_max : ImMin(v_max, *v_current_max), display_format);
    ImGui::PopItemWidth();
    ImGui::SameLine(0, g.Style.ItemInnerSpacing.x);
    value_changed |= ImGui::DragInt("##max", v_current_max, v_speed, (v_min >= v_max) ? *v_current_min : ImMax(v_min, *v_current_min), (v_min >= v_max) ? IM_INT_MAX : v_max, display_format_max ? display_format_max : display_format);
    ImGui::PopItemWidth();
    ImGui::SameLine(0, g.Style.ItemInnerSpacing.x);

    ImGui::TextUnformatted(label, FindTextDisplayEnd(label));
    ImGui::EndGroup();
    ImGui::PopID();

    return value_changed;
}

// Assembly:
pushq %rbp
movq %rsp, %rbp
subq $0x90, %rsp
movq 0x10(%rbp), %rax
movq %rdi, -0x10(%rbp)
movq %rsi, -0x18(%rbp)
movq %rdx, -0x20(%rbp)
movss %xmm0, -0x24(%rbp)
movl %ecx, -0x28(%rbp)
movl %r8d, -0x2c(%rbp)
movq %r9, -0x38(%rbp)
callq 0x2e220
movq %rax, -0x40(%rbp)
movq -0x40(%rbp), %rax
testb $0x1, 0x74(%rax)
je 0x22af7
movb $0x0, -0x1(%rbp)
jmp 0x22cb5
movq 0x569c2(%rip), %rax     # 0x794c0
movq %rax, -0x48(%rbp)
movq -0x10(%rbp), %rdi
callq 0x1b8c0
callq 0x211c0
movl $0x2, %edi
xorps %xmm0, %xmm0
callq 0x21310
movq -0x18(%rbp), %rax
movq %rax, -0x58(%rbp)
movss -0x24(%rbp), %xmm0
movss %xmm0, -0x50(%rbp)
movl -0x28(%rbp), %eax
cmpl -0x2c(%rbp), %eax
jl 0x22b41
movl $0x80000000, %eax       # imm = 0x80000000
movl %eax, -0x5c(%rbp)
jmp 0x22b47
movl -0x28(%rbp), %eax
movl %eax, -0x5c(%rbp)
movl -0x5c(%rbp), %eax
movl %eax, -0x60(%rbp)
movl -0x28(%rbp), %eax
cmpl -0x2c(%rbp), %eax
jl 0x22b60
movq -0x20(%rbp), %rax
movl (%rax), %eax
movl %eax, -0x64(%rbp)
jmp 0x22b71
movl -0x2c(%rbp), %edi
movq -0x20(%rbp), %rax
movl (%rax), %esi
callq 0x22cd0
movl %eax, -0x64(%rbp)
movl -0x60(%rbp), %edx
movss -0x50(%rbp), %xmm0
movq -0x58(%rbp), %rsi
movl -0x64(%rbp), %ecx
movq -0x38(%rbp), %r8
leaq 0x393b7(%rip), %rdi     # 0x5bf42
callq 0x22800
andb $0x1, %al
movb %al, -0x49(%rbp)
callq 0xb0f0
movq -0x48(%rbp), %rax
movss 0x141c(%rax), %xmm1
xorps %xmm0, %xmm0
callq 0x1a5e0
movq -0x20(%rbp), %rax
movq %rax, -0x70(%rbp)
movss -0x24(%rbp), %xmm0
movss %xmm0, -0x68(%rbp)
movl -0x28(%rbp), %eax
cmpl -0x2c(%rbp), %eax
jl 0x22bd3
movq -0x18(%rbp), %rax
movl (%rax), %eax
movl %eax, -0x74(%rbp)
jmp 0x22be4
movl -0x28(%rbp), %edi
movq -0x18(%rbp), %rax
movl (%rax), %esi
callq 0x22d00
movl %eax, -0x74(%rbp)
movl -0x74(%rbp), %eax
movl %eax, -0x78(%rbp)
movl -0x28(%rbp), %eax
cmpl -0x2c(%rbp), %eax
jl 0x22bfc
movl $0x7fffffff, %eax       # imm = 0x7FFFFFFF
movl %eax, -0x7c(%rbp)
jmp 0x22c02
movl -0x2c(%rbp), %eax
movl %eax, -0x7c(%rbp)
movl -0x7c(%rbp), %eax
movl %eax, -0x80(%rbp)
cmpq $0x0, 0x10(%rbp)
je 0x22c1c
movq 0x10(%rbp), %rax
movq %rax, -0x88(%rbp)
jmp 0x22c27
movq -0x38(%rbp), %rax
movq %rax, -0x88(%rbp)
movl -0x80(%rbp), %ecx
movl -0x78(%rbp), %edx
movss -0x68(%rbp), %xmm0
movq -0x70(%rbp), %rsi
movq -0x88(%rbp), %r8
leaq 0x39304(%rip), %rdi     # 0x5bf48
callq 0x22800
andb $0x1, %al
movzbl %al, %ecx
movb -0x49(%rbp), %al
andb $0x1, %al
movzbl %al, %eax
orl %ecx, %eax
cmpl $0x0, %eax
setne %al
andb $0x1, %al
movb %al, -0x49(%rbp)
callq 0xb0f0
movq -0x48(%rbp), %rax
movss 0x141c(%rax), %xmm1
xorps %xmm0, %xmm0
callq 0x1a5e0
movq -0x10(%rbp), %rax
movq %rax, -0x90(%rbp)
movq -0x10(%rbp), %rdi
xorl %eax, %eax
movl %eax, %esi
callq 0x10230
movq -0x90(%rbp), %rdi
movq %rax, %rsi
callq 0xf8c0
callq 0x21490
callq 0x1b550
movb -0x49(%rbp), %al
andb $0x1, %al
movb %al, -0x1(%rbp)
movb -0x1(%rbp), %al
andb $0x1, %al
addq $0x90, %rsp
popq %rbp
retq
nopw %cs:(%rax,%rax)