// File: /workspace/github_cpp_makefile_star2_O2/FreeSlave[P]vhlt/common/log.cpp
// Function: ResetTmpFiles()
void            ResetTmpFiles()
{
    if (g_log)
    {
        char            filename[_MAX_PATH];

        safe_snprintf(filename, _MAX_PATH, "%s.bsp", g_Mapname);
        _unlink(filename);

        safe_snprintf(filename, _MAX_PATH, "%s.inc", g_Mapname);
        _unlink(filename);

        safe_snprintf(filename, _MAX_PATH, "%s.p0", g_Mapname);
        _unlink(filename);

        safe_snprintf(filename, _MAX_PATH, "%s.p1", g_Mapname);
        _unlink(filename);

        safe_snprintf(filename, _MAX_PATH, "%s.p2", g_Mapname);
        _unlink(filename);

        safe_snprintf(filename, _MAX_PATH, "%s.p3", g_Mapname);
        _unlink(filename);

        safe_snprintf(filename, _MAX_PATH, "%s.prt", g_Mapname);
        _unlink(filename);

        safe_snprintf(filename, _MAX_PATH, "%s.pts", g_Mapname);
        _unlink(filename);

        safe_snprintf(filename, _MAX_PATH, "%s.lin", g_Mapname);
        _unlink(filename);

#ifndef HLCSG_ONLYENTS_NOWADCHANGE
        safe_snprintf(filename, _MAX_PATH, "%s.wic", g_Mapname);
        _unlink(filename);
#endif
#ifdef HLCSG_HLBSP_ALLOWEMPTYENTITY

        safe_snprintf(filename, _MAX_PATH, "%s.hsz", g_Mapname);
        _unlink(filename);
#endif
#ifdef HLCSG_HLBSP_DOUBLEPLANE

        safe_snprintf(filename, _MAX_PATH, "%s.pln", g_Mapname);
        _unlink(filename);
#endif
#ifdef ZHLT_DETAILBRUSH

		safe_snprintf(filename, _MAX_PATH, "%s.b0", g_Mapname);
		_unlink(filename);

		safe_snprintf(filename, _MAX_PATH, "%s.b1", g_Mapname);
		_unlink(filename);

		safe_snprintf(filename, _MAX_PATH, "%s.b2", g_Mapname);
		_unlink(filename);

		safe_snprintf(filename, _MAX_PATH, "%s.b3", g_Mapname);
		_unlink(filename);
#endif
#ifdef ZHLT_NOWADDIR

		safe_snprintf(filename, _MAX_PATH, "%s.wa_", g_Mapname);
		_unlink(filename);
#endif
#ifdef ZHLT_64BIT_FIX

		safe_snprintf(filename, _MAX_PATH, "%s.ext", g_Mapname);
		_unlink(filename);
#endif
#ifdef ZHLT_XASH

		safe_snprintf(filename, _MAX_PATH, "%s.dlit", g_Mapname);
		_unlink(filename);
#endif
    }
}

