Function at 0x18002e610
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 0x18002e9fa
cmp byte [rcx + 0x69], r12b
je 0x18002e9fa
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 [0x18011c540], rax
mov dword [rbp + 0x30], 1
mov rax, qword [rbp + 0x30]
mov qword [0x18011c550], rax
mov dword [0x18011c478], r12d
mov qword [0x180145148], rbx
mov qword [0x18011c548], r12
mov dword [0x18011c468], 3
call fcn.180030b20
mov qword [rbp + 0x30], r12
mov dword [rbp + 0x30], 2
mov rax, qword [rbp + 0x30]
mov qword [rbp + 0x30], r12
mov qword [0x18011c540], rax
mov dword [rbp + 0x30], 0x13
mov rax, qword [rbp + 0x30]
mov qword [rbp + 0x30], r12
mov qword [0x18011c548], rax
mov dword [rbp + 0x30], 1
mov rax, qword [rbp + 0x30]
mov qword [0x18011c550], rax
mov dword [0x18011c478], r12d
mov qword [0x180145148], rbx
mov dword [0x18011c468], 3
call fcn.180030b20
mov qword [rbp + 0x30], r12
mov dword [rbp + 0x30], 2
mov rax, qword [rbp + 0x30]
mov qword [rbp + 0x30], r12
mov qword [0x18011c540], rax
mov dword [rbp + 0x30], 0x8c
mov rax, qword [rbp + 0x30]
mov qword [rbp + 0x30], r12
mov qword [0x18011c548], rax
mov dword [rbp + 0x30], 1
mov rax, qword [rbp + 0x30]
mov qword [0x18011c550], rax
mov dword [0x18011c478], r12d
mov qword [0x180145148], rbx
mov dword [0x18011c468], 3
call fcn.180030b20
mov qword [rbp + 0x30], r12
mov dword [rbp + 0x30], 2
mov rax, qword [rbp + 0x30]
mov qword [rbp + 0x30], r12
mov qword [0x18011c540], rax
mov dword [rbp + 0x30], 0x14
mov rax, qword [rbp + 0x30]
mov qword [rbp + 0x30], r12
mov qword [0x18011c548], rax
mov dword [rbp + 0x30], 1
mov rax, qword [rbp + 0x30]
mov qword [0x18011c550], rax
mov dword [0x18011c478], r12d
mov qword [0x180145148], rbx
mov dword [0x18011c468], 3
call fcn.180030b20
mov qword [rbp + 0x30], r12
mov dword [rbp + 0x30], 2
mov rax, qword [rbp + 0x30]
mov qword [rbp + 0x30], r12
mov qword [0x18011c540], rax
mov dword [rbp + 0x30], 0x1b
mov rax, qword [rbp + 0x30]
mov qword [rbp + 0x30], r12
mov qword [0x18011c548], rax
mov dword [rbp + 0x30], 1
mov rax, qword [rbp + 0x30]
mov qword [0x18011c550], rax
mov dword [0x18011c478], r12d
mov qword [0x180145148], rbx
mov dword [0x18011c468], 3
call fcn.180030b20
mov dword [0x18011c478], r12d
mov qword [0x180145148], rbx
mov qword [rbp + 0x30], r12
mov dword [rbp + 0x30], 2
mov rax, qword [rbp + 0x30]
mov qword [rbp + 0x30], r12
mov qword [0x18011c540], rax
mov dword [rbp + 0x30], 0x50
mov rax, qword [rbp + 0x30]
mov qword [rbp + 0x30], r12
mov qword [0x18011c548], rax
mov dword [rbp + 0x30], 1
mov rax, qword [rbp + 0x30]
mov qword [0x18011c550], rax
mov dword [0x18011c468], 3
call fcn.180030b20
mov qword [rbp + 0x30], r12
mov dword [rbp + 0x30], 2
mov rax, qword [rbp + 0x30]
mov qword [rbp + 0x30], r12
mov qword [0x18011c540], rax
mov dword [rbp + 0x30], 0x151
mov rax, qword [rbp + 0x30]
mov qword [rbp + 0x30], r12
mov qword [0x18011c548], rax
mov dword [rbp + 0x30], 1
mov rax, qword [rbp + 0x30]
mov qword [0x18011c550], rax
mov dword [0x18011c478], r12d
mov qword [0x180145148], rbx
mov dword [0x18011c468], 3
call fcn.180030b20
mov qword [rbp + 0x30], r12
mov dword [rbp + 0x30], 2
mov rax, qword [rbp + 0x30]
mov qword [rbp + 0x30], r12
mov qword [0x18011c540], rax
mov dword [rbp + 0x30], 0x1b
mov rax, qword [rbp + 0x30]
mov qword [rbp + 0x30], r12
mov qword [0x18011c548], rax
mov dword [rbp + 0x30], 1
mov rax, qword [rbp + 0x30]
mov qword [0x18011c550], rax
mov dword [0x18011c478], r12d
mov qword [0x180145148], rbx
mov dword [0x18011c468], 3
call fcn.180030b20
mov qword [rbp + 0x30], r12
mov dword [rbp + 0x30], 2
mov rax, qword [rbp + 0x30]
mov qword [rbp + 0x30], r12
mov qword [0x18011c540], rax
mov dword [rbp + 0x30], 0x55
mov rax, qword [rbp + 0x30]
mov qword [rbp + 0x30], r12
mov qword [0x18011c548], rax
mov dword [rbp + 0x30], 1
mov rax, qword [rbp + 0x30]
mov qword [0x18011c550], rax
mov dword [0x18011c478], r12d
mov qword [0x180145148], rbx
mov dword [0x18011c468], 3
call fcn.180030b20
mov qword [rbp + 0x30], r12
mov dword [rbp + 0x30], 2
mov rax, qword [rbp + 0x30]
mov qword [rbp + 0x30], r12
mov qword [0x18011c540], rax
mov dword [rbp + 0x30], 0x4a
mov rax, qword [rbp + 0x30]
mov qword [rbp + 0x30], r12
mov qword [0x18011c548], rax
mov dword [rbp + 0x30], 1
mov rax, qword [rbp + 0x30]
mov qword [0x18011c550], rax
mov dword [0x18011c478], r12d
mov qword [0x180145148], rbx
mov dword [0x18011c468], 3
call fcn.180030b20
mov rax, qword gs:[0x58]
mov ecx, dword [0x1801424b4]
mov edx, 4
mov r15, qword [rax + rcx*8]
add r15, rdx
mov eax, dword [r15]
cmp dword [0x180145878], eax
jle 0x18002ea4d
lea rcx, [0x180145878]
call fcn.1800aa618
cmp dword [0x180145878], 0xffffffff
jne 0x18002ea4d
call qword [sym.imp.KERNEL32.dll_GetTickCount]
lea rcx, [0x180145878]
mov dword [0x18014587c], eax
call fcn.1800aa5ac
lea rbx, str.BACK
movabs r14, 0x67c540aa08e4a6f5
lea rsi, str.HUD_FRONTEND_DEFAULT_SOUNDSET
movabs r13, 0xe2587f8cbbd87b1d
cmp byte [rdi + 0x150], r12b
je 0x18002ea8d
call qword [sym.imp.KERNEL32.dll_GetTickCount]
sub eax, dword [0x18014587c]
cmp eax, dword [rdi + 0x6c]
jae 0x18002eb2e
mov qword [rbp + 0x30], r12
mov dword [rbp + 0x30], 0xe3
mov rax, qword [rbp + 0x30]
mov qword [0x18011c548], rax
mov dword [0x18011c478], r12d
mov qword [0x180145148], r13
mov qword [0x18011c540], r12
mov dword [0x18011c468], 2
call fcn.180030b20
cmp dword [rax], r12d
je 0x18002eba2
mov qword [rbp + 0x30], r12
mov dword [rbp + 0x30], 0xaf
mov rax, qword [rbp + 0x30]
mov qword [0x18011c548], rax
mov dword [0x18011c478], r12d
mov qword [0x180145148], r13
mov qword [0x18011c540], r12
mov dword [0x18011c468], 2
call fcn.180030b20
cmp dword [rax], r12d
je 0x18002eba2
cmp byte [rdi + 0x69], r12b
je 0x18002eba2
call qword [sym.imp.KERNEL32.dll_GetTickCount]
sub eax, dword [0x18014587c]
cmp eax, dword [rdi + 0x6c]
jb 0x18002eba2
call qword [sym.imp.KERNEL32.dll_GetTickCount]
movzx ecx, byte [rdi + 0x50]
xor cl, 1
mov dword [0x18014587c], eax
mov byte [rdi + 0x50], cl
cmp byte [rdi + 0x68], r12b
je 0x18002eba2
test cl, cl
mov qword [rbp + 0x30], r12
lea rcx, str.SELECT
mov dword [rbp + 0x30], 0xffffffff
mov rax, qword [rbp + 0x30]
mov qword [0x18011c540], rax
mov rax, rbx
cmovne rax, rcx
mov dword [0x18011c478], r12d
mov qword [0x18011c548], rax
mov qword [0x180145148], r14
mov qword [0x18011c550], rsi
mov qword [0x18011c558], r12
mov dword [0x18011c468], 4
call fcn.180030b20
mov eax, dword [r15]
cmp dword [0x180145880], eax
jle 0x18002ebe1
lea rcx, [0x180145880]
call fcn.1800aa618
cmp dword [0x180145880], 0xffffffff
jne 0x18002ebe1
lea rcx, [0x180145888]
call fcn.180002d60
lea rcx, [0x180145880]
mov qword [0x180145890], r12
call fcn.1800aa5ac
movsxd rax, dword [rdi + 0x70]
imul rcx, rax, 0xf4240
mov qword [0x180145890], rcx
cmp byte [rdi + 0x50], r12b
je 0x18002f557
cmp byte [rdi + 0x151], r12b
je 0x18002ec26
lea rcx, [rbp + 0x30]
call fcn.180002d60
mov rcx, qword [rbp + 0x30]
mov rax, rcx
sub rax, qword [0x180145888]
cmp rax, qword [0x180145890]
jge 0x18002ec9d
cmp byte [rdi + 0x50], r12b
je 0x18002f557
mov qword [rbp + 0x30], r12
mov dword [rbp + 0x30], 0xca
mov rax, qword [rbp + 0x30]
mov qword [0x18011c548], rax
mov dword [0x18011c478], r12d
mov qword [0x180145148], r13
mov qword [0x18011c540], r12
mov dword [0x18011c468], 2
call fcn.180030b20
cmp dword [rax], r12d
je 0x18002ed18
cmp byte [rdi + 0x69], r12b
je 0x18002ed18
lea rcx, [rbp + 0x30]
call fcn.180002d60
mov rcx, qword [rbp + 0x30]
mov rax, rcx
sub rax, qword [0x180145888]
cmp rax, qword [0x180145890]
jl 0x18002ed18
mov qword [0x180145888], rcx
cmp byte [rdi + 0x68], r12b
je 0x18002ecf2
mov qword [rbp + 0x30], r12
mov dword [rbp + 0x30], 0xffffffff
mov rax, qword [rbp + 0x30]
mov qword [0x18011c540], rax
mov dword [0x18011c478], r12d
mov qword [0x180145148], r14
mov qword [0x18011c548], rbx
mov qword [0x18011c550], rsi
mov qword [0x18011c558], r12
mov dword [0x18011c468], 4
call fcn.180030b20
mov rax, qword [rdi + 0x180]
sub rax, qword [rdi + 0x178]
sar rax, 3
cmp rax, 1
ja 0x18002ed10
mov byte [rdi + 0x50], r12b
jmp 0x18002ed18
add qword [rdi + 0x180], 0xfffffffffffffff8
cmp byte [rdi + 0x50], r12b
je 0x18002f557
mov rax, qword [rdi + 0x180]
cmp qword [rdi + 0x178], rax
je 0x18002f557
mov rsi, qword [rax - 8]
mov eax, dword [r15]
cmp dword [0x180145898], eax
jle 0x18002ed79
lea rcx, [0x180145898]
call fcn.1800aa618
cmp dword [0x180145898], 0xffffffff
jne 0x18002ed79
lea rcx, [0x1801458a0]
call fcn.180002d60
lea rcx, [0x180145898]
mov qword [0x1801458a8], r12
call fcn.1800aa5ac
movsxd rax, dword [rdi + 0x74]
imul rcx, rax, 0xf4240
mov qword [0x1801458a8], rcx
cmp byte [rdi + 0x152], r12b
je 0x18002edc6
mov rax, qword [rsi]
mov rcx, rsi
call qword [rax + 0x30]
test rax, rax
je 0x18002edc6
lea rcx, [rbp + 0x30]
call fcn.180002d60
mov rcx, qword [rbp + 0x30]
mov rax, rcx
sub rax, qword [0x1801458a0]
cmp rax, qword [0x1801458a8]
jge 0x18002ee49
mov qword [rbp + 0x30], r12
mov dword [rbp + 0x30], 0xc9
mov rax, qword [rbp + 0x30]
mov qword [0x18011c548], rax
mov dword [0x18011c478], r12d
mov qword [0x180145148], r13
mov qword [0x18011c540], r12
mov dword [0x18011c468], 2
call fcn.180030b20
cmp dword [rax], r12d
je 0x18002eed2
cmp byte [rdi + 0x69], r12b
je 0x18002eed2
mov rax, qword [rsi]
mov rcx, rsi
call qword [rax + 0x30]
test rax, rax
je 0x18002eed2
lea rcx, [rbp + 0x30]
call fcn.180002d60
mov rcx, qword [rbp + 0x30]
mov rax, rcx
sub rax, qword [0x1801458a0]
cmp rax, qword [0x1801458a8]
jl 0x18002eed2
mov qword [0x1801458a0], rcx
cmp byte [rdi + 0x68], r12b
je 0x18002eeac
mov qword [rbp + 0x30], r12
mov dword [rbp + 0x30], 0xffffffff
mov rax, qword [rbp + 0x30]
mov qword [0x18011c540], rax
lea rax, str.SELECT
mov qword [0x18011c548], rax
lea rax, str.HUD_FRONTEND_DEFAULT_SOUNDSET
mov qword [0x18011c550], rax
mov dword [0x18011c478], r12d
mov qword [0x180145148], r14
mov qword [0x18011c558], r12
mov dword [0x18011c468], 4
call fcn.180030b20
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 0x18002eed2
mov r8, qword [rax]
mov edx, 2
mov rcx, rax
call qword [r8 + 0x20]
mov eax, dword [r15]
cmp dword [0x1801458b0], eax
jle 0x18002ef11
lea rcx, [0x1801458b0]
call fcn.1800aa618
cmp dword [0x1801458b0], 0xffffffff
jne 0x18002ef11
lea rcx, [0x1801458b8]
call fcn.180002d60
lea rcx, [0x1801458b0]
mov qword [0x1801458c0], r12
call fcn.1800aa5ac
movsxd rax, dword [rdi + 0x78]
lea r14, str.NAV_UP_DOWN
imul rcx, rax, 0xf4240
mov qword [0x1801458c0], rcx
cmp byte [rdi + 0x153], r12b
je 0x18002ef65
mov rax, qword [rsi]
mov rcx, rsi
call qword [rax + 0x30]
test rax, rax
je 0x18002ef65
lea rcx, [rbp + 0x30]
call fcn.180002d60
mov rcx, qword [rbp + 0x30]
mov rax, rcx
sub rax, qword [0x1801458b8]
cmp rax, qword [0x1801458c0]
jge 0x18002efe8
mov qword [rbp + 0x30], r12
mov dword [rbp + 0x30], 0xbc
mov rax, qword [rbp + 0x30]
mov qword [0x18011c548], rax
mov dword [0x18011c478], r12d
mov qword [0x180145148], r13
mov qword [0x18011c540], r12
mov dword [0x18011c468], 2
call fcn.180030b20
cmp dword [rax], r12d
je 0x18002f074
cmp byte [rdi + 0x69], r12b
je 0x18002f074
mov rax, qword [rsi]
mov rcx, rsi
call qword [rax + 0x30]
test rax, rax
je 0x18002f074
lea rcx, [rbp + 0x30]
call fcn.180002d60
mov rcx, qword [rbp + 0x30]
mov rax, rcx
sub rax, qword [0x1801458b8]
cmp rax, qword [0x1801458c0]
jl 0x18002f074
mov qword [0x1801458b8], rcx
cmp byte [rdi + 0x68], r12b
je 0x18002f04e
movabs rax, 0x67c540aa08e4a6f5
mov qword [rbp + 0x30], r12
mov qword [0x180145148], rax
mov dword [rbp + 0x30], 0xffffffff
mov rax, qword [rbp + 0x30]
mov qword [0x18011c540], rax
lea rax, str.HUD_FRONTEND_DEFAULT_SOUNDSET
mov qword [0x18011c550], rax
mov dword [0x18011c478], r12d
mov qword [0x18011c548], r14
mov qword [0x18011c558], r12
mov dword [0x18011c468], 4
call fcn.180030b20
mov rax, qword [rsi]
mov rcx, rsi
call qword [rax + 0x38]
mov rbx, qword [rsi]
mov rcx, rsi
test rax, rax
je 0x18002f067
call qword [rbx + 0x38]
jmp 0x18002f06a
call qword [rbx + 0x30]
lea rdx, [rax - 1]
mov rcx, rsi
call qword [rbx + 0x40]
mov eax, dword [r15]
cmp dword [0x1801458c8], eax
jle 0x18002f0b3
lea rcx, [0x1801458c8]
call fcn.1800aa618
cmp dword [0x1801458c8], 0xffffffff
jne 0x18002f0b3
lea rcx, [0x1801458d0]
call fcn.180002d60
lea rcx, [0x1801458c8]
mov qword [0x1801458d8], r12
call fcn.1800aa5ac
movsxd rax, dword [rdi + 0x78]
imul rcx, rax, 0xf4240
mov qword [0x1801458d8], rcx
cmp byte [rdi + 0x154], r12b
je 0x18002f100
mov rax, qword [rsi]
mov rcx, rsi
call qword [rax + 0x30]
test rax, rax
je 0x18002f100
lea rcx, [rbp + 0x30]
call fcn.180002d60
mov rcx, qword [rbp + 0x30]
mov rax, rcx
sub rax, qword [0x1801458d0]
cmp rax, qword [0x1801458d8]
jge 0x18002f183
mov qword [rbp + 0x30], r12
mov dword [rbp + 0x30], 0xbb
mov rax, qword [rbp + 0x30]
mov qword [0x18011c548], rax
mov dword [0x18011c478], r12d
mov qword [0x180145148], r13
mov qword [0x18011c540], r12
mov dword [0x18011c468], 2
call fcn.180030b20
cmp dword [rax], r12d
je 0x18002f21d
cmp byte [rdi + 0x69], r12b
je 0x18002f21d
mov rax, qword [rsi]
mov rcx, rsi
call qword [rax + 0x30]
test rax, rax
je 0x18002f21d
lea rcx, [rbp + 0x30]
call fcn.180002d60
mov rcx, qword [rbp + 0x30]
mov rax, rcx
sub rax, qword [0x1801458d0]
cmp rax, qword [0x1801458d8]
jl 0x18002f21d
mov qword [0x1801458d0], rcx
cmp byte [rdi + 0x68], r12b
je 0x18002f1e9
movabs rax, 0x67c540aa08e4a6f5
mov qword [rbp + 0x30], r12
mov qword [0x180145148], rax
mov dword [rbp + 0x30], 0xffffffff
mov rax, qword [rbp + 0x30]
mov qword [0x18011c540], rax
lea rax, str.HUD_FRONTEND_DEFAULT_SOUNDSET
mov qword [0x18011c550], rax
mov dword [0x18011c478], r12d
mov qword [0x18011c548], r14
mov qword [0x18011c558], r12
mov dword [0x18011c468], 4
call fcn.180030b20
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 0x18002f217
call qword [r14 + 0x38]
mov rcx, rsi
lea rdx, [rax + 1]
jmp 0x18002f219
xor edx, edx
call qword [r14 + 0x40]
mov eax, dword [r15]
cmp dword [0x1801458e0], eax
jle 0x18002f25c
lea rcx, [0x1801458e0]
call fcn.1800aa618
cmp dword [0x1801458e0], 0xffffffff
jne 0x18002f25c
lea rcx, [0x1801458e8]
call fcn.180002d60
lea rcx, [0x1801458e0]
mov qword [0x1801458f0], r12
call fcn.1800aa5ac
movsxd rax, dword [rdi + 0x7c]
lea r14, str.NAV_LEFT_RIGHT
imul rcx, rax, 0xf4240
mov qword [0x1801458f0], rcx
cmp byte [rdi + 0x155], r12b
je 0x18002f2b0
mov rax, qword [rsi]
mov rcx, rsi
call qword [rax + 0x30]
test rax, rax
je 0x18002f2b0
lea rcx, [rbp + 0x30]
call fcn.180002d60
mov rcx, qword [rbp + 0x30]
mov rax, rcx
sub rax, qword [0x1801458e8]
cmp rax, qword [0x1801458f0]
jge 0x18002f333
mov qword [rbp + 0x30], r12
mov dword [rbp + 0x30], 0xae
mov rax, qword [rbp + 0x30]
mov qword [0x18011c548], rax
mov dword [0x18011c478], r12d
mov qword [0x180145148], r13
mov qword [0x18011c540], r12
mov dword [0x18011c468], 2
call fcn.180030b20
cmp dword [rax], r12d
je 0x18002f3bc
cmp byte [rdi + 0x69], r12b
je 0x18002f3bc
mov rax, qword [rsi]
mov rcx, rsi
call qword [rax + 0x30]
test rax, rax
je 0x18002f3bc
lea rcx, [rbp + 0x30]
call fcn.180002d60
mov rcx, qword [rbp + 0x30]
mov rax, rcx
sub rax, qword [0x1801458e8]
cmp rax, qword [0x1801458f0]
jl 0x18002f3bc
mov qword [0x1801458e8], rcx
cmp byte [rdi + 0x68], r12b
je 0x18002f399
movabs rax, 0x67c540aa08e4a6f5
mov qword [rbp + 0x30], r12
mov qword [0x180145148], rax
mov dword [rbp + 0x30], 0xffffffff
mov rax, qword [rbp + 0x30]
mov qword [0x18011c540], rax
lea rax, str.HUD_FRONTEND_DEFAULT_SOUNDSET
mov qword [0x18011c550], rax
mov dword [0x18011c478], r12d
mov qword [0x18011c548], r14
mov qword [0x18011c558], r12
mov dword [0x18011c468], 4
call fcn.180030b20
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 0x18002f3bc
mov r8, qword [rax]
xor edx, edx
mov rcx, rax
call qword [r8 + 0x20]
mov eax, dword [r15]
cmp dword [0x1801458f8], eax
jle 0x18002f3fb
lea rcx, [0x1801458f8]
call fcn.1800aa618
cmp dword [0x1801458f8], 0xffffffff
jne 0x18002f3fb
lea rcx, [0x180145900]
call fcn.180002d60
lea rcx, [0x1801458f8]
mov qword [0x180145908], r12
call fcn.1800aa5ac
movsxd rax, dword [rdi + 0x7c]
imul rcx, rax, 0xf4240
mov qword [0x180145908], rcx
cmp byte [rdi + 0x156], r12b
je 0x18002f448
mov rax, qword [rsi]
mov rcx, rsi
call qword [rax + 0x30]
test rax, rax
je 0x18002f448
lea rcx, [rbp + 0x30]
call fcn.180002d60
mov rcx, qword [rbp + 0x30]
mov rax, rcx
sub rax, qword [0x180145900]
cmp rax, qword [0x180145908]
jge 0x18002f4cb
mov qword [rbp + 0x30], r12
mov dword [rbp + 0x30], 0xaf
mov rax, qword [rbp + 0x30]
mov qword [0x18011c548], rax
mov dword [0x18011c478], r12d
mov qword [0x180145148], r13
mov qword [0x18011c540], r12
mov dword [0x18011c468], 2
call fcn.180030b20
cmp dword [rax], r12d
je 0x18002f557
cmp byte [rdi + 0x69], r12b
je 0x18002f557
mov rax, qword [rsi]
mov rcx, rsi
call qword [rax + 0x30]
test rax, rax
je 0x18002f557
lea rcx, [rbp + 0x30]
call fcn.180002d60
mov rcx, qword [rbp + 0x30]
mov rax, rcx
sub rax, qword [0x180145900]
cmp rax, qword [0x180145908]
jl 0x18002f557
mov qword [0x180145900], rcx
cmp byte [rdi + 0x68], r12b
je 0x18002f531
movabs rax, 0x67c540aa08e4a6f5
mov qword [rbp + 0x30], r12
mov qword [0x180145148], rax
mov dword [rbp + 0x30], 0xffffffff
mov rax, qword [rbp + 0x30]
mov qword [0x18011c540], rax
lea rax, str.HUD_FRONTEND_DEFAULT_SOUNDSET
mov qword [0x18011c550], rax
mov dword [0x18011c478], r12d
mov qword [0x18011c548], r14
mov qword [0x18011c558], r12
mov dword [0x18011c468], 4
call fcn.180030b20
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 0x18002f557
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