// File: /workspace/github_c_makefile_star2_O3/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 %r15
pushq %r14
pushq %r13
pushq %r12
pushq %rbx
subq $0x80, %rsp
movq %rdi, %rbx
callq 0xe5fc
testb %al, %al
je 0xddd8
movl $0x128, %edi            # imm = 0x128
callq 0x7530
movq %rax, %r14
movq %rax, %rdi
callq 0x7dd4
movq %r14, 0x768(%rbx)
leaq 0x688(%rbx), %rdi
leaq 0x4c3f(%rip), %rsi      # 0x12475
callq 0x75e0
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
movl $0x1, %esi
callq *0x180(%rax)
movq (%rax), %rcx
movq %rax, %rdi
callq *0x68(%rcx)
movq 0x5d8(%rbx), %rdi
movq (%rdi), %rax
movl $0x4, %esi
callq *0x180(%rax)
movq (%rax), %rcx
movq %rax, %rdi
callq *0x68(%rcx)
movq 0x5d8(%rbx), %rdi
movq (%rdi), %rax
movl $0x5, %esi
callq *0x180(%rax)
movq (%rax), %rcx
movq %rax, %rdi
callq *0x68(%rcx)
movq 0x5d8(%rbx), %rdi
movq (%rdi), %rax
movl $0x7, %esi
callq *0x180(%rax)
movq (%rax), %rcx
movq %rax, %rdi
callq *0x68(%rcx)
movq 0x5c8(%rbx), %rdi
movq (%rdi), %rax
movl $0x1, %esi
callq *0x180(%rax)
movq (%rax), %rcx
movq %rax, %rdi
callq *0x68(%rcx)
xorl %r12d, %r12d
movq %r12, 0x8(%rsp)
movq 0xb6d0(%rip), %rax      # 0x18ff8
movswl (%rax), %edx
movq 0xb646(%rip), %rax      # 0x18f78
movswl (%rax), %ecx
leaq 0x10(%rsp), %r14
movq %r12, 0x8(%r14)
movl %r12d, (%r14)
movq 0xb6a8(%rip), %rsi      # 0x18ff0
leaq 0x40(%rsp), %r15
movq %r15, %rdi
movl %ecx, %r8d
movq %r14, %r9
callq 0x7770
movq $0xff0000, 0x8(%r14)    # imm = 0xFF0000
movl %r12d, (%r14)
leaq 0x10(%rsp), %rsi
movq %r15, %rdi
callq 0x7410
movl $0x660, %edi            # imm = 0x660
callq 0x7530
movq %rax, %r14
leaq 0x4ab2(%rip), %rsi      # 0x12439
leaq 0x10(%rsp), %rdi
callq 0x77f0
leaq 0x28(%rsp), %rdi
xorl %esi, %esi
callq 0x7480
leaq 0x10(%rsp), %rsi
leaq 0x28(%rsp), %rdx
movq %r14, %rdi
callq 0x7b1c
movq %r14, 0x8(%rsp)
leaq 0x28(%rsp), %rdi
callq 0x7980
leaq 0x10(%rsp), %rdi
callq 0x7980
movq 0x8(%rsp), %rdi
movq (%rdi), %rax
leaq 0x40(%rsp), %rsi
callq *0xe0(%rax)
movq 0x600(%rbx), %rdi
movq 0x8(%rsp), %rsi
movq (%rdi), %rax
callq *0x30(%rax)
leaq 0x6b8(%rbx), %r14
leaq 0x8(%rsp), %rsi
movq %r14, %rdi
movl $0xffffffff, %edx       # imm = 0xFFFFFFFF
callq 0x9cc4
movl $0x660, %edi            # imm = 0x660
callq 0x7530
movq %rax, %r15
leaq 0x4a27(%rip), %rsi      # 0x12441
leaq 0x10(%rsp), %rdi
callq 0x77f0
leaq 0x28(%rsp), %rdi
xorl %esi, %esi
callq 0x7480
leaq 0x10(%rsp), %rsi
leaq 0x28(%rsp), %rdx
movq %r15, %rdi
callq 0x7b1c
movq %r15, 0x8(%rsp)
leaq 0x28(%rsp), %rdi
callq 0x7980
leaq 0x10(%rsp), %rdi
callq 0x7980
movq 0x8(%rsp), %rdi
movq (%rdi), %rax
leaq 0x40(%rsp), %rsi
callq *0xe0(%rax)
movq 0x600(%rbx), %rdi
movq 0x8(%rsp), %rsi
movq (%rdi), %rax
callq *0x30(%rax)
leaq 0x8(%rsp), %rsi
movq %r14, %rdi
movl $0xfffffffe, %edx       # imm = 0xFFFFFFFE
callq 0x9cc4
movl $0x660, %edi            # imm = 0x660
callq 0x7530
movq %rax, %r15
leaq 0x49a3(%rip), %rsi      # 0x12449
leaq 0x10(%rsp), %rdi
callq 0x77f0
leaq 0x28(%rsp), %rdi
xorl %esi, %esi
callq 0x7480
leaq 0x10(%rsp), %rsi
leaq 0x28(%rsp), %rdx
movq %r15, %rdi
callq 0x7b1c
movq %r15, 0x8(%rsp)
leaq 0x28(%rsp), %rdi
callq 0x7980
leaq 0x10(%rsp), %rdi
callq 0x7980
movq 0x8(%rsp), %rdi
movq (%rdi), %rax
leaq 0x40(%rsp), %rsi
callq *0xe0(%rax)
movq 0x600(%rbx), %rdi
movq 0x8(%rsp), %rsi
movq (%rdi), %rax
callq *0x30(%rax)
leaq 0x8(%rsp), %rsi
movq %r14, %rdi
movl $0xfffffffd, %edx       # imm = 0xFFFFFFFD
callq 0x9cc4
movl $0x660, %edi            # imm = 0x660
callq 0x7530
movq %rax, %r15
leaq 0x4920(%rip), %rsi      # 0x12452
leaq 0x10(%rsp), %rdi
callq 0x77f0
leaq 0x28(%rsp), %rdi
xorl %esi, %esi
callq 0x7480
leaq 0x10(%rsp), %rsi
leaq 0x28(%rsp), %rdx
movq %r15, %rdi
callq 0x7b1c
movq %r15, 0x8(%rsp)
leaq 0x28(%rsp), %rdi
callq 0x7980
leaq 0x10(%rsp), %rdi
callq 0x7980
movq 0x8(%rsp), %rdi
movq (%rdi), %rax
leaq 0x40(%rsp), %rsi
callq *0xe0(%rax)
movq 0x600(%rbx), %rdi
movq 0x8(%rsp), %rsi
movq (%rdi), %rax
callq *0x30(%rax)
leaq 0x8(%rsp), %rsi
movq %r14, %rdi
movl $0xfffffffc, %edx       # imm = 0xFFFFFFFC
callq 0x9cc4
movl $0x660, %edi            # imm = 0x660
callq 0x7530
movq %rax, %r15
leaq 0x48a0(%rip), %rsi      # 0x1245e
leaq 0x10(%rsp), %rdi
callq 0x77f0
leaq 0x28(%rsp), %rdi
xorl %esi, %esi
callq 0x7480
leaq 0x10(%rsp), %rsi
leaq 0x28(%rsp), %rdx
movq %r15, %rdi
callq 0x7b1c
movq %r15, 0x8(%rsp)
leaq 0x28(%rsp), %rdi
callq 0x7980
leaq 0x10(%rsp), %rdi
callq 0x7980
movq 0x8(%rsp), %rdi
movq (%rdi), %rax
leaq 0x40(%rsp), %rsi
callq *0xe0(%rax)
movq 0x600(%rbx), %rdi
movq 0x8(%rsp), %rsi
movq (%rdi), %rax
callq *0x30(%rax)
leaq 0x8(%rsp), %rsi
movq %r14, %rdi
movl $0xfffffffb, %edx       # imm = 0xFFFFFFFB
callq 0x9cc4
movl $0x660, %edi            # imm = 0x660
callq 0x7530
movq %rax, %r15
leaq 0x481d(%rip), %rsi      # 0x12467
leaq 0x10(%rsp), %rdi
callq 0x77f0
leaq 0x28(%rsp), %rdi
xorl %esi, %esi
callq 0x7480
leaq 0x10(%rsp), %rsi
leaq 0x28(%rsp), %rdx
movq %r15, %rdi
callq 0x7b1c
movq %r15, 0x8(%rsp)
leaq 0x28(%rsp), %rdi
callq 0x7980
leaq 0x10(%rsp), %rdi
callq 0x7980
movq 0x8(%rsp), %rdi
movq (%rdi), %rax
leaq 0x40(%rsp), %rsi
callq *0xe0(%rax)
movq 0x600(%rbx), %rdi
movq 0x8(%rsp), %rsi
movq (%rdi), %rax
callq *0x30(%rax)
leaq 0x8(%rsp), %rsi
movq %r14, %rdi
movl $0xfffffffa, %edx       # imm = 0xFFFFFFFA
callq 0x9cc4
movl $0x660, %edi            # imm = 0x660
callq 0x7530
movq %rax, %r15
leaq 0x4798(%rip), %rsi      # 0x1246e
leaq 0x10(%rsp), %rdi
callq 0x77f0
leaq 0x28(%rsp), %rdi
xorl %esi, %esi
callq 0x7480
leaq 0x10(%rsp), %rsi
leaq 0x28(%rsp), %rdx
movq %r15, %rdi
callq 0x7b1c
movq %r15, 0x8(%rsp)
leaq 0x28(%rsp), %rdi
callq 0x7980
leaq 0x10(%rsp), %rdi
callq 0x7980
movq 0x8(%rsp), %rdi
movq (%rdi), %rax
leaq 0x40(%rsp), %rsi
callq *0xe0(%rax)
movq 0x600(%rbx), %rdi
movq 0x8(%rsp), %rsi
movq (%rdi), %rax
callq *0x30(%rax)
leaq 0x8(%rsp), %rsi
movq %r14, %rdi
movl $0xfffffff9, %edx       # imm = 0xFFFFFFF9
callq 0x9cc4
leaq 0x40(%rsp), %rdi
callq 0x7620
movq 0x5b8(%rbx), %r15
movq (%r15), %rax
movq %r15, %rdi
callq *0xa8(%rax)
movq %rax, %r12
leaq 0x46fd(%rip), %rsi      # 0x12472
leaq 0x10(%rsp), %r13
movq %r13, %rdi
callq 0x77f0
leaq 0x40(%rsp), %rdi
movq %r12, %rsi
movq %r13, %rdx
callq 0x78a0
movq (%r15), %rax
leaq 0x40(%rsp), %rsi
movq %r15, %rdi
callq *0xa0(%rax)
leaq 0x40(%rsp), %rdi
callq 0x7980
leaq 0x10(%rsp), %rdi
callq 0x7980
movq 0x600(%rbx), %rdi
xorl %esi, %esi
callq 0x7740
movq %r14, %rdi
callq 0x110da
movq (%rax), %rsi
movq %rbx, %rdi
callq 0xc2de
addq $0x80, %rsp
popq %rbx
popq %r12
popq %r13
popq %r14
popq %r15
retq
movq %rax, %rbx
leaq 0x40(%rsp), %rdi
callq 0x7980
jmp 0xddfb
movq %rax, %rbx
leaq 0x10(%rsp), %rdi
callq 0x7980
jmp 0xdea4
jmp 0xde28
jmp 0xde37
jmp 0xde46
jmp 0xde28
jmp 0xde37
jmp 0xde46
jmp 0xde28
jmp 0xde37
jmp 0xde46
jmp 0xde28
jmp 0xde37
jmp 0xde46
jmp 0xde28
jmp 0xde37
jmp 0xde46
movq %rax, %rbx
leaq 0x28(%rsp), %rdi
callq 0x7980
jmp 0xde3a
movq %rax, %rbx
leaq 0x10(%rsp), %rdi
callq 0x7980
jmp 0xde49
movq %rax, %rbx
movl $0x660, %esi            # imm = 0x660
movq %r15, %rdi
callq 0x70a0
jmp 0xde9a
movq %rax, %rbx
leaq 0x28(%rsp), %rdi
callq 0x7980
jmp 0xde6a
movq %rax, %rbx
leaq 0x10(%rsp), %rdi
callq 0x7980
jmp 0xde79
movq %rax, %rbx
movl $0x660, %esi            # imm = 0x660
movq %r14, %rdi
jmp 0xde51
jmp 0xde97
movq %rax, %rbx
movl $0x128, %esi            # imm = 0x128
movq %r14, %rdi
callq 0x70a0
jmp 0xdea4
movq %rax, %rbx
leaq 0x40(%rsp), %rdi
callq 0x7620
movq %rbx, %rdi
callq 0x7290