// File: /workspace/github_c_makefile_star2_O2/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, %r15
movq %rdi, %rbx
leaq 0x10(%rsp), %r14
movq %r14, %rdi
xorl %esi, %esi
callq 0x4210
movq %rbx, %rdi
movq %r14, %rsi
callq 0x4340
leaq 0x10(%rsp), %rdi
callq 0x4200
leaq 0x4796(%rip), %rax      # 0xaaa8
movq %rax, (%rbx)
leaq 0x5c8(%rbx), %r14
movq %r14, %rdi
callq 0x6858
leaq 0x628(%rbx), %r13
movq %r13, %rdi
callq 0x53dc
movq %r15, 0x620(%rbx)
movq %rbx, 0x630(%rbx)
leaq 0x638(%rbx), %rdi
movq %rdi, 0x8(%rsp)
movq %r12, %rsi
callq 0x4260
movaps 0xef4(%rip), %xmm0      # 0x7250
movups %xmm0, 0x650(%rbx)
movabsq $0x19000000190, %r15    # imm = 0x19000000190
movq %r15, 0x660(%rbx)
andl $0x0, 0x628(%rbx)
movq 0x620(%rbx), %rbp
leaq 0x30(%rsp), %rdi
movq %r13, %rsi
callq 0x686e
leaq 0x30(%rsp), %rsi
movq %rbp, %rdi
callq 0x505c
leaq 0x40(%rsp), %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 %r15, (%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
pushq $0x7
popq %rsi
movq %rax, %rdi
callq 0x40c0
movq %r13, 0x5c0(%rbx)
movq 0x5b8(%rbx), %rax
leaq 0x10(%rsp), %rsi
movq %rax, (%rsi)
movq %r14, %rdi
callq 0x6c74
movq 0x5c0(%rbx), %rax
leaq 0x10(%rsp), %rsi
movq %rax, (%rsi)
movq %r14, %rdi
callq 0x6c74
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 0xa4(%rip), %rsi        # 0x650a
xorl %edx, %edx
movq %rbx, %rcx
callq 0x68a6
movl $0x688, %edi            # imm = 0x688
addq 0x5b8(%rbx), %rdi
leaq 0x89(%rip), %rsi        # 0x650c
xorl %edx, %edx
movq %rbx, %rcx
callq 0x6942
addq $0x78, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
jmp 0x64e4
jmp 0x64e4
movq %rax, %r12
movl $0x5c8, %esi            # imm = 0x5C8
jmp 0x64b2
movq %rax, %r12
movl $0x6d8, %esi            # imm = 0x6D8
movq %r13, %rdi
callq 0x4050
jmp 0x64e7
movq %rax, %r12
leaq 0x40(%rsp), %rdi
callq 0x4200
jmp 0x64e7
movq %rax, %r12
jmp 0x64f1
movq %rax, %r12
jmp 0x64f9
movq %rax, %r12
leaq 0x10(%rsp), %rdi
callq 0x4200
jmp 0x6501
movq %rax, %r12
movq 0x8(%rsp), %rdi
callq 0x4200
movq %r14, %rdi
callq 0x6978
movq %rbx, %rdi
callq 0x4220
movq %r12, %rdi
callq 0x4150
nop