Function at 0x180188980
Capabilities:
Resolve function by parsing pe exports

Disassembly:
mov dword [rsp + 0x20], r9d
mov dword [rsp + 0x18], r8d
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
push rdi
sub rsp, 0xa0
lea rdi, [rsp + 0x20]
mov ecx, 0x20
mov eax, 0xcccccccc
rep stosd dword [rdi], eax
mov rcx, qword [rsp + 0xb0]
lea rcx, [0x1805d51a5]
call fcn.18024f670
mov eax, dword [rsp + 0xc0]
cmp dword [rsp + 0xc8], eax
jb 0x1801889d3
jmp 0x1801889f1
lea r8, str.idealCapacity___newSize
mov edx, 0x92
lea rcx, [0x180462e40]
call fcn.18017bc30
xor eax, eax
test eax, eax
jne 0x1801889c1
mov rax, qword [rsp + 0xb0]
mov eax, dword [rax + 8]
cmp dword [rsp + 0xc0], eax
ja 0x180188aa1
xor edx, edx
mov eax, dword [rsp + 0xc0]
mov ecx, 0x40
div ecx
mov dword [rsp + 0x20], eax
xor edx, edx
mov eax, dword [rsp + 0xc0]
mov ecx, 0x40
div ecx
mov eax, edx
mov dword [rsp + 0x24], eax
cmp dword [rsp + 0x24], 0
je 0x180188a88
mov eax, dword [rsp + 0x24]
mov ecx, 1
mov qword [rsp + 0x88], rcx
movzx ecx, al
mov rax, qword [rsp + 0x88]
shl rax, cl
dec rax
mov ecx, dword [rsp + 0x20]
mov rdx, qword [rsp + 0xb0]
mov rdx, qword [rdx]
mov rcx, qword [rdx + rcx*8]
and rcx, rax
mov rax, rcx
mov ecx, dword [rsp + 0x20]
mov rdx, qword [rsp + 0xb0]
mov rdx, qword [rdx]
mov qword [rdx + rcx*8], rax
mov rax, qword [rsp + 0xb0]
mov ecx, dword [rsp + 0xc0]
mov dword [rax + 8], ecx
xor eax, eax
jmp 0x180188d85
mov rax, qword [rsp + 0xb0]
mov eax, dword [rax + 8]
mov dword [rsp + 0x28], eax
mov rax, qword [rsp + 0xb0]
mov rax, qword [rax]
mov qword [rsp + 0x30], rax
mov rax, qword [rsp + 0xb0]
mov eax, dword [rax + 0xc]
cmp dword [rsp + 0xc0], eax
jbe 0x180188be8
mov edx, 0x40
mov ecx, dword [rsp + 0xc8]
call fcn.180188e90
mov dword [rsp + 0x38], eax
mov eax, dword [rsp + 0xc0]
cmp dword [rsp + 0x38], eax
jae 0x180188b09
mov ecx, 1
call fcn.180188360
jmp 0x180188d85
xor edx, edx
mov eax, dword [rsp + 0x38]
mov ecx, 8
div ecx
mov dword [rsp + 0x3c], eax
mov eax, dword [rsp + 0x3c]
lea r8, [rsp + 0x48]
mov edx, eax
mov rcx, qword [rsp + 0xb8]
call fcn.180188f90
mov qword [rsp + 0x58], rax
cmp qword [rsp + 0x58], 0
jne 0x180188b4e
mov ecx, 1
call fcn.180188360
jmp 0x180188d85
mov rax, qword [rsp + 0x48]
shl rax, 3
mov qword [rsp + 0x60], rax
mov rax, qword [rsp + 0x48]
cmp qword [rsp + 0x60], rax
jae 0x180188b71
mov eax, dword [rsp + 0x38]
mov qword [rsp + 0x60], rax
mov ecx, dword [rsp + 0x28]
call fcn.180188f60
mov r8d, eax
mov rdx, qword [rsp + 0x30]
mov rcx, qword [rsp + 0x58]
call fcn.180188f00
cmp qword [rsp + 0x30], 0
je 0x180188bbf
xor edx, edx
mov rax, qword [rsp + 0xb0]
mov eax, dword [rax + 0xc]
mov ecx, 8
div ecx
mov eax, eax
mov r8d, eax
mov rdx, qword [rsp + 0x30]
mov rcx, qword [rsp + 0xb8]
call fcn.180185670
mov rax, qword [rsp + 0x58]
mov qword [rsp + 0x30], rax
mov rax, qword [rsp + 0xb0]
mov rcx, qword [rsp + 0x30]
mov qword [rax], rcx
mov rax, qword [rsp + 0xb0]
mov ecx, dword [rsp + 0x60]
mov dword [rax + 0xc], ecx
xor edx, edx
mov eax, dword [rsp + 0x28]
mov ecx, 0x40
div ecx
mov dword [rsp + 0x68], eax
xor edx, edx
mov eax, dword [rsp + 0x28]
mov ecx, 0x40
div ecx
mov eax, edx
mov dword [rsp + 0x6c], eax
xor edx, edx
mov eax, dword [rsp + 0xc0]
mov ecx, 0x40
div ecx
mov eax, edx
mov dword [rsp + 0x70], eax
movzx ecx, byte [rsp + 0xd0]
call fcn.180188ed0
mov qword [rsp + 0x78], rax
cmp dword [rsp + 0x6c], 0
je 0x180188ceb
mov dword [rsp + 0x80], 0
xor edx, edx
mov eax, dword [rsp + 0xc0]
mov ecx, 0x40
div ecx
cmp dword [rsp + 0x68], eax
jne 0x180188c9f
mov eax, dword [rsp + 0x70]
cmp dword [rsp + 0x6c], eax
jae 0x180188c6c
jmp 0x180188c8a
lea r8, str.startBit___endBit
mov edx, 0xda
lea rcx, str.E:Project_Bo4SOURCE_CODE_bods_shield_bods_shielddeps_asmjit_src_asmjitcorezonevector.cpp
call fcn.18017bc30
xor eax, eax
test eax, eax
jne 0x180188c60
mov eax, dword [rsp + 0x6c]
mov ecx, dword [rsp + 0x70]
sub ecx, eax
mov eax, ecx
mov dword [rsp + 0x80], eax
jmp 0x180188caf
mov eax, 0x40
sub eax, dword [rsp + 0x6c]
mov dword [rsp + 0x80], eax
mov eax, dword [rsp + 0x80]
movzx ecx, al
mov rax, qword [rsp + 0x78]
shl rax, cl
mov ecx, dword [rsp + 0x68]
mov rdx, qword [rsp + 0x30]
mov rcx, qword [rdx + rcx*8]
or rcx, rax
mov rax, rcx
mov ecx, dword [rsp + 0x68]
mov rdx, qword [rsp + 0x30]
mov qword [rdx + rcx*8], rax
mov eax, dword [rsp + 0x68]
inc eax
mov dword [rsp + 0x68], eax
mov ecx, dword [rsp + 0xc0]
call fcn.180188f60
mov dword [rsp + 0x84], eax
mov eax, dword [rsp + 0x84]
cmp dword [rsp + 0x68], eax
jae 0x180188d29
mov eax, dword [rsp + 0x68]
mov rcx, qword [rsp + 0x30]
mov rdx, qword [rsp + 0x78]
mov qword [rcx + rax*8], rdx
mov eax, dword [rsp + 0x68]
inc eax
mov dword [rsp + 0x68], eax
jmp 0x180188cfe
cmp dword [rsp + 0x70], 0
je 0x180188d71
mov eax, dword [rsp + 0x70]
mov ecx, 1
mov qword [rsp + 0x90], rcx
movzx ecx, al
mov rax, qword [rsp + 0x90]
shl rax, cl
dec rax
mov rcx, qword [rsp + 0x78]
and rcx, rax
mov rax, rcx
mov ecx, dword [rsp + 0x84]
dec ecx
mov ecx, ecx
mov rdx, qword [rsp + 0x30]
mov qword [rdx + rcx*8], rax
mov rax, qword [rsp + 0xb0]
mov ecx, dword [rsp + 0xc0]
mov dword [rax + 8], ecx
xor eax, eax
mov rdi, rax
mov rcx, rsp
lea rdx, [0x180463050]
call fcn.18024f440
mov rax, rdi
add rsp, 0xa0
pop rdi
ret