// File: /workspace/github_c_makefile_star2_O0/enzo1982[P]smooth/tools/translator/translator.cpp
// Function: Translator::CloseFile()
Void Translator::CloseFile()
{
	if (entries.Length() == 0) return;

	fileName     = NIL;
	templateName = NIL;

	wnd->SetText(String("smooth Translator v").Append(SMOOTH_VERSION));

	ClearFilter(list_filtered);

	list_entries->RemoveAllEntries();

	for (Int i = 0; i < numInfoItems;	     i++) DeleteObject(entries.GetNth(i));
	for (Int i = 0; i < createdEntries.Length(); i++) DeleteObject(createdEntries.GetNth(i));

	entries.RemoveAll();
	createdEntries.RemoveAll();

	delete dataSection;

	dataSection = NIL;
	modified    = False;

	SelectEntry(NIL);

	list_entries->Deactivate();
	list_filtered->Deactivate();

	layer_edit->Deactivate();

	text_filter->Deactivate();
	edit_filter->Deactivate();

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

	menubar->GetNthEntry(1)->Deactivate();
}

// Assembly:
pushq %rbp
movq %rsp, %rbp
subq $0x80, %rsp
movq %rdi, -0x8(%rbp)
movq -0x8(%rbp), %rdi
movq %rdi, -0x58(%rbp)
addq $0x6b8, %rdi            # imm = 0x6B8
callq 0xb410
cmpl $0x0, %eax
jne 0x1765d
jmp 0x1792f
movq -0x58(%rbp), %rdi
addq $0x688, %rdi            # imm = 0x688
xorl %esi, %esi
movl %esi, -0x64(%rbp)
callq 0x87d0
movl -0x64(%rbp), %esi
movq -0x58(%rbp), %rdi
addq $0x6a0, %rdi            # imm = 0x6A0
callq 0x87d0
movq -0x58(%rbp), %rax
movq 0x5b8(%rax), %rax
movq %rax, -0x60(%rbp)
leaq 0x5c5e(%rip), %rsi      # 0x1d2f9
leaq -0x20(%rbp), %rdi
callq 0x8800
leaq 0x5c62(%rip), %rsi      # 0x1d30d
leaq -0x38(%rbp), %rdi
callq 0x8800
jmp 0x176b6
leaq -0x20(%rbp), %rdi
leaq -0x38(%rbp), %rsi
callq 0x8170
movq %rax, -0x70(%rbp)
jmp 0x176c9
movq -0x70(%rbp), %rsi
movq -0x60(%rbp), %rdi
movq (%rdi), %rax
movq 0xa0(%rax), %rax
callq *%rax
jmp 0x176df
leaq -0x38(%rbp), %rdi
callq 0x8990
leaq -0x20(%rbp), %rdi
callq 0x8990
movq -0x58(%rbp), %rdi
movq 0x608(%rdi), %rsi
callq 0x17a30
movq -0x58(%rbp), %rax
movq 0x600(%rax), %rdi
movq (%rdi), %rax
callq *0x168(%rax)
movl $0x0, -0x48(%rbp)
cmpl $0x7, -0x48(%rbp)
jge 0x17779
movq -0x58(%rbp), %rdi
addq $0x6b8, %rdi            # imm = 0x6B8
movl -0x48(%rbp), %esi
callq 0x1a500
movq (%rax), %rdi
callq 0x8960
movl -0x48(%rbp), %eax
addl $0x1, %eax
movl %eax, -0x48(%rbp)
jmp 0x1771c
movq %rax, %rcx
movl %edx, %eax
movq %rcx, -0x40(%rbp)
movl %eax, -0x44(%rbp)
jmp 0x1776b
movq %rax, %rcx
movl %edx, %eax
movq %rcx, -0x40(%rbp)
movl %eax, -0x44(%rbp)
leaq -0x38(%rbp), %rdi
callq 0x8990
leaq -0x20(%rbp), %rdi
callq 0x8990
jmp 0x17938
movl $0x0, -0x4c(%rbp)
movq -0x58(%rbp), %rdi
movl -0x4c(%rbp), %eax
movl %eax, -0x74(%rbp)
addq $0x710, %rdi            # imm = 0x710
callq 0xb410
movl %eax, %ecx
movl -0x74(%rbp), %eax
cmpl %ecx, %eax
jge 0x177c5
movq -0x58(%rbp), %rdi
addq $0x710, %rdi            # imm = 0x710
movl -0x4c(%rbp), %esi
callq 0x1a500
movq (%rax), %rdi
callq 0x8960
movl -0x4c(%rbp), %eax
addl $0x1, %eax
movl %eax, -0x4c(%rbp)
jmp 0x17780
movq -0x58(%rbp), %rdi
addq $0x6b8, %rdi            # imm = 0x6B8
callq 0x1a530
movq -0x58(%rbp), %rdi
addq $0x710, %rdi            # imm = 0x710
callq 0x1a530
movq -0x58(%rbp), %rax
movq 0x768(%rax), %rax
movq %rax, -0x80(%rbp)
cmpq $0x0, %rax
je 0x17811
movq -0x80(%rbp), %rdi
callq 0x9330
movq -0x80(%rbp), %rdi
movl $0x128, %esi            # imm = 0x128
callq 0x80a0
movq -0x58(%rbp), %rdi
movq $0x0, 0x768(%rdi)
movb $0x0, 0x770(%rdi)
xorl %eax, %eax
movl %eax, %esi
callq 0x12750
movq -0x58(%rbp), %rax
movq 0x600(%rax), %rdi
movq (%rdi), %rax
callq *0x70(%rax)
movq -0x58(%rbp), %rax
movq 0x608(%rax), %rdi
movq (%rdi), %rax
callq *0x70(%rax)
movq -0x58(%rbp), %rax
movq 0x630(%rax), %rdi
movq (%rdi), %rax
callq *0x70(%rax)
movq -0x58(%rbp), %rax
movq 0x5e8(%rax), %rdi
movq (%rdi), %rax
callq *0x70(%rax)
movq -0x58(%rbp), %rax
movq 0x5f0(%rax), %rdi
movq (%rdi), %rax
callq *0x70(%rax)
movq -0x58(%rbp), %rax
movq 0x5d8(%rax), %rdi
movq (%rdi), %rax
movl $0x1, %esi
callq *0x180(%rax)
movq %rax, %rdi
movq (%rdi), %rax
callq *0x70(%rax)
movq -0x58(%rbp), %rax
movq 0x5d8(%rax), %rdi
movq (%rdi), %rax
movl $0x4, %esi
callq *0x180(%rax)
movq %rax, %rdi
movq (%rdi), %rax
callq *0x70(%rax)
movq -0x58(%rbp), %rax
movq 0x5d8(%rax), %rdi
movq (%rdi), %rax
movl $0x5, %esi
callq *0x180(%rax)
movq %rax, %rdi
movq (%rdi), %rax
callq *0x70(%rax)
movq -0x58(%rbp), %rax
movq 0x5d8(%rax), %rdi
movq (%rdi), %rax
movl $0x7, %esi
callq *0x180(%rax)
movq %rax, %rdi
movq (%rdi), %rax
callq *0x70(%rax)
movq -0x58(%rbp), %rax
movq 0x5c8(%rax), %rdi
movq (%rdi), %rax
movl $0x1, %esi
callq *0x180(%rax)
movq %rax, %rdi
movq (%rdi), %rax
callq *0x70(%rax)
addq $0x80, %rsp
popq %rbp
retq
movq -0x40(%rbp), %rdi
callq 0x8290
nopw %cs:(%rax,%rax)