Function at 0x140026020
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, [0x14002d660]
call fcn.140005420
mov dword [rsp + 0x24], eax
mov edx, dword [rsp + 0x24]
lea rcx, str.CoCreateInstance_CLSID_SensorManager___x__n
call fcn.140001000
cmp dword [rsp + 0x24], 0
jl 0x14002643f
mov rcx, qword [rsp + 0xb0]
add rcx, 0x20
call fcn.140001eb0
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
mov edx, dword [rsp + 0x24]
lea rcx, str.SetEventSink_this___x__n
call fcn.140001000
cmp dword [rsp + 0x24], 0
jl 0x14002643f
xor edx, edx
lea rcx, [rsp + 0x30]
call fcn.140003cd0
nop
xor edx, edx
lea rcx, [rsp + 0x28]
call fcn.140003cd0
nop
mov rcx, qword [rsp + 0xb0]
add rcx, 0x20
call fcn.140001eb0
mov qword [rsp + 0x68], rax
lea rcx, [rsp + 0x30]
call fcn.140003d40
mov r8, rax
mov rax, qword [rsp + 0x68]
mov rax, qword [rax]
lea rdx, [0x14002d5e0]
mov rcx, qword [rsp + 0x68]
call qword [rax + 0x20]
mov dword [rsp + 0x24], eax
mov edx, dword [rsp + 0x24]
lea rcx, str.GetSensorsByType__x__n
call fcn.140001000
cmp dword [rsp + 0x24], 0
jl 0x140026294
lea rcx, [rsp + 0x30]
call fcn.140001eb0
test rax, rax
je 0x140026294
mov dword [rsp + 0x38], 0
lea rcx, [rsp + 0x30]
call fcn.140001eb0
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
mov edx, dword [rsp + 0x24]
lea rcx, str.spSensors__GetCount__x__n
call fcn.140001000
cmp dword [rsp + 0x24], 0
jl 0x140026294
mov dword [rsp + 0x3c], 0
jmp 0x1400261b4
mov eax, dword [rsp + 0x3c]
add eax, 1
mov dword [rsp + 0x3c], eax
mov eax, dword [rsp + 0x38]
cmp dword [rsp + 0x3c], eax
jae 0x140026294
lea rcx, [rsp + 0x40]
call fcn.140005400
nop
lea rcx, [rsp + 0x30]
call fcn.140001eb0
mov qword [rsp + 0x78], rax
lea rcx, [rsp + 0x40]
call fcn.140003d40
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
mov r8d, dword [rsp + 0x3c]
mov edx, dword [rsp + 0x24]
lea rcx, str.spSensors__GetAt__x__d_n
call fcn.140001000
cmp dword [rsp + 0x24], 0
jl 0x140026285
lea rcx, [rsp + 0x40]
call fcn.140001eb0
mov rdx, rax
mov rcx, qword [rsp + 0xb0]
call fcn.140025a70
mov dword [rsp + 0x24], eax
mov edx, dword [rsp + 0x24]
lea rcx, str.AddSensor__x__n
call fcn.140001000
cmp dword [rsp + 0x24], 0
jl 0x140026285
lea rcx, [rsp + 0x40]
call fcn.140001eb0
mov rdx, rax
mov rcx, qword [rsp + 0xb0]
mov rcx, qword [rcx + 0x18]
call fcn.140021ee0
mov dword [rsp + 0x24], eax
mov edx, dword [rsp + 0x24]
lea rcx, [0x1400373f0]
call fcn.140001000
nop
lea rcx, [rsp + 0x40]
call fcn.140003680
jmp 0x1400261a9
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 0x14002642a
mov edx, dword [rsp + 0x24]
lea rcx, str.m_pSensorEvents__GetSensorData__x__n
call fcn.140001000
mov rcx, qword [rsp + 0xb0]
add rcx, 0x20
call fcn.140001eb0
mov qword [rsp + 0x80], rax
lea rcx, [rsp + 0x28]
call fcn.140003d40
mov r8, rax
mov rax, qword [rsp + 0x80]
mov rax, qword [rax]
lea rdx, [0x14002d6e0]
mov rcx, qword [rsp + 0x80]
call qword [rax + 0x20]
mov dword [rsp + 0x20], eax
cmp dword [rsp + 0x20], 0
jl 0x14002642a
lea rcx, [rsp + 0x28]
call fcn.140001eb0
test rax, rax
je 0x14002642a
mov dword [rsp + 0x48], 0
lea rcx, [rsp + 0x28]
call fcn.140001eb0
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 0x140026377
mov eax, dword [rsp + 0x4c]
add eax, 1
mov dword [rsp + 0x4c], eax
mov eax, dword [rsp + 0x48]
cmp dword [rsp + 0x4c], eax
jae 0x14002642a
lea rcx, [rsp + 0x50]
call fcn.140005400
nop
lea rcx, [rsp + 0x28]
call fcn.140001eb0
mov qword [rsp + 0x90], rax
lea rcx, [rsp + 0x50]
call fcn.140003d40
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 0x14002641b
lea rcx, [rsp + 0x50]
call fcn.140001eb0
mov rdx, rax
mov rcx, qword [rsp + 0xb0]
call fcn.140025a70
mov dword [rsp + 0x20], eax
cmp dword [rsp + 0x20], 0
jl 0x14002641b
lea rcx, [rsp + 0x50]
call fcn.140001eb0
mov rdx, rax
mov rcx, qword [rsp + 0xb0]
mov rcx, qword [rcx + 0x18]
call fcn.140021ee0
mov dword [rsp + 0x20], eax
lea rcx, [rsp + 0x50]
call fcn.140003680
jmp 0x14002636c
lea rcx, [rsp + 0x28]
call fcn.140003680
nop
lea rcx, [rsp + 0x30]
call fcn.140003680
cmp dword [rsp + 0x24], 0
jl 0x140026457
mov rcx, qword [rsp + 0xb0]
mov rcx, qword [rcx + 0x18]
call fcn.140021c70
mov eax, dword [rsp + 0x24]
add rsp, 0xa8
ret