// File: /workspace/github_c_makefile_star2_O1/enzo1982[P]smooth/classes/gui/widgets/special/cursor.cpp
// Function: smooth::GUI::Cursor::Cursor(smooth::GUI::Point const&, smooth::GUI::Size const&)
S::GUI::Cursor::Cursor(const Point &iPos, const Size &iSize) : Widget(iPos, iSize)
{
	type		= classID;
	markStart	= -1;
	markEnd		= -1;
	maxSize		= 32768;
	promptPos	= 0;
	promptVisible	= False;
	timer		= NIL;
	marking		= False;
	visibleOffset	= 0;
	scrollPos	= 0;
	maxScrollPos	= 0;
	contextMenu	= NIL;
	historyPos	= 0;
	tabSize		= 4;

	imeAdvance	= 0;
	imeCursor	= False;

	SetTabstopCapable(True);

	onGetFocus.Connect(&Cursor::OnGetFocus, this);
	onGetFocusByKeyboard.Connect(&Cursor::OnGetFocusByKeyboard, this);
	onLoseFocus.Connect(&Cursor::OnLoseFocus, this);

	getContextMenu.Connect(&Cursor::GetContextMenu, this);

	onInput.SetParentObject(this);
	onEnter.SetParentObject(this);
	onScroll.SetParentObject(this);

	AddHistoryEntry();
}

// Assembly:
pushq %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $0x18, %rsp
movq %rdi, %rbx
callq 0x57a30
movq 0xdbe9b(%rip), %rax     # 0x16c880
addq $0x10, %rax
movq %rax, (%rbx)
leaq 0x5e8(%rbx), %r14
movq %r14, %rdi
callq 0x55d90
leaq 0xd5c1e(%rip), %r13     # 0x166620
movq %r13, 0x628(%rbx)
xorps %xmm0, %xmm0
movups %xmm0, 0x630(%rbx)
leaq 0xd5b66(%rip), %rbp     # 0x166580
movq %rbp, 0x5e8(%rbx)
leaq 0x650(%rbx), %r15
movq %r15, %rdi
callq 0x55d90
leaq 0xd0859(%rip), %rax     # 0x161290
movq %rax, 0x690(%rbx)
xorps %xmm0, %xmm0
movups %xmm0, 0x698(%rbx)
leaq 0xd07a1(%rip), %rax     # 0x1611f0
movq %rax, 0x650(%rbx)
leaq 0x6a8(%rbx), %r12
movq %r12, %rdi
callq 0x55d90
movq %r13, 0x6e8(%rbx)
xorps %xmm0, %xmm0
movups %xmm0, 0x6f0(%rbx)
movq %rbp, 0x6a8(%rbx)
leaq 0x708(%rbx), %rax
movq %rax, 0x10(%rsp)
xorl %eax, %eax
movq %rax, 0x710(%rbx)
leaq 0xd2d27(%rip), %rcx     # 0x1637c0
movq %rcx, 0x708(%rbx)
movups %xmm0, 0x718(%rbx)
leaq 0x728(%rbx), %rdx
movq %rdx, 0x8(%rsp)
movq %rax, 0x730(%rbx)
movq %rcx, 0x728(%rbx)
movups %xmm0, 0x738(%rbx)
leaq 0x748(%rbx), %r13
movq %rax, 0x750(%rbx)
leaq 0xd2263(%rip), %rcx     # 0x162d40
movq %rcx, 0x748(%rbx)
movups %xmm0, 0x758(%rbx)
movq 0xdc086(%rip), %rcx     # 0x16cb78
movzwl (%rcx), %ecx
movw %cx, 0x20(%rbx)
movq $-0x1, 0x5c8(%rbx)
movl $0x8000, 0x640(%rbx)    # imm = 0x8000
movups %xmm0, 0x5d0(%rbx)
movq %rax, 0x648(%rbx)
movl $0x0, 0x700(%rbx)
movq %rax, 0x5b8(%rbx)
movq %rax, 0x5be(%rbx)
movl $0x4, 0x5e4(%rbx)
movb $0x0, 0x5e0(%rbx)
movb $0x1, 0xd2(%rbx)
leaq 0x4d8(%rbx), %rdi
movq 0xdb7ee(%rip), %rsi     # 0x16c348
xorl %edx, %edx
movq %rbx, %rcx
callq 0x953e4
leaq 0x4f8(%rbx), %rdi
movq 0xdc306(%rip), %rsi     # 0x16ce78
xorl %edx, %edx
movq %rbx, %rcx
callq 0x953e4
leaq 0x518(%rbx), %rdi
movq 0xdc20e(%rip), %rsi     # 0x16cd98
xorl %edx, %edx
movq %rbx, %rcx
callq 0x953e4
leaq 0x1d0(%rbx), %rbp
movq %rbp, %rdi
callq 0x70b8c
movq 0xdbf0e(%rip), %rsi     # 0x16cab8
movq %rbp, %rdi
xorl %edx, %edx
movq %rbx, %rcx
callq 0x959d6
movq %rbx, 0x710(%rbx)
movq %rbx, 0x730(%rbx)
movq %rbx, 0x750(%rbx)
movq %rbx, %rdi
callq 0x587f0
addq $0x18, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
movq %rax, %rbp
jmp 0x90c19
movq %rax, %rbp
jmp 0x90c21
movq %rax, %rbp
jmp 0x90c29
movq %rax, %rbp
movq %r13, %rdi
callq 0x72ce8
movq 0x8(%rsp), %rdi
callq 0x7690c
movq 0x10(%rsp), %rdi
callq 0x7690c
movq %r12, %rdi
callq 0x8651c
movq %r15, %rdi
callq 0x63e08
movq %r14, %rdi
callq 0x8651c
movq %rbx, %rdi
callq 0x57640
movq %rbp, %rdi
callq 0x57090
nop