Function at 0x180048ae0
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 + 0x51], r12b
je 0x180048eca
cmp byte [rcx + 0x69], r12b
je 0x180048eca
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 [0x180084c50], rax
mov dword [rbp + 0x30], 1
mov rax, qword [rbp + 0x30]
mov qword [0x180084c60], rax
mov dword [0x180084b88], r12d
mov qword [0x18008abc0], rbx
mov qword [0x180084c58], r12
mov dword [0x180084b78], 3
call fcn.180047520
mov qword [rbp + 0x30], r12
mov dword [rbp + 0x30], 2
mov rax, qword [rbp + 0x30]
mov qword [rbp + 0x30], r12
mov qword [0x180084c50], rax
mov dword [rbp + 0x30], 0x13
mov rax, qword [rbp + 0x30]
mov qword [rbp + 0x30], r12
mov qword [0x180084c58], rax
mov dword [rbp + 0x30], 1
mov rax, qword [rbp + 0x30]
mov qword [0x180084c60], rax
mov dword [0x180084b88], r12d
mov qword [0x18008abc0], rbx
mov dword [0x180084b78], 3
call fcn.180047520
mov qword [rbp + 0x30], r12
mov dword [rbp + 0x30], 2
mov rax, qword [rbp + 0x30]
mov qword [rbp + 0x30], r12
mov qword [0x180084c50], rax
mov dword [rbp + 0x30], 0x8c
mov rax, qword [rbp + 0x30]
mov qword [rbp + 0x30], r12
mov qword [0x180084c58], rax
mov dword [rbp + 0x30], 1
mov rax, qword [rbp + 0x30]
mov qword [0x180084c60], rax
mov dword [0x180084b88], r12d
mov qword [0x18008abc0], rbx
mov dword [0x180084b78], 3
call fcn.180047520
mov qword [rbp + 0x30], r12
mov dword [rbp + 0x30], 2
mov rax, qword [rbp + 0x30]
mov qword [rbp + 0x30], r12
mov qword [0x180084c50], rax
mov dword [rbp + 0x30], 0x14
mov rax, qword [rbp + 0x30]
mov qword [rbp + 0x30], r12
mov qword [0x180084c58], rax
mov dword [rbp + 0x30], 1
mov rax, qword [rbp + 0x30]
mov qword [0x180084c60], rax
mov dword [0x180084b88], r12d
mov qword [0x18008abc0], rbx
mov dword [0x180084b78], 3
call fcn.180047520
mov qword [rbp + 0x30], r12
mov dword [rbp + 0x30], 2
mov rax, qword [rbp + 0x30]
mov qword [rbp + 0x30], r12
mov qword [0x180084c50], rax
mov dword [rbp + 0x30], 0x1b
mov rax, qword [rbp + 0x30]
mov qword [rbp + 0x30], r12
mov qword [0x180084c58], rax
mov dword [rbp + 0x30], 1
mov rax, qword [rbp + 0x30]
mov qword [0x180084c60], rax
mov dword [0x180084b88], r12d
mov qword [0x18008abc0], rbx
mov dword [0x180084b78], 3
call fcn.180047520
mov dword [0x180084b88], r12d
mov qword [0x18008abc0], rbx
mov qword [rbp + 0x30], r12
mov dword [rbp + 0x30], 2
mov rax, qword [rbp + 0x30]
mov qword [rbp + 0x30], r12
mov qword [0x180084c50], rax
mov dword [rbp + 0x30], 0x50
mov rax, qword [rbp + 0x30]
mov qword [rbp + 0x30], r12
mov qword [0x180084c58], rax
mov dword [rbp + 0x30], 1
mov rax, qword [rbp + 0x30]
mov qword [0x180084c60], rax
mov dword [0x180084b78], 3
call fcn.180047520
mov qword [rbp + 0x30], r12
mov dword [rbp + 0x30], 2
mov rax, qword [rbp + 0x30]
mov qword [rbp + 0x30], r12
mov qword [0x180084c50], rax
mov dword [rbp + 0x30], 0x151
mov rax, qword [rbp + 0x30]
mov qword [rbp + 0x30], r12
mov qword [0x180084c58], rax
mov dword [rbp + 0x30], 1
mov rax, qword [rbp + 0x30]
mov qword [0x180084c60], rax
mov dword [0x180084b88], r12d
mov qword [0x18008abc0], rbx
mov dword [0x180084b78], 3
call fcn.180047520
mov qword [rbp + 0x30], r12
mov dword [rbp + 0x30], 2
mov rax, qword [rbp + 0x30]
mov qword [rbp + 0x30], r12
mov qword [0x180084c50], rax
mov dword [rbp + 0x30], 0x1b
mov rax, qword [rbp + 0x30]
mov qword [rbp + 0x30], r12
mov qword [0x180084c58], rax
mov dword [rbp + 0x30], 1
mov rax, qword [rbp + 0x30]
mov qword [0x180084c60], rax
mov dword [0x180084b88], r12d
mov qword [0x18008abc0], rbx
mov dword [0x180084b78], 3
call fcn.180047520
mov qword [rbp + 0x30], r12
mov dword [rbp + 0x30], 2
mov rax, qword [rbp + 0x30]
mov qword [rbp + 0x30], r12
mov qword [0x180084c50], rax
mov dword [rbp + 0x30], 0x55
mov rax, qword [rbp + 0x30]
mov qword [rbp + 0x30], r12
mov qword [0x180084c58], rax
mov dword [rbp + 0x30], 1
mov rax, qword [rbp + 0x30]
mov qword [0x180084c60], rax
mov dword [0x180084b88], r12d
mov qword [0x18008abc0], rbx
mov dword [0x180084b78], 3
call fcn.180047520
mov qword [rbp + 0x30], r12
mov dword [rbp + 0x30], 2
mov rax, qword [rbp + 0x30]
mov qword [rbp + 0x30], r12
mov qword [0x180084c50], rax
mov dword [rbp + 0x30], 0x4a
mov rax, qword [rbp + 0x30]
mov qword [rbp + 0x30], r12
mov qword [0x180084c58], rax
mov dword [rbp + 0x30], 1
mov rax, qword [rbp + 0x30]
mov qword [0x180084c60], rax
mov dword [0x180084b88], r12d
mov qword [0x18008abc0], rbx
mov dword [0x180084b78], 3
call fcn.180047520
mov rax, qword gs:[0x58]
mov ecx, dword [0x180088d8c]
mov edx, 4
mov r15, qword [rax + rcx*8]
add r15, rdx
mov eax, dword [r15]
cmp dword [0x18008ad60], eax
jle 0x180048f1d
lea rcx, [0x18008ad60]
call fcn.180050338
cmp dword [0x18008ad60], 0xffffffff
jne 0x180048f1d
call qword [sym.imp.KERNEL32.dll_GetTickCount]
lea rcx, [0x18008ad60]
mov dword [0x18008ad64], eax
call fcn.1800502cc
lea rbx, str.BACK
movabs r14, 0x67c540aa08e4a6f5
lea rsi, str.HUD_FRONTEND_DEFAULT_SOUNDSET
movabs r13, 0xe2587f8cbbd87b1d
cmp byte [rdi + 0x12c], r12b
je 0x180048f5d
call qword [sym.imp.KERNEL32.dll_GetTickCount]
sub eax, dword [0x18008ad64]
cmp eax, dword [rdi + 0x6c]
jae 0x180048ffe
mov qword [rbp + 0x30], r12
mov dword [rbp + 0x30], 0xe3
mov rax, qword [rbp + 0x30]
mov qword [0x180084c58], rax
mov dword [0x180084b88], r12d
mov qword [0x18008abc0], r13
mov qword [0x180084c50], r12
mov dword [0x180084b78], 2
call fcn.180047520
cmp dword [rax], r12d
je 0x180049072
mov qword [rbp + 0x30], r12
mov dword [rbp + 0x30], 0xaf
mov rax, qword [rbp + 0x30]
mov qword [0x180084c58], rax
mov dword [0x180084b88], r12d
mov qword [0x18008abc0], r13
mov qword [0x180084c50], r12
mov dword [0x180084b78], 2
call fcn.180047520
cmp dword [rax], r12d
je 0x180049072
cmp byte [rdi + 0x69], r12b
je 0x180049072
call qword [sym.imp.KERNEL32.dll_GetTickCount]
sub eax, dword [0x18008ad64]
cmp eax, dword [rdi + 0x6c]
jb 0x180049072
call qword [sym.imp.KERNEL32.dll_GetTickCount]
movzx ecx, byte [rdi + 0x51]
xor cl, 1
mov dword [0x18008ad64], eax
mov byte [rdi + 0x51], cl
cmp byte [rdi + 0x68], r12b
je 0x180049072
test cl, cl
mov qword [rbp + 0x30], r12
lea rcx, str.SELECT
mov dword [rbp + 0x30], 0xffffffff
mov rax, qword [rbp + 0x30]
mov qword [0x180084c50], rax
mov rax, rbx
cmovne rax, rcx
mov dword [0x180084b88], r12d
mov qword [0x180084c58], rax
mov qword [0x18008abc0], r14
mov qword [0x180084c60], rsi
mov qword [0x180084c68], r12
mov dword [0x180084b78], 4
call fcn.180047520
mov eax, dword [r15]
cmp dword [0x18008ad50], eax
jle 0x1800490b1
lea rcx, [0x18008ad50]
call fcn.180050338
cmp dword [0x18008ad50], 0xffffffff
jne 0x1800490b1
lea rcx, [0x18008ad88]
call fcn.180002ee0
lea rcx, [0x18008ad50]
mov qword [0x18008ad90], r12
call fcn.1800502cc
movsxd rax, dword [rdi + 0x70]
imul rcx, rax, 0xf4240
mov qword [0x18008ad90], rcx
cmp byte [rdi + 0x51], r12b
je 0x180049a27
cmp byte [rdi + 0x12d], r12b
je 0x1800490f6
lea rcx, [rbp + 0x30]
call fcn.180002ee0
mov rcx, qword [rbp + 0x30]
mov rax, rcx
sub rax, qword [0x18008ad88]
cmp rax, qword [0x18008ad90]
jge 0x18004916d
cmp byte [rdi + 0x51], r12b
je 0x180049a27
mov qword [rbp + 0x30], r12
mov dword [rbp + 0x30], 0xca
mov rax, qword [rbp + 0x30]
mov qword [0x180084c58], rax
mov dword [0x180084b88], r12d
mov qword [0x18008abc0], r13
mov qword [0x180084c50], r12
mov dword [0x180084b78], 2
call fcn.180047520
cmp dword [rax], r12d
je 0x1800491e8
cmp byte [rdi + 0x69], r12b
je 0x1800491e8
lea rcx, [rbp + 0x30]
call fcn.180002ee0
mov rcx, qword [rbp + 0x30]
mov rax, rcx
sub rax, qword [0x18008ad88]
cmp rax, qword [0x18008ad90]
jl 0x1800491e8
mov qword [0x18008ad88], rcx
cmp byte [rdi + 0x68], r12b
je 0x1800491c2
mov qword [rbp + 0x30], r12
mov dword [rbp + 0x30], 0xffffffff
mov rax, qword [rbp + 0x30]
mov qword [0x180084c50], rax
mov dword [0x180084b88], r12d
mov qword [0x18008abc0], r14
mov qword [0x180084c58], rbx
mov qword [0x180084c60], rsi
mov qword [0x180084c68], r12
mov dword [0x180084b78], 4
call fcn.180047520
mov rax, qword [rdi + 0x158]
sub rax, qword [rdi + 0x150]
sar rax, 3
cmp rax, 1
ja 0x1800491e0
mov byte [rdi + 0x51], r12b
jmp 0x1800491e8
add qword [rdi + 0x158], 0xfffffffffffffff8
cmp byte [rdi + 0x51], r12b
je 0x180049a27
mov rax, qword [rdi + 0x158]
cmp qword [rdi + 0x150], rax
je 0x180049a27
mov rsi, qword [rax - 8]
mov eax, dword [r15]
cmp dword [0x18008ad5c], eax
jle 0x180049249
lea rcx, [0x18008ad5c]
call fcn.180050338
cmp dword [0x18008ad5c], 0xffffffff
jne 0x180049249
lea rcx, [0x18008ad18]
call fcn.180002ee0
lea rcx, [0x18008ad5c]
mov qword [0x18008ad20], r12
call fcn.1800502cc
movsxd rax, dword [rdi + 0x74]
imul rcx, rax, 0xf4240
mov qword [0x18008ad20], rcx
cmp byte [rdi + 0x12e], r12b
je 0x180049296
mov rax, qword [rsi]
mov rcx, rsi
call qword [rax + 0x30]
test rax, rax
je 0x180049296
lea rcx, [rbp + 0x30]
call fcn.180002ee0
mov rcx, qword [rbp + 0x30]
mov rax, rcx
sub rax, qword [0x18008ad18]
cmp rax, qword [0x18008ad20]
jge 0x180049319
mov qword [rbp + 0x30], r12
mov dword [rbp + 0x30], 0xc9
mov rax, qword [rbp + 0x30]
mov qword [0x180084c58], rax
mov dword [0x180084b88], r12d
mov qword [0x18008abc0], r13
mov qword [0x180084c50], r12
mov dword [0x180084b78], 2
call fcn.180047520
cmp dword [rax], r12d
je 0x1800493a2
cmp byte [rdi + 0x69], r12b
je 0x1800493a2
mov rax, qword [rsi]
mov rcx, rsi
call qword [rax + 0x30]
test rax, rax
je 0x1800493a2
lea rcx, [rbp + 0x30]
call fcn.180002ee0
mov rcx, qword [rbp + 0x30]
mov rax, rcx
sub rax, qword [0x18008ad18]
cmp rax, qword [0x18008ad20]
jl 0x1800493a2
mov qword [0x18008ad18], rcx
cmp byte [rdi + 0x68], r12b
je 0x18004937c
mov qword [rbp + 0x30], r12
mov dword [rbp + 0x30], 0xffffffff
mov rax, qword [rbp + 0x30]
mov qword [0x180084c50], rax
lea rax, str.SELECT
mov qword [0x180084c58], rax
lea rax, str.HUD_FRONTEND_DEFAULT_SOUNDSET
mov qword [0x180084c60], rax
mov dword [0x180084b88], r12d
mov qword [0x18008abc0], r14
mov qword [0x180084c68], r12
mov dword [0x180084b78], 4
call fcn.180047520
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 0x1800493a2
mov r8, qword [rax]
mov edx, 2
mov rcx, rax
call qword [r8 + 0x20]
mov eax, dword [r15]
cmp dword [0x18008ad58], eax
jle 0x1800493e1
lea rcx, [0x18008ad58]
call fcn.180050338
cmp dword [0x18008ad58], 0xffffffff
jne 0x1800493e1
lea rcx, [0x18008ad78]
call fcn.180002ee0
lea rcx, [0x18008ad58]
mov qword [0x18008ad80], r12
call fcn.1800502cc
movsxd rax, dword [rdi + 0x78]
lea r14, str.NAV_UP_DOWN
imul rcx, rax, 0xf4240
mov qword [0x18008ad80], rcx
cmp byte [rdi + 0x12f], r12b
je 0x180049435
mov rax, qword [rsi]
mov rcx, rsi
call qword [rax + 0x30]
test rax, rax
je 0x180049435
lea rcx, [rbp + 0x30]
call fcn.180002ee0
mov rcx, qword [rbp + 0x30]
mov rax, rcx
sub rax, qword [0x18008ad78]
cmp rax, qword [0x18008ad80]
jge 0x1800494b8
mov qword [rbp + 0x30], r12
mov dword [rbp + 0x30], 0xbc
mov rax, qword [rbp + 0x30]
mov qword [0x180084c58], rax
mov dword [0x180084b88], r12d
mov qword [0x18008abc0], r13
mov qword [0x180084c50], r12
mov dword [0x180084b78], 2
call fcn.180047520
cmp dword [rax], r12d
je 0x180049544
cmp byte [rdi + 0x69], r12b
je 0x180049544
mov rax, qword [rsi]
mov rcx, rsi
call qword [rax + 0x30]
test rax, rax
je 0x180049544
lea rcx, [rbp + 0x30]
call fcn.180002ee0
mov rcx, qword [rbp + 0x30]
mov rax, rcx
sub rax, qword [0x18008ad78]
cmp rax, qword [0x18008ad80]
jl 0x180049544
mov qword [0x18008ad78], rcx
cmp byte [rdi + 0x68], r12b
je 0x18004951e
movabs rax, 0x67c540aa08e4a6f5
mov qword [rbp + 0x30], r12
mov qword [0x18008abc0], rax
mov dword [rbp + 0x30], 0xffffffff
mov rax, qword [rbp + 0x30]
mov qword [0x180084c50], rax
lea rax, str.HUD_FRONTEND_DEFAULT_SOUNDSET
mov qword [0x180084c60], rax
mov dword [0x180084b88], r12d
mov qword [0x180084c58], r14
mov qword [0x180084c68], r12
mov dword [0x180084b78], 4
call fcn.180047520
mov rax, qword [rsi]
mov rcx, rsi
call qword [rax + 0x38]
mov rbx, qword [rsi]
mov rcx, rsi
test rax, rax
je 0x180049537
call qword [rbx + 0x38]
jmp 0x18004953a
call qword [rbx + 0x30]
lea rdx, [rax - 1]
mov rcx, rsi
call qword [rbx + 0x40]
mov eax, dword [r15]
cmp dword [0x18008ad10], eax
jle 0x180049583
lea rcx, [0x18008ad10]
call fcn.180050338
cmp dword [0x18008ad10], 0xffffffff
jne 0x180049583
lea rcx, [0x18008ad40]
call fcn.180002ee0
lea rcx, [0x18008ad10]
mov qword [0x18008ad48], r12
call fcn.1800502cc
movsxd rax, dword [rdi + 0x78]
imul rcx, rax, 0xf4240
mov qword [0x18008ad48], rcx
cmp byte [rdi + 0x130], r12b
je 0x1800495d0
mov rax, qword [rsi]
mov rcx, rsi
call qword [rax + 0x30]
test rax, rax
je 0x1800495d0
lea rcx, [rbp + 0x30]
call fcn.180002ee0
mov rcx, qword [rbp + 0x30]
mov rax, rcx
sub rax, qword [0x18008ad40]
cmp rax, qword [0x18008ad48]
jge 0x180049653
mov qword [rbp + 0x30], r12
mov dword [rbp + 0x30], 0xbb
mov rax, qword [rbp + 0x30]
mov qword [0x180084c58], rax
mov dword [0x180084b88], r12d
mov qword [0x18008abc0], r13
mov qword [0x180084c50], r12
mov dword [0x180084b78], 2
call fcn.180047520
cmp dword [rax], r12d
je 0x1800496ed
cmp byte [rdi + 0x69], r12b
je 0x1800496ed
mov rax, qword [rsi]
mov rcx, rsi
call qword [rax + 0x30]
test rax, rax
je 0x1800496ed
lea rcx, [rbp + 0x30]
call fcn.180002ee0
mov rcx, qword [rbp + 0x30]
mov rax, rcx
sub rax, qword [0x18008ad40]
cmp rax, qword [0x18008ad48]
jl 0x1800496ed
mov qword [0x18008ad40], rcx
cmp byte [rdi + 0x68], r12b
je 0x1800496b9
movabs rax, 0x67c540aa08e4a6f5
mov qword [rbp + 0x30], r12
mov qword [0x18008abc0], rax
mov dword [rbp + 0x30], 0xffffffff
mov rax, qword [rbp + 0x30]
mov qword [0x180084c50], rax
lea rax, str.HUD_FRONTEND_DEFAULT_SOUNDSET
mov qword [0x180084c60], rax
mov dword [0x180084b88], r12d
mov qword [0x180084c58], r14
mov qword [0x180084c68], r12
mov dword [0x180084b78], 4
call fcn.180047520
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 0x1800496e7
call qword [r14 + 0x38]
mov rcx, rsi
lea rdx, [rax + 1]
jmp 0x1800496e9
xor edx, edx
call qword [r14 + 0x40]
mov eax, dword [r15]
cmp dword [0x18008ad38], eax
jle 0x18004972c
lea rcx, [0x18008ad38]
call fcn.180050338
cmp dword [0x18008ad38], 0xffffffff
jne 0x18004972c
lea rcx, [0x18008ad68]
call fcn.180002ee0
lea rcx, [0x18008ad38]
mov qword [0x18008ad70], r12
call fcn.1800502cc
movsxd rax, dword [rdi + 0x7c]
lea r14, str.NAV_LEFT_RIGHT
imul rcx, rax, 0xf4240
mov qword [0x18008ad70], rcx
cmp byte [rdi + 0x131], r12b
je 0x180049780
mov rax, qword [rsi]
mov rcx, rsi
call qword [rax + 0x30]
test rax, rax
je 0x180049780
lea rcx, [rbp + 0x30]
call fcn.180002ee0
mov rcx, qword [rbp + 0x30]
mov rax, rcx
sub rax, qword [0x18008ad68]
cmp rax, qword [0x18008ad70]
jge 0x180049803
mov qword [rbp + 0x30], r12
mov dword [rbp + 0x30], 0xae
mov rax, qword [rbp + 0x30]
mov qword [0x180084c58], rax
mov dword [0x180084b88], r12d
mov qword [0x18008abc0], r13
mov qword [0x180084c50], r12
mov dword [0x180084b78], 2
call fcn.180047520
cmp dword [rax], r12d
je 0x18004988c
cmp byte [rdi + 0x69], r12b
je 0x18004988c
mov rax, qword [rsi]
mov rcx, rsi
call qword [rax + 0x30]
test rax, rax
je 0x18004988c
lea rcx, [rbp + 0x30]
call fcn.180002ee0
mov rcx, qword [rbp + 0x30]
mov rax, rcx
sub rax, qword [0x18008ad68]
cmp rax, qword [0x18008ad70]
jl 0x18004988c
mov qword [0x18008ad68], rcx
cmp byte [rdi + 0x68], r12b
je 0x180049869
movabs rax, 0x67c540aa08e4a6f5
mov qword [rbp + 0x30], r12
mov qword [0x18008abc0], rax
mov dword [rbp + 0x30], 0xffffffff
mov rax, qword [rbp + 0x30]
mov qword [0x180084c50], rax
lea rax, str.HUD_FRONTEND_DEFAULT_SOUNDSET
mov qword [0x180084c60], rax
mov dword [0x180084b88], r12d
mov qword [0x180084c58], r14
mov qword [0x180084c68], r12
mov dword [0x180084b78], 4
call fcn.180047520
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 0x18004988c
mov r8, qword [rax]
xor edx, edx
mov rcx, rax
call qword [r8 + 0x20]
mov eax, dword [r15]
cmp dword [0x18008ad54], eax
jle 0x1800498cb
lea rcx, [0x18008ad54]
call fcn.180050338
cmp dword [0x18008ad54], 0xffffffff
jne 0x1800498cb
lea rcx, [0x18008ad28]
call fcn.180002ee0
lea rcx, [0x18008ad54]
mov qword [0x18008ad30], r12
call fcn.1800502cc
movsxd rax, dword [rdi + 0x7c]
imul rcx, rax, 0xf4240
mov qword [0x18008ad30], rcx
cmp byte [rdi + 0x132], r12b
je 0x180049918
mov rax, qword [rsi]
mov rcx, rsi
call qword [rax + 0x30]
test rax, rax
je 0x180049918
lea rcx, [rbp + 0x30]
call fcn.180002ee0
mov rcx, qword [rbp + 0x30]
mov rax, rcx
sub rax, qword [0x18008ad28]
cmp rax, qword [0x18008ad30]
jge 0x18004999b
mov qword [rbp + 0x30], r12
mov dword [rbp + 0x30], 0xaf
mov rax, qword [rbp + 0x30]
mov qword [0x180084c58], rax
mov dword [0x180084b88], r12d
mov qword [0x18008abc0], r13
mov qword [0x180084c50], r12
mov dword [0x180084b78], 2
call fcn.180047520
cmp dword [rax], r12d
je 0x180049a27
cmp byte [rdi + 0x69], r12b
je 0x180049a27
mov rax, qword [rsi]
mov rcx, rsi
call qword [rax + 0x30]
test rax, rax
je 0x180049a27
lea rcx, [rbp + 0x30]
call fcn.180002ee0
mov rcx, qword [rbp + 0x30]
mov rax, rcx
sub rax, qword [0x18008ad28]
cmp rax, qword [0x18008ad30]
jl 0x180049a27
mov qword [0x18008ad28], rcx
cmp byte [rdi + 0x68], r12b
je 0x180049a01
movabs rax, 0x67c540aa08e4a6f5
mov qword [rbp + 0x30], r12
mov qword [0x18008abc0], rax
mov dword [rbp + 0x30], 0xffffffff
mov rax, qword [rbp + 0x30]
mov qword [0x180084c50], rax
lea rax, str.HUD_FRONTEND_DEFAULT_SOUNDSET
mov qword [0x180084c60], rax
mov dword [0x180084b88], r12d
mov qword [0x180084c58], r14
mov qword [0x180084c68], r12
mov dword [0x180084b78], 4
call fcn.180047520
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 0x180049a27
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