// File: /workspace/github_c_makefile_star2_O0/enzo1982[P]smooth/tools/pciffmanager/main.cpp
// Function: PCIFFManager::PCIFFManager()
PCIFFManager::PCIFFManager() : Application("smooth PCIFF Manager")
{
	filename = "";

	wnd		= new GUI::Window(String("smooth PCIFF Manager v").Append(SMOOTH_VERSION), Point(50, 50), Size(600, 200));
	title		= new Titlebar(TB_MINBUTTON | TB_CLOSEBUTTON);
	menubar		= new Menubar();
	statusbar	= new Statusbar("Ready");

	menu_file	= new PopupMenu();

	menubar->AddEntry("File", menu_file);

	menu_file->AddEntry("Open")->onAction.Connect(&PCIFFManager::OpenFile, this);
	menu_file->AddEntry();
	menu_file->AddEntry("Exit")->onAction.Connect(&PCIFFManager::Close, this);

	Add(wnd);

	wnd->Add(title);
	wnd->Add(menubar);
	wnd->Add(statusbar);

	wnd->SetIcon(NIL);

	wnd->Show();
}

// Assembly:
pushq %rbp
movq %rsp, %rbp
subq $0x1a0, %rsp            # imm = 0x1A0
movq %rdi, -0x8(%rbp)
movq -0x8(%rbp), %rax
movq %rax, -0x130(%rbp)
leaq 0x28ad(%rip), %rsi      # 0x701e
leaq -0x20(%rbp), %rdi
movq %rdi, -0x128(%rbp)
callq 0x4330
movq -0x130(%rbp), %rdi
movq -0x128(%rbp), %rsi
callq 0x4320
jmp 0x4796
leaq -0x20(%rbp), %rdi
callq 0x4200
movq -0x130(%rbp), %rdi
leaq 0x5303(%rip), %rax      # 0x9ab0
movq %rax, (%rdi)
addq $0x5e0, %rdi            # imm = 0x5E0
movq %rdi, -0x138(%rbp)
xorl %esi, %esi
callq 0x4210
jmp 0x47c7
movq -0x130(%rbp), %rdi
addq $0x5e0, %rdi            # imm = 0x5E0
leaq 0x28b1(%rip), %rsi      # 0x708d
callq 0x42b0
jmp 0x47e3
movl $0x6d8, %edi            # imm = 0x6D8
callq 0x4250
movq %rax, -0x140(%rbp)
jmp 0x47f6
movb $0x1, -0x71(%rbp)
leaq 0x2832(%rip), %rsi      # 0x7033
leaq -0x48(%rbp), %rdi
callq 0x4330
jmp 0x480c
leaq 0x2837(%rip), %rsi      # 0x704a
leaq -0x60(%rbp), %rdi
callq 0x4330
jmp 0x481e
leaq -0x48(%rbp), %rdi
leaq -0x60(%rbp), %rsi
callq 0x40c0
movq %rax, -0x148(%rbp)
jmp 0x4834
leaq -0x68(%rbp), %rdi
movl $0x32, %edx
movl %edx, %esi
callq 0x5480
jmp 0x4846
leaq -0x70(%rbp), %rdi
movl $0x258, %esi            # imm = 0x258
movl $0xc8, %edx
callq 0x54a0
jmp 0x485b
movq -0x148(%rbp), %rsi
movq -0x140(%rbp), %rdi
xorl %eax, %eax
movl %eax, %r8d
leaq -0x68(%rbp), %rdx
leaq -0x70(%rbp), %rcx
callq 0x4160
jmp 0x487d
movq -0x130(%rbp), %rax
movq -0x140(%rbp), %rcx
movb $0x0, -0x71(%rbp)
movq %rcx, 0x5b8(%rax)
leaq -0x60(%rbp), %rdi
callq 0x4200
leaq -0x48(%rbp), %rdi
callq 0x4200
movl $0x5c8, %edi            # imm = 0x5C8
callq 0x4250
movq %rax, -0x150(%rbp)
jmp 0x48bb
movq -0x150(%rbp), %rdi
movl $0x5, %esi
callq 0x40e0
jmp 0x48ce
movq -0x130(%rbp), %rax
movq -0x150(%rbp), %rcx
movq %rcx, 0x5c0(%rax)
movl $0x688, %edi            # imm = 0x688
callq 0x4250
movq %rax, -0x158(%rbp)
jmp 0x48f6
movq -0x158(%rbp), %rdi
callq 0x4130
jmp 0x4904
movq -0x130(%rbp), %rax
movq -0x158(%rbp), %rcx
movq %rcx, 0x5c8(%rax)
movl $0x5b8, %edi            # imm = 0x5B8
callq 0x4250
movq %rax, -0x160(%rbp)
jmp 0x492c
movb $0x1, -0x91(%rbp)
leaq 0x2717(%rip), %rsi      # 0x7051
leaq -0x90(%rbp), %rdi
callq 0x4330
jmp 0x4948
movq -0x160(%rbp), %rdi
leaq -0x90(%rbp), %rsi
callq 0x40d0
jmp 0x495d
movq -0x130(%rbp), %rax
movq -0x160(%rbp), %rcx
movb $0x0, -0x91(%rbp)
movq %rcx, 0x5d0(%rax)
leaq -0x90(%rbp), %rdi
callq 0x4200
movl $0x6b8, %edi            # imm = 0x6B8
callq 0x4250
movq %rax, -0x168(%rbp)
jmp 0x4998
movq -0x168(%rbp), %rdi
callq 0x43a0
jmp 0x49a6
movq -0x130(%rbp), %rax
movq -0x168(%rbp), %rcx
movq %rcx, 0x5d8(%rax)
movq 0x5c8(%rax), %rax
movq %rax, -0x170(%rbp)
leaq 0x2687(%rip), %rsi      # 0x7057
leaq -0xb0(%rbp), %rdi
callq 0x4330
jmp 0x49de
movq -0x170(%rbp), %rdi
movq -0x130(%rbp), %rax
movq 0x5d8(%rax), %rdx
leaq -0xb0(%rbp), %rsi
callq 0x54c0
jmp 0x4a01
leaq -0xb0(%rbp), %rdi
callq 0x4200
movq -0x130(%rbp), %rax
movq 0x5d8(%rax), %rax
movq %rax, -0x178(%rbp)
leaq 0x2633(%rip), %rsi      # 0x705c
leaq -0xc8(%rbp), %rdi
callq 0x4330
jmp 0x4a37
movq -0x178(%rbp), %rdi
xorl %eax, %eax
movl %eax, %edx
leaq -0xc8(%rbp), %rsi
callq 0x54c0
movq %rax, -0x180(%rbp)
jmp 0x4a57
movq -0x130(%rbp), %rcx
movq -0x180(%rbp), %rdi
addq $0x478, %rdi            # imm = 0x478
leaq 0x3dd(%rip), %rax       # 0x4e50
movq %rax, -0xd8(%rbp)
movq $0x0, -0xd0(%rbp)
movq -0xd8(%rbp), %rsi
movq -0xd0(%rbp), %rdx
callq 0x5560
jmp 0x4a9a
leaq -0xc8(%rbp), %rdi
callq 0x4200
movq -0x130(%rbp), %rax
movq 0x5d8(%rax), %rax
movq %rax, -0x188(%rbp)
leaq -0xf0(%rbp), %rdi
xorl %esi, %esi
callq 0x4210
jmp 0x4acb
movq -0x188(%rbp), %rdi
xorl %eax, %eax
movl %eax, %edx
leaq -0xf0(%rbp), %rsi
callq 0x54c0
jmp 0x4ae4
leaq -0xf0(%rbp), %rdi
callq 0x4200
movq -0x130(%rbp), %rax
movq 0x5d8(%rax), %rax
movq %rax, -0x190(%rbp)
leaq 0x2555(%rip), %rsi      # 0x7061
leaq -0x108(%rbp), %rdi
callq 0x4330
jmp 0x4b1a
movq -0x190(%rbp), %rdi
xorl %eax, %eax
movl %eax, %edx
leaq -0x108(%rbp), %rsi
callq 0x54c0
movq %rax, -0x198(%rbp)
jmp 0x4b3a
movq -0x130(%rbp), %rcx
movq -0x198(%rbp), %rdi
addq $0x478, %rdi            # imm = 0x478
leaq 0x7ca(%rip), %rax       # 0x5320
movq %rax, -0x118(%rbp)
movq $0x0, -0x110(%rbp)
movq -0x118(%rbp), %rsi
movq -0x110(%rbp), %rdx
callq 0x5560
jmp 0x4b7d
leaq -0x108(%rbp), %rdi
callq 0x4200
movq -0x130(%rbp), %rdi
movq 0x5b8(%rdi), %rsi
movq (%rdi), %rax
movq 0x30(%rax), %rax
callq *%rax
jmp 0x4ba2
movq -0x130(%rbp), %rax
movq 0x5b8(%rax), %rdi
movq 0x5c0(%rax), %rsi
movq (%rdi), %rax
movq 0x30(%rax), %rax
callq *%rax
jmp 0x4bc2
movq -0x130(%rbp), %rax
movq 0x5b8(%rax), %rdi
movq 0x5c8(%rax), %rsi
movq (%rdi), %rax
movq 0x30(%rax), %rax
callq *%rax
jmp 0x4be2
movq -0x130(%rbp), %rax
movq 0x5b8(%rax), %rdi
movq 0x5d0(%rax), %rsi
movq (%rdi), %rax
movq 0x30(%rax), %rax
callq *%rax
jmp 0x4c02
movq -0x130(%rbp), %rax
movq 0x5b8(%rax), %rax
movq %rax, -0x1a0(%rbp)
leaq -0x120(%rbp), %rdi
xorl %esi, %esi
callq 0x4380
jmp 0x4c27
movq -0x1a0(%rbp), %rdi
leaq -0x120(%rbp), %rsi
callq 0x41e0
jmp 0x4c3c
leaq -0x120(%rbp), %rdi
callq 0x4110
movq -0x130(%rbp), %rax
movq 0x5b8(%rax), %rdi
movq (%rdi), %rax
movq 0x58(%rax), %rax
callq *%rax
jmp 0x4c61
addq $0x1a0, %rsp            # imm = 0x1A0
popq %rbp
retq
movq %rax, %rcx
movl %edx, %eax
movq %rcx, -0x28(%rbp)
movl %eax, -0x2c(%rbp)
leaq -0x20(%rbp), %rdi
callq 0x4200
jmp 0x4e43
movq %rax, %rcx
movl %edx, %eax
movq %rcx, -0x28(%rbp)
movl %eax, -0x2c(%rbp)
jmp 0x4e37
movq %rax, %rcx
movl %edx, %eax
movq %rcx, -0x28(%rbp)
movl %eax, -0x2c(%rbp)
jmp 0x4e2b
movq %rax, %rcx
movl %edx, %eax
movq %rcx, -0x28(%rbp)
movl %eax, -0x2c(%rbp)
jmp 0x4ce0
movq %rax, %rcx
movl %edx, %eax
movq %rcx, -0x28(%rbp)
movl %eax, -0x2c(%rbp)
jmp 0x4cd7
movq %rax, %rcx
movl %edx, %eax
movq %rcx, -0x28(%rbp)
movl %eax, -0x2c(%rbp)
leaq -0x60(%rbp), %rdi
callq 0x4200
leaq -0x48(%rbp), %rdi
callq 0x4200
testb $0x1, -0x71(%rbp)
jne 0x4ce8
jmp 0x4cf9
movq -0x140(%rbp), %rdi
movl $0x6d8, %esi            # imm = 0x6D8
callq 0x4040
jmp 0x4e2b
movq -0x150(%rbp), %rdi
movq %rax, %rcx
movl %edx, %eax
movq %rcx, -0x28(%rbp)
movl %eax, -0x2c(%rbp)
movl $0x5c8, %esi            # imm = 0x5C8
callq 0x4040
jmp 0x4e2b
movq -0x158(%rbp), %rdi
movq %rax, %rcx
movl %edx, %eax
movq %rcx, -0x28(%rbp)
movl %eax, -0x2c(%rbp)
movl $0x688, %esi            # imm = 0x688
callq 0x4040
jmp 0x4e2b
movq %rax, %rcx
movl %edx, %eax
movq %rcx, -0x28(%rbp)
movl %eax, -0x2c(%rbp)
jmp 0x4d68
movq %rax, %rcx
movl %edx, %eax
movq %rcx, -0x28(%rbp)
movl %eax, -0x2c(%rbp)
leaq -0x90(%rbp), %rdi
callq 0x4200
testb $0x1, -0x91(%rbp)
jne 0x4d73
jmp 0x4d84
movq -0x160(%rbp), %rdi
movl $0x5b8, %esi            # imm = 0x5B8
callq 0x4040
jmp 0x4e2b
movq -0x168(%rbp), %rdi
movq %rax, %rcx
movl %edx, %eax
movq %rcx, -0x28(%rbp)
movl %eax, -0x2c(%rbp)
movl $0x6b8, %esi            # imm = 0x6B8
callq 0x4040
jmp 0x4e2b
movq %rax, %rcx
movl %edx, %eax
movq %rcx, -0x28(%rbp)
movl %eax, -0x2c(%rbp)
leaq -0xb0(%rbp), %rdi
callq 0x4200
jmp 0x4e2b
movq %rax, %rcx
movl %edx, %eax
movq %rcx, -0x28(%rbp)
movl %eax, -0x2c(%rbp)
leaq -0xc8(%rbp), %rdi
callq 0x4200
jmp 0x4e2b
movq %rax, %rcx
movl %edx, %eax
movq %rcx, -0x28(%rbp)
movl %eax, -0x2c(%rbp)
leaq -0xf0(%rbp), %rdi
callq 0x4200
jmp 0x4e2b
movq %rax, %rcx
movl %edx, %eax
movq %rcx, -0x28(%rbp)
movl %eax, -0x2c(%rbp)
leaq -0x108(%rbp), %rdi
callq 0x4200
jmp 0x4e2b
movq %rax, %rcx
movl %edx, %eax
movq %rcx, -0x28(%rbp)
movl %eax, -0x2c(%rbp)
leaq -0x120(%rbp), %rdi
callq 0x4110
movq -0x138(%rbp), %rdi
callq 0x4200
movq -0x130(%rbp), %rdi
callq 0x4220
movq -0x28(%rbp), %rdi
callq 0x4150
nopl (%rax)