// File: /workspace/github_cpp_makefile_star2_O1/donfreiday[P]gb/./imgui/imgui.cpp
// Function: ImGuiWindow::ImGuiWindow(char const*)
ImGuiWindow::ImGuiWindow(const char* name)
{
    Name = ImStrdup(name);
    ID = ImHash(name, 0);
    IDStack.push_back(ID);
    MoveID = GetID("#MOVE");

    Flags = 0;
    PosFloat = Pos = ImVec2(0.0f, 0.0f);
    Size = SizeFull = ImVec2(0.0f, 0.0f);
    SizeContents = SizeContentsExplicit = ImVec2(0.0f, 0.0f);
    WindowPadding = ImVec2(0.0f, 0.0f);
    Scroll = ImVec2(0.0f, 0.0f);
    ScrollTarget = ImVec2(FLT_MAX, FLT_MAX);
    ScrollTargetCenterRatio = ImVec2(0.5f, 0.5f);
    ScrollbarX = ScrollbarY = false;
    ScrollbarSizes = ImVec2(0.0f, 0.0f);
    Active = WasActive = false;
    Accessed = false;
    Collapsed = false;
    SkipItems = false;
    BeginCount = 0;
    PopupID = 0;
    AutoFitFramesX = AutoFitFramesY = -1;
    AutoFitOnlyGrows = false;
    AutoPosLastDirection = -1;
    HiddenFrames = 0;
    SetWindowPosAllowFlags = SetWindowSizeAllowFlags = SetWindowCollapsedAllowFlags = ImGuiSetCond_Always | ImGuiSetCond_Once | ImGuiSetCond_FirstUseEver | ImGuiSetCond_Appearing;
    SetWindowPosCenterWanted = false;

    LastFrameDrawn = -1;
    ItemWidthDefault = 0.0f;
    FontWindowScale = 1.0f;

    DrawList = (ImDrawList*)ImGui::MemAlloc(sizeof(ImDrawList));
    new(DrawList) ImDrawList();
    DrawList->_OwnerName = Name;
    RootWindow = NULL;
    RootNonPopupWindow = NULL;

    FocusIdxAllCounter = FocusIdxTabCounter = -1;
    FocusIdxAllRequestCurrent = FocusIdxTabRequestCurrent = IM_INT_MAX;
    FocusIdxAllRequestNext = FocusIdxTabRequestNext = IM_INT_MAX;
}

