Function at 0x180022280
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 0x18002266a
cmp byte [rcx + 0x69], r12b
je 0x18002266a
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 [0x1800b5c70], rax
mov dword [rbp + 0x30], 1
mov rax, qword [rbp + 0x30]
mov qword [0x1800b5c80], rax
mov dword [0x1800b5ba8], r12d
mov qword [0x1800ce058], rbx
mov qword [0x1800b5c78], r12
mov dword [0x1800b5b98], 3
call fcn.180024d70
mov qword [rbp + 0x30], r12
mov dword [rbp + 0x30], 2
mov rax, qword [rbp + 0x30]
mov qword [rbp + 0x30], r12
mov qword [0x1800b5c70], rax
mov dword [rbp + 0x30], 0x13
mov rax, qword [rbp + 0x30]
mov qword [rbp + 0x30], r12
mov qword [0x1800b5c78], rax
mov dword [rbp + 0x30], 1
mov rax, qword [rbp + 0x30]
mov qword [0x1800b5c80], rax
mov dword [0x1800b5ba8], r12d
mov qword [0x1800ce058], rbx
mov dword [0x1800b5b98], 3
call fcn.180024d70
mov qword [rbp + 0x30], r12
mov dword [rbp + 0x30], 2
mov rax, qword [rbp + 0x30]
mov qword [rbp + 0x30], r12
mov qword [0x1800b5c70], rax
mov dword [rbp + 0x30], 0x8c
mov rax, qword [rbp + 0x30]
mov qword [rbp + 0x30], r12
mov qword [0x1800b5c78], rax
mov dword [rbp + 0x30], 1
mov rax, qword [rbp + 0x30]
mov qword [0x1800b5c80], rax
mov dword [0x1800b5ba8], r12d
mov qword [0x1800ce058], rbx
mov dword [0x1800b5b98], 3
call fcn.180024d70
mov qword [rbp + 0x30], r12
mov dword [rbp + 0x30], 2
mov rax, qword [rbp + 0x30]
mov qword [rbp + 0x30], r12
mov qword [0x1800b5c70], rax
mov dword [rbp + 0x30], 0x14
mov rax, qword [rbp + 0x30]
mov qword [rbp + 0x30], r12
mov qword [0x1800b5c78], rax
mov dword [rbp + 0x30], 1
mov rax, qword [rbp + 0x30]
mov qword [0x1800b5c80], rax
mov dword [0x1800b5ba8], r12d
mov qword [0x1800ce058], rbx
mov dword [0x1800b5b98], 3
call fcn.180024d70
mov qword [rbp + 0x30], r12
mov dword [rbp + 0x30], 2
mov rax, qword [rbp + 0x30]
mov qword [rbp + 0x30], r12
mov qword [0x1800b5c70], rax
mov dword [rbp + 0x30], 0x1b
mov rax, qword [rbp + 0x30]
mov qword [rbp + 0x30], r12
mov qword [0x1800b5c78], rax
mov dword [rbp + 0x30], 1
mov rax, qword [rbp + 0x30]
mov qword [0x1800b5c80], rax
mov dword [0x1800b5ba8], r12d
mov qword [0x1800ce058], rbx
mov dword [0x1800b5b98], 3
call fcn.180024d70
mov dword [0x1800b5ba8], r12d
mov qword [0x1800ce058], rbx
mov qword [rbp + 0x30], r12
mov dword [rbp + 0x30], 2
mov rax, qword [rbp + 0x30]
mov qword [rbp + 0x30], r12
mov qword [0x1800b5c70], rax
mov dword [rbp + 0x30], 0x50
mov rax, qword [rbp + 0x30]
mov qword [rbp + 0x30], r12
mov qword [0x1800b5c78], rax
mov dword [rbp + 0x30], 1
mov rax, qword [rbp + 0x30]
mov qword [0x1800b5c80], rax
mov dword [0x1800b5b98], 3
call fcn.180024d70
mov qword [rbp + 0x30], r12
mov dword [rbp + 0x30], 2
mov rax, qword [rbp + 0x30]
mov qword [rbp + 0x30], r12
mov qword [0x1800b5c70], rax
mov dword [rbp + 0x30], 0x151
mov rax, qword [rbp + 0x30]
mov qword [rbp + 0x30], r12
mov qword [0x1800b5c78], rax
mov dword [rbp + 0x30], 1
mov rax, qword [rbp + 0x30]
mov qword [0x1800b5c80], rax
mov dword [0x1800b5ba8], r12d
mov qword [0x1800ce058], rbx
mov dword [0x1800b5b98], 3
call fcn.180024d70
mov qword [rbp + 0x30], r12
mov dword [rbp + 0x30], 2
mov rax, qword [rbp + 0x30]
mov qword [rbp + 0x30], r12
mov qword [0x1800b5c70], rax
mov dword [rbp + 0x30], 0x1b
mov rax, qword [rbp + 0x30]
mov qword [rbp + 0x30], r12
mov qword [0x1800b5c78], rax
mov dword [rbp + 0x30], 1
mov rax, qword [rbp + 0x30]
mov qword [0x1800b5c80], rax
mov dword [0x1800b5ba8], r12d
mov qword [0x1800ce058], rbx
mov dword [0x1800b5b98], 3
call fcn.180024d70
mov qword [rbp + 0x30], r12
mov dword [rbp + 0x30], 2
mov rax, qword [rbp + 0x30]
mov qword [rbp + 0x30], r12
mov qword [0x1800b5c70], rax
mov dword [rbp + 0x30], 0x55
mov rax, qword [rbp + 0x30]
mov qword [rbp + 0x30], r12
mov qword [0x1800b5c78], rax
mov dword [rbp + 0x30], 1
mov rax, qword [rbp + 0x30]
mov qword [0x1800b5c80], rax
mov dword [0x1800b5ba8], r12d
mov qword [0x1800ce058], rbx
mov dword [0x1800b5b98], 3
call fcn.180024d70
mov qword [rbp + 0x30], r12
mov dword [rbp + 0x30], 2
mov rax, qword [rbp + 0x30]
mov qword [rbp + 0x30], r12
mov qword [0x1800b5c70], rax
mov dword [rbp + 0x30], 0x4a
mov rax, qword [rbp + 0x30]
mov qword [rbp + 0x30], r12
mov qword [0x1800b5c78], rax
mov dword [rbp + 0x30], 1
mov rax, qword [rbp + 0x30]
mov qword [0x1800b5c80], rax
mov dword [0x1800b5ba8], r12d
mov qword [0x1800ce058], rbx
mov dword [0x1800b5b98], 3
call fcn.180024d70
mov rax, qword gs:[0x58]
mov ecx, dword [0x1800cc394]
mov edx, 4
mov r15, qword [rax + rcx*8]
add r15, rdx
mov eax, dword [r15]
cmp dword [0x1800ce3f0], eax
jle 0x1800226bd
lea rcx, [0x1800ce3f0]
call fcn.180061df4
cmp dword [0x1800ce3f0], 0xffffffff
jne 0x1800226bd
call qword [sym.imp.KERNEL32.dll_GetTickCount]
lea rcx, [0x1800ce3f0]
mov dword [0x1800ce3f4], eax
call fcn.180061d88
lea rbx, str.BACK
movabs r14, 0x67c540aa08e4a6f5
lea rsi, str.HUD_FRONTEND_DEFAULT_SOUNDSET
movabs r13, 0xe2587f8cbbd87b1d
cmp byte [rdi + 0x150], r12b
je 0x1800226fd
call qword [sym.imp.KERNEL32.dll_GetTickCount]
sub eax, dword [0x1800ce3f4]
cmp eax, dword [rdi + 0x6c]
jae 0x18002279e
mov qword [rbp + 0x30], r12
mov dword [rbp + 0x30], 0xe3
mov rax, qword [rbp + 0x30]
mov qword [0x1800b5c78], rax
mov dword [0x1800b5ba8], r12d
mov qword [0x1800ce058], r13
mov qword [0x1800b5c70], r12
mov dword [0x1800b5b98], 2
call fcn.180024d70
cmp dword [rax], r12d
je 0x180022812
mov qword [rbp + 0x30], r12
mov dword [rbp + 0x30], 0xaf
mov rax, qword [rbp + 0x30]
mov qword [0x1800b5c78], rax
mov dword [0x1800b5ba8], r12d
mov qword [0x1800ce058], r13
mov qword [0x1800b5c70], r12
mov dword [0x1800b5b98], 2
call fcn.180024d70
cmp dword [rax], r12d
je 0x180022812
cmp byte [rdi + 0x69], r12b
je 0x180022812
call qword [sym.imp.KERNEL32.dll_GetTickCount]
sub eax, dword [0x1800ce3f4]
cmp eax, dword [rdi + 0x6c]
jb 0x180022812
call qword [sym.imp.KERNEL32.dll_GetTickCount]
movzx ecx, byte [rdi + 0x50]
xor cl, 1
mov dword [0x1800ce3f4], eax
mov byte [rdi + 0x50], cl
cmp byte [rdi + 0x68], r12b
je 0x180022812
test cl, cl
mov qword [rbp + 0x30], r12
lea rcx, str.SELECT
mov dword [rbp + 0x30], 0xffffffff
mov rax, qword [rbp + 0x30]
mov qword [0x1800b5c70], rax
mov rax, rbx
cmovne rax, rcx
mov dword [0x1800b5ba8], r12d
mov qword [0x1800b5c78], rax
mov qword [0x1800ce058], r14
mov qword [0x1800b5c80], rsi
mov qword [0x1800b5c88], r12
mov dword [0x1800b5b98], 4
call fcn.180024d70
mov eax, dword [r15]
cmp dword [0x1800ce3f8], eax
jle 0x180022851
lea rcx, [0x1800ce3f8]
call fcn.180061df4
cmp dword [0x1800ce3f8], 0xffffffff
jne 0x180022851
lea rcx, [0x1800ce400]
call fcn.1800029b0
lea rcx, [0x1800ce3f8]
mov qword [0x1800ce408], r12
call fcn.180061d88
movsxd rax, dword [rdi + 0x70]
imul rcx, rax, 0xf4240
mov qword [0x1800ce408], rcx
cmp byte [rdi + 0x50], r12b
je 0x1800231c7
cmp byte [rdi + 0x151], r12b
je 0x180022896
lea rcx, [rbp + 0x30]
call fcn.1800029b0
mov rcx, qword [rbp + 0x30]
mov rax, rcx
sub rax, qword [0x1800ce400]
cmp rax, qword [0x1800ce408]
jge 0x18002290d
cmp byte [rdi + 0x50], r12b
je 0x1800231c7
mov qword [rbp + 0x30], r12
mov dword [rbp + 0x30], 0xca
mov rax, qword [rbp + 0x30]
mov qword [0x1800b5c78], rax
mov dword [0x1800b5ba8], r12d
mov qword [0x1800ce058], r13
mov qword [0x1800b5c70], r12
mov dword [0x1800b5b98], 2
call fcn.180024d70
cmp dword [rax], r12d
je 0x180022988
cmp byte [rdi + 0x69], r12b
je 0x180022988
lea rcx, [rbp + 0x30]
call fcn.1800029b0
mov rcx, qword [rbp + 0x30]
mov rax, rcx
sub rax, qword [0x1800ce400]
cmp rax, qword [0x1800ce408]
jl 0x180022988
mov qword [0x1800ce400], rcx
cmp byte [rdi + 0x68], r12b
je 0x180022962
mov qword [rbp + 0x30], r12
mov dword [rbp + 0x30], 0xffffffff
mov rax, qword [rbp + 0x30]
mov qword [0x1800b5c70], rax
mov dword [0x1800b5ba8], r12d
mov qword [0x1800ce058], r14
mov qword [0x1800b5c78], rbx
mov qword [0x1800b5c80], rsi
mov qword [0x1800b5c88], r12
mov dword [0x1800b5b98], 4
call fcn.180024d70
mov rax, qword [rdi + 0x180]
sub rax, qword [rdi + 0x178]
sar rax, 3
cmp rax, 1
ja 0x180022980
mov byte [rdi + 0x50], r12b
jmp 0x180022988
add qword [rdi + 0x180], 0xfffffffffffffff8
cmp byte [rdi + 0x50], r12b
je 0x1800231c7
mov rax, qword [rdi + 0x180]
cmp qword [rdi + 0x178], rax
je 0x1800231c7
mov rsi, qword [rax - 8]
mov eax, dword [r15]
cmp dword [0x1800ce410], eax
jle 0x1800229e9
lea rcx, [0x1800ce410]
call fcn.180061df4
cmp dword [0x1800ce410], 0xffffffff
jne 0x1800229e9
lea rcx, [0x1800ce418]
call fcn.1800029b0
lea rcx, [0x1800ce410]
mov qword [0x1800ce420], r12
call fcn.180061d88
movsxd rax, dword [rdi + 0x74]
imul rcx, rax, 0xf4240
mov qword [0x1800ce420], rcx
cmp byte [rdi + 0x152], r12b
je 0x180022a36
mov rax, qword [rsi]
mov rcx, rsi
call qword [rax + 0x30]
test rax, rax
je 0x180022a36
lea rcx, [rbp + 0x30]
call fcn.1800029b0
mov rcx, qword [rbp + 0x30]
mov rax, rcx
sub rax, qword [0x1800ce418]
cmp rax, qword [0x1800ce420]
jge 0x180022ab9
mov qword [rbp + 0x30], r12
mov dword [rbp + 0x30], 0xc9
mov rax, qword [rbp + 0x30]
mov qword [0x1800b5c78], rax
mov dword [0x1800b5ba8], r12d
mov qword [0x1800ce058], r13
mov qword [0x1800b5c70], r12
mov dword [0x1800b5b98], 2
call fcn.180024d70
cmp dword [rax], r12d
je 0x180022b42
cmp byte [rdi + 0x69], r12b
je 0x180022b42
mov rax, qword [rsi]
mov rcx, rsi
call qword [rax + 0x30]
test rax, rax
je 0x180022b42
lea rcx, [rbp + 0x30]
call fcn.1800029b0
mov rcx, qword [rbp + 0x30]
mov rax, rcx
sub rax, qword [0x1800ce418]
cmp rax, qword [0x1800ce420]
jl 0x180022b42
mov qword [0x1800ce418], rcx
cmp byte [rdi + 0x68], r12b
je 0x180022b1c
mov qword [rbp + 0x30], r12
mov dword [rbp + 0x30], 0xffffffff
mov rax, qword [rbp + 0x30]
mov qword [0x1800b5c70], rax
lea rax, str.SELECT
mov qword [0x1800b5c78], rax
lea rax, str.HUD_FRONTEND_DEFAULT_SOUNDSET
mov qword [0x1800b5c80], rax
mov dword [0x1800b5ba8], r12d
mov qword [0x1800ce058], r14
mov qword [0x1800b5c88], r12
mov dword [0x1800b5b98], 4
call fcn.180024d70
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 0x180022b42
mov r8, qword [rax]
mov edx, 2
mov rcx, rax
call qword [r8 + 0x20]
mov eax, dword [r15]
cmp dword [0x1800ce428], eax
jle 0x180022b81
lea rcx, [0x1800ce428]
call fcn.180061df4
cmp dword [0x1800ce428], 0xffffffff
jne 0x180022b81
lea rcx, [0x1800ce430]
call fcn.1800029b0
lea rcx, [0x1800ce428]
mov qword [0x1800ce438], r12
call fcn.180061d88
movsxd rax, dword [rdi + 0x78]
lea r14, str.NAV_UP_DOWN
imul rcx, rax, 0xf4240
mov qword [0x1800ce438], rcx
cmp byte [rdi + 0x153], r12b
je 0x180022bd5
mov rax, qword [rsi]
mov rcx, rsi
call qword [rax + 0x30]
test rax, rax
je 0x180022bd5
lea rcx, [rbp + 0x30]
call fcn.1800029b0
mov rcx, qword [rbp + 0x30]
mov rax, rcx
sub rax, qword [0x1800ce430]
cmp rax, qword [0x1800ce438]
jge 0x180022c58
mov qword [rbp + 0x30], r12
mov dword [rbp + 0x30], 0xbc
mov rax, qword [rbp + 0x30]
mov qword [0x1800b5c78], rax
mov dword [0x1800b5ba8], r12d
mov qword [0x1800ce058], r13
mov qword [0x1800b5c70], r12
mov dword [0x1800b5b98], 2
call fcn.180024d70
cmp dword [rax], r12d
je 0x180022ce4
cmp byte [rdi + 0x69], r12b
je 0x180022ce4
mov rax, qword [rsi]
mov rcx, rsi
call qword [rax + 0x30]
test rax, rax
je 0x180022ce4
lea rcx, [rbp + 0x30]
call fcn.1800029b0
mov rcx, qword [rbp + 0x30]
mov rax, rcx
sub rax, qword [0x1800ce430]
cmp rax, qword [0x1800ce438]
jl 0x180022ce4
mov qword [0x1800ce430], rcx
cmp byte [rdi + 0x68], r12b
je 0x180022cbe
movabs rax, 0x67c540aa08e4a6f5
mov qword [rbp + 0x30], r12
mov qword [0x1800ce058], rax
mov dword [rbp + 0x30], 0xffffffff
mov rax, qword [rbp + 0x30]
mov qword [0x1800b5c70], rax
lea rax, str.HUD_FRONTEND_DEFAULT_SOUNDSET
mov qword [0x1800b5c80], rax
mov dword [0x1800b5ba8], r12d
mov qword [0x1800b5c78], r14
mov qword [0x1800b5c88], r12
mov dword [0x1800b5b98], 4
call fcn.180024d70
mov rax, qword [rsi]
mov rcx, rsi
call qword [rax + 0x38]
mov rbx, qword [rsi]
mov rcx, rsi
test rax, rax
je 0x180022cd7
call qword [rbx + 0x38]
jmp 0x180022cda
call qword [rbx + 0x30]
lea rdx, [rax - 1]
mov rcx, rsi
call qword [rbx + 0x40]
mov eax, dword [r15]
cmp dword [0x1800ce440], eax
jle 0x180022d23
lea rcx, [0x1800ce440]
call fcn.180061df4
cmp dword [0x1800ce440], 0xffffffff
jne 0x180022d23
lea rcx, [0x1800ce448]
call fcn.1800029b0
lea rcx, [0x1800ce440]
mov qword [0x1800ce450], r12
call fcn.180061d88
movsxd rax, dword [rdi + 0x78]
imul rcx, rax, 0xf4240
mov qword [0x1800ce450], rcx
cmp byte [rdi + 0x154], r12b
je 0x180022d70
mov rax, qword [rsi]
mov rcx, rsi
call qword [rax + 0x30]
test rax, rax
je 0x180022d70
lea rcx, [rbp + 0x30]
call fcn.1800029b0
mov rcx, qword [rbp + 0x30]
mov rax, rcx
sub rax, qword [0x1800ce448]
cmp rax, qword [0x1800ce450]
jge 0x180022df3
mov qword [rbp + 0x30], r12
mov dword [rbp + 0x30], 0xbb
mov rax, qword [rbp + 0x30]
mov qword [0x1800b5c78], rax
mov dword [0x1800b5ba8], r12d
mov qword [0x1800ce058], r13
mov qword [0x1800b5c70], r12
mov dword [0x1800b5b98], 2
call fcn.180024d70
cmp dword [rax], r12d
je 0x180022e8d
cmp byte [rdi + 0x69], r12b
je 0x180022e8d
mov rax, qword [rsi]
mov rcx, rsi
call qword [rax + 0x30]
test rax, rax
je 0x180022e8d
lea rcx, [rbp + 0x30]
call fcn.1800029b0
mov rcx, qword [rbp + 0x30]
mov rax, rcx
sub rax, qword [0x1800ce448]
cmp rax, qword [0x1800ce450]
jl 0x180022e8d
mov qword [0x1800ce448], rcx
cmp byte [rdi + 0x68], r12b
je 0x180022e59
movabs rax, 0x67c540aa08e4a6f5
mov qword [rbp + 0x30], r12
mov qword [0x1800ce058], rax
mov dword [rbp + 0x30], 0xffffffff
mov rax, qword [rbp + 0x30]
mov qword [0x1800b5c70], rax
lea rax, str.HUD_FRONTEND_DEFAULT_SOUNDSET
mov qword [0x1800b5c80], rax
mov dword [0x1800b5ba8], r12d
mov qword [0x1800b5c78], r14
mov qword [0x1800b5c88], r12
mov dword [0x1800b5b98], 4
call fcn.180024d70
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 0x180022e87
call qword [r14 + 0x38]
mov rcx, rsi
lea rdx, [rax + 1]
jmp 0x180022e89
xor edx, edx
call qword [r14 + 0x40]
mov eax, dword [r15]
cmp dword [0x1800ce458], eax
jle 0x180022ecc
lea rcx, [0x1800ce458]
call fcn.180061df4
cmp dword [0x1800ce458], 0xffffffff
jne 0x180022ecc
lea rcx, [0x1800ce460]
call fcn.1800029b0
lea rcx, [0x1800ce458]
mov qword [0x1800ce468], r12
call fcn.180061d88
movsxd rax, dword [rdi + 0x7c]
lea r14, str.NAV_LEFT_RIGHT
imul rcx, rax, 0xf4240
mov qword [0x1800ce468], rcx
cmp byte [rdi + 0x155], r12b
je 0x180022f20
mov rax, qword [rsi]
mov rcx, rsi
call qword [rax + 0x30]
test rax, rax
je 0x180022f20
lea rcx, [rbp + 0x30]
call fcn.1800029b0
mov rcx, qword [rbp + 0x30]
mov rax, rcx
sub rax, qword [0x1800ce460]
cmp rax, qword [0x1800ce468]
jge 0x180022fa3
mov qword [rbp + 0x30], r12
mov dword [rbp + 0x30], 0xae
mov rax, qword [rbp + 0x30]
mov qword [0x1800b5c78], rax
mov dword [0x1800b5ba8], r12d
mov qword [0x1800ce058], r13
mov qword [0x1800b5c70], r12
mov dword [0x1800b5b98], 2
call fcn.180024d70
cmp dword [rax], r12d
je 0x18002302c
cmp byte [rdi + 0x69], r12b
je 0x18002302c
mov rax, qword [rsi]
mov rcx, rsi
call qword [rax + 0x30]
test rax, rax
je 0x18002302c
lea rcx, [rbp + 0x30]
call fcn.1800029b0
mov rcx, qword [rbp + 0x30]
mov rax, rcx
sub rax, qword [0x1800ce460]
cmp rax, qword [0x1800ce468]
jl 0x18002302c
mov qword [0x1800ce460], rcx
cmp byte [rdi + 0x68], r12b
je 0x180023009
movabs rax, 0x67c540aa08e4a6f5
mov qword [rbp + 0x30], r12
mov qword [0x1800ce058], rax
mov dword [rbp + 0x30], 0xffffffff
mov rax, qword [rbp + 0x30]
mov qword [0x1800b5c70], rax
lea rax, str.HUD_FRONTEND_DEFAULT_SOUNDSET
mov qword [0x1800b5c80], rax
mov dword [0x1800b5ba8], r12d
mov qword [0x1800b5c78], r14
mov qword [0x1800b5c88], r12
mov dword [0x1800b5b98], 4
call fcn.180024d70
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 0x18002302c
mov r8, qword [rax]
xor edx, edx
mov rcx, rax
call qword [r8 + 0x20]
mov eax, dword [r15]
cmp dword [0x1800ce470], eax
jle 0x18002306b
lea rcx, [0x1800ce470]
call fcn.180061df4
cmp dword [0x1800ce470], 0xffffffff
jne 0x18002306b
lea rcx, [0x1800ce478]
call fcn.1800029b0
lea rcx, [0x1800ce470]
mov qword [0x1800ce480], r12
call fcn.180061d88
movsxd rax, dword [rdi + 0x7c]
imul rcx, rax, 0xf4240
mov qword [0x1800ce480], rcx
cmp byte [rdi + 0x156], r12b
je 0x1800230b8
mov rax, qword [rsi]
mov rcx, rsi
call qword [rax + 0x30]
test rax, rax
je 0x1800230b8
lea rcx, [rbp + 0x30]
call fcn.1800029b0
mov rcx, qword [rbp + 0x30]
mov rax, rcx
sub rax, qword [0x1800ce478]
cmp rax, qword [0x1800ce480]
jge 0x18002313b
mov qword [rbp + 0x30], r12
mov dword [rbp + 0x30], 0xaf
mov rax, qword [rbp + 0x30]
mov qword [0x1800b5c78], rax
mov dword [0x1800b5ba8], r12d
mov qword [0x1800ce058], r13
mov qword [0x1800b5c70], r12
mov dword [0x1800b5b98], 2
call fcn.180024d70
cmp dword [rax], r12d
je 0x1800231c7
cmp byte [rdi + 0x69], r12b
je 0x1800231c7
mov rax, qword [rsi]
mov rcx, rsi
call qword [rax + 0x30]
test rax, rax
je 0x1800231c7
lea rcx, [rbp + 0x30]
call fcn.1800029b0
mov rcx, qword [rbp + 0x30]
mov rax, rcx
sub rax, qword [0x1800ce478]
cmp rax, qword [0x1800ce480]
jl 0x1800231c7
mov qword [0x1800ce478], rcx
cmp byte [rdi + 0x68], r12b
je 0x1800231a1
movabs rax, 0x67c540aa08e4a6f5
mov qword [rbp + 0x30], r12
mov qword [0x1800ce058], rax
mov dword [rbp + 0x30], 0xffffffff
mov rax, qword [rbp + 0x30]
mov qword [0x1800b5c70], rax
lea rax, str.HUD_FRONTEND_DEFAULT_SOUNDSET
mov qword [0x1800b5c80], rax
mov dword [0x1800b5ba8], r12d
mov qword [0x1800b5c78], r14
mov qword [0x1800b5c88], r12
mov dword [0x1800b5b98], 4
call fcn.180024d70
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 0x1800231c7
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