Function at 0x180020ef0
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 0x1800212da
cmp byte [rcx + 0x69], r12b
je 0x1800212da
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 [0x1800b1c70], rax
mov dword [rbp + 0x30], 1
mov rax, qword [rbp + 0x30]
mov qword [0x1800b1c80], rax
mov dword [0x1800b1ba8], r12d
mov qword [0x1800c9248], rbx
mov qword [0x1800b1c78], r12
mov dword [0x1800b1b98], 3
call fcn.180023c10
mov qword [rbp + 0x30], r12
mov dword [rbp + 0x30], 2
mov rax, qword [rbp + 0x30]
mov qword [rbp + 0x30], r12
mov qword [0x1800b1c70], rax
mov dword [rbp + 0x30], 0x13
mov rax, qword [rbp + 0x30]
mov qword [rbp + 0x30], r12
mov qword [0x1800b1c78], rax
mov dword [rbp + 0x30], 1
mov rax, qword [rbp + 0x30]
mov qword [0x1800b1c80], rax
mov dword [0x1800b1ba8], r12d
mov qword [0x1800c9248], rbx
mov dword [0x1800b1b98], 3
call fcn.180023c10
mov qword [rbp + 0x30], r12
mov dword [rbp + 0x30], 2
mov rax, qword [rbp + 0x30]
mov qword [rbp + 0x30], r12
mov qword [0x1800b1c70], rax
mov dword [rbp + 0x30], 0x8c
mov rax, qword [rbp + 0x30]
mov qword [rbp + 0x30], r12
mov qword [0x1800b1c78], rax
mov dword [rbp + 0x30], 1
mov rax, qword [rbp + 0x30]
mov qword [0x1800b1c80], rax
mov dword [0x1800b1ba8], r12d
mov qword [0x1800c9248], rbx
mov dword [0x1800b1b98], 3
call fcn.180023c10
mov qword [rbp + 0x30], r12
mov dword [rbp + 0x30], 2
mov rax, qword [rbp + 0x30]
mov qword [rbp + 0x30], r12
mov qword [0x1800b1c70], rax
mov dword [rbp + 0x30], 0x14
mov rax, qword [rbp + 0x30]
mov qword [rbp + 0x30], r12
mov qword [0x1800b1c78], rax
mov dword [rbp + 0x30], 1
mov rax, qword [rbp + 0x30]
mov qword [0x1800b1c80], rax
mov dword [0x1800b1ba8], r12d
mov qword [0x1800c9248], rbx
mov dword [0x1800b1b98], 3
call fcn.180023c10
mov qword [rbp + 0x30], r12
mov dword [rbp + 0x30], 2
mov rax, qword [rbp + 0x30]
mov qword [rbp + 0x30], r12
mov qword [0x1800b1c70], rax
mov dword [rbp + 0x30], 0x1b
mov rax, qword [rbp + 0x30]
mov qword [rbp + 0x30], r12
mov qword [0x1800b1c78], rax
mov dword [rbp + 0x30], 1
mov rax, qword [rbp + 0x30]
mov qword [0x1800b1c80], rax
mov dword [0x1800b1ba8], r12d
mov qword [0x1800c9248], rbx
mov dword [0x1800b1b98], 3
call fcn.180023c10
mov dword [0x1800b1ba8], r12d
mov qword [0x1800c9248], rbx
mov qword [rbp + 0x30], r12
mov dword [rbp + 0x30], 2
mov rax, qword [rbp + 0x30]
mov qword [rbp + 0x30], r12
mov qword [0x1800b1c70], rax
mov dword [rbp + 0x30], 0x50
mov rax, qword [rbp + 0x30]
mov qword [rbp + 0x30], r12
mov qword [0x1800b1c78], rax
mov dword [rbp + 0x30], 1
mov rax, qword [rbp + 0x30]
mov qword [0x1800b1c80], rax
mov dword [0x1800b1b98], 3
call fcn.180023c10
mov qword [rbp + 0x30], r12
mov dword [rbp + 0x30], 2
mov rax, qword [rbp + 0x30]
mov qword [rbp + 0x30], r12
mov qword [0x1800b1c70], rax
mov dword [rbp + 0x30], 0x151
mov rax, qword [rbp + 0x30]
mov qword [rbp + 0x30], r12
mov qword [0x1800b1c78], rax
mov dword [rbp + 0x30], 1
mov rax, qword [rbp + 0x30]
mov qword [0x1800b1c80], rax
mov dword [0x1800b1ba8], r12d
mov qword [0x1800c9248], rbx
mov dword [0x1800b1b98], 3
call fcn.180023c10
mov qword [rbp + 0x30], r12
mov dword [rbp + 0x30], 2
mov rax, qword [rbp + 0x30]
mov qword [rbp + 0x30], r12
mov qword [0x1800b1c70], rax
mov dword [rbp + 0x30], 0x1b
mov rax, qword [rbp + 0x30]
mov qword [rbp + 0x30], r12
mov qword [0x1800b1c78], rax
mov dword [rbp + 0x30], 1
mov rax, qword [rbp + 0x30]
mov qword [0x1800b1c80], rax
mov dword [0x1800b1ba8], r12d
mov qword [0x1800c9248], rbx
mov dword [0x1800b1b98], 3
call fcn.180023c10
mov qword [rbp + 0x30], r12
mov dword [rbp + 0x30], 2
mov rax, qword [rbp + 0x30]
mov qword [rbp + 0x30], r12
mov qword [0x1800b1c70], rax
mov dword [rbp + 0x30], 0x55
mov rax, qword [rbp + 0x30]
mov qword [rbp + 0x30], r12
mov qword [0x1800b1c78], rax
mov dword [rbp + 0x30], 1
mov rax, qword [rbp + 0x30]
mov qword [0x1800b1c80], rax
mov dword [0x1800b1ba8], r12d
mov qword [0x1800c9248], rbx
mov dword [0x1800b1b98], 3
call fcn.180023c10
mov qword [rbp + 0x30], r12
mov dword [rbp + 0x30], 2
mov rax, qword [rbp + 0x30]
mov qword [rbp + 0x30], r12
mov qword [0x1800b1c70], rax
mov dword [rbp + 0x30], 0x4a
mov rax, qword [rbp + 0x30]
mov qword [rbp + 0x30], r12
mov qword [0x1800b1c78], rax
mov dword [rbp + 0x30], 1
mov rax, qword [rbp + 0x30]
mov qword [0x1800b1c80], rax
mov dword [0x1800b1ba8], r12d
mov qword [0x1800c9248], rbx
mov dword [0x1800b1b98], 3
call fcn.180023c10
mov rax, qword gs:[0x58]
mov ecx, dword [0x1800c7694]
mov edx, 4
mov r15, qword [rax + rcx*8]
add r15, rdx
mov eax, dword [r15]
cmp dword [0x1800c96e8], eax
jle 0x18002132d
lea rcx, [0x1800c96e8]
call fcn.18005ea14
cmp dword [0x1800c96e8], 0xffffffff
jne 0x18002132d
call qword [sym.imp.KERNEL32.dll_GetTickCount]
lea rcx, [0x1800c96e8]
mov dword [0x1800c96ec], eax
call fcn.18005e9a8
lea rbx, str.BACK
movabs r14, 0x67c540aa08e4a6f5
lea rsi, str.HUD_FRONTEND_DEFAULT_SOUNDSET
movabs r13, 0xe2587f8cbbd87b1d
cmp byte [rdi + 0x150], r12b
je 0x18002136d
call qword [sym.imp.KERNEL32.dll_GetTickCount]
sub eax, dword [0x1800c96ec]
cmp eax, dword [rdi + 0x6c]
jae 0x18002140e
mov qword [rbp + 0x30], r12
mov dword [rbp + 0x30], 0xe3
mov rax, qword [rbp + 0x30]
mov qword [0x1800b1c78], rax
mov dword [0x1800b1ba8], r12d
mov qword [0x1800c9248], r13
mov qword [0x1800b1c70], r12
mov dword [0x1800b1b98], 2
call fcn.180023c10
cmp dword [rax], r12d
je 0x180021482
mov qword [rbp + 0x30], r12
mov dword [rbp + 0x30], 0xaf
mov rax, qword [rbp + 0x30]
mov qword [0x1800b1c78], rax
mov dword [0x1800b1ba8], r12d
mov qword [0x1800c9248], r13
mov qword [0x1800b1c70], r12
mov dword [0x1800b1b98], 2
call fcn.180023c10
cmp dword [rax], r12d
je 0x180021482
cmp byte [rdi + 0x69], r12b
je 0x180021482
call qword [sym.imp.KERNEL32.dll_GetTickCount]
sub eax, dword [0x1800c96ec]
cmp eax, dword [rdi + 0x6c]
jb 0x180021482
call qword [sym.imp.KERNEL32.dll_GetTickCount]
movzx ecx, byte [rdi + 0x50]
xor cl, 1
mov dword [0x1800c96ec], eax
mov byte [rdi + 0x50], cl
cmp byte [rdi + 0x68], r12b
je 0x180021482
test cl, cl
mov qword [rbp + 0x30], r12
lea rcx, str.SELECT
mov dword [rbp + 0x30], 0xffffffff
mov rax, qword [rbp + 0x30]
mov qword [0x1800b1c70], rax
mov rax, rbx
cmovne rax, rcx
mov dword [0x1800b1ba8], r12d
mov qword [0x1800b1c78], rax
mov qword [0x1800c9248], r14
mov qword [0x1800b1c80], rsi
mov qword [0x1800b1c88], r12
mov dword [0x1800b1b98], 4
call fcn.180023c10
mov eax, dword [r15]
cmp dword [0x1800c96f0], eax
jle 0x1800214c1
lea rcx, [0x1800c96f0]
call fcn.18005ea14
cmp dword [0x1800c96f0], 0xffffffff
jne 0x1800214c1
lea rcx, [0x1800c96f8]
call fcn.1800029b0
lea rcx, [0x1800c96f0]
mov qword [0x1800c9700], r12
call fcn.18005e9a8
movsxd rax, dword [rdi + 0x70]
imul rcx, rax, 0xf4240
mov qword [0x1800c9700], rcx
cmp byte [rdi + 0x50], r12b
je 0x180021e37
cmp byte [rdi + 0x151], r12b
je 0x180021506
lea rcx, [rbp + 0x30]
call fcn.1800029b0
mov rcx, qword [rbp + 0x30]
mov rax, rcx
sub rax, qword [0x1800c96f8]
cmp rax, qword [0x1800c9700]
jge 0x18002157d
cmp byte [rdi + 0x50], r12b
je 0x180021e37
mov qword [rbp + 0x30], r12
mov dword [rbp + 0x30], 0xca
mov rax, qword [rbp + 0x30]
mov qword [0x1800b1c78], rax
mov dword [0x1800b1ba8], r12d
mov qword [0x1800c9248], r13
mov qword [0x1800b1c70], r12
mov dword [0x1800b1b98], 2
call fcn.180023c10
cmp dword [rax], r12d
je 0x1800215f8
cmp byte [rdi + 0x69], r12b
je 0x1800215f8
lea rcx, [rbp + 0x30]
call fcn.1800029b0
mov rcx, qword [rbp + 0x30]
mov rax, rcx
sub rax, qword [0x1800c96f8]
cmp rax, qword [0x1800c9700]
jl 0x1800215f8
mov qword [0x1800c96f8], rcx
cmp byte [rdi + 0x68], r12b
je 0x1800215d2
mov qword [rbp + 0x30], r12
mov dword [rbp + 0x30], 0xffffffff
mov rax, qword [rbp + 0x30]
mov qword [0x1800b1c70], rax
mov dword [0x1800b1ba8], r12d
mov qword [0x1800c9248], r14
mov qword [0x1800b1c78], rbx
mov qword [0x1800b1c80], rsi
mov qword [0x1800b1c88], r12
mov dword [0x1800b1b98], 4
call fcn.180023c10
mov rax, qword [rdi + 0x180]
sub rax, qword [rdi + 0x178]
sar rax, 3
cmp rax, 1
ja 0x1800215f0
mov byte [rdi + 0x50], r12b
jmp 0x1800215f8
add qword [rdi + 0x180], 0xfffffffffffffff8
cmp byte [rdi + 0x50], r12b
je 0x180021e37
mov rax, qword [rdi + 0x180]
cmp qword [rdi + 0x178], rax
je 0x180021e37
mov rsi, qword [rax - 8]
mov eax, dword [r15]
cmp dword [0x1800c9708], eax
jle 0x180021659
lea rcx, [0x1800c9708]
call fcn.18005ea14
cmp dword [0x1800c9708], 0xffffffff
jne 0x180021659
lea rcx, [0x1800c9710]
call fcn.1800029b0
lea rcx, [0x1800c9708]
mov qword [0x1800c9718], r12
call fcn.18005e9a8
movsxd rax, dword [rdi + 0x74]
imul rcx, rax, 0xf4240
mov qword [0x1800c9718], rcx
cmp byte [rdi + 0x152], r12b
je 0x1800216a6
mov rax, qword [rsi]
mov rcx, rsi
call qword [rax + 0x30]
test rax, rax
je 0x1800216a6
lea rcx, [rbp + 0x30]
call fcn.1800029b0
mov rcx, qword [rbp + 0x30]
mov rax, rcx
sub rax, qword [0x1800c9710]
cmp rax, qword [0x1800c9718]
jge 0x180021729
mov qword [rbp + 0x30], r12
mov dword [rbp + 0x30], 0xc9
mov rax, qword [rbp + 0x30]
mov qword [0x1800b1c78], rax
mov dword [0x1800b1ba8], r12d
mov qword [0x1800c9248], r13
mov qword [0x1800b1c70], r12
mov dword [0x1800b1b98], 2
call fcn.180023c10
cmp dword [rax], r12d
je 0x1800217b2
cmp byte [rdi + 0x69], r12b
je 0x1800217b2
mov rax, qword [rsi]
mov rcx, rsi
call qword [rax + 0x30]
test rax, rax
je 0x1800217b2
lea rcx, [rbp + 0x30]
call fcn.1800029b0
mov rcx, qword [rbp + 0x30]
mov rax, rcx
sub rax, qword [0x1800c9710]
cmp rax, qword [0x1800c9718]
jl 0x1800217b2
mov qword [0x1800c9710], rcx
cmp byte [rdi + 0x68], r12b
je 0x18002178c
mov qword [rbp + 0x30], r12
mov dword [rbp + 0x30], 0xffffffff
mov rax, qword [rbp + 0x30]
mov qword [0x1800b1c70], rax
lea rax, str.SELECT
mov qword [0x1800b1c78], rax
lea rax, str.HUD_FRONTEND_DEFAULT_SOUNDSET
mov qword [0x1800b1c80], rax
mov dword [0x1800b1ba8], r12d
mov qword [0x1800c9248], r14
mov qword [0x1800b1c88], r12
mov dword [0x1800b1b98], 4
call fcn.180023c10
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 0x1800217b2
mov r8, qword [rax]
mov edx, 2
mov rcx, rax
call qword [r8 + 0x20]
mov eax, dword [r15]
cmp dword [0x1800c9720], eax
jle 0x1800217f1
lea rcx, [0x1800c9720]
call fcn.18005ea14
cmp dword [0x1800c9720], 0xffffffff
jne 0x1800217f1
lea rcx, [0x1800c9728]
call fcn.1800029b0
lea rcx, [0x1800c9720]
mov qword [0x1800c9730], r12
call fcn.18005e9a8
movsxd rax, dword [rdi + 0x78]
lea r14, str.NAV_UP_DOWN
imul rcx, rax, 0xf4240
mov qword [0x1800c9730], rcx
cmp byte [rdi + 0x153], r12b
je 0x180021845
mov rax, qword [rsi]
mov rcx, rsi
call qword [rax + 0x30]
test rax, rax
je 0x180021845
lea rcx, [rbp + 0x30]
call fcn.1800029b0
mov rcx, qword [rbp + 0x30]
mov rax, rcx
sub rax, qword [0x1800c9728]
cmp rax, qword [0x1800c9730]
jge 0x1800218c8
mov qword [rbp + 0x30], r12
mov dword [rbp + 0x30], 0xbc
mov rax, qword [rbp + 0x30]
mov qword [0x1800b1c78], rax
mov dword [0x1800b1ba8], r12d
mov qword [0x1800c9248], r13
mov qword [0x1800b1c70], r12
mov dword [0x1800b1b98], 2
call fcn.180023c10
cmp dword [rax], r12d
je 0x180021954
cmp byte [rdi + 0x69], r12b
je 0x180021954
mov rax, qword [rsi]
mov rcx, rsi
call qword [rax + 0x30]
test rax, rax
je 0x180021954
lea rcx, [rbp + 0x30]
call fcn.1800029b0
mov rcx, qword [rbp + 0x30]
mov rax, rcx
sub rax, qword [0x1800c9728]
cmp rax, qword [0x1800c9730]
jl 0x180021954
mov qword [0x1800c9728], rcx
cmp byte [rdi + 0x68], r12b
je 0x18002192e
movabs rax, 0x67c540aa08e4a6f5
mov qword [rbp + 0x30], r12
mov qword [0x1800c9248], rax
mov dword [rbp + 0x30], 0xffffffff
mov rax, qword [rbp + 0x30]
mov qword [0x1800b1c70], rax
lea rax, str.HUD_FRONTEND_DEFAULT_SOUNDSET
mov qword [0x1800b1c80], rax
mov dword [0x1800b1ba8], r12d
mov qword [0x1800b1c78], r14
mov qword [0x1800b1c88], r12
mov dword [0x1800b1b98], 4
call fcn.180023c10
mov rax, qword [rsi]
mov rcx, rsi
call qword [rax + 0x38]
mov rbx, qword [rsi]
mov rcx, rsi
test rax, rax
je 0x180021947
call qword [rbx + 0x38]
jmp 0x18002194a
call qword [rbx + 0x30]
lea rdx, [rax - 1]
mov rcx, rsi
call qword [rbx + 0x40]
mov eax, dword [r15]
cmp dword [0x1800c9738], eax
jle 0x180021993
lea rcx, [0x1800c9738]
call fcn.18005ea14
cmp dword [0x1800c9738], 0xffffffff
jne 0x180021993
lea rcx, [0x1800c9740]
call fcn.1800029b0
lea rcx, [0x1800c9738]
mov qword [0x1800c9748], r12
call fcn.18005e9a8
movsxd rax, dword [rdi + 0x78]
imul rcx, rax, 0xf4240
mov qword [0x1800c9748], rcx
cmp byte [rdi + 0x154], r12b
je 0x1800219e0
mov rax, qword [rsi]
mov rcx, rsi
call qword [rax + 0x30]
test rax, rax
je 0x1800219e0
lea rcx, [rbp + 0x30]
call fcn.1800029b0
mov rcx, qword [rbp + 0x30]
mov rax, rcx
sub rax, qword [0x1800c9740]
cmp rax, qword [0x1800c9748]
jge 0x180021a63
mov qword [rbp + 0x30], r12
mov dword [rbp + 0x30], 0xbb
mov rax, qword [rbp + 0x30]
mov qword [0x1800b1c78], rax
mov dword [0x1800b1ba8], r12d
mov qword [0x1800c9248], r13
mov qword [0x1800b1c70], r12
mov dword [0x1800b1b98], 2
call fcn.180023c10
cmp dword [rax], r12d
je 0x180021afd
cmp byte [rdi + 0x69], r12b
je 0x180021afd
mov rax, qword [rsi]
mov rcx, rsi
call qword [rax + 0x30]
test rax, rax
je 0x180021afd
lea rcx, [rbp + 0x30]
call fcn.1800029b0
mov rcx, qword [rbp + 0x30]
mov rax, rcx
sub rax, qword [0x1800c9740]
cmp rax, qword [0x1800c9748]
jl 0x180021afd
mov qword [0x1800c9740], rcx
cmp byte [rdi + 0x68], r12b
je 0x180021ac9
movabs rax, 0x67c540aa08e4a6f5
mov qword [rbp + 0x30], r12
mov qword [0x1800c9248], rax
mov dword [rbp + 0x30], 0xffffffff
mov rax, qword [rbp + 0x30]
mov qword [0x1800b1c70], rax
lea rax, str.HUD_FRONTEND_DEFAULT_SOUNDSET
mov qword [0x1800b1c80], rax
mov dword [0x1800b1ba8], r12d
mov qword [0x1800b1c78], r14
mov qword [0x1800b1c88], r12
mov dword [0x1800b1b98], 4
call fcn.180023c10
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 0x180021af7
call qword [r14 + 0x38]
mov rcx, rsi
lea rdx, [rax + 1]
jmp 0x180021af9
xor edx, edx
call qword [r14 + 0x40]
mov eax, dword [r15]
cmp dword [0x1800c9750], eax
jle 0x180021b3c
lea rcx, [0x1800c9750]
call fcn.18005ea14
cmp dword [0x1800c9750], 0xffffffff
jne 0x180021b3c
lea rcx, [0x1800c9758]
call fcn.1800029b0
lea rcx, [0x1800c9750]
mov qword [0x1800c9760], r12
call fcn.18005e9a8
movsxd rax, dword [rdi + 0x7c]
lea r14, str.NAV_LEFT_RIGHT
imul rcx, rax, 0xf4240
mov qword [0x1800c9760], rcx
cmp byte [rdi + 0x155], r12b
je 0x180021b90
mov rax, qword [rsi]
mov rcx, rsi
call qword [rax + 0x30]
test rax, rax
je 0x180021b90
lea rcx, [rbp + 0x30]
call fcn.1800029b0
mov rcx, qword [rbp + 0x30]
mov rax, rcx
sub rax, qword [0x1800c9758]
cmp rax, qword [0x1800c9760]
jge 0x180021c13
mov qword [rbp + 0x30], r12
mov dword [rbp + 0x30], 0xae
mov rax, qword [rbp + 0x30]
mov qword [0x1800b1c78], rax
mov dword [0x1800b1ba8], r12d
mov qword [0x1800c9248], r13
mov qword [0x1800b1c70], r12
mov dword [0x1800b1b98], 2
call fcn.180023c10
cmp dword [rax], r12d
je 0x180021c9c
cmp byte [rdi + 0x69], r12b
je 0x180021c9c
mov rax, qword [rsi]
mov rcx, rsi
call qword [rax + 0x30]
test rax, rax
je 0x180021c9c
lea rcx, [rbp + 0x30]
call fcn.1800029b0
mov rcx, qword [rbp + 0x30]
mov rax, rcx
sub rax, qword [0x1800c9758]
cmp rax, qword [0x1800c9760]
jl 0x180021c9c
mov qword [0x1800c9758], rcx
cmp byte [rdi + 0x68], r12b
je 0x180021c79
movabs rax, 0x67c540aa08e4a6f5
mov qword [rbp + 0x30], r12
mov qword [0x1800c9248], rax
mov dword [rbp + 0x30], 0xffffffff
mov rax, qword [rbp + 0x30]
mov qword [0x1800b1c70], rax
lea rax, str.HUD_FRONTEND_DEFAULT_SOUNDSET
mov qword [0x1800b1c80], rax
mov dword [0x1800b1ba8], r12d
mov qword [0x1800b1c78], r14
mov qword [0x1800b1c88], r12
mov dword [0x1800b1b98], 4
call fcn.180023c10
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 0x180021c9c
mov r8, qword [rax]
xor edx, edx
mov rcx, rax
call qword [r8 + 0x20]
mov eax, dword [r15]
cmp dword [0x1800c9768], eax
jle 0x180021cdb
lea rcx, [0x1800c9768]
call fcn.18005ea14
cmp dword [0x1800c9768], 0xffffffff
jne 0x180021cdb
lea rcx, [0x1800c9770]
call fcn.1800029b0
lea rcx, [0x1800c9768]
mov qword [0x1800c9778], r12
call fcn.18005e9a8
movsxd rax, dword [rdi + 0x7c]
imul rcx, rax, 0xf4240
mov qword [0x1800c9778], rcx
cmp byte [rdi + 0x156], r12b
je 0x180021d28
mov rax, qword [rsi]
mov rcx, rsi
call qword [rax + 0x30]
test rax, rax
je 0x180021d28
lea rcx, [rbp + 0x30]
call fcn.1800029b0
mov rcx, qword [rbp + 0x30]
mov rax, rcx
sub rax, qword [0x1800c9770]
cmp rax, qword [0x1800c9778]
jge 0x180021dab
mov qword [rbp + 0x30], r12
mov dword [rbp + 0x30], 0xaf
mov rax, qword [rbp + 0x30]
mov qword [0x1800b1c78], rax
mov dword [0x1800b1ba8], r12d
mov qword [0x1800c9248], r13
mov qword [0x1800b1c70], r12
mov dword [0x1800b1b98], 2
call fcn.180023c10
cmp dword [rax], r12d
je 0x180021e37
cmp byte [rdi + 0x69], r12b
je 0x180021e37
mov rax, qword [rsi]
mov rcx, rsi
call qword [rax + 0x30]
test rax, rax
je 0x180021e37
lea rcx, [rbp + 0x30]
call fcn.1800029b0
mov rcx, qword [rbp + 0x30]
mov rax, rcx
sub rax, qword [0x1800c9770]
cmp rax, qword [0x1800c9778]
jl 0x180021e37
mov qword [0x1800c9770], rcx
cmp byte [rdi + 0x68], r12b
je 0x180021e11
movabs rax, 0x67c540aa08e4a6f5
mov qword [rbp + 0x30], r12
mov qword [0x1800c9248], rax
mov dword [rbp + 0x30], 0xffffffff
mov rax, qword [rbp + 0x30]
mov qword [0x1800b1c70], rax
lea rax, str.HUD_FRONTEND_DEFAULT_SOUNDSET
mov qword [0x1800b1c80], rax
mov dword [0x1800b1ba8], r12d
mov qword [0x1800b1c78], r14
mov qword [0x1800b1c88], r12
mov dword [0x1800b1b98], 4
call fcn.180023c10
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 0x180021e37
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