// File: /workspace/github_c_makefile_star2_O0/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
movq %rsp, %rbp
subq $0x110, %rsp            # imm = 0x110
movq %rdx, -0xe0(%rbp)
movq %rdi, -0x8(%rbp)
movq %rsi, -0x10(%rbp)
movq %rdx, -0x18(%rbp)
movq -0x8(%rbp), %rax
movq %rax, -0xd8(%rbp)
leaq -0x30(%rbp), %rdi
movq %rdi, -0xd0(%rbp)
xorl %esi, %esi
callq 0x5220
movq -0xd8(%rbp), %rdi
movq -0xd0(%rbp), %rsi
callq 0x5340
jmp 0x9ab0
leaq -0x30(%rbp), %rdi
callq 0x5210
movq -0xd8(%rbp), %rdi
leaq 0x6f99(%rip), %rax      # 0x10a60
movq %rax, (%rdi)
addq $0x5c8, %rdi            # imm = 0x5C8
movq %rdi, -0xe8(%rbp)
callq 0xa450
jmp 0x9adf
movq -0xd8(%rbp), %rdi
addq $0x628, %rdi            # imm = 0x628
movq %rdi, -0xf0(%rbp)
callq 0x7250
jmp 0x9afb
movq -0xe0(%rbp), %rsi
movq -0xd8(%rbp), %rdi
movq -0x10(%rbp), %rax
movq %rax, 0x620(%rdi)
movq %rdi, 0x630(%rdi)
addq $0x638, %rdi            # imm = 0x638
callq 0x5270
jmp 0x9b29
movq -0xd8(%rbp), %rax
movq %rax, %rsi
addq $0x628, %rsi            # imm = 0x628
movl $0x0, 0x650(%rax)
movl $0x0, 0x654(%rax)
movl $0x96, 0x658(%rax)
movl $0x96, 0x65c(%rax)
movl $0x190, 0x660(%rax)     # imm = 0x190
movl $0x190, 0x664(%rax)     # imm = 0x190
movl $0x0, 0x628(%rax)
movq 0x620(%rax), %rax
movq %rax, -0xf8(%rbp)
leaq -0x88(%rbp), %rdi
callq 0xa490
jmp 0x9b9c
movq -0xf8(%rbp), %rdi
leaq -0x88(%rbp), %rsi
callq 0x6ae0
jmp 0x9bb1
leaq -0x88(%rbp), %rdi
callq 0x7560
movl $0x6d8, %edi            # imm = 0x6D8
callq 0x5260
movq %rax, -0x100(%rbp)
jmp 0x9bd0
leaq -0x90(%rbp), %rdi
movl $0x96, %edx
movl %edx, %esi
callq 0x72c0
jmp 0x9be5
leaq -0x98(%rbp), %rdi
movl $0x190, %edx            # imm = 0x190
movl %edx, %esi
callq 0x72e0
jmp 0x9bfa
movq -0xe0(%rbp), %rsi
movq -0x100(%rbp), %rdi
xorl %eax, %eax
movl %eax, %r8d
leaq -0x90(%rbp), %rdx
leaq -0x98(%rbp), %rcx
callq 0x5160
jmp 0x9c22
movq -0xd8(%rbp), %rax
movq -0x100(%rbp), %rcx
movq %rcx, 0x5b8(%rax)
movl $0x5c8, %edi            # imm = 0x5C8
callq 0x5260
movq %rax, -0x108(%rbp)
jmp 0x9c4a
movq -0x108(%rbp), %rdi
movl $0x7, %esi
callq 0x50c0
jmp 0x9c5d
movq -0xd8(%rbp), %rax
movq -0x108(%rbp), %rcx
movq %rcx, 0x5c0(%rax)
movq %rax, %rdi
addq $0x5c8, %rdi            # imm = 0x5C8
movq 0x5b8(%rax), %rax
movq %rax, -0xa0(%rbp)
leaq -0xa0(%rbp), %rsi
callq 0xa500
jmp 0x9c98
movq -0xd8(%rbp), %rax
movq %rax, %rdi
addq $0x5c8, %rdi            # imm = 0x5C8
movq 0x5c0(%rax), %rax
movq %rax, -0xa8(%rbp)
leaq -0xa8(%rbp), %rsi
callq 0xa500
jmp 0x9cc5
movq -0xd8(%rbp), %rdi
movq 0x5b8(%rdi), %rsi
movq (%rdi), %rax
movq 0x30(%rax), %rax
callq *%rax
jmp 0x9cde
movq -0xd8(%rbp), %rax
movq 0x5b8(%rax), %rdi
movq 0x5c0(%rax), %rsi
movq (%rdi), %rax
movq 0x30(%rax), %rax
callq *%rax
jmp 0x9cfe
movq -0xd8(%rbp), %rcx
movq 0x5b8(%rcx), %rdi
addq $0x668, %rdi            # imm = 0x668
leaq 0x146(%rip), %rax       # 0x9e60
movq %rax, -0xb8(%rbp)
movq $0x0, -0xb0(%rbp)
movq -0xb8(%rbp), %rsi
movq -0xb0(%rbp), %rdx
callq 0xa530
jmp 0x9d41
movq -0xd8(%rbp), %rcx
movq 0x5b8(%rcx), %rdi
addq $0x688, %rdi            # imm = 0x688
leaq 0x123(%rip), %rax       # 0x9e80
movq %rax, -0xc8(%rbp)
movq $0x0, -0xc0(%rbp)
movq -0xc8(%rbp), %rsi
movq -0xc0(%rbp), %rdx
callq 0xa670
jmp 0x9d84
addq $0x110, %rsp            # imm = 0x110
popq %rbp
retq
movq %rax, %rcx
movl %edx, %eax
movq %rcx, -0x38(%rbp)
movl %eax, -0x3c(%rbp)
leaq -0x30(%rbp), %rdi
callq 0x5210
jmp 0x9e4e
movq %rax, %rcx
movl %edx, %eax
movq %rcx, -0x38(%rbp)
movl %eax, -0x3c(%rbp)
jmp 0x9e42
movq %rax, %rcx
movl %edx, %eax
movq %rcx, -0x38(%rbp)
movl %eax, -0x3c(%rbp)
jmp 0x9e36
movq %rax, %rcx
movl %edx, %eax
movq %rcx, -0x38(%rbp)
movl %eax, -0x3c(%rbp)
jmp 0x9e2a
movq %rax, %rcx
movl %edx, %eax
movq %rcx, -0x38(%rbp)
movl %eax, -0x3c(%rbp)
leaq -0x88(%rbp), %rdi
callq 0x7560
jmp 0x9e2a
movq -0x100(%rbp), %rdi
movq %rax, %rcx
movl %edx, %eax
movq %rcx, -0x38(%rbp)
movl %eax, -0x3c(%rbp)
movl $0x6d8, %esi            # imm = 0x6D8
callq 0x5050
jmp 0x9e2a
movq -0x108(%rbp), %rdi
movq %rax, %rcx
movl %edx, %eax
movq %rcx, -0x38(%rbp)
movl %eax, -0x3c(%rbp)
movl $0x5c8, %esi            # imm = 0x5C8
callq 0x5050
movq -0xf0(%rbp), %rdi
callq 0x7560
movq -0xe8(%rbp), %rdi
callq 0xa6d0
movq -0xd8(%rbp), %rdi
callq 0x5230
movq -0x38(%rbp), %rdi
callq 0x5150
nopw (%rax,%rax)