Function at 0x180163de0
Capabilities:
Encode data using xor
Hash data using fnv

Disassembly:
mov rax, rsp
mov qword [rax + 0x10], rdx
mov qword [rax + 8], rcx
push rbp
push rbx
push rsi
push rdi
push r12
push r13
push r14
push r15
lea rbp, [rax - 0x208]
sub rsp, 0x2c8
movaps xmmword [rax - 0x58], xmm6
movaps xmmword [rax - 0x68], xmm7
movaps xmmword [rax - 0x78], xmm8
movaps xmmword [rax - 0x88], xmm9
movaps xmmword [rax - 0x98], xmm10
mov rdi, rdx
test byte [0x180266314], 2
je 0x180164c36
cmp dword [0x180266194], 0
je 0x180164c36
mov dword [rbp + 0x210], 3
lea r8, [rbp + 0x210]
lea rdx, [rbp + 0x10]
lea rcx, [0x1802580e0]
call fcn.18019e410
mov rcx, qword [rax]
mov rax, qword [rcx + 0x18]
mov qword [rbp + 0x20], rax
mov rcx, qword [rcx + 0x20]
mov qword [rbp + 0x28], rcx
cmp rax, rcx
je 0x180164c36
movss xmm9, dword [0x18022cd34]
movss xmm10, dword [0x18022cc70]
movss xmm7, dword [0x18022cb38]
movss xmm8, dword [0x18022ccf0]
nop
mov r13, qword [rax]
mov qword [rbp - 0x58], r13
mov rcx, r13
call fcn.1800b8a00
mov r9, qword [0x180257730]
mov rcx, qword [r9]
mov r8, qword [rcx + 0x20]
mov eax, dword [rax]
mov dword [rbp], eax
lea rdx, [rbp]
mov rcx, r9
call r8
mov r14, rax
test rax, rax
je 0x180163f7e
lea rcx, [rax + 0x10]
mov rdx, qword [rcx]
call qword [rdx + 0x48]
mov esi, eax
mov rcx, qword [0x180257748]
mov rdx, qword [rcx]
call qword [rdx + 0x60]
cmp esi, eax
jne 0x180163f07
test byte [0x180266194], 4
je 0x180164c20
jmp 0x180163f96
mov eax, dword [0x180266194]
test al, 8
je 0x180163f3c
mov dword [rsp + 0x30], esi
lea r8, [rsp + 0x30]
lea rdx, [rbp + 0x150]
lea rcx, [0x1802583a0]
call fcn.1800ac630
mov rcx, qword [rax]
cmp byte [rcx + 0x14], 0
jne 0x180163f86
mov eax, dword [0x180266194]
test al, 0x10
je 0x180163f5e
mov edx, esi
call fcn.18014fd80
mov r8d, eax
xor edx, edx
lea rcx, [0x180266b20]
call fcn.18012aaa0
cmp r8d, dword [rax + 0x24]
jg 0x180163f86
mov rcx, r14
call fcn.1800b7dc0
mov ebx, dword [rax]
mov rcx, rdi
call fcn.1800b7dc0
cmp ebx, dword [rax]
jne 0x180163f86
mov eax, dword [0x180266194]
shr eax, 1
jmp 0x180163f8c
xor esi, esi
mov rcx, qword [rbp - 0x58]
jmp 0x180163f61
mov eax, dword [0x180266194]
not eax
test al, 1
jne 0x180164c20
mov rcx, r13
call fcn.1800c5980
movzx r12d, byte [rax]
lea r8, [rbp - 0x58]
lea rdx, [rbp + 0x160]
lea rcx, [0x180252d10]
call fcn.180169030
mov r15, qword [rax]
movd xmm0, dword [0x180266214]
cvtdq2ps xmm0, xmm0
divss xmm0, xmm9
movss dword [r15 + 0x18], xmm0
movzx ebx, byte [0x180265d11]
mov rcx, qword [rbp - 0x58]
test r14, r14
cmovne rcx, r14
call fcn.1800b7dc0
mov edi, dword [rax]
mov rcx, qword [rbp + 0x218]
call fcn.1800b7dc0
mov ecx, dword [rax]
test bl, bl
je 0x18016400e
mov eax, dword [0x180264e94]
cmp ecx, edi
cmove eax, dword [0x180265314]
jmp 0x18016402d
sub edi, 2
je 0x180164027
cmp edi, 1
je 0x18016401f
mov eax, 0xffffffff
jmp 0x18016402d
mov eax, dword [0x180265094]
jmp 0x18016402d
mov eax, dword [0x180265b94]
mov dword [r15 + 0x38], eax
mov eax, dword [0x180266194]
shr eax, 6
and al, 1
mov byte [r15 + 0x3c], al
mov eax, dword [0x180266194]
test al, al
jns 0x1801641bb
mov rcx, qword [rbp - 0x58]
call fcn.1800b7cc0
mov rbx, rax
mov rcx, qword [rbp + 0x218]
call fcn.1800be1c0
movss xmm0, dword [rbx + 4]
subss xmm0, dword [rax + 4]
movss xmm1, dword [rbx]
subss xmm1, dword [rax]
mulss xmm1, xmm1
mulss xmm0, xmm0
addss xmm1, xmm0
xorps xmm0, xmm0
ucomiss xmm0, xmm1
ja 0x180164095
xorps xmm0, xmm0
sqrtss xmm0, xmm1
jmp 0x18016409d
movaps xmm0, xmm1
call sub.api_ms_win_crt_math_l1_1_0.dll_sqrtf
divss xmm0, xmm10
lea rax, str._:.0fM_
mov qword [rbp + 0xa0], rax
mov qword [rbp + 0xa8], 9
movss dword [rbp + 0x88], xmm0
movabs rax, 0x7000000000000000
mov qword [rbp + 0x80], rax
mov qword [rbp + 0x90], 1
lea rax, [rbp + 0x80]
mov qword [rbp + 0x98], rax
movaps xmm0, xmmword [rbp + 0x90]
movdqa xmmword [rsp + 0x40], xmm0
movaps xmm1, xmmword [rbp + 0xa0]
movdqa xmmword [rbp + 0x10], xmm1
lea r8, [rsp + 0x40]
lea rdx, [rbp + 0x10]
lea rcx, [rbp - 0x20]
call fcn.1800ab1e0
nop
mov eax, dword [0x18025bf54]
mov dword [rsp + 0x50], eax
mov ecx, dword [0x18025bfd4]
mov dword [rsp + 0x54], ecx
movups xmm1, xmmword [rbp - 0x20]
movups xmmword [rsp + 0x58], xmm1
movups xmm0, xmmword [rbp - 0x10]
movups xmmword [rsp + 0x68], xmm0
xor r8d, r8d
mov qword [rbp - 0x10], r8
mov qword [rbp - 8], 0xf
mov byte [rbp - 0x20], r8b
mov dword [rsp + 0x78], 1
mov rdx, qword [r15 + 0x28]
cmp rdx, qword [r15 + 0x30]
je 0x180164192
mov dword [rdx], eax
mov dword [rdx + 4], ecx
movups xmmword [rdx + 8], xmm1
movups xmmword [rdx + 0x18], xmm0
mov qword [rsp + 0x68], r8
mov qword [rsp + 0x70], 0xf
mov byte [rsp + 0x58], r8b
mov dword [rdx + 0x28], 1
add qword [r15 + 0x28], 0x30
jmp 0x1801641a1
lea r8, [rsp + 0x50]
lea rcx, [r15 + 0x20]
call fcn.180169930
nop
lea rcx, [rsp + 0x58]
call fcn.180093e20
nop
lea rcx, [rbp - 0x20]
call fcn.180093e20
mov eax, dword [0x180266194]
test al, 0x20
je 0x1801642da
lea rbx, str.Building
mov rcx, qword [rbp - 0x58]
add rcx, 0x10
mov rax, qword [rcx]
call qword [rax + 0x10]
test rax, rax
je 0x18016422c
mov ecx, dword [rax + 0x28]
sub ecx, 0x56
je 0x180164225
sub ecx, 2
je 0x18016420e
cmp ecx, 1
jne 0x18016422c
mov rcx, r13
call fcn.180161060
lea rbx, str.Teleporter_Entrance
cmp dword [rax], 0
lea rax, str.Teleporter_Exit
cmovne rbx, rax
jmp 0x18016422c
lea rbx, str.Sentry
test r12b, r12b
lea rax, str.Mini_Sentry
cmovne rbx, rax
jmp 0x18016422c
lea rbx, str.Dispenser
mov eax, dword [0x18025bf54]
mov dword [rsp + 0x50], eax
mov eax, dword [0x18025bfd4]
mov dword [rsp + 0x54], eax
xorps xmm0, xmm0
movups xmmword [rsp + 0x58], xmm0
xor eax, eax
mov qword [rsp + 0x68], rax
mov qword [rsp + 0x70], rax
mov r8, 0xffffffffffffffff
nop dword [rax + rax]
inc r8
cmp byte [rbx + r8], al
jne 0x180164260
mov rdx, rbx
lea rcx, [rsp + 0x58]
call fcn.180095ea0
xor ecx, ecx
mov dword [rsp + 0x78], ecx
mov rdx, qword [r15 + 0x28]
cmp rdx, qword [r15 + 0x30]
je 0x1801642c1
mov eax, dword [rsp + 0x50]
mov dword [rdx], eax
mov eax, dword [rsp + 0x54]
mov dword [rdx + 4], eax
movups xmm0, xmmword [rsp + 0x58]
movups xmmword [rdx + 8], xmm0
movups xmm1, xmmword [rsp + 0x68]
movups xmmword [rdx + 0x18], xmm1
mov qword [rsp + 0x68], rcx
mov qword [rsp + 0x70], 0xf
mov byte [rsp + 0x58], cl
mov dword [rdx + 0x28], ecx
add qword [r15 + 0x28], 0x30
jmp 0x1801642d0
lea r8, [rsp + 0x50]
lea rcx, [r15 + 0x20]
call fcn.180169930
nop
lea rcx, [rsp + 0x58]
call fcn.180093e20
mov rcx, r13
call fcn.1800c5680
movd xmm6, dword [rax]
cvtdq2ps xmm6, xmm6
mov rcx, r13
call fcn.1800c5780
movd xmm1, dword [rax]
cvtdq2ps xmm1, xmm1
mov ecx, dword [0x180266194]
bt ecx, 8
setb al
mov byte [r15 + 0x3d], al
bt ecx, 8
jae 0x18016431c
movaps xmm0, xmm6
divss xmm0, xmm1
movss dword [r15 + 0x40], xmm0
test dword [0x180266194], 0x200
je 0x18016442d
lea rax, [0x180221454]
mov qword [rbp + 0x40], rax
mov qword [rbp + 0x48], 2
movss dword [rbp + 0xb8], xmm6
movabs rax, 0x7000000000000000
mov qword [rbp + 0xb0], rax
mov qword [rbp + 0x30], 1
lea rax, [rbp + 0xb0]
mov qword [rbp + 0x38], rax
movaps xmm0, xmmword [rbp + 0x30]
movdqa xmmword [rbp + 0x10], xmm0
movaps xmm1, xmmword [rbp + 0x40]
movdqa xmmword [rsp + 0x40], xmm1
lea r8, [rbp + 0x10]
lea rdx, [rsp + 0x40]
lea rcx, [rbp - 0x20]
call fcn.1800ab1e0
nop
mov eax, dword [0x18025bf54]
mov dword [rsp + 0x50], eax
mov ecx, dword [0x18025bfd4]
mov dword [rsp + 0x54], ecx
movups xmm1, xmmword [rbp - 0x20]
movups xmmword [rsp + 0x58], xmm1
movups xmm0, xmmword [rbp - 0x10]
movups xmmword [rsp + 0x68], xmm0
xor r8d, r8d
mov qword [rbp - 0x10], r8
mov qword [rbp - 8], 0xf
mov byte [rbp - 0x20], r8b
mov dword [rsp + 0x78], 3
mov rdx, qword [r15 + 0x28]
cmp rdx, qword [r15 + 0x30]
je 0x18016440a
mov dword [rdx], eax
mov dword [rdx + 4], ecx
movups xmmword [rdx + 8], xmm1
movups xmmword [rdx + 0x18], xmm0
mov qword [rsp + 0x68], r8
mov qword [rsp + 0x70], 0xf
mov byte [rsp + 0x58], r8b
mov dword [rdx + 0x28], 3
add qword [r15 + 0x28], 0x30
jmp 0x180164419
lea r8, [rsp + 0x50]
lea rcx, [r15 + 0x20]
call fcn.180169930
nop
lea rcx, [rsp + 0x58]
call fcn.180093e20
nop
lea rcx, [rbp - 0x20]
call fcn.180093e20
test dword [0x180266194], 0x400
je 0x180164517
mov rcx, r13
call fcn.180161160
cmp byte [rax], 0
jne 0x180164517
test r14, r14
je 0x180164517
xorps xmm0, xmm0
xor eax, eax
movups xmmword [rbp + 0xc0], xmm0
movups xmmword [rbp + 0xd0], xmm0
movups xmmword [rbp + 0xe0], xmm0
movups xmmword [rbp + 0xf0], xmm0
movups xmmword [rbp + 0x100], xmm0
movups xmmword [rbp + 0x110], xmm0
movups xmmword [rbp + 0x120], xmm0
movups xmmword [rbp + 0x130], xmm0
mov dword [rbp + 0x140], eax
mov rcx, qword [0x180257748]
mov rax, qword [rcx]
lea r8, [rbp + 0xc0]
mov edx, esi
call qword [rax + 0x40]
test al, al
je 0x180164517
mov dword [rsp + 0x30], 0
xor r9d, r9d
lea r8, [rbp + 0xc0]
mov edx, esi
lea rcx, [0x180266a50]
call fcn.180150270
mov qword [rsp + 0x40], rax
lea rax, [0x18025bf54]
mov qword [rsp + 0x20], rax
lea r9, [0x18025bfd4]
lea r8, [rsp + 0x40]
lea rdx, [rsp + 0x30]
lea rcx, [rbp - 0x50]
call fcn.180168bb0
nop
lea rdx, [rbp - 0x50]
lea rcx, [r15 + 0x20]
call fcn.1801681c0
nop
lea rcx, [rbp - 0x48]
call fcn.180093e20
test dword [0x180266194], 0x800
je 0x180164657
test r12b, r12b
jne 0x180164657
mov rcx, r13
call fcn.1800c5a80
lea rcx, [0x180225330]
mov qword [rbp + 0x60], rcx
mov qword [rbp + 0x68], 7
mov eax, dword [rax]
mov dword [rbp - 0x10], eax
movabs rax, 0x1000000000000000
mov qword [rbp - 0x20], rax
mov dword [rbp - 0xc], 3
movabs rax, 0x1000000000000004
mov qword [rbp - 0x18], rax
mov qword [rbp + 0x50], 2
lea rax, [rbp - 0x20]
mov qword [rbp + 0x58], rax
movaps xmm0, xmmword [rbp + 0x50]
movdqa xmmword [rbp + 0x10], xmm0
movaps xmm1, xmmword [rbp + 0x60]
movdqa xmmword [rsp + 0x40], xmm1
lea r8, [rbp + 0x10]
lea rdx, [rsp + 0x40]
lea rcx, [rsp + 0x50]
call fcn.1800ab1e0
nop
mov eax, dword [0x18025bf54]
mov dword [rbp - 0x50], eax
mov ecx, dword [0x18025bfd4]
mov dword [rbp - 0x4c], ecx
movups xmm1, xmmword [rsp + 0x50]
movups xmmword [rbp - 0x48], xmm1
movups xmm0, xmmword [rsp + 0x60]
movups xmmword [rbp - 0x38], xmm0
mov qword [rsp + 0x60], 0
mov qword [rsp + 0x68], 0xf
mov byte [rsp + 0x50], r12b
mov dword [rbp - 0x28], 2
mov rdx, qword [r15 + 0x28]
cmp rdx, qword [r15 + 0x30]
je 0x180164635
mov dword [rdx], eax
mov dword [rdx + 4], ecx
mov qword [rdx + 0x18], 0
mov qword [rdx + 0x20], 0
movups xmmword [rdx + 8], xmm1
movups xmmword [rdx + 0x18], xmm0
mov qword [rbp - 0x38], 0
mov qword [rbp - 0x30], 0xf
mov byte [rbp - 0x48], r12b
mov dword [rdx + 0x28], 2
add qword [r15 + 0x28], 0x30
jmp 0x180164643
lea r8, [rbp - 0x50]
lea rcx, [r15 + 0x20]
call fcn.180169930
nop
lea rcx, [rbp - 0x48]
call fcn.180093e20
nop
lea rcx, [rsp + 0x50]
call fcn.180093e20
test dword [0x180266194], 0x1000
je 0x180164c19
mov r14d, 4
mov esi, dword [0x180255e0c]
mov rdi, qword gs:[0x58]
mov rax, qword [rdi + rsi*8]
mov ecx, dword [r14 + rax]
cmp dword [0x180257d90], ecx
jle 0x180164731
lea rcx, [0x180257d90]
call fcn.1801a548c
cmp dword [0x180257d90], 0xffffffff
jne 0x180164731
mov rcx, qword [0x180257700]
mov rax, qword [rcx]
call qword [rax + 0x40]
mov r10, rax
test rax, rax
je 0x18016471d
nop
mov r8, qword [r10 + 0x10]
mov rcx, 0xffffffffffffffff
mov r9d, 0x811c9dc5
inc rcx
cmp byte [r8 + rcx], 0
jne 0x1801646d1
xor edx, edx
test rcx, rcx
je 0x180164714
nop dword [rax]
nop word [rax + rax]
movsx eax, byte [rdx + r8]
xor eax, r9d
imul r9d, eax, 0x1000193
inc rdx
cmp rdx, rcx
jb 0x1801646f0
cmp r9d, 0xc262c48c
je 0x1801648e6
mov r10, qword [r10 + 0x20]
test r10, r10
jne 0x1801646c0
xor eax, eax
mov dword [0x180257d74], eax
lea rcx, [0x180257d90]
call fcn.1801a5420
movsxd rax, dword [0x180257d74]
movss xmm0, dword [rax + r13]
comiss xmm7, xmm0
jbe 0x1801647dc
mov dword [rsp + 0x40], 2
mulss xmm0, xmm8
movss dword [rsp + 0x30], xmm0
lea rax, str.:.0f__
mov qword [rbp + 0x70], rax
mov qword [rbp + 0x78], 8
lea r8, [rsp + 0x30]
lea rdx, [rbp + 0x70]
lea rcx, [rsp + 0x50]
call fcn.180168ab0
nop
mov dword [rbp + 0x220], 0xff00afff
mov dword [rbp + 0x210], 0xff000000
lea rcx, [rbp + 0x210]
mov qword [rsp + 0x20], rcx
lea r9, [rbp + 0x220]
mov r8, rax
lea rdx, [rsp + 0x40]
lea rcx, [rbp - 0x50]
call fcn.180168b70
nop
lea rdx, [rbp - 0x50]
lea rcx, [r15 + 0x20]
call fcn.1801681c0
nop
lea rcx, [rbp - 0x48]
call fcn.180093e20
nop
lea rcx, [rsp + 0x50]
call fcn.180093e20
lea rcx, [r13 + 0x10]
mov rax, qword [rcx]
call qword [rax + 0x10]
test rax, rax
je 0x180164873
cmp dword [rax + 0x28], 0x58
jne 0x180164873
mov rcx, r13
call fcn.180161260
cmp byte [rax], 0
je 0x180164873
mov dword [rsp + 0x40], 2
lea rdx, str.WRANGLED
lea rcx, [rsp + 0x50]
call fcn.180093a70
nop
mov dword [rbp - 0x80], 0xff6464ff
mov dword [rbp + 0x228], 0xff000000
lea rax, [rbp + 0x228]
mov qword [rsp + 0x20], rax
lea r9, [rbp - 0x80]
lea r8, [rsp + 0x50]
lea rdx, [rsp + 0x40]
lea rcx, [rbp - 0x50]
call fcn.180168b70
nop
lea rdx, [rbp - 0x50]
lea rcx, [r15 + 0x20]
call fcn.1801681c0
nop
lea rcx, [rbp - 0x48]
call fcn.180093e20
nop
lea rcx, [rsp + 0x50]
call fcn.180093e20
mov rcx, r13
call fcn.1800c5880
cmp byte [rax], 0
je 0x1801648fb
mov dword [rsp + 0x40], 2
lea rdx, [0x18022530c]
lea rcx, [rsp + 0x50]
call fcn.180093a70
nop
mov dword [rbp - 0x78], 0xff00afff
mov dword [rbp - 0x7c], 0xff000000
lea rax, [rbp - 0x7c]
mov qword [rsp + 0x20], rax
lea r9, [rbp - 0x78]
lea r8, [rsp + 0x50]
lea rdx, [rsp + 0x40]
lea rcx, [rbp - 0x50]
call fcn.180168b70
nop
lea rdx, [rbp - 0x50]
lea rcx, [r15 + 0x20]
call fcn.1801681c0
nop
lea rcx, [rbp - 0x48]
call fcn.180093e20
nop
jmp 0x180164a20
lea r8, str.m_flPercentageConstructed
mov rdx, qword [r10 + 0x18]
call fcn.1801a5020
jmp 0x18016471f
mov rax, qword [rdi + rsi*8]
mov ecx, dword [r14 + rax]
cmp dword [0x180257da8], ecx
jle 0x1801649b1
lea rcx, [0x180257da8]
call fcn.1801a548c
cmp dword [0x180257da8], 0xffffffff
jne 0x1801649b1
mov rcx, qword [0x180257700]
mov rax, qword [rcx]
call qword [rax + 0x40]
mov r10, rax
test rax, rax
je 0x18016499d
nop dword [rax]
mov r8, qword [r10 + 0x10]
mov rcx, 0xffffffffffffffff
mov r9d, 0x811c9dc5
inc rcx
cmp byte [r8 + rcx], 0
jne 0x180164951
xor edx, edx
test rcx, rcx
je 0x180164994
nop dword [rax]
nop word [rax + rax]
movsx eax, byte [r8 + rdx]
xor eax, r9d
imul r9d, eax, 0x1000193
inc rdx
cmp rdx, rcx
jb 0x180164970
cmp r9d, 0xc262c48c
je 0x180164c67
mov r10, qword [r10 + 0x20]
test r10, r10
jne 0x180164940
xor eax, eax
mov dword [0x180257dc8], eax
lea rcx, [0x180257da8]
call fcn.1801a5420
movsxd rax, dword [0x180257dc8]
cmp byte [rax + r13], 0
je 0x180164a2a
mov dword [rsp + 0x40], 2
lea rdx, str.DISABLED
lea rcx, [rsp + 0x50]
call fcn.180093a70
nop
mov dword [rbp - 0x70], 0xff00afff
mov dword [rbp - 0x74], 0xff000000
lea rax, [rbp - 0x74]
mov qword [rsp + 0x20], rax
lea r9, [rbp - 0x70]
lea r8, [rsp + 0x50]
lea rdx, [rsp + 0x40]
lea rcx, [rbp - 0x50]
call fcn.180168b70
nop
lea rdx, [rbp - 0x50]
lea rcx, [r15 + 0x20]
call fcn.1801681c0
nop
lea rcx, [rbp - 0x48]
call fcn.180093e20
nop
lea rcx, [rsp + 0x50]
call fcn.180093e20
lea rcx, [r13 + 0x10]
mov rax, qword [rcx]
call qword [rax + 0x10]
test rax, rax
je 0x180164c19
cmp dword [rax + 0x28], 0x58
jne 0x180164c19
mov rax, qword [rdi + rsi*8]
mov ecx, dword [r14 + rax]
cmp dword [0x180257d78], ecx
jle 0x180164b01
lea rcx, [0x180257d78]
call fcn.1801a548c
cmp dword [0x180257d78], 0xffffffff
jne 0x180164b01
mov rcx, qword [0x180257700]
mov rax, qword [rcx]
call qword [rax + 0x40]
mov r10, rax
test rax, rax
je 0x180164aed
nop dword [rax]
mov r8, qword [r10 + 0x10]
mov rcx, 0xffffffffffffffff
mov r9d, 0x811c9dc5
inc rcx
cmp byte [r8 + rcx], 0
jne 0x180164aa1
xor edx, edx
test rcx, rcx
je 0x180164ae4
nop dword [rax]
nop word [rax + rax]
movsx eax, byte [rdx + r8]
xor eax, r9d
imul r9d, eax, 0x1000193
inc rdx
cmp rdx, rcx
jb 0x180164ac0
cmp r9d, 0xc262c48c
je 0x180164c7c
mov r10, qword [r10 + 0x20]
test r10, r10
jne 0x180164a90
xor eax, eax
mov dword [0x180257d7c], eax
lea rcx, [0x180257d78]
call fcn.1801a5420
movsxd rax, dword [0x180257d7c]
cmp byte [rax + r13], 0
jne 0x180164c19
lea rax, [rsp + 0x40]
mov qword [rsp + 0x20], rax
lea r9, [rbp + 8]
lea r8, [rsp + 0x30]
lea rdx, [rbp + 4]
mov rcx, r13
call fcn.1800c5c80
cmp dword [rbp + 4], 0
jne 0x180164ba3
mov dword [rsp + 0x40], 2
lea rdx, str.NO_AMMO
lea rcx, [rsp + 0x50]
call fcn.180093a70
nop
mov dword [rbp - 0x68], 0xff7f7f7f
mov dword [rbp - 0x6c], 0xff000000
lea rax, [rbp - 0x6c]
mov qword [rsp + 0x20], rax
lea r9, [rbp - 0x68]
lea r8, [rsp + 0x50]
lea rdx, [rsp + 0x40]
lea rcx, [rbp - 0x50]
call fcn.180168b70
nop
lea rdx, [rbp - 0x50]
lea rcx, [r15 + 0x20]
call fcn.1801681c0
nop
lea rcx, [rbp - 0x48]
call fcn.180093e20
nop
lea rcx, [rsp + 0x50]
call fcn.180093e20
test r12b, r12b
jne 0x180164c19
cmp dword [rbp + 8], 0
jne 0x180164c19
mov dword [rsp + 0x40], 2
lea rdx, str.NO_ROCKETS
lea rcx, [rsp + 0x50]
call fcn.180093a70
nop
mov dword [rbp - 0x60], 0xff7f7f7f
mov dword [rbp - 0x64], 0xff000000
lea rax, [rbp - 0x64]
mov qword [rsp + 0x20], rax
lea r9, [rbp - 0x60]
lea r8, [rsp + 0x50]
lea rdx, [rsp + 0x40]
lea rcx, [rbp - 0x50]
call fcn.180168b70
nop
lea rdx, [rbp - 0x50]
lea rcx, [r15 + 0x20]
call fcn.1801681c0
nop
lea rcx, [rbp - 0x48]
call fcn.180093e20
nop
lea rcx, [rsp + 0x50]
call fcn.180093e20
mov rdi, qword [rbp + 0x218]
mov rax, qword [rbp + 0x20]
add rax, 8
mov qword [rbp + 0x20], rax
cmp rax, qword [rbp + 0x28]
jne 0x180163ea0
lea r11, [rsp + 0x2c8]
movaps xmm6, xmmword [r11 - 0x18]
movaps xmm7, xmmword [r11 - 0x28]
movaps xmm8, xmmword [r11 - 0x38]
movaps xmm9, xmmword [r11 - 0x48]
movaps xmm10, xmmword [r11 - 0x58]
mov rsp, r11
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbx
pop rbp
ret
lea r8, str.m_bDisabled
mov rdx, qword [r10 + 0x18]
call fcn.1801a5020
jmp 0x18016499f
lea r8, str.m_bBuilding
mov rdx, qword [r10 + 0x18]
call fcn.1801a5020
jmp 0x180164aef