Function at 0x180026180
Capabilities:
Check for time delay via gettickcount

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rsi
mov qword [rsp + 0x20], rdi
push rbp
push r12
push r13
push r14
push r15
mov rbp, rsp
sub rsp, 0x20
xor r12d, r12d
mov rdi, rcx
cmp byte [rcx + 0x50], r12b
je 0x18002656a
cmp byte [rcx + 0x69], r12b
je 0x18002656a
mov qword [rbp + 0x30], r12
movabs rbx, 0xfe99b66d079cf6bc
mov dword [rbp + 0x30], 2
mov rax, qword [rbp + 0x30]
mov qword [rbp + 0x30], r12
mov qword [0x180138c70], rax
mov dword [rbp + 0x30], 1
mov rax, qword [rbp + 0x30]
mov qword [0x180138c80], rax
mov dword [0x180138ba8], r12d
mov qword [0x180178998], rbx
mov qword [0x180138c78], r12
mov dword [0x180138b98], 3
call fcn.180028e50
mov qword [rbp + 0x30], r12
mov dword [rbp + 0x30], 2
mov rax, qword [rbp + 0x30]
mov qword [rbp + 0x30], r12
mov qword [0x180138c70], rax
mov dword [rbp + 0x30], 0x13
mov rax, qword [rbp + 0x30]
mov qword [rbp + 0x30], r12
mov qword [0x180138c78], rax
mov dword [rbp + 0x30], 1
mov rax, qword [rbp + 0x30]
mov qword [0x180138c80], rax
mov dword [0x180138ba8], r12d
mov qword [0x180178998], rbx
mov dword [0x180138b98], 3
call fcn.180028e50
mov qword [rbp + 0x30], r12
mov dword [rbp + 0x30], 2
mov rax, qword [rbp + 0x30]
mov qword [rbp + 0x30], r12
mov qword [0x180138c70], rax
mov dword [rbp + 0x30], 0x8c
mov rax, qword [rbp + 0x30]
mov qword [rbp + 0x30], r12
mov qword [0x180138c78], rax
mov dword [rbp + 0x30], 1
mov rax, qword [rbp + 0x30]
mov qword [0x180138c80], rax
mov dword [0x180138ba8], r12d
mov qword [0x180178998], rbx
mov dword [0x180138b98], 3
call fcn.180028e50
mov qword [rbp + 0x30], r12
mov dword [rbp + 0x30], 2
mov rax, qword [rbp + 0x30]
mov qword [rbp + 0x30], r12
mov qword [0x180138c70], rax
mov dword [rbp + 0x30], 0x14
mov rax, qword [rbp + 0x30]
mov qword [rbp + 0x30], r12
mov qword [0x180138c78], rax
mov dword [rbp + 0x30], 1
mov rax, qword [rbp + 0x30]
mov qword [0x180138c80], rax
mov dword [0x180138ba8], r12d
mov qword [0x180178998], rbx
mov dword [0x180138b98], 3
call fcn.180028e50
mov qword [rbp + 0x30], r12
mov dword [rbp + 0x30], 2
mov rax, qword [rbp + 0x30]
mov qword [rbp + 0x30], r12
mov qword [0x180138c70], rax
mov dword [rbp + 0x30], 0x1b
mov rax, qword [rbp + 0x30]
mov qword [rbp + 0x30], r12
mov qword [0x180138c78], rax
mov dword [rbp + 0x30], 1
mov rax, qword [rbp + 0x30]
mov qword [0x180138c80], rax
mov dword [0x180138ba8], r12d
mov qword [0x180178998], rbx
mov dword [0x180138b98], 3
call fcn.180028e50
mov dword [0x180138ba8], r12d
mov qword [0x180178998], rbx
mov qword [rbp + 0x30], r12
mov dword [rbp + 0x30], 2
mov rax, qword [rbp + 0x30]
mov qword [rbp + 0x30], r12
mov qword [0x180138c70], rax
mov dword [rbp + 0x30], 0x50
mov rax, qword [rbp + 0x30]
mov qword [rbp + 0x30], r12
mov qword [0x180138c78], rax
mov dword [rbp + 0x30], 1
mov rax, qword [rbp + 0x30]
mov qword [0x180138c80], rax
mov dword [0x180138b98], 3
call fcn.180028e50
mov qword [rbp + 0x30], r12
mov dword [rbp + 0x30], 2
mov rax, qword [rbp + 0x30]
mov qword [rbp + 0x30], r12
mov qword [0x180138c70], rax
mov dword [rbp + 0x30], 0x151
mov rax, qword [rbp + 0x30]
mov qword [rbp + 0x30], r12
mov qword [0x180138c78], rax
mov dword [rbp + 0x30], 1
mov rax, qword [rbp + 0x30]
mov qword [0x180138c80], rax
mov dword [0x180138ba8], r12d
mov qword [0x180178998], rbx
mov dword [0x180138b98], 3
call fcn.180028e50
mov qword [rbp + 0x30], r12
mov dword [rbp + 0x30], 2
mov rax, qword [rbp + 0x30]
mov qword [rbp + 0x30], r12
mov qword [0x180138c70], rax
mov dword [rbp + 0x30], 0x1b
mov rax, qword [rbp + 0x30]
mov qword [rbp + 0x30], r12
mov qword [0x180138c78], rax
mov dword [rbp + 0x30], 1
mov rax, qword [rbp + 0x30]
mov qword [0x180138c80], rax
mov dword [0x180138ba8], r12d
mov qword [0x180178998], rbx
mov dword [0x180138b98], 3
call fcn.180028e50
mov qword [rbp + 0x30], r12
mov dword [rbp + 0x30], 2
mov rax, qword [rbp + 0x30]
mov qword [rbp + 0x30], r12
mov qword [0x180138c70], rax
mov dword [rbp + 0x30], 0x55
mov rax, qword [rbp + 0x30]
mov qword [rbp + 0x30], r12
mov qword [0x180138c78], rax
mov dword [rbp + 0x30], 1
mov rax, qword [rbp + 0x30]
mov qword [0x180138c80], rax
mov dword [0x180138ba8], r12d
mov qword [0x180178998], rbx
mov dword [0x180138b98], 3
call fcn.180028e50
mov qword [rbp + 0x30], r12
mov dword [rbp + 0x30], 2
mov rax, qword [rbp + 0x30]
mov qword [rbp + 0x30], r12
mov qword [0x180138c70], rax
mov dword [rbp + 0x30], 0x4a
mov rax, qword [rbp + 0x30]
mov qword [rbp + 0x30], r12
mov qword [0x180138c78], rax
mov dword [rbp + 0x30], 1
mov rax, qword [rbp + 0x30]
mov qword [0x180138c80], rax
mov dword [0x180138ba8], r12d
mov qword [0x180178998], rbx
mov dword [0x180138b98], 3
call fcn.180028e50
mov rax, qword gs:[0x58]
mov ecx, dword [0x180176d64]
mov edx, 4
mov r15, qword [rax + rcx*8]
add r15, rdx
mov eax, dword [r15]
cmp dword [0x180178e50], eax
jle 0x1800265bd
lea rcx, [0x180178e50]
call fcn.18006f1f4
cmp dword [0x180178e50], 0xffffffff
jne 0x1800265bd
call qword [sym.imp.KERNEL32.dll_GetTickCount]
lea rcx, [0x180178e50]
mov dword [0x180178e54], eax
call fcn.18006f188
lea rbx, str.BACK
movabs r14, 0x67c540aa08e4a6f5
lea rsi, str.HUD_FRONTEND_DEFAULT_SOUNDSET
movabs r13, 0xe2587f8cbbd87b1d
cmp byte [rdi + 0x150], r12b
je 0x1800265fd
call qword [sym.imp.KERNEL32.dll_GetTickCount]
sub eax, dword [0x180178e54]
cmp eax, dword [rdi + 0x6c]
jae 0x18002669e
mov qword [rbp + 0x30], r12
mov dword [rbp + 0x30], 0xe3
mov rax, qword [rbp + 0x30]
mov qword [0x180138c78], rax
mov dword [0x180138ba8], r12d
mov qword [0x180178998], r13
mov qword [0x180138c70], r12
mov dword [0x180138b98], 2
call fcn.180028e50
cmp dword [rax], r12d
je 0x180026712
mov qword [rbp + 0x30], r12
mov dword [rbp + 0x30], 0xaf
mov rax, qword [rbp + 0x30]
mov qword [0x180138c78], rax
mov dword [0x180138ba8], r12d
mov qword [0x180178998], r13
mov qword [0x180138c70], r12
mov dword [0x180138b98], 2
call fcn.180028e50
cmp dword [rax], r12d
je 0x180026712
cmp byte [rdi + 0x69], r12b
je 0x180026712
call qword [sym.imp.KERNEL32.dll_GetTickCount]
sub eax, dword [0x180178e54]
cmp eax, dword [rdi + 0x6c]
jb 0x180026712
call qword [sym.imp.KERNEL32.dll_GetTickCount]
movzx ecx, byte [rdi + 0x50]
xor cl, 1
mov dword [0x180178e54], eax
mov byte [rdi + 0x50], cl
cmp byte [rdi + 0x68], r12b
je 0x180026712
test cl, cl
mov qword [rbp + 0x30], r12
lea rcx, str.SELECT
mov dword [rbp + 0x30], 0xffffffff
mov rax, qword [rbp + 0x30]
mov qword [0x180138c70], rax
mov rax, rbx
cmovne rax, rcx
mov dword [0x180138ba8], r12d
mov qword [0x180138c78], rax
mov qword [0x180178998], r14
mov qword [0x180138c80], rsi
mov qword [0x180138c88], r12
mov dword [0x180138b98], 4
call fcn.180028e50
mov eax, dword [r15]
cmp dword [0x180178e58], eax
jle 0x180026751
lea rcx, [0x180178e58]
call fcn.18006f1f4
cmp dword [0x180178e58], 0xffffffff
jne 0x180026751
lea rcx, [0x180178e60]
call fcn.180002970
lea rcx, [0x180178e58]
mov qword [0x180178e68], r12
call fcn.18006f188
movsxd rax, dword [rdi + 0x70]
imul rcx, rax, 0xf4240
mov qword [0x180178e68], rcx
cmp byte [rdi + 0x50], r12b
je 0x1800270c7
cmp byte [rdi + 0x151], r12b
je 0x180026796
lea rcx, [rbp + 0x30]
call fcn.180002970
mov rcx, qword [rbp + 0x30]
mov rax, rcx
sub rax, qword [0x180178e60]
cmp rax, qword [0x180178e68]
jge 0x18002680d
cmp byte [rdi + 0x50], r12b
je 0x1800270c7
mov qword [rbp + 0x30], r12
mov dword [rbp + 0x30], 0xca
mov rax, qword [rbp + 0x30]
mov qword [0x180138c78], rax
mov dword [0x180138ba8], r12d
mov qword [0x180178998], r13
mov qword [0x180138c70], r12
mov dword [0x180138b98], 2
call fcn.180028e50
cmp dword [rax], r12d
je 0x180026888
cmp byte [rdi + 0x69], r12b
je 0x180026888
lea rcx, [rbp + 0x30]
call fcn.180002970
mov rcx, qword [rbp + 0x30]
mov rax, rcx
sub rax, qword [0x180178e60]
cmp rax, qword [0x180178e68]
jl 0x180026888
mov qword [0x180178e60], rcx
cmp byte [rdi + 0x68], r12b
je 0x180026862
mov qword [rbp + 0x30], r12
mov dword [rbp + 0x30], 0xffffffff
mov rax, qword [rbp + 0x30]
mov qword [0x180138c70], rax
mov dword [0x180138ba8], r12d
mov qword [0x180178998], r14
mov qword [0x180138c78], rbx
mov qword [0x180138c80], rsi
mov qword [0x180138c88], r12
mov dword [0x180138b98], 4
call fcn.180028e50
mov rax, qword [rdi + 0x180]
sub rax, qword [rdi + 0x178]
sar rax, 3
cmp rax, 1
ja 0x180026880
mov byte [rdi + 0x50], r12b
jmp 0x180026888
add qword [rdi + 0x180], 0xfffffffffffffff8
cmp byte [rdi + 0x50], r12b
je 0x1800270c7
mov rax, qword [rdi + 0x180]
cmp qword [rdi + 0x178], rax
je 0x1800270c7
mov rsi, qword [rax - 8]
mov eax, dword [r15]
cmp dword [0x180178e70], eax
jle 0x1800268e9
lea rcx, [0x180178e70]
call fcn.18006f1f4
cmp dword [0x180178e70], 0xffffffff
jne 0x1800268e9
lea rcx, [0x180178e78]
call fcn.180002970
lea rcx, [0x180178e70]
mov qword [0x180178e80], r12
call fcn.18006f188
movsxd rax, dword [rdi + 0x74]
imul rcx, rax, 0xf4240
mov qword [0x180178e80], rcx
cmp byte [rdi + 0x152], r12b
je 0x180026936
mov rax, qword [rsi]
mov rcx, rsi
call qword [rax + 0x30]
test rax, rax
je 0x180026936
lea rcx, [rbp + 0x30]
call fcn.180002970
mov rcx, qword [rbp + 0x30]
mov rax, rcx
sub rax, qword [0x180178e78]
cmp rax, qword [0x180178e80]
jge 0x1800269b9
mov qword [rbp + 0x30], r12
mov dword [rbp + 0x30], 0xc9
mov rax, qword [rbp + 0x30]
mov qword [0x180138c78], rax
mov dword [0x180138ba8], r12d
mov qword [0x180178998], r13
mov qword [0x180138c70], r12
mov dword [0x180138b98], 2
call fcn.180028e50
cmp dword [rax], r12d
je 0x180026a42
cmp byte [rdi + 0x69], r12b
je 0x180026a42
mov rax, qword [rsi]
mov rcx, rsi
call qword [rax + 0x30]
test rax, rax
je 0x180026a42
lea rcx, [rbp + 0x30]
call fcn.180002970
mov rcx, qword [rbp + 0x30]
mov rax, rcx
sub rax, qword [0x180178e78]
cmp rax, qword [0x180178e80]
jl 0x180026a42
mov qword [0x180178e78], rcx
cmp byte [rdi + 0x68], r12b
je 0x180026a1c
mov qword [rbp + 0x30], r12
mov dword [rbp + 0x30], 0xffffffff
mov rax, qword [rbp + 0x30]
mov qword [0x180138c70], rax
lea rax, str.SELECT
mov qword [0x180138c78], rax
lea rax, str.HUD_FRONTEND_DEFAULT_SOUNDSET
mov qword [0x180138c80], rax
mov dword [0x180138ba8], r12d
mov qword [0x180178998], r14
mov qword [0x180138c88], r12
mov dword [0x180138b98], 4
call fcn.180028e50
mov rbx, qword [rsi]
mov rcx, rsi
call qword [rbx + 0x38]
mov rdx, rax
mov rcx, rsi
call qword [rbx + 0x28]
test rax, rax
je 0x180026a42
mov r8, qword [rax]
mov edx, 2
mov rcx, rax
call qword [r8 + 0x20]
mov eax, dword [r15]
cmp dword [0x180178e88], eax
jle 0x180026a81
lea rcx, [0x180178e88]
call fcn.18006f1f4
cmp dword [0x180178e88], 0xffffffff
jne 0x180026a81
lea rcx, [0x180178e90]
call fcn.180002970
lea rcx, [0x180178e88]
mov qword [0x180178e98], r12
call fcn.18006f188
movsxd rax, dword [rdi + 0x78]
lea r14, str.NAV_UP_DOWN
imul rcx, rax, 0xf4240
mov qword [0x180178e98], rcx
cmp byte [rdi + 0x153], r12b
je 0x180026ad5
mov rax, qword [rsi]
mov rcx, rsi
call qword [rax + 0x30]
test rax, rax
je 0x180026ad5
lea rcx, [rbp + 0x30]
call fcn.180002970
mov rcx, qword [rbp + 0x30]
mov rax, rcx
sub rax, qword [0x180178e90]
cmp rax, qword [0x180178e98]
jge 0x180026b58
mov qword [rbp + 0x30], r12
mov dword [rbp + 0x30], 0xbc
mov rax, qword [rbp + 0x30]
mov qword [0x180138c78], rax
mov dword [0x180138ba8], r12d
mov qword [0x180178998], r13
mov qword [0x180138c70], r12
mov dword [0x180138b98], 2
call fcn.180028e50
cmp dword [rax], r12d
je 0x180026be4
cmp byte [rdi + 0x69], r12b
je 0x180026be4
mov rax, qword [rsi]
mov rcx, rsi
call qword [rax + 0x30]
test rax, rax
je 0x180026be4
lea rcx, [rbp + 0x30]
call fcn.180002970
mov rcx, qword [rbp + 0x30]
mov rax, rcx
sub rax, qword [0x180178e90]
cmp rax, qword [0x180178e98]
jl 0x180026be4
mov qword [0x180178e90], rcx
cmp byte [rdi + 0x68], r12b
je 0x180026bbe
movabs rax, 0x67c540aa08e4a6f5
mov qword [rbp + 0x30], r12
mov qword [0x180178998], rax
mov dword [rbp + 0x30], 0xffffffff
mov rax, qword [rbp + 0x30]
mov qword [0x180138c70], rax
lea rax, str.HUD_FRONTEND_DEFAULT_SOUNDSET
mov qword [0x180138c80], rax
mov dword [0x180138ba8], r12d
mov qword [0x180138c78], r14
mov qword [0x180138c88], r12
mov dword [0x180138b98], 4
call fcn.180028e50
mov rax, qword [rsi]
mov rcx, rsi
call qword [rax + 0x38]
mov rbx, qword [rsi]
mov rcx, rsi
test rax, rax
je 0x180026bd7
call qword [rbx + 0x38]
jmp 0x180026bda
call qword [rbx + 0x30]
lea rdx, [rax - 1]
mov rcx, rsi
call qword [rbx + 0x40]
mov eax, dword [r15]
cmp dword [0x180178ea0], eax
jle 0x180026c23
lea rcx, [0x180178ea0]
call fcn.18006f1f4
cmp dword [0x180178ea0], 0xffffffff
jne 0x180026c23
lea rcx, [0x180178ea8]
call fcn.180002970
lea rcx, [0x180178ea0]
mov qword [0x180178eb0], r12
call fcn.18006f188
movsxd rax, dword [rdi + 0x78]
imul rcx, rax, 0xf4240
mov qword [0x180178eb0], rcx
cmp byte [rdi + 0x154], r12b
je 0x180026c70
mov rax, qword [rsi]
mov rcx, rsi
call qword [rax + 0x30]
test rax, rax
je 0x180026c70
lea rcx, [rbp + 0x30]
call fcn.180002970
mov rcx, qword [rbp + 0x30]
mov rax, rcx
sub rax, qword [0x180178ea8]
cmp rax, qword [0x180178eb0]
jge 0x180026cf3
mov qword [rbp + 0x30], r12
mov dword [rbp + 0x30], 0xbb
mov rax, qword [rbp + 0x30]
mov qword [0x180138c78], rax
mov dword [0x180138ba8], r12d
mov qword [0x180178998], r13
mov qword [0x180138c70], r12
mov dword [0x180138b98], 2
call fcn.180028e50
cmp dword [rax], r12d
je 0x180026d8d
cmp byte [rdi + 0x69], r12b
je 0x180026d8d
mov rax, qword [rsi]
mov rcx, rsi
call qword [rax + 0x30]
test rax, rax
je 0x180026d8d
lea rcx, [rbp + 0x30]
call fcn.180002970
mov rcx, qword [rbp + 0x30]
mov rax, rcx
sub rax, qword [0x180178ea8]
cmp rax, qword [0x180178eb0]
jl 0x180026d8d
mov qword [0x180178ea8], rcx
cmp byte [rdi + 0x68], r12b
je 0x180026d59
movabs rax, 0x67c540aa08e4a6f5
mov qword [rbp + 0x30], r12
mov qword [0x180178998], rax
mov dword [rbp + 0x30], 0xffffffff
mov rax, qword [rbp + 0x30]
mov qword [0x180138c70], rax
lea rax, str.HUD_FRONTEND_DEFAULT_SOUNDSET
mov qword [0x180138c80], rax
mov dword [0x180138ba8], r12d
mov qword [0x180138c78], r14
mov qword [0x180138c88], r12
mov dword [0x180138b98], 4
call fcn.180028e50
mov rax, qword [rsi]
mov rcx, rsi
call qword [rax + 0x30]
mov rdx, qword [rsi]
mov rcx, rsi
lea rbx, [rax - 1]
call qword [rdx + 0x38]
mov r14, qword [rsi]
mov rcx, rsi
cmp rax, rbx
jae 0x180026d87
call qword [r14 + 0x38]
mov rcx, rsi
lea rdx, [rax + 1]
jmp 0x180026d89
xor edx, edx
call qword [r14 + 0x40]
mov eax, dword [r15]
cmp dword [0x180178eb8], eax
jle 0x180026dcc
lea rcx, [0x180178eb8]
call fcn.18006f1f4
cmp dword [0x180178eb8], 0xffffffff
jne 0x180026dcc
lea rcx, [0x180178ec0]
call fcn.180002970
lea rcx, [0x180178eb8]
mov qword [0x180178ec8], r12
call fcn.18006f188
movsxd rax, dword [rdi + 0x7c]
lea r14, str.NAV_LEFT_RIGHT
imul rcx, rax, 0xf4240
mov qword [0x180178ec8], rcx
cmp byte [rdi + 0x155], r12b
je 0x180026e20
mov rax, qword [rsi]
mov rcx, rsi
call qword [rax + 0x30]
test rax, rax
je 0x180026e20
lea rcx, [rbp + 0x30]
call fcn.180002970
mov rcx, qword [rbp + 0x30]
mov rax, rcx
sub rax, qword [0x180178ec0]
cmp rax, qword [0x180178ec8]
jge 0x180026ea3
mov qword [rbp + 0x30], r12
mov dword [rbp + 0x30], 0xae
mov rax, qword [rbp + 0x30]
mov qword [0x180138c78], rax
mov dword [0x180138ba8], r12d
mov qword [0x180178998], r13
mov qword [0x180138c70], r12
mov dword [0x180138b98], 2
call fcn.180028e50
cmp dword [rax], r12d
je 0x180026f2c
cmp byte [rdi + 0x69], r12b
je 0x180026f2c
mov rax, qword [rsi]
mov rcx, rsi
call qword [rax + 0x30]
test rax, rax
je 0x180026f2c
lea rcx, [rbp + 0x30]
call fcn.180002970
mov rcx, qword [rbp + 0x30]
mov rax, rcx
sub rax, qword [0x180178ec0]
cmp rax, qword [0x180178ec8]
jl 0x180026f2c
mov qword [0x180178ec0], rcx
cmp byte [rdi + 0x68], r12b
je 0x180026f09
movabs rax, 0x67c540aa08e4a6f5
mov qword [rbp + 0x30], r12
mov qword [0x180178998], rax
mov dword [rbp + 0x30], 0xffffffff
mov rax, qword [rbp + 0x30]
mov qword [0x180138c70], rax
lea rax, str.HUD_FRONTEND_DEFAULT_SOUNDSET
mov qword [0x180138c80], rax
mov dword [0x180138ba8], r12d
mov qword [0x180138c78], r14
mov qword [0x180138c88], r12
mov dword [0x180138b98], 4
call fcn.180028e50
mov rbx, qword [rsi]
mov rcx, rsi
call qword [rbx + 0x38]
mov rdx, rax
mov rcx, rsi
call qword [rbx + 0x28]
test rax, rax
je 0x180026f2c
mov r8, qword [rax]
xor edx, edx
mov rcx, rax
call qword [r8 + 0x20]
mov eax, dword [r15]
cmp dword [0x180178ed0], eax
jle 0x180026f6b
lea rcx, [0x180178ed0]
call fcn.18006f1f4
cmp dword [0x180178ed0], 0xffffffff
jne 0x180026f6b
lea rcx, [0x180178ed8]
call fcn.180002970
lea rcx, [0x180178ed0]
mov qword [0x180178ee0], r12
call fcn.18006f188
movsxd rax, dword [rdi + 0x7c]
imul rcx, rax, 0xf4240
mov qword [0x180178ee0], rcx
cmp byte [rdi + 0x156], r12b
je 0x180026fb8
mov rax, qword [rsi]
mov rcx, rsi
call qword [rax + 0x30]
test rax, rax
je 0x180026fb8
lea rcx, [rbp + 0x30]
call fcn.180002970
mov rcx, qword [rbp + 0x30]
mov rax, rcx
sub rax, qword [0x180178ed8]
cmp rax, qword [0x180178ee0]
jge 0x18002703b
mov qword [rbp + 0x30], r12
mov dword [rbp + 0x30], 0xaf
mov rax, qword [rbp + 0x30]
mov qword [0x180138c78], rax
mov dword [0x180138ba8], r12d
mov qword [0x180178998], r13
mov qword [0x180138c70], r12
mov dword [0x180138b98], 2
call fcn.180028e50
cmp dword [rax], r12d
je 0x1800270c7
cmp byte [rdi + 0x69], r12b
je 0x1800270c7
mov rax, qword [rsi]
mov rcx, rsi
call qword [rax + 0x30]
test rax, rax
je 0x1800270c7
lea rcx, [rbp + 0x30]
call fcn.180002970
mov rcx, qword [rbp + 0x30]
mov rax, rcx
sub rax, qword [0x180178ed8]
cmp rax, qword [0x180178ee0]
jl 0x1800270c7
mov qword [0x180178ed8], rcx
cmp byte [rdi + 0x68], r12b
je 0x1800270a1
movabs rax, 0x67c540aa08e4a6f5
mov qword [rbp + 0x30], r12
mov qword [0x180178998], rax
mov dword [rbp + 0x30], 0xffffffff
mov rax, qword [rbp + 0x30]
mov qword [0x180138c70], rax
lea rax, str.HUD_FRONTEND_DEFAULT_SOUNDSET
mov qword [0x180138c80], rax
mov dword [0x180138ba8], r12d
mov qword [0x180138c78], r14
mov qword [0x180138c88], r12
mov dword [0x180138b98], 4
call fcn.180028e50
mov rbx, qword [rsi]
mov rcx, rsi
call qword [rbx + 0x38]
mov rdx, rax
mov rcx, rsi
call qword [rbx + 0x28]
test rax, rax
je 0x1800270c7
mov r8, qword [rax]
mov edx, 1
mov rcx, rax
call qword [r8 + 0x20]
mov rbx, qword [rsp + 0x58]
mov rsi, qword [rsp + 0x60]
mov rdi, qword [rsp + 0x68]
add rsp, 0x20
pop r15
pop r14
pop r13
pop r12
pop rbp
ret