// Assembly:
pushq %rbp
movq %rsp, %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
pushq %rax
movq %rsi, %r12
movq %rdi, %rbx
xorl %eax, %eax
movq %rax, 0x68(%rdi)
leaq 0xa8(%rdi), %r14
xorps %xmm0, %xmm0
movups %xmm0, 0x10(%rdi)
movups %xmm0, 0x20(%rdi)
movups %xmm0, 0x30(%rdi)
movq %rax, 0x40(%rdi)
movups %xmm0, 0x4c(%rdi)
movq %rax, 0x5c(%rdi)
movq %r14, %rdi
callq 0x2462c
leaq 0x1d0(%rbx), %r15
xorps %xmm1, %xmm1
movups %xmm1, 0x1d0(%rbx)
movaps 0x32cc0(%rip), %xmm0    # 0x3d2e0
movups %xmm0, 0x1e0(%rbx)
movups %xmm0, 0x1f0(%rbx)
movups %xmm1, 0x208(%rbx)
movups %xmm1, 0x218(%rbx)
movups %xmm1, 0x228(%rbx)
movups %xmm1, 0x238(%rbx)
movups %xmm1, 0x248(%rbx)
movups %xmm1, 0x258(%rbx)
movq %r12, %rdi
callq 0x857f
movq %rax, (%rbx)
movq %r12, %rdi
xorl %esi, %esi
xorl %edx, %edx
callq 0x8794
movl %eax, 0x8(%rbx)
movl 0x1d0(%rbx), %r13d
movl 0x1d4(%rbx), %eax
cmpl %eax, %r13d
jne 0xa718
incl %r13d
testl %eax, %eax
je 0xa69c
movl %eax, %ecx
shrl $0x1f, %ecx
addl %eax, %ecx
sarl %ecx
addl %eax, %ecx
jmp 0xa6a1
movl $0x8, %ecx
cmpl %r13d, %ecx
cmovgl %ecx, %r13d
cmpl %r13d, %eax
jge 0xa718
movslq %r13d, %rdi
shlq $0x2, %rdi
movq 0x4add5(%rip), %rax     # 0x55490
incl 0x334(%rax)
callq *0xd0(%rax)
movq %rax, %r12
movq 0x1d8(%rbx), %rsi
movslq 0x1d0(%rbx), %rdx
shlq $0x2, %rdx
movq %rax, %rdi
callq 0x7080
movq 0x1d8(%rbx), %rdi
testq %rdi, %rdi
je 0xa6fd
movq 0x4ad99(%rip), %rax     # 0x55490
decl 0x334(%rax)
movq 0x4ad8c(%rip), %rax     # 0x55490
callq *0xd8(%rax)
movq %r12, 0x1d8(%rbx)
movl %r13d, 0x1d4(%rbx)
leaq 0x68(%rbx), %r12
movl 0x8(%rbx), %eax
movq 0x1d8(%rbx), %rcx
movslq 0x1d0(%rbx), %rdx
leal 0x1(%rdx), %esi
movl %esi, 0x1d0(%rbx)
movl %eax, (%rcx,%rdx,4)
leaq 0x3302d(%rip), %rsi     # 0x3d76d
xorl %r13d, %r13d
movq %rbx, %rdi
xorl %edx, %edx
callq 0xa872
movl %eax, 0x48(%rbx)
movq %r13, 0x4c(%rbx)
xorps %xmm0, %xmm0
movups %xmm0, 0xc(%rbx)
movups %xmm0, 0x1c(%rbx)
movups %xmm0, 0x2c(%rbx)
movups %xmm0, 0x38(%rbx)
movaps 0x32b82(%rip), %xmm0    # 0x3d2f0
movups %xmm0, 0x54(%rbx)
movw $0x0, 0x64(%rbx)
movq %r13, 0x78(%rbx)
movq %r13, (%r12)
movq %r13, 0x5(%r12)
movq $-0x1, 0x80(%rbx)
movb %r13b, 0x88(%rbx)
movl $0xffffffff, %eax       # imm = 0xFFFFFFFF
movq %rax, 0x8c(%rbx)
movl $0xf, 0x9c(%rbx)
movabsq $0xf0000000f, %rcx      # imm = 0xF0000000F
movq %rcx, 0x94(%rbx)
movb %r13b, 0xa0(%rbx)
movq %rax, 0x200(%rbx)
movl $0x3f800000, 0x268(%rbx) # imm = 0x3F800000
movq 0x4acb3(%rip), %rax     # 0x55490
incl 0x334(%rax)
movl $0x98, %edi
callq *0xd0(%rax)
movq %rax, 0x270(%rbx)
movq %rax, %rdi
callq 0x246d8
movq (%rbx), %rax
movq 0x270(%rbx), %rcx
movq %rax, 0x30(%rcx)
xorps %xmm0, %xmm0
movups %xmm0, 0x278(%rbx)
movq $-0x1, 0x288(%rbx)
movabsq $0x7fffffff7fffffff, %rax # imm = 0x7FFFFFFF7FFFFFFF
movq %rax, 0x290(%rbx)
movq %rax, 0x298(%rbx)
addq $0x8, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
movq %rax, %r12
addq $0x258, %rbx            # imm = 0x258
movq %rbx, %rdi
callq 0x24eba
movq %r15, %rdi
callq 0x24794
movq %r14, %rdi
callq 0x247be
movq %r12, %rdi
callq 0x74d0
nop