// File: /workspace/github_c_makefile_star2_O1/enzo1982[P]smooth/tools/designer/designer.cpp
// Function: Designer::ReportStatus(Designer_Status)
void Designer::ReportStatus(Designer_Status stat)
{
	switch (stat.event)
	{
		case STATUS_EVENT_REPORT_NAME:
			if (active_dlg != stat.dlg) wnd->SetText(String("smooth Designer v").Append(SMOOTH_VERSION).Append(" - ").Append(stat.currdlgname));

			active_dlg = stat.dlg;

			break;
		case STATUS_EVENT_REPORT_MOUSEPOSITION:
			statusbar->SetText(String("Mouse: ").Append(String::FromInt(stat.mousex)).Append(", ").Append(String::FromInt(stat.mousey)));

			break;
		case STATUS_EVENT_REPORT_WINDOWPOSITION:
			statusbar->SetText(String("Position: ").Append(String::FromInt(stat.wndposx)).Append(", ").Append(String::FromInt(stat.wndposy)));

			break;
		case STATUS_EVENT_REPORT_WINDOWSIZE:
			statusbar->SetText(String("Size: ").Append(String::FromInt(stat.wndsizex)).Append(", ").Append(String::FromInt(stat.wndsizey)));

			break;
		case STATUS_EVENT_REPORT_QUIT:
			wnd->SetText(String("smooth Designer v").Append(SMOOTH_VERSION));

			break;
	}

	status = stat;
}

