// File: Ciaxur[P]yagb-emu/include/imgui/imgui.cpp
// Function: ImGuiWindow::ImGuiWindow(ImGuiContext*, char const*)
ImGuiWindow::ImGuiWindow(ImGuiContext* context, const char* name) : DrawListInst(NULL)
{
    memset(this, 0, sizeof(*this));
    Name = ImStrdup(name);
    NameBufLen = (int)strlen(name) + 1;
    ID = ImHashStr(name);
    IDStack.push_back(ID);
    MoveId = GetID("#MOVE");
    ScrollTarget = ImVec2(FLT_MAX, FLT_MAX);
    ScrollTargetCenterRatio = ImVec2(0.5f, 0.5f);
    AutoFitFramesX = AutoFitFramesY = -1;
    AutoPosLastDirection = ImGuiDir_None;
    SetWindowPosAllowFlags = SetWindowSizeAllowFlags = SetWindowCollapsedAllowFlags = ImGuiCond_Always | ImGuiCond_Once | ImGuiCond_FirstUseEver | ImGuiCond_Appearing;
    SetWindowPosVal = SetWindowPosPivot = ImVec2(FLT_MAX, FLT_MAX);
    LastFrameActive = -1;
    LastTimeActive = -1.0f;
    FontWindowScale = 1.0f;
    SettingsOffset = -1;
    DrawList = &DrawListInst;
    DrawList->_Data = &context->DrawListSharedData;
    DrawList->_OwnerName = Name;
}

