Function at 0x18002f290
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 0x18002f67a
cmp byte [rcx + 0x69], r12b
je 0x18002f67a
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 [0x18011d540], rax
mov dword [rbp + 0x30], 1
mov rax, qword [rbp + 0x30]
mov qword [0x18011d550], rax
mov dword [0x18011d478], r12d
mov qword [0x180145da8], rbx
mov qword [0x18011d548], r12
mov dword [0x18011d468], 3
call fcn.1800320a0
mov qword [rbp + 0x30], r12
mov dword [rbp + 0x30], 2
mov rax, qword [rbp + 0x30]
mov qword [rbp + 0x30], r12
mov qword [0x18011d540], rax
mov dword [rbp + 0x30], 0x13
mov rax, qword [rbp + 0x30]
mov qword [rbp + 0x30], r12
mov qword [0x18011d548], rax
mov dword [rbp + 0x30], 1
mov rax, qword [rbp + 0x30]
mov qword [0x18011d550], rax
mov dword [0x18011d478], r12d
mov qword [0x180145da8], rbx
mov dword [0x18011d468], 3
call fcn.1800320a0
mov qword [rbp + 0x30], r12
mov dword [rbp + 0x30], 2
mov rax, qword [rbp + 0x30]
mov qword [rbp + 0x30], r12
mov qword [0x18011d540], rax
mov dword [rbp + 0x30], 0x8c
mov rax, qword [rbp + 0x30]
mov qword [rbp + 0x30], r12
mov qword [0x18011d548], rax
mov dword [rbp + 0x30], 1
mov rax, qword [rbp + 0x30]
mov qword [0x18011d550], rax
mov dword [0x18011d478], r12d
mov qword [0x180145da8], rbx
mov dword [0x18011d468], 3
call fcn.1800320a0
mov qword [rbp + 0x30], r12
mov dword [rbp + 0x30], 2
mov rax, qword [rbp + 0x30]
mov qword [rbp + 0x30], r12
mov qword [0x18011d540], rax
mov dword [rbp + 0x30], 0x14
mov rax, qword [rbp + 0x30]
mov qword [rbp + 0x30], r12
mov qword [0x18011d548], rax
mov dword [rbp + 0x30], 1
mov rax, qword [rbp + 0x30]
mov qword [0x18011d550], rax
mov dword [0x18011d478], r12d
mov qword [0x180145da8], rbx
mov dword [0x18011d468], 3
call fcn.1800320a0
mov qword [rbp + 0x30], r12
mov dword [rbp + 0x30], 2
mov rax, qword [rbp + 0x30]
mov qword [rbp + 0x30], r12
mov qword [0x18011d540], rax
mov dword [rbp + 0x30], 0x1b
mov rax, qword [rbp + 0x30]
mov qword [rbp + 0x30], r12
mov qword [0x18011d548], rax
mov dword [rbp + 0x30], 1
mov rax, qword [rbp + 0x30]
mov qword [0x18011d550], rax
mov dword [0x18011d478], r12d
mov qword [0x180145da8], rbx
mov dword [0x18011d468], 3
call fcn.1800320a0
mov dword [0x18011d478], r12d
mov qword [0x180145da8], rbx
mov qword [rbp + 0x30], r12
mov dword [rbp + 0x30], 2
mov rax, qword [rbp + 0x30]
mov qword [rbp + 0x30], r12
mov qword [0x18011d540], rax
mov dword [rbp + 0x30], 0x50
mov rax, qword [rbp + 0x30]
mov qword [rbp + 0x30], r12
mov qword [0x18011d548], rax
mov dword [rbp + 0x30], 1
mov rax, qword [rbp + 0x30]
mov qword [0x18011d550], rax
mov dword [0x18011d468], 3
call fcn.1800320a0
mov qword [rbp + 0x30], r12
mov dword [rbp + 0x30], 2
mov rax, qword [rbp + 0x30]
mov qword [rbp + 0x30], r12
mov qword [0x18011d540], rax
mov dword [rbp + 0x30], 0x151
mov rax, qword [rbp + 0x30]
mov qword [rbp + 0x30], r12
mov qword [0x18011d548], rax
mov dword [rbp + 0x30], 1
mov rax, qword [rbp + 0x30]
mov qword [0x18011d550], rax
mov dword [0x18011d478], r12d
mov qword [0x180145da8], rbx
mov dword [0x18011d468], 3
call fcn.1800320a0
mov qword [rbp + 0x30], r12
mov dword [rbp + 0x30], 2
mov rax, qword [rbp + 0x30]
mov qword [rbp + 0x30], r12
mov qword [0x18011d540], rax
mov dword [rbp + 0x30], 0x1b
mov rax, qword [rbp + 0x30]
mov qword [rbp + 0x30], r12
mov qword [0x18011d548], rax
mov dword [rbp + 0x30], 1
mov rax, qword [rbp + 0x30]
mov qword [0x18011d550], rax
mov dword [0x18011d478], r12d
mov qword [0x180145da8], rbx
mov dword [0x18011d468], 3
call fcn.1800320a0
mov qword [rbp + 0x30], r12
mov dword [rbp + 0x30], 2
mov rax, qword [rbp + 0x30]
mov qword [rbp + 0x30], r12
mov qword [0x18011d540], rax
mov dword [rbp + 0x30], 0x55
mov rax, qword [rbp + 0x30]
mov qword [rbp + 0x30], r12
mov qword [0x18011d548], rax
mov dword [rbp + 0x30], 1
mov rax, qword [rbp + 0x30]
mov qword [0x18011d550], rax
mov dword [0x18011d478], r12d
mov qword [0x180145da8], rbx
mov dword [0x18011d468], 3
call fcn.1800320a0
mov qword [rbp + 0x30], r12
mov dword [rbp + 0x30], 2
mov rax, qword [rbp + 0x30]
mov qword [rbp + 0x30], r12
mov qword [0x18011d540], rax
mov dword [rbp + 0x30], 0x4a
mov rax, qword [rbp + 0x30]
mov qword [rbp + 0x30], r12
mov qword [0x18011d548], rax
mov dword [rbp + 0x30], 1
mov rax, qword [rbp + 0x30]
mov qword [0x18011d550], rax
mov dword [0x18011d478], r12d
mov qword [0x180145da8], rbx
mov dword [0x18011d468], 3
call fcn.1800320a0
mov rax, qword gs:[0x58]
mov ecx, dword [0x180143004]
mov edx, 4
mov r15, qword [rax + rcx*8]
add r15, rdx
mov eax, dword [r15]
cmp dword [0x1801463d8], eax
jle 0x18002f6cd
lea rcx, [0x1801463d8]
call fcn.1800ab458
cmp dword [0x1801463d8], 0xffffffff
jne 0x18002f6cd
call qword [sym.imp.KERNEL32.dll_GetTickCount]
lea rcx, [0x1801463d8]
mov dword [0x1801463dc], eax
call fcn.1800ab3ec
lea rbx, str.BACK
movabs r14, 0x67c540aa08e4a6f5
lea rsi, str.HUD_FRONTEND_DEFAULT_SOUNDSET
movabs r13, 0xe2587f8cbbd87b1d
cmp byte [rdi + 0x154], r12b
je 0x18002f70d
call qword [sym.imp.KERNEL32.dll_GetTickCount]
sub eax, dword [0x1801463dc]
cmp eax, dword [rdi + 0x6c]
jae 0x18002f7ae
mov qword [rbp + 0x30], r12
mov dword [rbp + 0x30], 0xe3
mov rax, qword [rbp + 0x30]
mov qword [0x18011d548], rax
mov dword [0x18011d478], r12d
mov qword [0x180145da8], r13
mov qword [0x18011d540], r12
mov dword [0x18011d468], 2
call fcn.1800320a0
cmp dword [rax], r12d
je 0x18002f822
mov qword [rbp + 0x30], r12
mov dword [rbp + 0x30], 0xaf
mov rax, qword [rbp + 0x30]
mov qword [0x18011d548], rax
mov dword [0x18011d478], r12d
mov qword [0x180145da8], r13
mov qword [0x18011d540], r12
mov dword [0x18011d468], 2
call fcn.1800320a0
cmp dword [rax], r12d
je 0x18002f822
cmp byte [rdi + 0x69], r12b
je 0x18002f822
call qword [sym.imp.KERNEL32.dll_GetTickCount]
sub eax, dword [0x1801463dc]
cmp eax, dword [rdi + 0x6c]
jb 0x18002f822
call qword [sym.imp.KERNEL32.dll_GetTickCount]
movzx ecx, byte [rdi + 0x50]
xor cl, 1
mov dword [0x1801463dc], eax
mov byte [rdi + 0x50], cl
cmp byte [rdi + 0x68], r12b
je 0x18002f822
test cl, cl
mov qword [rbp + 0x30], r12
lea rcx, str.SELECT
mov dword [rbp + 0x30], 0xffffffff
mov rax, qword [rbp + 0x30]
mov qword [0x18011d540], rax
mov rax, rbx
cmovne rax, rcx
mov dword [0x18011d478], r12d
mov qword [0x18011d548], rax
mov qword [0x180145da8], r14
mov qword [0x18011d550], rsi
mov qword [0x18011d558], r12
mov dword [0x18011d468], 4
call fcn.1800320a0
mov eax, dword [r15]
cmp dword [0x1801463e0], eax
jle 0x18002f861
lea rcx, [0x1801463e0]
call fcn.1800ab458
cmp dword [0x1801463e0], 0xffffffff
jne 0x18002f861
lea rcx, [0x1801463e8]
call fcn.180002d60
lea rcx, [0x1801463e0]
mov qword [0x1801463f0], r12
call fcn.1800ab3ec
movsxd rax, dword [rdi + 0x70]
imul rcx, rax, 0xf4240
mov qword [0x1801463f0], rcx
cmp byte [rdi + 0x50], r12b
je 0x1800301d7
cmp byte [rdi + 0x155], r12b
je 0x18002f8a6
lea rcx, [rbp + 0x30]
call fcn.180002d60
mov rcx, qword [rbp + 0x30]
mov rax, rcx
sub rax, qword [0x1801463e8]
cmp rax, qword [0x1801463f0]
jge 0x18002f91d
cmp byte [rdi + 0x50], r12b
je 0x1800301d7
mov qword [rbp + 0x30], r12
mov dword [rbp + 0x30], 0xca
mov rax, qword [rbp + 0x30]
mov qword [0x18011d548], rax
mov dword [0x18011d478], r12d
mov qword [0x180145da8], r13
mov qword [0x18011d540], r12
mov dword [0x18011d468], 2
call fcn.1800320a0
cmp dword [rax], r12d
je 0x18002f998
cmp byte [rdi + 0x69], r12b
je 0x18002f998
lea rcx, [rbp + 0x30]
call fcn.180002d60
mov rcx, qword [rbp + 0x30]
mov rax, rcx
sub rax, qword [0x1801463e8]
cmp rax, qword [0x1801463f0]
jl 0x18002f998
mov qword [0x1801463e8], rcx
cmp byte [rdi + 0x68], r12b
je 0x18002f972
mov qword [rbp + 0x30], r12
mov dword [rbp + 0x30], 0xffffffff
mov rax, qword [rbp + 0x30]
mov qword [0x18011d540], rax
mov dword [0x18011d478], r12d
mov qword [0x180145da8], r14
mov qword [0x18011d548], rbx
mov qword [0x18011d550], rsi
mov qword [0x18011d558], r12
mov dword [0x18011d468], 4
call fcn.1800320a0
mov rax, qword [rdi + 0x180]
sub rax, qword [rdi + 0x178]
sar rax, 3
cmp rax, 1
ja 0x18002f990
mov byte [rdi + 0x50], r12b
jmp 0x18002f998
add qword [rdi + 0x180], 0xfffffffffffffff8
cmp byte [rdi + 0x50], r12b
je 0x1800301d7
mov rax, qword [rdi + 0x180]
cmp qword [rdi + 0x178], rax
je 0x1800301d7
mov rsi, qword [rax - 8]
mov eax, dword [r15]
cmp dword [0x1801463f8], eax
jle 0x18002f9f9
lea rcx, [0x1801463f8]
call fcn.1800ab458
cmp dword [0x1801463f8], 0xffffffff
jne 0x18002f9f9
lea rcx, [0x180146400]
call fcn.180002d60
lea rcx, [0x1801463f8]
mov qword [0x180146408], r12
call fcn.1800ab3ec
movsxd rax, dword [rdi + 0x74]
imul rcx, rax, 0xf4240
mov qword [0x180146408], rcx
cmp byte [rdi + 0x156], r12b
je 0x18002fa46
mov rax, qword [rsi]
mov rcx, rsi
call qword [rax + 0x30]
test rax, rax
je 0x18002fa46
lea rcx, [rbp + 0x30]
call fcn.180002d60
mov rcx, qword [rbp + 0x30]
mov rax, rcx
sub rax, qword [0x180146400]
cmp rax, qword [0x180146408]
jge 0x18002fac9
mov qword [rbp + 0x30], r12
mov dword [rbp + 0x30], 0xc9
mov rax, qword [rbp + 0x30]
mov qword [0x18011d548], rax
mov dword [0x18011d478], r12d
mov qword [0x180145da8], r13
mov qword [0x18011d540], r12
mov dword [0x18011d468], 2
call fcn.1800320a0
cmp dword [rax], r12d
je 0x18002fb52
cmp byte [rdi + 0x69], r12b
je 0x18002fb52
mov rax, qword [rsi]
mov rcx, rsi
call qword [rax + 0x30]
test rax, rax
je 0x18002fb52
lea rcx, [rbp + 0x30]
call fcn.180002d60
mov rcx, qword [rbp + 0x30]
mov rax, rcx
sub rax, qword [0x180146400]
cmp rax, qword [0x180146408]
jl 0x18002fb52
mov qword [0x180146400], rcx
cmp byte [rdi + 0x68], r12b
je 0x18002fb2c
mov qword [rbp + 0x30], r12
mov dword [rbp + 0x30], 0xffffffff
mov rax, qword [rbp + 0x30]
mov qword [0x18011d540], rax
lea rax, str.SELECT
mov qword [0x18011d548], rax
lea rax, str.HUD_FRONTEND_DEFAULT_SOUNDSET
mov qword [0x18011d550], rax
mov dword [0x18011d478], r12d
mov qword [0x180145da8], r14
mov qword [0x18011d558], r12
mov dword [0x18011d468], 4
call fcn.1800320a0
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 0x18002fb52
mov r8, qword [rax]
mov edx, 2
mov rcx, rax
call qword [r8 + 0x20]
mov eax, dword [r15]
cmp dword [0x180146410], eax
jle 0x18002fb91
lea rcx, [0x180146410]
call fcn.1800ab458
cmp dword [0x180146410], 0xffffffff
jne 0x18002fb91
lea rcx, [0x180146418]
call fcn.180002d60
lea rcx, [0x180146410]
mov qword [0x180146420], r12
call fcn.1800ab3ec
movsxd rax, dword [rdi + 0x78]
lea r14, str.NAV_UP_DOWN
imul rcx, rax, 0xf4240
mov qword [0x180146420], rcx
cmp byte [rdi + 0x157], r12b
je 0x18002fbe5
mov rax, qword [rsi]
mov rcx, rsi
call qword [rax + 0x30]
test rax, rax
je 0x18002fbe5
lea rcx, [rbp + 0x30]
call fcn.180002d60
mov rcx, qword [rbp + 0x30]
mov rax, rcx
sub rax, qword [0x180146418]
cmp rax, qword [0x180146420]
jge 0x18002fc68
mov qword [rbp + 0x30], r12
mov dword [rbp + 0x30], 0xbc
mov rax, qword [rbp + 0x30]
mov qword [0x18011d548], rax
mov dword [0x18011d478], r12d
mov qword [0x180145da8], r13
mov qword [0x18011d540], r12
mov dword [0x18011d468], 2
call fcn.1800320a0
cmp dword [rax], r12d
je 0x18002fcf4
cmp byte [rdi + 0x69], r12b
je 0x18002fcf4
mov rax, qword [rsi]
mov rcx, rsi
call qword [rax + 0x30]
test rax, rax
je 0x18002fcf4
lea rcx, [rbp + 0x30]
call fcn.180002d60
mov rcx, qword [rbp + 0x30]
mov rax, rcx
sub rax, qword [0x180146418]
cmp rax, qword [0x180146420]
jl 0x18002fcf4
mov qword [0x180146418], rcx
cmp byte [rdi + 0x68], r12b
je 0x18002fcce
movabs rax, 0x67c540aa08e4a6f5
mov qword [rbp + 0x30], r12
mov qword [0x180145da8], rax
mov dword [rbp + 0x30], 0xffffffff
mov rax, qword [rbp + 0x30]
mov qword [0x18011d540], rax
lea rax, str.HUD_FRONTEND_DEFAULT_SOUNDSET
mov qword [0x18011d550], rax
mov dword [0x18011d478], r12d
mov qword [0x18011d548], r14
mov qword [0x18011d558], r12
mov dword [0x18011d468], 4
call fcn.1800320a0
mov rax, qword [rsi]
mov rcx, rsi
call qword [rax + 0x38]
mov rbx, qword [rsi]
mov rcx, rsi
test rax, rax
je 0x18002fce7
call qword [rbx + 0x38]
jmp 0x18002fcea
call qword [rbx + 0x30]
lea rdx, [rax - 1]
mov rcx, rsi
call qword [rbx + 0x40]
mov eax, dword [r15]
cmp dword [0x180146428], eax
jle 0x18002fd33
lea rcx, [0x180146428]
call fcn.1800ab458
cmp dword [0x180146428], 0xffffffff
jne 0x18002fd33
lea rcx, [0x180146430]
call fcn.180002d60
lea rcx, [0x180146428]
mov qword [0x180146438], r12
call fcn.1800ab3ec
movsxd rax, dword [rdi + 0x78]
imul rcx, rax, 0xf4240
mov qword [0x180146438], rcx
cmp byte [rdi + 0x158], r12b
je 0x18002fd80
mov rax, qword [rsi]
mov rcx, rsi
call qword [rax + 0x30]
test rax, rax
je 0x18002fd80
lea rcx, [rbp + 0x30]
call fcn.180002d60
mov rcx, qword [rbp + 0x30]
mov rax, rcx
sub rax, qword [0x180146430]
cmp rax, qword [0x180146438]
jge 0x18002fe03
mov qword [rbp + 0x30], r12
mov dword [rbp + 0x30], 0xbb
mov rax, qword [rbp + 0x30]
mov qword [0x18011d548], rax
mov dword [0x18011d478], r12d
mov qword [0x180145da8], r13
mov qword [0x18011d540], r12
mov dword [0x18011d468], 2
call fcn.1800320a0
cmp dword [rax], r12d
je 0x18002fe9d
cmp byte [rdi + 0x69], r12b
je 0x18002fe9d
mov rax, qword [rsi]
mov rcx, rsi
call qword [rax + 0x30]
test rax, rax
je 0x18002fe9d
lea rcx, [rbp + 0x30]
call fcn.180002d60
mov rcx, qword [rbp + 0x30]
mov rax, rcx
sub rax, qword [0x180146430]
cmp rax, qword [0x180146438]
jl 0x18002fe9d
mov qword [0x180146430], rcx
cmp byte [rdi + 0x68], r12b
je 0x18002fe69
movabs rax, 0x67c540aa08e4a6f5
mov qword [rbp + 0x30], r12
mov qword [0x180145da8], rax
mov dword [rbp + 0x30], 0xffffffff
mov rax, qword [rbp + 0x30]
mov qword [0x18011d540], rax
lea rax, str.HUD_FRONTEND_DEFAULT_SOUNDSET
mov qword [0x18011d550], rax
mov dword [0x18011d478], r12d
mov qword [0x18011d548], r14
mov qword [0x18011d558], r12
mov dword [0x18011d468], 4
call fcn.1800320a0
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 0x18002fe97
call qword [r14 + 0x38]
mov rcx, rsi
lea rdx, [rax + 1]
jmp 0x18002fe99
xor edx, edx
call qword [r14 + 0x40]
mov eax, dword [r15]
cmp dword [0x180146440], eax
jle 0x18002fedc
lea rcx, [0x180146440]
call fcn.1800ab458
cmp dword [0x180146440], 0xffffffff
jne 0x18002fedc
lea rcx, [0x180146448]
call fcn.180002d60
lea rcx, [0x180146440]
mov qword [0x180146450], r12
call fcn.1800ab3ec
movsxd rax, dword [rdi + 0x7c]
lea r14, str.NAV_LEFT_RIGHT
imul rcx, rax, 0xf4240
mov qword [0x180146450], rcx
cmp byte [rdi + 0x159], r12b
je 0x18002ff30
mov rax, qword [rsi]
mov rcx, rsi
call qword [rax + 0x30]
test rax, rax
je 0x18002ff30
lea rcx, [rbp + 0x30]
call fcn.180002d60
mov rcx, qword [rbp + 0x30]
mov rax, rcx
sub rax, qword [0x180146448]
cmp rax, qword [0x180146450]
jge 0x18002ffb3
mov qword [rbp + 0x30], r12
mov dword [rbp + 0x30], 0xae
mov rax, qword [rbp + 0x30]
mov qword [0x18011d548], rax
mov dword [0x18011d478], r12d
mov qword [0x180145da8], r13
mov qword [0x18011d540], r12
mov dword [0x18011d468], 2
call fcn.1800320a0
cmp dword [rax], r12d
je 0x18003003c
cmp byte [rdi + 0x69], r12b
je 0x18003003c
mov rax, qword [rsi]
mov rcx, rsi
call qword [rax + 0x30]
test rax, rax
je 0x18003003c
lea rcx, [rbp + 0x30]
call fcn.180002d60
mov rcx, qword [rbp + 0x30]
mov rax, rcx
sub rax, qword [0x180146448]
cmp rax, qword [0x180146450]
jl 0x18003003c
mov qword [0x180146448], rcx
cmp byte [rdi + 0x68], r12b
je 0x180030019
movabs rax, 0x67c540aa08e4a6f5
mov qword [rbp + 0x30], r12
mov qword [0x180145da8], rax
mov dword [rbp + 0x30], 0xffffffff
mov rax, qword [rbp + 0x30]
mov qword [0x18011d540], rax
lea rax, str.HUD_FRONTEND_DEFAULT_SOUNDSET
mov qword [0x18011d550], rax
mov dword [0x18011d478], r12d
mov qword [0x18011d548], r14
mov qword [0x18011d558], r12
mov dword [0x18011d468], 4
call fcn.1800320a0
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 0x18003003c
mov r8, qword [rax]
xor edx, edx
mov rcx, rax
call qword [r8 + 0x20]
mov eax, dword [r15]
cmp dword [0x180146458], eax
jle 0x18003007b
lea rcx, [0x180146458]
call fcn.1800ab458
cmp dword [0x180146458], 0xffffffff
jne 0x18003007b
lea rcx, [0x180146460]
call fcn.180002d60
lea rcx, [0x180146458]
mov qword [0x180146468], r12
call fcn.1800ab3ec
movsxd rax, dword [rdi + 0x7c]
imul rcx, rax, 0xf4240
mov qword [0x180146468], rcx
cmp byte [rdi + 0x15a], r12b
je 0x1800300c8
mov rax, qword [rsi]
mov rcx, rsi
call qword [rax + 0x30]
test rax, rax
je 0x1800300c8
lea rcx, [rbp + 0x30]
call fcn.180002d60
mov rcx, qword [rbp + 0x30]
mov rax, rcx
sub rax, qword [0x180146460]
cmp rax, qword [0x180146468]
jge 0x18003014b
mov qword [rbp + 0x30], r12
mov dword [rbp + 0x30], 0xaf
mov rax, qword [rbp + 0x30]
mov qword [0x18011d548], rax
mov dword [0x18011d478], r12d
mov qword [0x180145da8], r13
mov qword [0x18011d540], r12
mov dword [0x18011d468], 2
call fcn.1800320a0
cmp dword [rax], r12d
je 0x1800301d7
cmp byte [rdi + 0x69], r12b
je 0x1800301d7
mov rax, qword [rsi]
mov rcx, rsi
call qword [rax + 0x30]
test rax, rax
je 0x1800301d7
lea rcx, [rbp + 0x30]
call fcn.180002d60
mov rcx, qword [rbp + 0x30]
mov rax, rcx
sub rax, qword [0x180146460]
cmp rax, qword [0x180146468]
jl 0x1800301d7
mov qword [0x180146460], rcx
cmp byte [rdi + 0x68], r12b
je 0x1800301b1
movabs rax, 0x67c540aa08e4a6f5
mov qword [rbp + 0x30], r12
mov qword [0x180145da8], rax
mov dword [rbp + 0x30], 0xffffffff
mov rax, qword [rbp + 0x30]
mov qword [0x18011d540], rax
lea rax, str.HUD_FRONTEND_DEFAULT_SOUNDSET
mov qword [0x18011d550], rax
mov dword [0x18011d478], r12d
mov qword [0x18011d548], r14
mov qword [0x18011d558], r12
mov dword [0x18011d468], 4
call fcn.1800320a0
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 0x1800301d7
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