// Assembly:
pushq %r15
pushq %r14
pushq %r12
pushq %rbx
subq $0x68, %rsp
movq %rsi, %r14
movq %rdi, %rbx
movl (%rsi), %eax
cmpq $0x4, %rax
ja 0x5361
leaq 0x2f66(%rip), %rcx      # 0x8004
movslq (%rcx,%rax,4), %rax
addq %rcx, %rax
jmpq *%rax
movq 0x6b8(%rbx), %rax
cmpq 0x8(%r14), %rax
je 0x514a
movq 0x5b8(%rbx), %r15
leaq 0x2f88(%rip), %rsi      # 0x804e
leaq 0x20(%rsp), %rdi
callq 0x4340
leaq 0x2f89(%rip), %rsi      # 0x8060
leaq 0x8(%rsp), %rdi
callq 0x4340
leaq 0x20(%rsp), %rdi
leaq 0x8(%rsp), %rsi
callq 0x40a0
movq %rax, %r12
leaq 0x2fb9(%rip), %rsi      # 0x80b3
leaq 0x38(%rsp), %rdi
callq 0x4340
leaq 0x38(%rsp), %rsi
movq %r12, %rdi
callq 0x40a0
leaq 0x10(%r14), %rsi
movq %rax, %rdi
callq 0x40a0
movq (%r15), %rcx
movq %r15, %rdi
movq %rax, %rsi
callq *0xa0(%rcx)
leaq 0x38(%rsp), %rdi
callq 0x4200
leaq 0x8(%rsp), %rdi
callq 0x4200
leaq 0x20(%rsp), %rdi
callq 0x4200
movq 0x8(%r14), %rax
movq %rax, 0x6b8(%rbx)
jmp 0x5361
movq 0x5b8(%rbx), %r15
leaq 0x2ee6(%rip), %rsi      # 0x804e
leaq 0x20(%rsp), %rdi
callq 0x4340
leaq 0x2ee7(%rip), %rsi      # 0x8060
leaq 0x8(%rsp), %rdi
callq 0x4340
leaq 0x20(%rsp), %rdi
leaq 0x8(%rsp), %rsi
callq 0x40a0
movq (%r15), %rcx
movq %r15, %rdi
movq %rax, %rsi
callq *0xa0(%rcx)
jmp 0x534d
movq 0x5d8(%rbx), %r15
leaq 0x2f0e(%rip), %rsi      # 0x80c2
leaq 0x20(%rsp), %rdi
callq 0x4340
movslq 0x30(%r14), %rsi
leaq 0x8(%rsp), %rdi
callq 0x4110
leaq 0x20(%rsp), %rdi
leaq 0x8(%rsp), %rsi
callq 0x40a0
movq %rax, %r12
leaq 0x2eda(%rip), %rsi      # 0x80bf
leaq 0x38(%rsp), %rdi
callq 0x4340
leaq 0x38(%rsp), %rsi
movq %r12, %rdi
callq 0x40a0
movq %rax, %r12
movslq 0x34(%r14), %rsi
leaq 0x50(%rsp), %rdi
callq 0x4110
leaq 0x50(%rsp), %rsi
movq %r12, %rdi
callq 0x40a0
movq (%r15), %rcx
movq %r15, %rdi
movq %rax, %rsi
callq *0xa0(%rcx)
jmp 0x5339
movq 0x5d8(%rbx), %r15
leaq 0x2e91(%rip), %rsi      # 0x80cd
leaq 0x20(%rsp), %rdi
callq 0x4340
movslq 0x38(%r14), %rsi
leaq 0x8(%rsp), %rdi
callq 0x4110
leaq 0x20(%rsp), %rdi
leaq 0x8(%rsp), %rsi
callq 0x40a0
movq %rax, %r12
leaq 0x2e52(%rip), %rsi      # 0x80bf
leaq 0x38(%rsp), %rdi
callq 0x4340
leaq 0x38(%rsp), %rsi
movq %r12, %rdi
callq 0x40a0
movq %rax, %r12
movslq 0x3c(%r14), %rsi
leaq 0x50(%rsp), %rdi
callq 0x4110
leaq 0x50(%rsp), %rsi
movq %r12, %rdi
callq 0x40a0
movq (%r15), %rcx
movq %r15, %rdi
movq %rax, %rsi
callq *0xa0(%rcx)
jmp 0x5339
movq 0x5d8(%rbx), %r15
leaq 0x2df3(%rip), %rsi      # 0x80b7
leaq 0x20(%rsp), %rdi
callq 0x4340
movslq 0x28(%r14), %rsi
leaq 0x8(%rsp), %rdi
callq 0x4110
leaq 0x20(%rsp), %rdi
leaq 0x8(%rsp), %rsi
callq 0x40a0
movq %rax, %r12
leaq 0x2dca(%rip), %rsi      # 0x80bf
leaq 0x38(%rsp), %rdi
callq 0x4340
leaq 0x38(%rsp), %rsi
movq %r12, %rdi
callq 0x40a0
movq %rax, %r12
movslq 0x2c(%r14), %rsi
leaq 0x50(%rsp), %rdi
callq 0x4110
leaq 0x50(%rsp), %rsi
movq %r12, %rdi
callq 0x40a0
movq (%r15), %rcx
movq %r15, %rdi
movq %rax, %rsi
callq *0xa0(%rcx)
leaq 0x50(%rsp), %rdi
callq 0x4200
leaq 0x38(%rsp), %rdi
callq 0x4200
leaq 0x8(%rsp), %rdi
callq 0x4200
leaq 0x20(%rsp), %rdi
callq 0x4200
movups (%r14), %xmm0
movups %xmm0, 0x618(%rbx)
leaq 0x628(%rbx), %rdi
leaq 0x10(%r14), %rsi
callq 0x4260
movups 0x28(%r14), %xmm0
movups 0x34(%r14), %xmm1
movups %xmm0, 0x640(%rbx)
movups %xmm1, 0x64c(%rbx)
addq $0x68, %rsp
popq %rbx
popq %r12
popq %r14
popq %r15
retq
jmp 0x53eb
jmp 0x53eb
jmp 0x53c4
jmp 0x53c9
jmp 0x53c9
jmp 0x53c9
jmp 0x53c9
jmp 0x53c9
jmp 0x53c9
jmp 0x53eb
jmp 0x53eb
jmp 0x53eb
jmp 0x53eb
jmp 0x53eb
jmp 0x53eb
jmp 0x53c4
jmp 0x53c4
jmp 0x53c4
movq %rax, %rbx
jmp 0x53f8
movq %rax, %rbx
jmp 0x53df
jmp 0x53d2
jmp 0x53d2
movq %rax, %rbx
leaq 0x50(%rsp), %rdi
callq 0x4200
leaq 0x38(%rsp), %rdi
callq 0x4200
jmp 0x53ee
movq %rax, %rbx
leaq 0x8(%rsp), %rdi
callq 0x4200
leaq 0x20(%rsp), %rdi
callq 0x4200
movq %rbx, %rdi
callq 0x4150