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

Disassembly:
mov qword [rsp + 8], rcx
sub rsp, 0xa8
mov qword [rsp + 0x58], 0xfffffffffffffffe
lea rcx, str.CSimpleOrientationSensorManagerEvents::Initialize__n
call fcn.140001000
mov rcx, qword [rsp + 0xb0]
add rcx, 0x20
mov r9d, reloc.OLEAUT32.dll_SafeArrayUnaccessData
xor r8d, r8d
lea rdx, [0x14002c660]
call fcn.140005640
mov dword [rsp + 0x24], eax
cmp dword [rsp + 0x24], 0
jl 0x140020d55
mov rcx, qword [rsp + 0xb0]
add rcx, 0x20
call fcn.140003c10
mov qword [rsp + 0x60], rax
mov rax, qword [rsp + 0x60]
mov rax, qword [rax]
mov rdx, qword [rsp + 0xb0]
mov rcx, qword [rsp + 0x60]
call qword [rax + 0x30]
mov dword [rsp + 0x24], eax
cmp dword [rsp + 0x24], 0
jl 0x140020d55
lea rcx, [rsp + 0x30]
call fcn.140005690
nop
lea rcx, [rsp + 0x28]
call fcn.140005690
nop
mov rcx, qword [rsp + 0xb0]
add rcx, 0x20
call fcn.140003c10
mov qword [rsp + 0x68], rax
lea rcx, [rsp + 0x30]
call fcn.140004c40
mov r8, rax
mov rax, qword [rsp + 0x68]
mov rax, qword [rax]
lea rdx, [0x14002c5e0]
mov rcx, qword [rsp + 0x68]
call qword [rax + 0x20]
mov dword [rsp + 0x24], eax
cmp dword [rsp + 0x24], 0
jl 0x140020bba
lea rcx, [rsp + 0x30]
call fcn.140003c10
test rax, rax
je 0x140020bba
mov dword [rsp + 0x38], 0
lea rcx, [rsp + 0x30]
call fcn.140003c10
mov qword [rsp + 0x70], rax
mov rax, qword [rsp + 0x70]
mov rax, qword [rax]
lea rdx, [rsp + 0x38]
mov rcx, qword [rsp + 0x70]
call qword [rax + 0x20]
mov dword [rsp + 0x24], eax
cmp dword [rsp + 0x24], 0
jl 0x140020bba
mov dword [rsp + 0x3c], 0
jmp 0x140020b10
mov eax, dword [rsp + 0x3c]
add eax, 1
mov dword [rsp + 0x3c], eax
mov eax, dword [rsp + 0x38]
cmp dword [rsp + 0x3c], eax
jae 0x140020bba
lea rcx, [rsp + 0x40]
call fcn.140005690
nop
lea rcx, [rsp + 0x30]
call fcn.140003c10
mov qword [rsp + 0x78], rax
lea rcx, [rsp + 0x40]
call fcn.140004c40
mov r8, rax
mov rax, qword [rsp + 0x78]
mov rax, qword [rax]
mov edx, dword [rsp + 0x3c]
mov rcx, qword [rsp + 0x78]
call qword [rax + reloc.OLEAUT32.dll_SafeArrayGetElement]
mov dword [rsp + 0x24], eax
cmp dword [rsp + 0x24], 0
jl 0x140020bab
lea rcx, [rsp + 0x40]
call fcn.140003c10
mov rdx, rax
mov rcx, qword [rsp + 0xb0]
call fcn.140020580
mov dword [rsp + 0x24], eax
cmp dword [rsp + 0x24], 0
jl 0x140020bab
lea rcx, [rsp + 0x40]
call fcn.140003c10
mov rdx, rax
mov rcx, qword [rsp + 0xb0]
mov rcx, qword [rcx + 0x18]
call fcn.140022370
mov dword [rsp + 0x24], eax
lea rcx, [rsp + 0x40]
call fcn.140005620
jmp 0x140020b05
mov rax, qword [rsp + 0xb0]
mov rax, qword [rax + 0x10]
mov eax, dword [rax + 0x19c]
shr eax, 5
and eax, 1
test eax, eax
je 0x140020d40
mov rcx, qword [rsp + 0xb0]
add rcx, 0x20
call fcn.140003c10
mov qword [rsp + 0x80], rax
lea rcx, [rsp + 0x28]
call fcn.140004c40
mov r8, rax
mov rax, qword [rsp + 0x80]
mov rax, qword [rax]
lea rdx, [0x14002c6f0]
mov rcx, qword [rsp + 0x80]
call qword [rax + 0x20]
mov dword [rsp + 0x20], eax
cmp dword [rsp + 0x20], 0
jl 0x140020d40
lea rcx, [rsp + 0x28]
call fcn.140003c10
test rax, rax
je 0x140020d40
mov dword [rsp + 0x48], 0
lea rcx, [rsp + 0x28]
call fcn.140003c10
mov qword [rsp + 0x88], rax
mov rax, qword [rsp + 0x88]
mov rax, qword [rax]
lea rdx, [rsp + 0x48]
mov rcx, qword [rsp + 0x88]
call qword [rax + 0x20]
mov dword [rsp + 0x20], eax
mov dword [rsp + 0x4c], 0
jmp 0x140020c8d
mov eax, dword [rsp + 0x4c]
add eax, 1
mov dword [rsp + 0x4c], eax
mov eax, dword [rsp + 0x48]
cmp dword [rsp + 0x4c], eax
jae 0x140020d40
lea rcx, [rsp + 0x50]
call fcn.140005690
nop
lea rcx, [rsp + 0x28]
call fcn.140003c10
mov qword [rsp + 0x90], rax
lea rcx, [rsp + 0x50]
call fcn.140004c40
mov r8, rax
mov rax, qword [rsp + 0x90]
mov rax, qword [rax]
mov edx, dword [rsp + 0x4c]
mov rcx, qword [rsp + 0x90]
call qword [rax + reloc.OLEAUT32.dll_SafeArrayGetElement]
mov dword [rsp + 0x20], eax
cmp dword [rsp + 0x20], 0
jl 0x140020d31
lea rcx, [rsp + 0x50]
call fcn.140003c10
mov rdx, rax
mov rcx, qword [rsp + 0xb0]
call fcn.140020580
mov dword [rsp + 0x20], eax
cmp dword [rsp + 0x20], 0
jl 0x140020d31
lea rcx, [rsp + 0x50]
call fcn.140003c10
mov rdx, rax
mov rcx, qword [rsp + 0xb0]
mov rcx, qword [rcx + 0x18]
call fcn.140022370
mov dword [rsp + 0x20], eax
lea rcx, [rsp + 0x50]
call fcn.140005620
jmp 0x140020c82
lea rcx, [rsp + 0x28]
call fcn.140005620
nop
lea rcx, [rsp + 0x30]
call fcn.140005620
mov eax, dword [rsp + 0x24]
add rsp, 0xa8
ret