// File: /workspace/github_c_makefile_star2_O1/enzo1982[P]smooth/tools/designer/edit_component.cpp
// Function: Designer_EditComponent::Designer_EditComponent(Designer*, smooth::String)
Designer_EditComponent::Designer_EditComponent(Designer *des, String name)
{
	designer = des;

	status.dlg = this;
	status.currdlgname = name;
	status.mousex = 0;
	status.mousey = 0;
	status.wndposx = 150;
	status.wndposy = 150;
	status.wndsizex = 400;
	status.wndsizey = 400;
	status.event = STATUS_EVENT_REPORT_NAME;

	designer->ReportStatus(status);

	wnd	= new GUI::Window(name, Point(150, 150), Size(400, 400));
	title	= new Titlebar();

	objects.Add(wnd);
	objects.Add(title);

	Add(wnd);

	wnd->Add(title);

	wnd->onEvent.Connect(&Designer_EditComponent::EventProc, this);
	wnd->doClose.Connect(&Designer_EditComponent::ExitProc, this);
}

// Assembly:
pushq %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $0x78, %rsp
movq %rdx, %r12
movq %rsi, %r13
movq %rdi, %rbx
leaq 0x10(%rsp), %r14
movq %r14, %rdi
xorl %esi, %esi
callq 0x4210
movq %rbx, %rdi
movq %r14, %rsi
callq 0x4330
leaq 0x10(%rsp), %rdi
callq 0x4200
leaq 0x571a(%rip), %rax      # 0xbaa8
movq %rax, (%rbx)
leaq 0x5c8(%rbx), %r14
movq %r14, %rdi
callq 0x4080
movq %r14, 0x8(%rsp)
leaq 0x592c(%rip), %rax      # 0xbcd8
movq %rax, 0x608(%rbx)
xorps %xmm0, %xmm0
movups %xmm0, 0x610(%rbx)
leaq 0x5874(%rip), %rax      # 0xbc38
movq %rax, 0x5c8(%rbx)
leaq 0x638(%rbx), %r15
movq %r15, %rdi
xorl %esi, %esi
callq 0x4210
movq %r13, 0x620(%rbx)
movq %rbx, 0x630(%rbx)
movq %r15, %rdi
movq %r12, %rsi
callq 0x4260
leaq 0x628(%rbx), %rax
movaps 0x1e4d(%rip), %xmm0     # 0x8250
movups %xmm0, 0x650(%rbx)
movabsq $0x19000000190, %r14    # imm = 0x19000000190
movq %r14, 0x660(%rbx)
movl $0x0, 0x628(%rbx)
movq 0x620(%rbx), %rbp
movups (%rax), %xmm0
leaq 0x40(%rsp), %r13
movaps %xmm0, -0x10(%r13)
movq %r13, %rdi
movq %r15, %rsi
callq 0x4310
movups 0x650(%rbx), %xmm0
movups 0x65c(%rbx), %xmm1
leaq 0x30(%rsp), %rsi
movups %xmm1, 0x34(%rsi)
movups %xmm0, 0x28(%rsi)
movq %rbp, %rdi
callq 0x507a
movq %r13, %rdi
callq 0x4200
movl $0x6d8, %edi            # imm = 0x6D8
callq 0x4250
movq %rax, %r13
movabsq $0x9600000096, %rax     # imm = 0x9600000096
leaq 0x10(%rsp), %rdx
movq %rax, (%rdx)
leaq 0x28(%rsp), %rcx
movq %r14, (%rcx)
movq %r13, %rdi
movq %r12, %rsi
xorl %r8d, %r8d
callq 0x4160
movq %r13, 0x5b8(%rbx)
movl $0x5c8, %edi            # imm = 0x5C8
callq 0x4250
movq %rax, %r13
movq %rax, %rdi
movl $0x7, %esi
callq 0x40c0
movq %r13, 0x5c0(%rbx)
movq 0x5b8(%rbx), %rax
leaq 0x10(%rsp), %rsi
movq %rax, (%rsi)
movq 0x8(%rsp), %r14
movq %r14, %rdi
callq 0x6d48
movq 0x5c0(%rbx), %rax
leaq 0x10(%rsp), %rsi
movq %rax, (%rsi)
movq %r14, %rdi
callq 0x6d48
movq 0x5b8(%rbx), %rsi
movq (%rbx), %rax
movq %rbx, %rdi
callq *0x30(%rax)
movq 0x5b8(%rbx), %rdi
movq 0x5c0(%rbx), %rsi
movq (%rdi), %rax
callq *0x30(%rax)
movl $0x668, %edi            # imm = 0x668
addq 0x5b8(%rbx), %rdi
leaq 0xae(%rip), %rsi        # 0x65e4
xorl %edx, %edx
movq %rbx, %rcx
callq 0x6978
movl $0x688, %r12d           # imm = 0x688
addq 0x5b8(%rbx), %r12
movq %r12, %rdi
callq 0x5ea8
leaq 0x8a(%rip), %rsi        # 0x65e6
movq %r12, %rdi
xorl %edx, %edx
movq %rbx, %rcx
callq 0x6f68
addq $0x78, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
jmp 0x65be
jmp 0x65be
movq %rax, %r12
movl $0x5c8, %esi            # imm = 0x5C8
jmp 0x658e
movq %rax, %r12
movl $0x6d8, %esi            # imm = 0x6D8
movq %r13, %rdi
callq 0x4050
jmp 0x65c1
movq %rax, %r12
movq %r13, %rdi
callq 0x4200
jmp 0x65c1
movq %rax, %r12
jmp 0x65c9
movq %rax, %r12
jmp 0x65d3
movq %rax, %r12
leaq 0x10(%rsp), %rdi
callq 0x4200
jmp 0x65db
movq %rax, %r12
movq %r15, %rdi
callq 0x4200
movq 0x8(%rsp), %rdi
callq 0x6a36
movq %rbx, %rdi
callq 0x4220
movq %r12, %rdi
callq 0x4150
nop