// File: /workspace/github_cpp_makefile_star2_O2/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
andq $0x0, 0x68(%rdi)
leaq 0xa8(%rdi), %r14
xorps %xmm0, %xmm0
movups %xmm0, 0x10(%rdi)
movups %xmm0, 0x20(%rdi)
movups %xmm0, 0x30(%rdi)
andq $0x0, 0x40(%rdi)
movups %xmm0, 0x4c(%rdi)
andq $0x0, 0x5c(%rdi)
movq %r14, %rdi
callq 0x1e422
leaq 0x1d0(%rbx), %r15
xorps %xmm1, %xmm1
movups %xmm1, 0x1d0(%rbx)
movaps 0x2cc2f(%rip), %xmm0    # 0x362f0
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 0x826a
movq %rax, (%rbx)
movq %r12, %rdi
xorl %esi, %esi
xorl %edx, %edx
callq 0x846d
leaq 0x8(%rbx), %rsi
movl %eax, 0x8(%rbx)
movq %r15, %rdi
callq 0x1e4ba
leaq 0x68(%rbx), %r13
leaq 0x2d02b(%rip), %rsi     # 0x36755
xorl %r12d, %r12d
movq %rbx, %rdi
xorl %edx, %edx
callq 0x9858
movl %eax, 0x48(%rbx)
andq $0x0, 0x4c(%rbx)
xorps %xmm0, %xmm0
movups %xmm0, 0xc(%rbx)
movups %xmm0, 0x1c(%rbx)
movups %xmm0, 0x2c(%rbx)
movups %xmm0, 0x38(%rbx)
movaps 0x2cba7(%rip), %xmm0    # 0x36300
movups %xmm0, 0x54(%rbx)
andw $0x0, 0x64(%rbx)
andq $0x0, 0x78(%rbx)
andq $0x0, (%r13)
andq $0x0, 0x5(%r13)
orq $-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 0x46cba(%rip), %rax     # 0x50480
incl 0x334(%rax)
movl $0x98, %edi
callq *0xd0(%rax)
movq %rax, 0x270(%rbx)
movq %rax, %rdi
callq 0x1e50a
movq (%rbx), %rax
movq 0x270(%rbx), %rcx
movq %rax, 0x30(%rcx)
xorps %xmm0, %xmm0
movups %xmm0, 0x278(%rbx)
orq $-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 0x1f972
movq %r15, %rdi
callq 0x1e5c2
movq %r14, %rdi
callq 0x1e5ec
movq %r12, %rdi
callq 0x74b0
nop