// File: /workspace/github_c_makefile_star2_O0/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 %rbp
movq %rsp, %rbp
subq $0x260, %rsp            # imm = 0x260
movq %rsi, -0x1d0(%rbp)
movq %rdi, -0x8(%rbp)
movq %rsi, -0x10(%rbp)
movq -0x8(%rbp), %rax
movq %rax, -0x1c8(%rbp)
movl (%rsi), %eax
movq %rax, -0x1c0(%rbp)
subq $0x4, %rax
ja 0x71b9
movq -0x1c0(%rbp), %rax
leaq 0x54de(%rip), %rcx      # 0xc004
movslq (%rcx,%rax,4), %rax
addq %rcx, %rax
jmpq *%rax
movq -0x1d0(%rbp), %rcx
movq -0x1c8(%rbp), %rax
movq 0x6b8(%rax), %rax
cmpq 0x8(%rcx), %rax
je 0x6c67
movq -0x1c8(%rbp), %rax
movq 0x5b8(%rax), %rax
movq %rax, -0x1d8(%rbp)
leaq 0x54e4(%rip), %rsi      # 0xc04e
leaq -0x28(%rbp), %rdi
callq 0x5350
leaq 0x54e6(%rip), %rsi      # 0xc060
leaq -0x40(%rbp), %rdi
callq 0x5350
jmp 0x6b85
leaq -0x28(%rbp), %rdi
leaq -0x40(%rbp), %rsi
callq 0x50a0
movq %rax, -0x1e0(%rbp)
jmp 0x6b9b
leaq 0x5511(%rip), %rsi      # 0xc0b3
leaq -0x68(%rbp), %rdi
callq 0x5350
jmp 0x6bad
movq -0x1e0(%rbp), %rdi
leaq -0x68(%rbp), %rsi
callq 0x50a0
movq %rax, -0x1e8(%rbp)
jmp 0x6bc6
movq -0x1e8(%rbp), %rdi
movq -0x1d0(%rbp), %rsi
addq $0x10, %rsi
callq 0x50a0
movq %rax, -0x1f0(%rbp)
jmp 0x6be6
movq -0x1f0(%rbp), %rsi
movq -0x1d8(%rbp), %rdi
movq (%rdi), %rax
movq 0xa0(%rax), %rax
callq *%rax
jmp 0x6c02
leaq -0x68(%rbp), %rdi
callq 0x5210
leaq -0x40(%rbp), %rdi
callq 0x5210
leaq -0x28(%rbp), %rdi
callq 0x5210
jmp 0x6c67
movq %rax, %rcx
movl %edx, %eax
movq %rcx, -0x48(%rbp)
movl %eax, -0x4c(%rbp)
jmp 0x6c59
movq %rax, %rcx
movl %edx, %eax
movq %rcx, -0x48(%rbp)
movl %eax, -0x4c(%rbp)
jmp 0x6c50
movq %rax, %rcx
movl %edx, %eax
movq %rcx, -0x48(%rbp)
movl %eax, -0x4c(%rbp)
leaq -0x68(%rbp), %rdi
callq 0x5210
leaq -0x40(%rbp), %rdi
callq 0x5210
leaq -0x28(%rbp), %rdi
callq 0x5210
jmp 0x71dc
movq -0x1c8(%rbp), %rax
movq -0x1d0(%rbp), %rcx
movq 0x8(%rcx), %rcx
movq %rcx, 0x6b8(%rax)
jmp 0x71b9
movq -0x1c8(%rbp), %rax
movq 0x5d8(%rax), %rax
movq %rax, -0x1f8(%rbp)
leaq 0x5416(%rip), %rsi      # 0xc0b7
leaq -0x80(%rbp), %rdi
callq 0x5350
movq -0x1d0(%rbp), %rax
movslq 0x28(%rax), %rsi
leaq -0x98(%rbp), %rdi
callq 0x5110
jmp 0x6cc3
leaq -0x80(%rbp), %rdi
leaq -0x98(%rbp), %rsi
callq 0x50a0
movq %rax, -0x200(%rbp)
jmp 0x6cdc
leaq 0x53dc(%rip), %rsi      # 0xc0bf
leaq -0xb0(%rbp), %rdi
callq 0x5350
jmp 0x6cf1
movq -0x200(%rbp), %rdi
leaq -0xb0(%rbp), %rsi
callq 0x50a0
movq %rax, -0x208(%rbp)
jmp 0x6d0d
movq -0x1d0(%rbp), %rax
movslq 0x2c(%rax), %rsi
leaq -0xc8(%rbp), %rdi
callq 0x5110
jmp 0x6d26
movq -0x208(%rbp), %rdi
leaq -0xc8(%rbp), %rsi
callq 0x50a0
movq %rax, -0x210(%rbp)
jmp 0x6d42
movq -0x210(%rbp), %rsi
movq -0x1f8(%rbp), %rdi
movq (%rdi), %rax
movq 0xa0(%rax), %rax
callq *%rax
jmp 0x6d5e
leaq -0xc8(%rbp), %rdi
callq 0x5210
leaq -0xb0(%rbp), %rdi
callq 0x5210
leaq -0x98(%rbp), %rdi
callq 0x5210
leaq -0x80(%rbp), %rdi
callq 0x5210
jmp 0x71b9
movq %rax, %rcx
movl %edx, %eax
movq %rcx, -0x48(%rbp)
movl %eax, -0x4c(%rbp)
jmp 0x6dea
movq %rax, %rcx
movl %edx, %eax
movq %rcx, -0x48(%rbp)
movl %eax, -0x4c(%rbp)
jmp 0x6dde
movq %rax, %rcx
movl %edx, %eax
movq %rcx, -0x48(%rbp)
movl %eax, -0x4c(%rbp)
jmp 0x6dd2
movq %rax, %rcx
movl %edx, %eax
movq %rcx, -0x48(%rbp)
movl %eax, -0x4c(%rbp)
leaq -0xc8(%rbp), %rdi
callq 0x5210
leaq -0xb0(%rbp), %rdi
callq 0x5210
leaq -0x98(%rbp), %rdi
callq 0x5210
leaq -0x80(%rbp), %rdi
callq 0x5210
jmp 0x71dc
movq -0x1c8(%rbp), %rax
movq 0x5d8(%rax), %rax
movq %rax, -0x218(%rbp)
leaq 0x52ae(%rip), %rsi      # 0xc0c2
leaq -0xe0(%rbp), %rdi
callq 0x5350
movq -0x1d0(%rbp), %rax
movslq 0x30(%rax), %rsi
leaq -0xf8(%rbp), %rdi
callq 0x5110
jmp 0x6e39
leaq -0xe0(%rbp), %rdi
leaq -0xf8(%rbp), %rsi
callq 0x50a0
movq %rax, -0x220(%rbp)
jmp 0x6e55
leaq 0x5263(%rip), %rsi      # 0xc0bf
leaq -0x110(%rbp), %rdi
callq 0x5350
jmp 0x6e6a
movq -0x220(%rbp), %rdi
leaq -0x110(%rbp), %rsi
callq 0x50a0
movq %rax, -0x228(%rbp)
jmp 0x6e86
movq -0x1d0(%rbp), %rax
movslq 0x34(%rax), %rsi
leaq -0x128(%rbp), %rdi
callq 0x5110
jmp 0x6e9f
movq -0x228(%rbp), %rdi
leaq -0x128(%rbp), %rsi
callq 0x50a0
movq %rax, -0x230(%rbp)
jmp 0x6ebb
movq -0x230(%rbp), %rsi
movq -0x218(%rbp), %rdi
movq (%rdi), %rax
movq 0xa0(%rax), %rax
callq *%rax
jmp 0x6ed7
leaq -0x128(%rbp), %rdi
callq 0x5210
leaq -0x110(%rbp), %rdi
callq 0x5210
leaq -0xf8(%rbp), %rdi
callq 0x5210
leaq -0xe0(%rbp), %rdi
callq 0x5210
jmp 0x71b9
movq %rax, %rcx
movl %edx, %eax
movq %rcx, -0x48(%rbp)
movl %eax, -0x4c(%rbp)
jmp 0x6f66
movq %rax, %rcx
movl %edx, %eax
movq %rcx, -0x48(%rbp)
movl %eax, -0x4c(%rbp)
jmp 0x6f5a
movq %rax, %rcx
movl %edx, %eax
movq %rcx, -0x48(%rbp)
movl %eax, -0x4c(%rbp)
jmp 0x6f4e
movq %rax, %rcx
movl %edx, %eax
movq %rcx, -0x48(%rbp)
movl %eax, -0x4c(%rbp)
leaq -0x128(%rbp), %rdi
callq 0x5210
leaq -0x110(%rbp), %rdi
callq 0x5210
leaq -0xf8(%rbp), %rdi
callq 0x5210
leaq -0xe0(%rbp), %rdi
callq 0x5210
jmp 0x71dc
movq -0x1c8(%rbp), %rax
movq 0x5d8(%rax), %rax
movq %rax, -0x238(%rbp)
leaq 0x513a(%rip), %rsi      # 0xc0cd
leaq -0x140(%rbp), %rdi
callq 0x5350
movq -0x1d0(%rbp), %rax
movslq 0x38(%rax), %rsi
leaq -0x158(%rbp), %rdi
callq 0x5110
jmp 0x6fb8
leaq -0x140(%rbp), %rdi
leaq -0x158(%rbp), %rsi
callq 0x50a0
movq %rax, -0x240(%rbp)
jmp 0x6fd4
leaq 0x50e4(%rip), %rsi      # 0xc0bf
leaq -0x170(%rbp), %rdi
callq 0x5350
jmp 0x6fe9
movq -0x240(%rbp), %rdi
leaq -0x170(%rbp), %rsi
callq 0x50a0
movq %rax, -0x248(%rbp)
jmp 0x7005
movq -0x1d0(%rbp), %rax
movslq 0x3c(%rax), %rsi
leaq -0x188(%rbp), %rdi
callq 0x5110
jmp 0x701e
movq -0x248(%rbp), %rdi
leaq -0x188(%rbp), %rsi
callq 0x50a0
movq %rax, -0x250(%rbp)
jmp 0x703a
movq -0x250(%rbp), %rsi
movq -0x238(%rbp), %rdi
movq (%rdi), %rax
movq 0xa0(%rax), %rax
callq *%rax
jmp 0x7056
leaq -0x188(%rbp), %rdi
callq 0x5210
leaq -0x170(%rbp), %rdi
callq 0x5210
leaq -0x158(%rbp), %rdi
callq 0x5210
leaq -0x140(%rbp), %rdi
callq 0x5210
jmp 0x71b9
movq %rax, %rcx
movl %edx, %eax
movq %rcx, -0x48(%rbp)
movl %eax, -0x4c(%rbp)
jmp 0x70e5
movq %rax, %rcx
movl %edx, %eax
movq %rcx, -0x48(%rbp)
movl %eax, -0x4c(%rbp)
jmp 0x70d9
movq %rax, %rcx
movl %edx, %eax
movq %rcx, -0x48(%rbp)
movl %eax, -0x4c(%rbp)
jmp 0x70cd
movq %rax, %rcx
movl %edx, %eax
movq %rcx, -0x48(%rbp)
movl %eax, -0x4c(%rbp)
leaq -0x188(%rbp), %rdi
callq 0x5210
leaq -0x170(%rbp), %rdi
callq 0x5210
leaq -0x158(%rbp), %rdi
callq 0x5210
leaq -0x140(%rbp), %rdi
callq 0x5210
jmp 0x71dc
movq -0x1c8(%rbp), %rax
movq 0x5b8(%rax), %rax
movq %rax, -0x258(%rbp)
leaq 0x4f3c(%rip), %rsi      # 0xc04e
leaq -0x1a0(%rbp), %rdi
callq 0x5350
leaq 0x4f3b(%rip), %rsi      # 0xc060
leaq -0x1b8(%rbp), %rdi
callq 0x5350
jmp 0x7133
leaq -0x1a0(%rbp), %rdi
leaq -0x1b8(%rbp), %rsi
callq 0x50a0
movq %rax, -0x260(%rbp)
jmp 0x714f
movq -0x260(%rbp), %rsi
movq -0x258(%rbp), %rdi
movq (%rdi), %rax
movq 0xa0(%rax), %rax
callq *%rax
jmp 0x716b
leaq -0x1b8(%rbp), %rdi
callq 0x5210
leaq -0x1a0(%rbp), %rdi
callq 0x5210
jmp 0x71b9
movq %rax, %rcx
movl %edx, %eax
movq %rcx, -0x48(%rbp)
movl %eax, -0x4c(%rbp)
jmp 0x71ab
movq %rax, %rcx
movl %edx, %eax
movq %rcx, -0x48(%rbp)
movl %eax, -0x4c(%rbp)
leaq -0x1b8(%rbp), %rdi
callq 0x5210
leaq -0x1a0(%rbp), %rdi
callq 0x5210
jmp 0x71dc
movq -0x1d0(%rbp), %rsi
movq -0x1c8(%rbp), %rdi
addq $0x618, %rdi            # imm = 0x618
callq 0x7700
addq $0x260, %rsp            # imm = 0x260
popq %rbp
retq
movq -0x48(%rbp), %rdi
callq 0x5150
nopw %cs:(%rax,%rax)
nop