// Assembly:
cmpb $0x1, 0x1ecc1(%rip)     # 0x27360
jne 0x88f4
pushq %r14
pushq %rbx
subq $0x1008, %rsp           # imm = 0x1008
leaq 0x122e1(%rip), %rdx     # 0x1a997
leaq 0x1dca3(%rip), %r14     # 0x26360
movq %rsp, %rbx
movl $0x1000, %esi           # imm = 0x1000
movq %rbx, %rdi
movq %r14, %rcx
xorl %eax, %eax
callq 0x78cb
movq %rbx, %rdi
callq 0x41b0
leaq 0x122bd(%rip), %rdx     # 0x1a99e
movl $0x1000, %esi           # imm = 0x1000
movq %rbx, %rdi
movq %r14, %rcx
xorl %eax, %eax
callq 0x78cb
movq %rbx, %rdi
callq 0x41b0
leaq 0x122a3(%rip), %rdx     # 0x1a9a5
movl $0x1000, %esi           # imm = 0x1000
movq %rbx, %rdi
movq %r14, %rcx
xorl %eax, %eax
callq 0x78cb
movq %rbx, %rdi
callq 0x41b0
leaq 0x12288(%rip), %rdx     # 0x1a9ab
movl $0x1000, %esi           # imm = 0x1000
movq %rbx, %rdi
movq %r14, %rcx
xorl %eax, %eax
callq 0x78cb
movq %rbx, %rdi
callq 0x41b0
leaq 0x1226d(%rip), %rdx     # 0x1a9b1
movl $0x1000, %esi           # imm = 0x1000
movq %rbx, %rdi
movq %r14, %rcx
xorl %eax, %eax
callq 0x78cb
movq %rbx, %rdi
callq 0x41b0
leaq 0x12252(%rip), %rdx     # 0x1a9b7
movl $0x1000, %esi           # imm = 0x1000
movq %rbx, %rdi
movq %r14, %rcx
xorl %eax, %eax
callq 0x78cb
movq %rbx, %rdi
callq 0x41b0
leaq 0x12237(%rip), %rdx     # 0x1a9bd
movl $0x1000, %esi           # imm = 0x1000
movq %rbx, %rdi
movq %r14, %rcx
xorl %eax, %eax
callq 0x78cb
movq %rbx, %rdi
callq 0x41b0
leaq 0x1221d(%rip), %rdx     # 0x1a9c4
movl $0x1000, %esi           # imm = 0x1000
movq %rbx, %rdi
movq %r14, %rcx
xorl %eax, %eax
callq 0x78cb
movq %rbx, %rdi
callq 0x41b0
leaq 0x12203(%rip), %rdx     # 0x1a9cb
movl $0x1000, %esi           # imm = 0x1000
movq %rbx, %rdi
movq %r14, %rcx
xorl %eax, %eax
callq 0x78cb
movq %rbx, %rdi
callq 0x41b0
leaq 0x121e9(%rip), %rdx     # 0x1a9d2
movl $0x1000, %esi           # imm = 0x1000
movq %rbx, %rdi
movq %r14, %rcx
xorl %eax, %eax
callq 0x78cb
movq %rbx, %rdi
callq 0x41b0
leaq 0x121cf(%rip), %rdx     # 0x1a9d9
movl $0x1000, %esi           # imm = 0x1000
movq %rbx, %rdi
movq %r14, %rcx
xorl %eax, %eax
callq 0x78cb
movq %rbx, %rdi
callq 0x41b0
leaq 0x121b5(%rip), %rdx     # 0x1a9e0
movl $0x1000, %esi           # imm = 0x1000
movq %rbx, %rdi
movq %r14, %rcx
xorl %eax, %eax
callq 0x78cb
movq %rbx, %rdi
callq 0x41b0
leaq 0x1219a(%rip), %rdx     # 0x1a9e6
movl $0x1000, %esi           # imm = 0x1000
movq %rbx, %rdi
movq %r14, %rcx
xorl %eax, %eax
callq 0x78cb
movq %rbx, %rdi
callq 0x41b0
leaq 0x1217f(%rip), %rdx     # 0x1a9ec
movl $0x1000, %esi           # imm = 0x1000
movq %rbx, %rdi
movq %r14, %rcx
xorl %eax, %eax
callq 0x78cb
movq %rbx, %rdi
callq 0x41b0
leaq 0x12164(%rip), %rdx     # 0x1a9f2
movl $0x1000, %esi           # imm = 0x1000
movq %rbx, %rdi
movq %r14, %rcx
xorl %eax, %eax
callq 0x78cb
movq %rbx, %rdi
callq 0x41b0
leaq 0x12149(%rip), %rdx     # 0x1a9f8
movl $0x1000, %esi           # imm = 0x1000
movq %rbx, %rdi
movq %r14, %rcx
xorl %eax, %eax
callq 0x78cb
movq %rbx, %rdi
callq 0x41b0
leaq 0x1212f(%rip), %rdx     # 0x1a9ff
movl $0x1000, %esi           # imm = 0x1000
movq %rbx, %rdi
movq %r14, %rcx
xorl %eax, %eax
callq 0x78cb
movq %rbx, %rdi
callq 0x41b0
addq $0x1008, %rsp           # imm = 0x1008
popq %rbx
popq %r14
retq