// File: /workspace/github_c_makefile_star2_O2/enzo1982[P]smooth/tools/translator/translator.cpp
// Function: Translator::NewFile()
Void Translator::NewFile()
{
	if (!ExitProc()) return;

	dataSection = new Section();

	fileName = "unnamed";
	modified = False;

	list_entries->Activate();
	list_filtered->Activate();

	layer_edit->Activate();

	text_filter->Activate();
	edit_filter->Activate();

	menu_file->GetNthEntry(1)->Activate();
	menu_file->GetNthEntry(4)->Activate();
	menu_file->GetNthEntry(5)->Activate();
	menu_file->GetNthEntry(7)->Activate();

	menubar->GetNthEntry(1)->Activate();

	{
		ListEntry	*entry = NIL;
		GUI::Font	 entryFont;

		entryFont.SetColor(Color(0, 0, 255));

		/* Adding "Program" entry.
		 */
		entry = new InfoItem("Program", NIL);
		entry->SetFont(entryFont);

		list_entries->Add(entry);

		entries.Add(entry, -1);

		/* Adding "Version" entry.
		 */
		entry = new InfoItem("Version", NIL);
		entry->SetFont(entryFont);

		list_entries->Add(entry);

		entries.Add(entry, -2);

		/* Adding "Language" entry.
		 */
		entry = new InfoItem("Language", NIL);
		entry->SetFont(entryFont);

		list_entries->Add(entry);

		entries.Add(entry, -3);

		/* Adding "RightToLeft" entry.
		 */
		entry = new InfoItem("RightToLeft", NIL);
		entry->SetFont(entryFont);

		list_entries->Add(entry);

		entries.Add(entry, -4);

		/* Adding "Template" entry.
		 */
		entry = new InfoItem("Template", NIL);
		entry->SetFont(entryFont);

		list_entries->Add(entry);

		entries.Add(entry, -5);

		/* Adding "Author" entry.
		 */
		entry = new InfoItem("Author", NIL);
		entry->SetFont(entryFont);

		list_entries->Add(entry);

		entries.Add(entry, -6);

		/* Adding "URL" entry.
		 */
		entry = new InfoItem("URL", NIL);
		entry->SetFont(entryFont);

		list_entries->Add(entry);

		entries.Add(entry, -7);
	}

	wnd->SetText(wnd->GetText().Append(" - unnamed"));

	list_entries->SelectNthEntry(0);

	SelectEntry(entries.GetFirst());
}

