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

Disassembly:
push rbp
push rbx
push rsi
push r13
push r14
push r15
lea rbp, [rsp - 0x78]
sub rsp, 0x178
mov rax, qword [0x180195240]
xor rax, rsp
mov qword [rbp + 0x58], rax
mov rbx, qword [rbp + 0xd0]
xor eax, eax
mov r11, qword [rbp + 0xd8]
mov r10d, r9d
mov dword [rsp + 0x40], r9d
mov r13d, r8d
mov r15d, edx
mov r14, rcx
mov qword [rsp + 0x58], r11
cmp byte [rbx + 0x50], al
je 0x1801121d6
mov byte [rbx + 0x50], al
mov dword [rbx + 0x48], eax
mov rcx, qword [rbx + 0x40]
test rcx, rcx
je 0x1801121c4
call qword [sym.imp.FactoryGameEGS_Core.dll_public:_static_void___cdecl_FMemory::Free_void____ptr64_]
mov rcx, rbx
call fcn.1800d2760
mov r10d, dword [rsp + 0x40]
mov r11, qword [rsp + 0x58]
mov r8, qword [r14]
mov ecx, r15d
and ecx, 0x1ff
mov rdx, r15
shr rdx, 9
mov rax, qword [r8 + 0x80]
mov r9, qword [r8 + 0xc8]
mov rax, qword [rax + rdx*8]
mov edx, dword [rax + rcx*4]
mov ecx, edx
mov eax, edx
shr rax, 9
and ecx, 0x1ff
mov rax, qword [r9 + rax*8]
mov esi, dword [rax + rcx*4]
cmp edx, dword [r8 + 0xd8]
jge 0x180112223
mov eax, esi
jmp 0x18011266d
mov qword [rsp + 0x28], r11
lea r8d, [r13 + 1]
mov qword [rsp + 0x20], rbx
mov qword [rsp + 0x168], r12
test esi, esi
jns 0x180112251
not esi
mov r9d, r10d
mov edx, esi
mov rcx, r14
call fcn.180112160
jmp 0x180112665
lea eax, [rdx + 1]
mov qword [rsp + 0x170], rdi
mov ecx, eax
mov edx, eax
shr rdx, 9
and ecx, 0x1ff
dec esi
mov rax, qword [r9 + rdx*8]
mov r9d, r10d
mov edx, esi
mov eax, dword [rax + rcx*4]
mov rcx, r14
dec eax
mov byte [rbp + 0x50], 0
mov dword [rsp + 0x48], eax
call fcn.180112160
mov r12d, dword [rsp + 0x48]
lea r8d, [r13 + 1]
mov r9d, dword [rsp + 0x40]
mov edi, eax
mov rax, qword [rsp + 0x58]
mov edx, r12d
mov qword [rsp + 0x28], rax
mov rcx, r14
lea rax, [rbp]
mov qword [rsp + 0x20], rax
call fcn.180112160
add edi, eax
test r13d, r13d
je 0x180112634
cmp byte [rbx + 0x50], 0
lea r13, str.It_is_an_error_to_call_GetValue___on_an_unset_TOptional._Please_either_check_IsSet___or_use_Get_DefaultValue__instead.
jne 0x18011231d
cmp byte [rbp + 0x50], 0
jne 0x18011236e
cmp edi, dword [rsp + 0x40]
jle 0x18011265b
xor eax, eax
mov dword [rbx + 0x2c], 0x80
mov qword [rbx], rax
mov r8, rbx
mov qword [rbx + 8], rax
mov edx, esi
mov qword [rbx + 0x20], rax
mov rcx, r14
mov dword [rbx + 0x28], eax
mov dword [rbx + 0x34], eax
mov qword [rbx + 0x40], rax
mov dword [rbx + 0x48], eax
mov dword [rbx + 0x30], 0xffffffff
mov byte [rbx + 0x50], 1
call fcn.180114770
cmp byte [rbp + 0x50], 0
movzx eax, byte [rbx + 0x50]
jne 0x180112444
test al, al
jne 0x18011235b
mov r9, qword [rbp + 0xa8]
lea rdx, str.C:BuildAgent2work78a794e88763017dUE4EngineSourceRuntimeCorePublicMiscOptional.h
mov r8d, 0x164
mov qword [rsp + 0x20], r13
lea rcx, str.IsSet__
call qword [sym.imp.FactoryGameEGS_Core.dll_public:_static_bool___cdecl_FDebug::CheckVerifyFailedImpl_char_const____ptr64__char_const____ptr64__int__void____ptr64__wchar_t_const____ptr64_]
test al, al
je 0x18011235b
nop
int3
mov r8, rbx
mov edx, r12d
mov rcx, r14
call fcn.180114770
jmp 0x1801124b2
lea r8, [rbp]
mov edx, esi
mov rcx, r14
call fcn.180114770
lea rax, [rbp]
cmp rax, rbx
je 0x1801124b2
xor esi, esi
cmp byte [rbx + 0x50], sil
je 0x1801123fe
mov byte [rbx + 0x50], sil
mov dword [rbx + 0x48], esi
mov rcx, qword [rbx + 0x40]
test rcx, rcx
je 0x1801123a7
call qword [sym.imp.FactoryGameEGS_Core.dll_public:_static_void___cdecl_FMemory::Free_void____ptr64_]
mov dword [rbx + 8], esi
cmp dword [rbx + 0xc], esi
je 0x1801123b9
xor edx, edx
mov rcx, rbx
call fcn.1800fe070
lea rcx, [rbx + 0x10]
mov dword [rbx + 0x30], 0xffffffff
mov dword [rbx + 0x34], esi
cmp dword [rcx + 0x1c], 0x80
mov dword [rcx + 0x18], esi
jbe 0x1801123e1
xor edx, edx
mov dword [rcx + 0x1c], 0x80
call fcn.180048bf0
mov rcx, qword [rbx + 0x20]
test rcx, rcx
je 0x1801123f0
call qword [sym.imp.FactoryGameEGS_Core.dll_public:_static_void___cdecl_FMemory::Free_void____ptr64_]
mov rcx, qword [rbx]
test rcx, rcx
je 0x1801123fe
call qword [sym.imp.FactoryGameEGS_Core.dll_public:_static_void___cdecl_FMemory::Free_void____ptr64_]
cmp byte [rbp + 0x50], 0
je 0x1801124b2
lea rdx, [rbp]
mov qword [rbx], rsi
mov rcx, rbx
mov qword [rbx + 8], 0
mov qword [rbx + 0x20], rsi
mov dword [rbx + 0x28], esi
mov dword [rbx + 0x2c], 0x80
mov dword [rbx + 0x30], 0xffffffff
mov dword [rbx + 0x34], esi
mov qword [rbx + 0x40], rsi
mov dword [rbx + 0x48], esi
call fcn.1800d5420
mov byte [rbx + 0x50], 1
jmp 0x1801124b2
test al, al
jne 0x180112474
mov r9, qword [rbp + 0xa8]
lea rdx, str.C:BuildAgent2work78a794e88763017dUE4EngineSourceRuntimeCorePublicMiscOptional.h
mov r8d, 0x164
mov qword [rsp + 0x20], r13
lea rcx, str.IsSet__
call qword [sym.imp.FactoryGameEGS_Core.dll_public:_static_bool___cdecl_FDebug::CheckVerifyFailedImpl_char_const____ptr64__char_const____ptr64__int__void____ptr64__wchar_t_const____ptr64_]
test al, al
je 0x180112474
nop
int3
cmp byte [rbp + 0x50], 0
jne 0x1801124a6
mov r9, qword [rbp + 0xa8]
lea rdx, str.C:BuildAgent2work78a794e88763017dUE4EngineSourceRuntimeCorePublicMiscOptional.h
mov r8d, 0x164
mov qword [rsp + 0x20], r13
lea rcx, str.IsSet__
call qword [sym.imp.FactoryGameEGS_Core.dll_public:_static_bool___cdecl_FDebug::CheckVerifyFailedImpl_char_const____ptr64__char_const____ptr64__int__void____ptr64__wchar_t_const____ptr64_]
test al, al
je 0x1801124a6
nop
int3
lea rdx, [rbp]
mov rcx, rbx
call fcn.1800b07c0
cmp edi, dword [rsp + 0x40]
jle 0x180112634
cmp byte [rbx + 0x50], 0
lea r12, [0x18016f144]
jne 0x180112527
mov r9, qword [rbp + 0xa8]
lea rdx, str.C:BuildAgent2work78a794e88763017dUE4EngineSourceRuntimeGeometryCorePublicSpatialFastWinding.h
mov r8d, 0x212
mov qword [rsp + 0x20], r12
lea rcx, str.TriHash.IsSet__
call qword [sym.imp.FactoryGameEGS_Core.dll_public:_static_bool___cdecl_FDebug::CheckVerifyFailedImpl_char_const____ptr64__char_const____ptr64__int__void____ptr64__wchar_t_const____ptr64_]
test al, al
je 0x1801124f5
nop
int3
cmp byte [rbx + 0x50], 0
jne 0x180112527
mov r9, qword [rbp + 0xa8]
lea rdx, str.C:BuildAgent2work78a794e88763017dUE4EngineSourceRuntimeCorePublicMiscOptional.h
mov r8d, 0x164
mov qword [rsp + 0x20], r13
lea rcx, str.IsSet__
call qword [sym.imp.FactoryGameEGS_Core.dll_public:_static_bool___cdecl_FDebug::CheckVerifyFailedImpl_char_const____ptr64__char_const____ptr64__int__void____ptr64__wchar_t_const____ptr64_]
test al, al
je 0x180112527
nop
int3
mov eax, dword [r14 + 0x10]
mov dword [rsp + 0x48], r15d
cmp eax, dword [r14 + 0x3c]
je 0x18011257f
mov ecx, dword [r14 + 0x50]
lea r8, [r14 + 0x40]
mov rdx, qword [r8 + 8]
dec ecx
and rcx, r15
test rdx, rdx
cmovne r8, rdx
mov eax, dword [r8 + rcx*4]
cmp eax, 0xffffffff
je 0x18011257f
mov rdx, qword [r14 + 8]
nop dword [rax + rax]
cdqe
lea rcx, [rax + rax*8]
shl rcx, 4
cmp dword [rcx + rdx], r15d
lea rax, [rcx + rdx]
je 0x1801125e7
mov eax, dword [rax + 0x88]
cmp eax, 0xffffffff
jne 0x180112560
xor esi, esi
mov rcx, qword [r14]
lea rax, [rbp - 0x48]
mov r8, qword [rsp + 0x58]
lea r9, [rbp - 0x80]
mov dword [rsp + 0x38], 0x10
mov rdx, rbx
mov qword [rsp + 0x30], rax
lea rax, [rbp - 0x60]
mov rcx, qword [rcx + 8]
mov qword [rsp + 0x28], rax
lea rax, [rbp - 0x68]
mov qword [rsp + 0x20], rax
call fcn.1800b0c10
lea rax, [rsp + 0x48]
xor r9d, r9d
mov qword [rsp + 0x68], rax
lea r8, [rsp + 0x68]
lea rax, [rbp - 0x80]
lea rdx, [rsp + 0x60]
mov qword [rsp + 0x70], rax
lea rcx, [r14 + 8]
call fcn.1800b3480
jmp 0x180112636
mov rax, rdx
mov esi, 0
add rax, rcx
lea rax, [rax + 8]
cmove rax, rsi
test rax, rax
je 0x180112581
mov r9, qword [rbp + 0xa8]
lea rdx, str.C:BuildAgent2work78a794e88763017dUE4EngineSourceRuntimeGeometryCorePublicSpatialFastWinding.h
mov r8d, 0x230
mov qword [rsp + 0x20], r12
lea rcx, str.FastWindingCache.Find_IBox___nullptr
call qword [sym.imp.FactoryGameEGS_Core.dll_public:_static_bool___cdecl_FDebug::CheckVerifyFailedImpl_char_const____ptr64__char_const____ptr64__int__void____ptr64__wchar_t_const____ptr64_]
test al, al
je 0x180112581
nop
int3
xor esi, esi
cmp byte [rbp + 0x50], 0
je 0x18011265b
mov rcx, qword [rbp + 0x40]
mov byte [rbp + 0x50], 0
mov dword [rbp + 0x48], esi
test rcx, rcx
je 0x180112652
call qword [sym.imp.FactoryGameEGS_Core.dll_public:_static_void___cdecl_FMemory::Free_void____ptr64_]
lea rcx, [rbp]
call fcn.1800d2760
mov eax, edi
mov rdi, qword [rsp + 0x170]
mov r12, qword [rsp + 0x168]
mov rcx, qword [rbp + 0x58]
xor rcx, rsp
call fcn.180169100
add rsp, 0x178
pop r15
pop r14
pop r13
pop rsi
pop rbx
pop rbp
ret