// File: /workspace/github_cpp_makefile_star2_O3/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, 0x100(%rdi)
movups %xmm0, 0x1c0(%rdi)
movups %xmm0, 0xa8(%rdi)
movups %xmm0, 0xb8(%rdi)
movups %xmm0, 0xc8(%rdi)
movups %xmm0, 0x128(%rdi)
movups %xmm0, 0x138(%rdi)
movups %xmm0, 0x148(%rdi)
movups %xmm0, 0x158(%rdi)
movups %xmm0, 0x168(%rdi)
movups %xmm0, 0x10(%rdi)
movups %xmm0, 0x20(%rdi)
movups %xmm0, 0x30(%rdi)
movq %rax, 0x40(%rdi)
movups %xmm0, 0x4c(%rdi)
movq %rax, 0x5c(%rdi)
movl $0xbf800000, %ecx       # imm = 0xBF800000
movl %ecx, 0xd8(%rdi)
movl %eax, 0xf8(%rdi)
movups %xmm0, 0xdc(%rdi)
movups %xmm0, 0xe7(%rdi)
movups %xmm0, 0x110(%rdi)
movw $0x1, 0x124(%rdi)
movl %ecx, 0x120(%rdi)
movups %xmm0, 0x178(%rdi)
movups %xmm0, 0x188(%rdi)
movq %rax, 0x198(%rdi)
movl $0x1, 0x1a0(%rdi)
movups %xmm0, 0x1a4(%rdi)
movb $0x1, 0x1b4(%rdi)
movl %eax, 0x1b8(%rdi)
leaq 0x1d0(%rdi), %r15
movups %xmm0, 0x1d0(%rdi)
movaps 0x32dcd(%rip), %xmm1    # 0x3d2f0
movups %xmm1, 0x1e0(%rdi)
movups %xmm1, 0x1f0(%rdi)
movups %xmm0, 0x258(%rdi)
movups %xmm0, 0x248(%rdi)
movups %xmm0, 0x238(%rdi)
movups %xmm0, 0x228(%rdi)
movups %xmm0, 0x218(%rdi)
movups %xmm0, 0x208(%rdi)
movq %rsi, %rdi
callq 0x852f
movq %rax, (%rbx)
movq %r12, %rdi
xorl %esi, %esi
xorl %edx, %edx
callq 0x8734
movl %eax, 0x8(%rbx)
movl 0x1d0(%rbx), %ecx
cmpl 0x1d4(%rbx), %ecx
jne 0xa598
leal 0x1(%rcx), %r13d
testl %ecx, %ecx
je 0xa5a1
movl %ecx, %eax
shrl $0x1f, %eax
addl %ecx, %eax
sarl %eax
addl %ecx, %eax
jmp 0xa5a6
movq 0x1d8(%rbx), %r12
jmp 0xa61a
movl $0x8, %eax
cmpl %r13d, %eax
cmovgl %eax, %r13d
movslq %r13d, %rdi
shlq $0x2, %rdi
movq 0x4aec5(%rip), %rax     # 0x55480
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
movq 0x4ae8e(%rip), %rax     # 0x55480
testq %rdi, %rdi
je 0xa5fd
decl 0x334(%rax)
callq *0xd8(%rax)
movq %r12, 0x1d8(%rbx)
movl %r13d, 0x1d4(%rbx)
movl 0x8(%rbx), %eax
movl 0x1d0(%rbx), %ecx
leaq 0x68(%rbx), %r13
leal 0x1(%rcx), %edx
movl %edx, 0x1d0(%rbx)
movslq %ecx, %rcx
movl %eax, (%r12,%rcx,4)
leaq 0x33168(%rip), %rsi     # 0x3d79d
xorl %r12d, %r12d
movq %rbx, %rdi
xorl %edx, %edx
callq 0xa766
movl %eax, 0x48(%rbx)
movq %r12, 0x4c(%rbx)
xorps %xmm0, %xmm0
movups %xmm0, 0xc(%rbx)
movups %xmm0, 0x1c(%rbx)
movups %xmm0, 0x2c(%rbx)
movups %xmm0, 0x38(%rbx)
movaps 0x32c9d(%rip), %xmm0    # 0x3d300
movups %xmm0, 0x54(%rbx)
movw $0x0, 0x64(%rbx)
movq %r12, 0x78(%rbx)
movq %r12, (%r13)
movq %r12, 0x5(%r13)
movq $-0x1, 0x80(%rbx)
movb %r12b, 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 %r12b, 0xa0(%rbx)
movq %rax, 0x200(%rbx)
movl $0x3f800000, 0x268(%rbx) # imm = 0x3F800000
movq 0x4adaf(%rip), %rax     # 0x55480
incl 0x334(%rax)
movl $0x98, %edi
callq *0xd0(%rax)
movq %rax, 0x270(%rbx)
movq %rax, %rdi
callq 0x242f2
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 0x24aa8
movq %r15, %rdi
callq 0x243ae
movq %r14, %rdi
callq 0x243d8
movq %r12, %rdi
callq 0x74c0
nop