// File: /workspace/github_c_makefile_star2_O1/enzo1982[P]smooth/classes/gui/widgets/multi/list/listentry.cpp
// Function: smooth::GUI::ListEntry::ListEntry(smooth::String const&)
S::GUI::ListEntry::ListEntry(const String &iText)
{
	type		= classID;

	selected	= False;
	marked		= False;
	text		= iText;

	font.SetColor(Setup::ClientTextColor);

	ComputeTextSize();

	hotspot		= new Hotspot(Point(), GetSize());
	markHotspot	= new Hotspot(Point(2, 3), Size(9, 9));

	hotspot->onLeftButtonDown.Connect(&ListEntry::OnSelectEntry, this);
	markHotspot->onLeftButtonDown.Connect(&ListEntry::OnClickMarkHotspot, this);

	hotspot->onMouseDrag.Connect(&ListEntry::InitDrag, this);

	Add(hotspot);
	Add(markHotspot);

	SetSize(Size(100, 16));

	internalOnSelectEntry.Connect(&ListEntry::OnSelectOtherEntry, this);

	onChangeSize.Connect(&Hotspot::SetSize, hotspot);
}

// Assembly:
pushq %r15
pushq %r14
pushq %r12
pushq %rbx
subq $0x18, %rsp
movq %rsi, %r14
movq %rdi, %rbx
callq 0x588f0
movq 0xe63cb(%rip), %rax     # 0x16cff0
addq $0x10, %rax
movq %rax, (%rbx)
xorl %eax, %eax
movq %rax, 0x5d8(%rbx)
leaq 0xdbb0c(%rip), %rcx     # 0x162748
movq %rcx, 0x5d0(%rbx)
xorps %xmm0, %xmm0
movups %xmm0, 0x5e0(%rbx)
movq %rax, 0x5f8(%rbx)
movq %rcx, 0x5f0(%rbx)
movups %xmm0, 0x600(%rbx)
movq %rax, 0x618(%rbx)
leaq 0xdfc10(%rip), %rax     # 0x166880
movq %rax, 0x610(%rbx)
movups %xmm0, 0x620(%rbx)
movq 0xe596b(%rip), %rax     # 0x16c5f0
movzwl (%rax), %eax
movw %ax, 0x20(%rbx)
movw $0x0, 0x5b8(%rbx)
leaq 0xf0(%rbx), %rdi
movq %r14, %rsi
callq 0x555f0
leaq 0x140(%rbx), %rdi
movq 0xe613e(%rip), %rsi     # 0x16cdf0
callq 0x58650
movq %rbx, %rdi
callq 0x55bb0
movl $0x5b8, %edi            # imm = 0x5B8
callq 0x556b0
movq %rax, %r15
leaq 0x8(%rsp), %rsi
movq $0x0, (%rsi)
leaq 0xb0(%rbx), %rdx
movq %rax, %rdi
callq 0x55a30
movq %r15, 0x5c0(%rbx)
movl $0x5b8, %edi            # imm = 0x5B8
callq 0x556b0
movq %rax, %r15
movabsq $0x300000002, %rax      # imm = 0x300000002
leaq 0x8(%rsp), %rsi
movq %rax, (%rsi)
movabsq $0x900000009, %rax      # imm = 0x900000009
leaq 0x10(%rsp), %rdx
movq %rax, (%rdx)
movq %r15, %rdi
callq 0x55a30
movq %r15, 0x5c8(%rbx)
movl $0x2f8, %r14d           # imm = 0x2F8
movq 0x5c0(%rbx), %rdi
addq %r14, %rdi
movq 0xe5d43(%rip), %rsi     # 0x16ca88
xorl %edx, %edx
movq %rbx, %rcx
callq 0x880e4
addq 0x5c8(%rbx), %r14
movq 0xe5b73(%rip), %rsi     # 0x16c8d0
movq %r14, %rdi
xorl %edx, %edx
movq %rbx, %rcx
callq 0x880e4
movl $0x418, %edi            # imm = 0x418
addq 0x5c0(%rbx), %rdi
movq 0xe5bb3(%rip), %rsi     # 0x16c930
xorl %edx, %edx
movq %rbx, %rcx
callq 0x880e4
movq 0x5c0(%rbx), %rsi
movq (%rbx), %rax
movq %rbx, %rdi
callq *0x30(%rax)
movq 0x5c8(%rbx), %rsi
movq (%rbx), %rax
movq %rbx, %rdi
callq *0x30(%rax)
movabsq $0x1000000064, %rax     # imm = 0x1000000064
leaq 0x8(%rsp), %rdx
movq %rax, (%rdx)
leaq 0xa8(%rbx), %rsi
movq (%rbx), %rax
movq %rbx, %rdi
callq *0x150(%rax)
movq 0xe5ed5(%rip), %rdi     # 0x16cca8
movq 0xe5736(%rip), %rsi     # 0x16c510
xorl %edx, %edx
movq %rbx, %rcx
callq 0x881a2
leaq 0x298(%rbx), %rdi
movq 0x5c0(%rbx), %rcx
movq 0xe571f(%rip), %rsi     # 0x16c518
xorl %edx, %edx
callq 0x74994
addq $0x18, %rsp
popq %rbx
popq %r12
popq %r14
popq %r15
retq
jmp 0x86e22
jmp 0x86e10
movq %rax, %r14
movl $0x5b8, %esi            # imm = 0x5B8
movq %r15, %rdi
callq 0x55480
jmp 0x86e25
movq %rax, %r14
leaq 0x5d0(%rbx), %r15
leaq 0x5f0(%rbx), %r12
leaq 0x610(%rbx), %rdi
callq 0x88260
movq %r12, %rdi
callq 0x703d2
movq %r15, %rdi
callq 0x703d2
movq %rbx, %rdi
callq 0x57040
movq %r14, %rdi
callq 0x57090
nop