// Assembly:
pushq %rbp
pushq %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $0x78, %rsp
movq %rdi, %rbx
callq 0xf284
testb %al, %al
je 0xea7a
movl $0x128, %edi            # imm = 0x128
callq 0x8530
movq %rax, %r14
movq %rax, %rdi
callq 0x8de4
movq %r14, 0x768(%rbx)
leaq 0x688(%rbx), %rdi
leaq 0x3f53(%rip), %rsi      # 0x12465
callq 0x85e0
movb $0x0, 0x770(%rbx)
movq 0x600(%rbx), %rdi
movq (%rdi), %rax
callq *0x68(%rax)
movq 0x608(%rbx), %rdi
movq (%rdi), %rax
callq *0x68(%rax)
movq 0x630(%rbx), %rdi
movq (%rdi), %rax
callq *0x68(%rax)
movq 0x5e8(%rbx), %rdi
movq (%rdi), %rax
callq *0x68(%rax)
movq 0x5f0(%rbx), %rdi
movq (%rdi), %rax
callq *0x68(%rax)
movq 0x5d8(%rbx), %rdi
movq (%rdi), %rax
pushq $0x1
popq %rbp
movl %ebp, %esi
callq *0x180(%rax)
movq (%rax), %rcx
movq %rax, %rdi
callq *0x68(%rcx)
movq 0x5d8(%rbx), %rdi
movq (%rdi), %rax
pushq $0x4
popq %rsi
callq *0x180(%rax)
movq (%rax), %rcx
movq %rax, %rdi
callq *0x68(%rcx)
movq 0x5d8(%rbx), %rdi
movq (%rdi), %rax
pushq $0x5
popq %rsi
callq *0x180(%rax)
movq (%rax), %rcx
movq %rax, %rdi
callq *0x68(%rcx)
movq 0x5d8(%rbx), %rdi
movq (%rdi), %rax
pushq $0x7
popq %rsi
callq *0x180(%rax)
movq (%rax), %rcx
movq %rax, %rdi
callq *0x68(%rcx)
movq 0x5c8(%rbx), %rdi
movq (%rdi), %rax
movl %ebp, %esi
callq *0x180(%rax)
movq (%rax), %rcx
movq %rax, %rdi
callq *0x68(%rcx)
andq $0x0, (%rsp)
movq 0xaa00(%rip), %rax      # 0x18ff8
movswl (%rax), %edx
movq 0xa976(%rip), %rax      # 0x18f78
leaq 0x8(%rsp), %r14
andq $0x0, 0x8(%r14)
movswl (%rax), %ecx
andl $0x0, (%r14)
movq 0xa9d6(%rip), %rsi      # 0x18ff0
leaq 0x38(%rsp), %r15
movq %r15, %rdi
movl %ecx, %r8d
movq %r14, %r9
callq 0x8780
movq $0xff0000, 0x8(%r14)    # imm = 0xFF0000
andl $0x0, (%r14)
leaq 0x8(%rsp), %rsi
movq %r15, %rdi
callq 0x8410
movl $0x660, %edi            # imm = 0x660
callq 0x8530
movq %rax, %r14
leaq 0x3dcf(%rip), %rsi      # 0x12429
leaq 0x8(%rsp), %rdi
callq 0x8800
leaq 0x20(%rsp), %rdi
xorl %esi, %esi
callq 0x8480
leaq 0x8(%rsp), %rsi
leaq 0x20(%rsp), %rdx
movq %r14, %rdi
callq 0x8b2c
movq %r14, (%rsp)
leaq 0x20(%rsp), %rdi
callq 0x8990
leaq 0x8(%rsp), %rdi
callq 0x8990
movq (%rsp), %rdi
movq (%rdi), %rax
leaq 0x38(%rsp), %rsi
callq *0xe0(%rax)
movq 0x600(%rbx), %rdi
movq (%rsp), %rsi
movq (%rdi), %rax
callq *0x30(%rax)
leaq 0x6b8(%rbx), %r14
movq %rsp, %rsi
pushq $-0x1
popq %rdx
movq %r14, %rdi
callq 0xabe4
movl $0x660, %edi            # imm = 0x660
callq 0x8530
movq %rax, %r15
leaq 0x3d4b(%rip), %rsi      # 0x12431
leaq 0x8(%rsp), %rdi
callq 0x8800
leaq 0x20(%rsp), %rdi
xorl %esi, %esi
callq 0x8480
leaq 0x8(%rsp), %rsi
leaq 0x20(%rsp), %rdx
movq %r15, %rdi
callq 0x8b2c
movq %r15, (%rsp)
leaq 0x20(%rsp), %rdi
callq 0x8990
leaq 0x8(%rsp), %rdi
callq 0x8990
movq (%rsp), %rdi
movq (%rdi), %rax
leaq 0x38(%rsp), %rsi
callq *0xe0(%rax)
movq 0x600(%rbx), %rdi
movq (%rsp), %rsi
movq (%rdi), %rax
callq *0x30(%rax)
movq %rsp, %rsi
pushq $-0x2
popq %rdx
movq %r14, %rdi
callq 0xabe4
movl $0x660, %edi            # imm = 0x660
callq 0x8530
movq %rax, %r15
leaq 0x3cce(%rip), %rsi      # 0x12439
leaq 0x8(%rsp), %rdi
callq 0x8800
leaq 0x20(%rsp), %rdi
xorl %esi, %esi
callq 0x8480
leaq 0x8(%rsp), %rsi
leaq 0x20(%rsp), %rdx
movq %r15, %rdi
callq 0x8b2c
movq %r15, (%rsp)
leaq 0x20(%rsp), %rdi
callq 0x8990
leaq 0x8(%rsp), %rdi
callq 0x8990
movq (%rsp), %rdi
movq (%rdi), %rax
leaq 0x38(%rsp), %rsi
callq *0xe0(%rax)
movq 0x600(%rbx), %rdi
movq (%rsp), %rsi
movq (%rdi), %rax
callq *0x30(%rax)
movq %rsp, %rsi
pushq $-0x3
popq %rdx
movq %r14, %rdi
callq 0xabe4
movl $0x660, %edi            # imm = 0x660
callq 0x8530
movq %rax, %r15
leaq 0x3c52(%rip), %rsi      # 0x12442
leaq 0x8(%rsp), %rdi
callq 0x8800
leaq 0x20(%rsp), %rdi
xorl %esi, %esi
callq 0x8480
leaq 0x8(%rsp), %rsi
leaq 0x20(%rsp), %rdx
movq %r15, %rdi
callq 0x8b2c
movq %r15, (%rsp)
leaq 0x20(%rsp), %rdi
callq 0x8990
leaq 0x8(%rsp), %rdi
callq 0x8990
movq (%rsp), %rdi
movq (%rdi), %rax
leaq 0x38(%rsp), %rsi
callq *0xe0(%rax)
movq 0x600(%rbx), %rdi
movq (%rsp), %rsi
movq (%rdi), %rax
callq *0x30(%rax)
movq %rsp, %rsi
pushq $-0x4
popq %rdx
movq %r14, %rdi
callq 0xabe4
movl $0x660, %edi            # imm = 0x660
callq 0x8530
movq %rax, %r15
leaq 0x3bd9(%rip), %rsi      # 0x1244e
leaq 0x8(%rsp), %rdi
callq 0x8800
leaq 0x20(%rsp), %rdi
xorl %esi, %esi
callq 0x8480
leaq 0x8(%rsp), %rsi
leaq 0x20(%rsp), %rdx
movq %r15, %rdi
callq 0x8b2c
movq %r15, (%rsp)
leaq 0x20(%rsp), %rdi
callq 0x8990
leaq 0x8(%rsp), %rdi
callq 0x8990
movq (%rsp), %rdi
movq (%rdi), %rax
leaq 0x38(%rsp), %rsi
callq *0xe0(%rax)
movq 0x600(%rbx), %rdi
movq (%rsp), %rsi
movq (%rdi), %rax
callq *0x30(%rax)
movq %rsp, %rsi
pushq $-0x5
popq %rdx
movq %r14, %rdi
callq 0xabe4
movl $0x660, %edi            # imm = 0x660
callq 0x8530
movq %rax, %r15
leaq 0x3b5d(%rip), %rsi      # 0x12457
leaq 0x8(%rsp), %rdi
callq 0x8800
leaq 0x20(%rsp), %rdi
xorl %esi, %esi
callq 0x8480
leaq 0x8(%rsp), %rsi
leaq 0x20(%rsp), %rdx
movq %r15, %rdi
callq 0x8b2c
movq %r15, (%rsp)
leaq 0x20(%rsp), %rdi
callq 0x8990
leaq 0x8(%rsp), %rdi
callq 0x8990
movq (%rsp), %rdi
movq (%rdi), %rax
leaq 0x38(%rsp), %rsi
callq *0xe0(%rax)
movq 0x600(%rbx), %rdi
movq (%rsp), %rsi
movq (%rdi), %rax
callq *0x30(%rax)
movq %rsp, %rsi
pushq $-0x6
popq %rdx
movq %r14, %rdi
callq 0xabe4
movl $0x660, %edi            # imm = 0x660
callq 0x8530
movq %rax, %r15
leaq 0x3adf(%rip), %rsi      # 0x1245e
leaq 0x8(%rsp), %rdi
callq 0x8800
leaq 0x20(%rsp), %rdi
xorl %esi, %esi
callq 0x8480
leaq 0x8(%rsp), %rsi
leaq 0x20(%rsp), %rdx
movq %r15, %rdi
callq 0x8b2c
movq %r15, (%rsp)
leaq 0x20(%rsp), %rdi
callq 0x8990
leaq 0x8(%rsp), %rdi
callq 0x8990
movq (%rsp), %rdi
movq (%rdi), %rax
leaq 0x38(%rsp), %rsi
callq *0xe0(%rax)
movq 0x600(%rbx), %rdi
movq (%rsp), %rsi
movq (%rdi), %rax
callq *0x30(%rax)
movq %rsp, %rsi
pushq $-0x7
popq %rdx
movq %r14, %rdi
callq 0xabe4
leaq 0x38(%rsp), %rdi
callq 0x8620
movq 0x5b8(%rbx), %r15
movq (%r15), %rax
movq %r15, %rdi
callq *0xa8(%rax)
movq %rax, %r12
leaq 0x3a4b(%rip), %rsi      # 0x12462
leaq 0x8(%rsp), %r13
movq %r13, %rdi
callq 0x8800
leaq 0x38(%rsp), %rdi
movq %r12, %rsi
movq %r13, %rdx
callq 0x88b0
movq (%r15), %rax
leaq 0x38(%rsp), %rsi
movq %r15, %rdi
callq *0xa0(%rax)
leaq 0x38(%rsp), %rdi
callq 0x8990
leaq 0x8(%rsp), %rdi
callq 0x8990
movq 0x600(%rbx), %rdi
xorl %esi, %esi
callq 0x8740
movq %r14, %rdi
callq 0x11bcc
movq (%rax), %rsi
movq %rbx, %rdi
callq 0xd0a2
addq $0x78, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
popq %rbp
retq
movq %rax, %rbx
leaq 0x38(%rsp), %rdi
callq 0x8990
jmp 0xea9b
movq %rax, %rbx
leaq 0x8(%rsp), %rdi
callq 0x8990
jmp 0xeb44
jmp 0xeac8
jmp 0xead7
jmp 0xeae6
jmp 0xeac8
jmp 0xead7
jmp 0xeae6
jmp 0xeac8
jmp 0xead7
jmp 0xeae6
jmp 0xeac8
jmp 0xead7
jmp 0xeae6
jmp 0xeac8
jmp 0xead7
jmp 0xeae6
movq %rax, %rbx
leaq 0x20(%rsp), %rdi
callq 0x8990
jmp 0xeada
movq %rax, %rbx
leaq 0x8(%rsp), %rdi
callq 0x8990
jmp 0xeae9
movq %rax, %rbx
movl $0x660, %esi            # imm = 0x660
movq %r15, %rdi
callq 0x80a0
jmp 0xeb3a
movq %rax, %rbx
leaq 0x20(%rsp), %rdi
callq 0x8990
jmp 0xeb0a
movq %rax, %rbx
leaq 0x8(%rsp), %rdi
callq 0x8990
jmp 0xeb19
movq %rax, %rbx
movl $0x660, %esi            # imm = 0x660
movq %r14, %rdi
jmp 0xeaf1
jmp 0xeb37
movq %rax, %rbx
movl $0x128, %esi            # imm = 0x128
movq %r14, %rdi
callq 0x80a0
jmp 0xeb44
movq %rax, %rbx
leaq 0x38(%rsp), %rdi
callq 0x8620
movq %rbx, %rdi
callq 0x8290