// Assembly:
pushq %rbp
movq %rsp, %rbp
subq $0xa0, %rsp
movq %rdi, -0x8(%rbp)
movq %rsi, -0x10(%rbp)
movq %rdx, -0x18(%rbp)
movq -0x8(%rbp), %rdi
movq %rdi, -0x50(%rbp)
addq $0x10, %rdi
callq 0xe7de0
movq -0x50(%rbp), %rdi
addq $0x18, %rdi
callq 0xe7de0
movq -0x50(%rbp), %rdi
addq $0x20, %rdi
callq 0xe7de0
movq -0x50(%rbp), %rdi
addq $0x28, %rdi
callq 0xe7de0
movq -0x50(%rbp), %rdi
addq $0x30, %rdi
callq 0xe7de0
movq -0x50(%rbp), %rdi
addq $0x38, %rdi
callq 0xe7de0
movq -0x50(%rbp), %rdi
addq $0x40, %rdi
callq 0xe7de0
movq -0x50(%rbp), %rdi
addq $0x5c, %rdi
callq 0xe7de0
movq -0x50(%rbp), %rdi
addq $0x64, %rdi
callq 0xe7de0
movq -0x50(%rbp), %rdi
addq $0x6c, %rdi
callq 0xe7de0
movq -0x50(%rbp), %rdi
addq $0x74, %rdi
callq 0xe7de0
movq -0x50(%rbp), %rdi
addq $0x7c, %rdi
callq 0xe7de0
movq -0x50(%rbp), %rdi
addq $0x84, %rdi
callq 0xe7de0
movq -0x50(%rbp), %rdi
addq $0xb4, %rdi
callq 0xe7de0
movq -0x50(%rbp), %rdi
addq $0xbc, %rdi
callq 0xe7de0
movq -0x50(%rbp), %rdi
addq $0xc8, %rdi
movq %rdi, -0x58(%rbp)
callq 0xe8ac0
movq -0x50(%rbp), %rdi
addq $0xd8, %rdi
movq %rdi, -0x48(%rbp)
callq 0xe8af0
jmp 0xc95b1
movq -0x50(%rbp), %rdi
addq $0x208, %rdi            # imm = 0x208
callq 0xe8c60
jmp 0xc95c3
movq -0x50(%rbp), %rdi
addq $0x218, %rdi            # imm = 0x218
callq 0xe8c60
jmp 0xc95d5
movq -0x50(%rbp), %rdi
addq $0x228, %rdi            # imm = 0x228
callq 0xe8c60
jmp 0xc95e7
movq -0x50(%rbp), %rdi
addq $0x238, %rdi            # imm = 0x238
callq 0xe8c60
jmp 0xc95f9
movq -0x50(%rbp), %rdi
addq $0x248, %rdi            # imm = 0x248
callq 0xe8c60
jmp 0xc960b
movq -0x50(%rbp), %rdi
addq $0x258, %rdi            # imm = 0x258
callq 0xe8c60
jmp 0xc961d
movq -0x50(%rbp), %rdi
addq $0x268, %rdi            # imm = 0x268
callq 0xe8c60
jmp 0xc962f
movq -0x50(%rbp), %rdi
addq $0x278, %rdi            # imm = 0x278
callq 0xe8ca0
jmp 0xc9641
movq -0x50(%rbp), %rdi
addq $0x27c, %rdi            # imm = 0x27C
callq 0xe8ca0
jmp 0xc9653
movq -0x50(%rbp), %rdi
addq $0x290, %rdi            # imm = 0x290
movq %rdi, -0x60(%rbp)
callq 0xe8cc0
jmp 0xc9669
movq -0x50(%rbp), %rdi
addq $0x2a0, %rdi            # imm = 0x2A0
movq %rdi, -0x68(%rbp)
callq 0xe8ce0
jmp 0xc967f
movq -0x50(%rbp), %rdi
addq $0x2c0, %rdi            # imm = 0x2C0
movq %rdi, -0x70(%rbp)
xorl %eax, %eax
movl %eax, %esi
callq 0xe8d10
jmp 0xc9699
movq -0x50(%rbp), %rax
addq $0x3b8, %rax            # imm = 0x3B8
movq %rax, %rcx
addq $0x20, %rcx
movq %rcx, -0x80(%rbp)
movq %rax, -0x78(%rbp)
movq -0x78(%rbp), %rdi
movq %rdi, -0x88(%rbp)
callq 0xe8c60
jmp 0xc96c4
movq -0x80(%rbp), %rcx
movq -0x88(%rbp), %rax
addq $0x10, %rax
cmpq %rcx, %rax
movq %rax, -0x78(%rbp)
jne 0xc96b2
movq -0x50(%rbp), %rdi
xorl %esi, %esi
movl $0x3e8, %edx            # imm = 0x3E8
callq 0xd2f0
movq -0x18(%rbp), %rdi
callq 0xc47d0
movq %rax, -0x90(%rbp)
jmp 0xc96fe
movq -0x50(%rbp), %rax
movq -0x90(%rbp), %rcx
movq %rcx, (%rax)
movq -0x18(%rbp), %rdi
callq 0xd410
movq %rax, %rcx
movq -0x50(%rbp), %rax
incl %ecx
movl %ecx, 0x50(%rax)
movq -0x18(%rbp), %rdi
xorl %edx, %edx
movl %edx, %esi
callq 0xc4f20
movq -0x50(%rbp), %rdi
movq %rdi, %rsi
addq $0x8, %rsi
movl %eax, 0x8(%rdi)
addq $0xc8, %rdi
callq 0xe8e70
jmp 0xc974a
movq -0x50(%rbp), %rdi
leaq 0xa9f75(%rip), %rsi     # 0x1736ca
xorl %eax, %eax
movl %eax, %edx
callq 0xc9910
movl %eax, -0x94(%rbp)
jmp 0xc9766
movq -0x50(%rbp), %rax
movl -0x94(%rbp), %ecx
movl %ecx, 0x54(%rax)
leaq -0x2c(%rbp), %rdi
movss 0xa8835(%rip), %xmm1    # 0x171fb4
movaps %xmm1, %xmm0
callq 0xbf4c0
jmp 0xc9789
movq -0x50(%rbp), %rax
movq -0x2c(%rbp), %rcx
movq %rcx, 0x6c(%rax)
leaq -0x34(%rbp), %rdi
movss 0xa8837(%rip), %xmm1    # 0x171fd8
movaps %xmm1, %xmm0
callq 0xbf4c0
jmp 0xc97ab
movq -0x50(%rbp), %rax
movq -0x34(%rbp), %rcx
movq %rcx, 0x74(%rax)
movb $-0x1, 0xa5(%rax)
movb $-0x1, 0xa4(%rax)
movl $0xffffffff, 0xa8(%rax) # imm = 0xFFFFFFFF
movb $0xf, 0xb1(%rax)
movb $0xf, 0xb0(%rax)
movb $0xf, 0xaf(%rax)
leaq -0x3c(%rbp), %rdi
movss 0xa87c4(%rip), %xmm1    # 0x171fb4
movaps %xmm1, %xmm0
callq 0xbf4c0
jmp 0xc97fa
movq -0x50(%rbp), %rax
movq -0x3c(%rbp), %rcx
movq %rcx, 0xbc(%rax)
movq 0xbc(%rax), %rcx
movq %rcx, 0xb4(%rax)
movl $0xffffffff, 0x280(%rax) # imm = 0xFFFFFFFF
movss 0xa8757(%rip), %xmm0    # 0x171f80
movss %xmm0, 0x284(%rax)
movss 0xa7403(%rip), %xmm0    # 0x170c3c
movss %xmm0, 0x2b0(%rax)
movl $0xffffffff, 0x2b4(%rax) # imm = 0xFFFFFFFF
movq %rax, %rcx
addq $0x2c0, %rcx            # imm = 0x2C0
movq %rcx, 0x2b8(%rax)
movq -0x10(%rbp), %rdx
addq $0x1988, %rdx           # imm = 0x1988
movq 0x2b8(%rax), %rcx
movq %rdx, 0x38(%rcx)
movq (%rax), %rcx
movq 0x2b8(%rax), %rax
movq %rcx, 0x40(%rax)
addq $0xa0, %rsp
popq %rbp
retq
movq %rax, %rcx
movl %edx, %eax
movq %rcx, -0x20(%rbp)
movl %eax, -0x24(%rbp)
jmp 0xc98f1
movq %rax, %rcx
movl %edx, %eax
movq %rcx, -0x20(%rbp)
movl %eax, -0x24(%rbp)
jmp 0xc98e8
movq %rax, %rcx
movl %edx, %eax
movq %rcx, -0x20(%rbp)
movl %eax, -0x24(%rbp)
jmp 0xc98df
movq %rax, %rcx
movl %edx, %eax
movq %rcx, -0x20(%rbp)
movl %eax, -0x24(%rbp)
jmp 0xc98d6
movq -0x70(%rbp), %rdi
movq %rax, %rcx
movl %edx, %eax
movq %rcx, -0x20(%rbp)
movl %eax, -0x24(%rbp)
callq 0xe8ed0
movq -0x68(%rbp), %rdi
callq 0xe8f60
movq -0x60(%rbp), %rdi
callq 0xe8fa0
movq -0x48(%rbp), %rdi
callq 0xe8fc0
movq -0x58(%rbp), %rdi
callq 0xe9010
movq -0x20(%rbp), %rdi
callq 0xd620
nopw %cs:(%rax,%rax)