Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- HRESULT __stdcall CInteractiveObjectDevice::ProcessMessage(CInteractiveObjectDevice *this, HWND__ *__formal, unsigned int message, unsigned int wParam, int lParam)
- {
- HRESULT v5; // esi@11
- unsigned int v7; // ebx@13
- IUnknownVtbl *v8; // esi@16
- unsigned int v9; // edx@17
- unsigned int v10; // edx@19
- Microsoft::WRL::ComPtr<Windows::ApplicationModel::Core::ICoreApplicationViewInternal> *v11; // ecx@22
- Microsoft::WRL::ComPtr<Windows::ApplicationModel::Core::ICoreApplicationViewInternal> *v12; // ecx@23
- IUnknownVtbl *v13; // esi@24
- unsigned int v14; // edx@27
- IUnknownVtbl *v15; // esi@32
- unsigned int v16; // edx@35
- unsigned int (__stdcall *v17)(IUnknown *); // esi@40
- IUnknownVtbl *v18; // esi@42
- unsigned int v19; // edx@45
- CInteractiveObjectDialCapabilities *v20; // ST0C_4@50
- unsigned int (__stdcall *v21)(IUnknown *); // esi@50
- long double v22; // st7@50
- char *v23; // esi@50
- long double v24; // st7@50
- long double v25; // st7@52
- IUnknownVtbl *v26; // esi@54
- HRESULT v27; // eax@56
- CInteractiveObjectDialCapabilities *v28; // esi@58
- IUnknownVtbl *v29; // eax@58
- CInteractiveObjectDialCapabilities *v30; // ST0C_4@58
- HRESULT (__stdcall *v31)(IUnknown *, _GUID *, void **); // esi@58
- IUnknownVtbl *v32; // esi@59
- HRESULT v33; // eax@61
- Microsoft::WRL::ComPtr<Windows::ApplicationModel::Core::ICoreApplicationViewInternal> *v34; // ecx@62
- CInteractiveObjectButtonCapabilities *v35; // esi@64
- IUnknownVtbl *v36; // eax@64
- CInteractiveObjectButtonCapabilities *v37; // ST0C_4@64
- unsigned int (__stdcall *v38)(IUnknown *); // esi@64
- Microsoft::WRL::ComPtr<Windows::ApplicationModel::Core::ICoreApplicationViewInternal> *v39; // ecx@64
- IUnknownVtbl *v40; // esi@66
- HRESULT v41; // eax@68
- CInteractiveObjectButtonCapabilities *v42; // esi@70
- IUnknownVtbl *v43; // eax@70
- CInteractiveObjectButtonCapabilities *v44; // ST0C_4@70
- unsigned int (__stdcall *v45)(IUnknown *); // esi@70
- IUnknownVtbl *v46; // esi@71
- unsigned int v47; // edx@74
- CInteractiveObjectPointerCapabilities *v48; // esi@75
- IUnknownVtbl *v49; // eax@75
- CInteractiveObjectPointerCapabilities *v50; // ST0C_4@75
- HRESULT (__stdcall *v51)(IUnknown *, _GUID *, void **); // esi@75
- IUnknownVtbl *v52; // esi@79
- unsigned int v53; // edx@82
- CInteractiveObjectPointerCapabilities *v54; // esi@83
- IUnknownVtbl *v55; // eax@83
- CInteractiveObjectPointerCapabilities *v56; // ST0C_4@83
- unsigned int (__stdcall *v57)(IUnknown *); // esi@83
- IUnknownVtbl *v58; // esi@87
- unsigned int v59; // edx@91
- CInteractiveObjectPointerCapabilities *v60; // esi@92
- IUnknownVtbl *v61; // eax@92
- CInteractiveObjectPointerCapabilities *v62; // ST0C_4@92
- unsigned int (__stdcall *v63)(IUnknown *); // esi@92
- Microsoft::WRL::EventSource<Windows::Foundation::ITypedEventHandler<Windows::UI::Internal::Input::InteractiveObjectButtonCapabilities *,Windows::UI::Internal::Input::InteractiveObjectButtonEventArgs *>,Microsoft::WRL::InvokeModeOptions<-2> >::InvokeAll::__l2::<lambda_fb85e8b955da07d52ba70117e841ebd6> v64; // [sp+8h] [bp-98h]@20
- Microsoft::WRL::EventSource<Windows::Foundation::ITypedEventHandler<Windows::UI::Internal::Input::InteractiveObjectButtonCapabilities *,Windows::UI::Internal::Input::InteractiveObjectButtonEventArgs *>,Microsoft::WRL::InvokeModeOptions<-2> >::InvokeAll::__l2::<lambda_fb85e8b955da07d52ba70117e841ebd6> v65; // [sp+8h] [bp-98h]@28
- Microsoft::WRL::EventSource<Windows::Foundation::ITypedEventHandler<Windows::UI::Internal::Input::InteractiveObjectButtonCapabilities *,Windows::UI::Internal::Input::InteractiveObjectButtonEventArgs *>,Microsoft::WRL::InvokeModeOptions<-2> >::InvokeAll::__l2::<lambda_fb85e8b955da07d52ba70117e841ebd6> v66; // [sp+8h] [bp-98h]@36
- Microsoft::WRL::EventSource<Windows::Foundation::ITypedEventHandler<Windows::UI::Internal::Input::InteractiveObjectButtonCapabilities *,Windows::UI::Internal::Input::InteractiveObjectButtonEventArgs *>,Microsoft::WRL::InvokeModeOptions<-2> >::InvokeAll::__l2::<lambda_fb85e8b955da07d52ba70117e841ebd6> v67; // [sp+8h] [bp-98h]@46
- Microsoft::WRL::ComPtr<CInteractiveObjectInfo> spObjectInfo; // [sp+1Ch] [bp-84h]@1
- unsigned int deviceId; // [sp+20h] [bp-80h]@13
- bool arg3; // [sp+26h] [bp-7Ah]@61
- bool v71; // [sp+27h] [bp-79h]@68
- Microsoft::WRL::ComPtr<CInteractiveObjectDeltaEventArgs> spDeltaArgs; // [sp+28h] [bp-78h]@56
- Microsoft::WRL::ComPtr<CInteractiveObjectEventArgs> spEventArgs; // [sp+2Ch] [bp-74h]@18
- Microsoft::WRL::Details::ComPtrRef<Microsoft::WRL::ComPtr<CInteractiveObjectEventArgs> > ppvObject; // [sp+30h] [bp-70h]@26
- Microsoft::WRL::Details::ComPtrRef<Microsoft::WRL::ComPtr<CInteractiveObjectEventArgs> > v75; // [sp+34h] [bp-6Ch]@34
- Microsoft::WRL::Details::ComPtrRef<Microsoft::WRL::ComPtr<CInteractiveObjectEventArgs> > v76; // [sp+38h] [bp-68h]@44
- Microsoft::WRL::ComPtr<CInteractiveObjectButtonEventArgs> spButtonArgs; // [sp+3Ch] [bp-64h]@61
- Microsoft::WRL::Details::ComPtrRef<Microsoft::WRL::ComPtr<CInteractiveObjectButtonEventArgs> > v78; // [sp+40h] [bp-60h]@68
- Microsoft::WRL::Details::ComPtrRef<Microsoft::WRL::ComPtr<CInteractiveObjectEventArgs> > v79; // [sp+44h] [bp-5Ch]@73
- Microsoft::WRL::ComPtr<Windows::ApplicationModel::Core::ICoreApplicationViewInternal> v80[2]; // [sp+48h] [bp-58h]@81
- unsigned int arg2[2]; // [sp+50h] [bp-50h]@50
- double dialId; // [sp+58h] [bp-48h]@54
- long double rotationResolution; // [sp+60h] [bp-40h]@50
- long double delta; // [sp+68h] [bp-38h]@51
- long double roundedDelta; // [sp+70h] [bp-30h]@52
- double v86; // [sp+78h] [bp-28h]@50
- tagINTERACTIVECTRL_INFO info; // [sp+80h] [bp-20h]@13
- void *retaddr; // [sp+A4h] [bp+4h]@14
- spObjectInfo.ptr_ = 0;
- AcquireSRWLockExclusive(&this->_lock.m_lock);
- if ( message == 747 )
- {
- this->_isInFocus = 1;
- }
- else if ( message == 748 )
- {
- this->_isInFocus = 0;
- }
- if ( this != (CInteractiveObjectDevice *)-108 )
- ReleaseSRWLockExclusive(&this->_lock.m_lock);
- if ( !CInteractiveObjectDevice::IsInFocus(this) && message != 748 )
- {
- if ( message - 744 <= 0x11 )
- InteractiveObjectTelemetry::NotInFocus<unsigned int &>(&message);
- LABEL_11:
- v5 = -2147467259;
- goto LABEL_12;
- }
- v7 = wParam;
- deviceId = (unsigned __int16)wParam;
- if ( !GetInteractiveControlInfo(wParam, &info) )
- {
- v5 = wil::details::in1diag3::Return_GetLastError(
- retaddr,
- 0x33Fu,
- "windows\\advcore\\winrt\\interactiveobject\\lib\\interactiveobject.cpp");
- goto LABEL_12;
- }
- switch ( message )
- {
- default:
- goto LABEL_11;
- case 0x2E8u:
- v8 = this->lpVtbl;
- v64.arg1 = (CInteractiveObjectButtonEventArgs *)&spObjectInfo;
- __guard_check_icall_fptr(v8[8].QueryInterface);
- v5 = ((int (__stdcall *)(CInteractiveObjectDevice *, unsigned int, tagINTERACTIVECTRL_INFO *, signed int, Microsoft::WRL::ComPtr<CInteractiveObjectInfo> *))v8[8].QueryInterface)(
- this,
- v7,
- &info,
- 5,
- &spObjectInfo);
- if ( v5 < 0 )
- {
- v9 = 842;
- goto LABEL_89;
- }
- spEventArgs.ptr_ = 0;
- v5 = Microsoft::WRL::Details::MakeAndInitialize<CInteractiveObjectEventArgs,CInteractiveObjectEventArgs,unsigned long &,Microsoft::WRL::ComPtr<CInteractiveObjectInfo> &>(
- (Microsoft::WRL::Details::ComPtrRef<Microsoft::WRL::ComPtr<CInteractiveObjectEventArgs> >)&spEventArgs,
- &deviceId,
- &spObjectInfo);
- if ( v5 < 0 )
- {
- v10 = 847;
- LABEL_22:
- wil::details::in1diag3::Return_Hr(
- retaddr,
- v10,
- "windows\\advcore\\winrt\\interactiveobject\\lib\\interactiveobject.cpp",
- v5);
- v11 = (Microsoft::WRL::ComPtr<Windows::ApplicationModel::Core::ICoreApplicationViewInternal> *)&spEventArgs;
- goto LABEL_95;
- }
- v64.arg1 = (CInteractiveObjectButtonEventArgs *)spEventArgs.ptr_;
- v5 = Microsoft::WRL::EventSource<Windows::Foundation::ITypedEventHandler<Windows::UI::Core::CoreWindow *,Windows::UI::Core::CharacterReceivedEventArgs *>,Microsoft::WRL::InvokeModeOptions<-2>>::DoInvoke<_lambda_9ae384b677f0ac42c295d7cb469627ca_>(
- (Microsoft::WRL::EventSource<Windows::Foundation::ITypedEventHandler<Windows::UI::Internal::Input::InteractiveObjectButtonCapabilities *,Windows::UI::Internal::Input::InteractiveObjectButtonEventArgs *>,Microsoft::WRL::InvokeModeOptions<-2> > *)&this->_evtObjectEngaged,
- v64);
- if ( v5 < 0 )
- {
- v10 = 849;
- goto LABEL_22;
- }
- v12 = (Microsoft::WRL::ComPtr<Windows::ApplicationModel::Core::ICoreApplicationViewInternal> *)&spEventArgs;
- goto LABEL_97;
- case 0x2E9u:
- v13 = this->lpVtbl;
- v64.arg1 = (CInteractiveObjectButtonEventArgs *)&spObjectInfo;
- __guard_check_icall_fptr(v13[8].QueryInterface);
- v5 = ((int (__stdcall *)(CInteractiveObjectDevice *, unsigned int, tagINTERACTIVECTRL_INFO *, signed int, Microsoft::WRL::ComPtr<CInteractiveObjectInfo> *))v13[8].QueryInterface)(
- this,
- v7,
- &info,
- 6,
- &spObjectInfo);
- if ( v5 < 0 )
- {
- v9 = 859;
- goto LABEL_89;
- }
- ppvObject.ptr_ = 0;
- v5 = Microsoft::WRL::Details::MakeAndInitialize<CInteractiveObjectEventArgs,CInteractiveObjectEventArgs,unsigned long &,Microsoft::WRL::ComPtr<CInteractiveObjectInfo> &>(
- (Microsoft::WRL::Details::ComPtrRef<Microsoft::WRL::ComPtr<CInteractiveObjectEventArgs> >)&ppvObject,
- &deviceId,
- &spObjectInfo);
- if ( v5 < 0 )
- {
- v14 = 864;
- LABEL_30:
- wil::details::in1diag3::Return_Hr(
- retaddr,
- v14,
- "windows\\advcore\\winrt\\interactiveobject\\lib\\interactiveobject.cpp",
- v5);
- v11 = (Microsoft::WRL::ComPtr<Windows::ApplicationModel::Core::ICoreApplicationViewInternal> *)&ppvObject;
- goto LABEL_95;
- }
- v64.arg1 = (CInteractiveObjectButtonEventArgs *)ppvObject.ptr_;
- v5 = Microsoft::WRL::EventSource<Windows::Foundation::ITypedEventHandler<Windows::UI::Core::CoreWindow *,Windows::UI::Core::CharacterReceivedEventArgs *>,Microsoft::WRL::InvokeModeOptions<-2>>::DoInvoke<_lambda_9ae384b677f0ac42c295d7cb469627ca_>(
- (Microsoft::WRL::EventSource<Windows::Foundation::ITypedEventHandler<Windows::UI::Internal::Input::InteractiveObjectButtonCapabilities *,Windows::UI::Internal::Input::InteractiveObjectButtonEventArgs *>,Microsoft::WRL::InvokeModeOptions<-2> > *)&this->_evtObjectDisengaged,
- v65);
- if ( v5 < 0 )
- {
- v14 = 866;
- goto LABEL_30;
- }
- v12 = (Microsoft::WRL::ComPtr<Windows::ApplicationModel::Core::ICoreApplicationViewInternal> *)&ppvObject;
- goto LABEL_97;
- case 0x2ECu:
- v15 = this->lpVtbl;
- v64.arg1 = (CInteractiveObjectButtonEventArgs *)&spObjectInfo;
- __guard_check_icall_fptr(v15[8].QueryInterface);
- v5 = ((int (__stdcall *)(CInteractiveObjectDevice *, unsigned int, tagINTERACTIVECTRL_INFO *, signed int, Microsoft::WRL::ComPtr<CInteractiveObjectInfo> *))v15[8].QueryInterface)(
- this,
- v7,
- &info,
- 8,
- &spObjectInfo);
- if ( v5 < 0 )
- {
- v9 = 877;
- goto LABEL_89;
- }
- v75.ptr_ = 0;
- v5 = Microsoft::WRL::Details::MakeAndInitialize<CInteractiveObjectEventArgs,CInteractiveObjectEventArgs,unsigned long &,Microsoft::WRL::ComPtr<CInteractiveObjectInfo> &>(
- (Microsoft::WRL::Details::ComPtrRef<Microsoft::WRL::ComPtr<CInteractiveObjectEventArgs> >)&v75,
- &deviceId,
- &spObjectInfo);
- if ( v5 < 0 )
- {
- v16 = 882;
- LABEL_38:
- wil::details::in1diag3::Return_Hr(
- retaddr,
- v16,
- "windows\\advcore\\winrt\\interactiveobject\\lib\\interactiveobject.cpp",
- v5);
- v11 = (Microsoft::WRL::ComPtr<Windows::ApplicationModel::Core::ICoreApplicationViewInternal> *)&v75;
- goto LABEL_95;
- }
- v64.arg1 = (CInteractiveObjectButtonEventArgs *)v75.ptr_;
- v5 = Microsoft::WRL::EventSource<Windows::Foundation::ITypedEventHandler<Windows::UI::Core::CoreWindow *,Windows::UI::Core::CharacterReceivedEventArgs *>,Microsoft::WRL::InvokeModeOptions<-2>>::DoInvoke<_lambda_9ae384b677f0ac42c295d7cb469627ca_>(
- (Microsoft::WRL::EventSource<Windows::Foundation::ITypedEventHandler<Windows::UI::Internal::Input::InteractiveObjectButtonCapabilities *,Windows::UI::Internal::Input::InteractiveObjectButtonEventArgs *>,Microsoft::WRL::InvokeModeOptions<-2> > *)&this->_evtObjectCaptureLost,
- v66);
- if ( v5 < 0 )
- {
- v16 = 884;
- goto LABEL_38;
- }
- v12 = (Microsoft::WRL::ComPtr<Windows::ApplicationModel::Core::ICoreApplicationViewInternal> *)&v75;
- goto LABEL_97;
- case 0x2EBu:
- v64.arg1 = (CInteractiveObjectButtonEventArgs *)this->_spDialCapabilities.ptr_;
- v17 = v64.arg1->lpVtbl[5].AddRef;
- __guard_check_icall_fptr(v64.arg1->lpVtbl[5].AddRef);
- v5 = v17((IUnknown *)&v64.arg1->lpVtbl);
- if ( v5 < 0 )
- {
- v9 = 892;
- goto LABEL_89;
- }
- v18 = this->lpVtbl;
- v64.arg1 = (CInteractiveObjectButtonEventArgs *)&spObjectInfo;
- __guard_check_icall_fptr(v18[8].QueryInterface);
- v5 = ((int (__stdcall *)(CInteractiveObjectDevice *, unsigned int, tagINTERACTIVECTRL_INFO *, signed int, Microsoft::WRL::ComPtr<CInteractiveObjectInfo> *))v18[8].QueryInterface)(
- this,
- v7,
- &info,
- 7,
- &spObjectInfo);
- if ( v5 < 0 )
- {
- v9 = 897;
- goto LABEL_89;
- }
- v76.ptr_ = 0;
- v5 = Microsoft::WRL::Details::MakeAndInitialize<CInteractiveObjectEventArgs,CInteractiveObjectEventArgs,unsigned long &,Microsoft::WRL::ComPtr<CInteractiveObjectInfo> &>(
- (Microsoft::WRL::Details::ComPtrRef<Microsoft::WRL::ComPtr<CInteractiveObjectEventArgs> >)&v76,
- &deviceId,
- &spObjectInfo);
- if ( v5 < 0 )
- {
- v19 = 902;
- LABEL_48:
- wil::details::in1diag3::Return_Hr(
- retaddr,
- v19,
- "windows\\advcore\\winrt\\interactiveobject\\lib\\interactiveobject.cpp",
- v5);
- v11 = (Microsoft::WRL::ComPtr<Windows::ApplicationModel::Core::ICoreApplicationViewInternal> *)&v76;
- goto LABEL_95;
- }
- v64.arg1 = (CInteractiveObjectButtonEventArgs *)v76.ptr_;
- v5 = Microsoft::WRL::EventSource<Windows::Foundation::ITypedEventHandler<Windows::UI::Core::CoreWindow *,Windows::UI::Core::CharacterReceivedEventArgs *>,Microsoft::WRL::InvokeModeOptions<-2>>::DoInvoke<_lambda_9ae384b677f0ac42c295d7cb469627ca_>(
- (Microsoft::WRL::EventSource<Windows::Foundation::ITypedEventHandler<Windows::UI::Internal::Input::InteractiveObjectButtonCapabilities *,Windows::UI::Internal::Input::InteractiveObjectButtonEventArgs *>,Microsoft::WRL::InvokeModeOptions<-2> > *)&this->_evtObjectCaptureAcquired,
- v67);
- if ( v5 < 0 )
- {
- v19 = 904;
- goto LABEL_48;
- }
- v12 = (Microsoft::WRL::ComPtr<Windows::ApplicationModel::Core::ICoreApplicationViewInternal> *)&v76;
- goto LABEL_97;
- case 0x2EFu:
- v64.arg1 = (CInteractiveObjectButtonEventArgs *)&rotationResolution;
- v86 = (double)lParam;
- v20 = this->_spDialCapabilities.ptr_;
- *(double *)arg2 = v86 / 100.0;
- rotationResolution = 0.0;
- v21 = v20->lpVtbl[2].AddRef;
- __guard_check_icall_fptr(v20->lpVtbl[2].AddRef);
- ((void (__stdcall *)(CInteractiveObjectDialCapabilities *, long double *))v21)(v20, &rotationResolution);
- v22 = *(double *)arg2;
- v23 = (char *)&this->_passedCount;
- ++*(_DWORD *)v23;
- v24 = fabs(v22);
- if ( rotationResolution > v24 )
- {
- delta = v24;
- InteractiveObjectTelemetry::RotationResolution<double,double &,unsigned long &>(
- &delta,
- &rotationResolution,
- &this->_passedCount);
- *(_DWORD *)v23 = 0;
- goto $LN5_3;
- }
- delta = v24 + 0.5 * rotationResolution;
- v25 = delta - fmod(delta, rotationResolution);
- roundedDelta = v25;
- if ( *(double *)arg2 < 0.0 )
- roundedDelta = v25 * -1.0;
- v26 = this->lpVtbl;
- LODWORD(dialId) = 0;
- v64.arg1 = (CInteractiveObjectButtonEventArgs *)&spObjectInfo;
- __guard_check_icall_fptr(v26[8].QueryInterface);
- v5 = ((int (__stdcall *)(CInteractiveObjectDevice *, unsigned int, tagINTERACTIVECTRL_INFO *, signed int, Microsoft::WRL::ComPtr<CInteractiveObjectInfo> *))v26[8].QueryInterface)(
- this,
- v7,
- &info,
- 14,
- &spObjectInfo);
- if ( v5 < 0 )
- {
- v9 = 955;
- goto LABEL_89;
- }
- spDeltaArgs.ptr_ = 0;
- Microsoft::WRL::ComPtr<Windows::Foundation::Collections::IIterable<Windows::Devices::Input::PointerDevice *>>::InternalRelease((Microsoft::WRL::ComPtr<Windows::ApplicationModel::Core::ICoreApplicationViewInternal> *)&spDeltaArgs);
- v27 = Microsoft::WRL::Details::MakeAndInitialize<CInteractiveObjectDeltaEventArgs,CInteractiveObjectDeltaEventArgs,unsigned long &,unsigned int &,double &,Microsoft::WRL::ComPtr<CInteractiveObjectInfo> &>(
- &spDeltaArgs.ptr_,
- &deviceId,
- (unsigned int *)&dialId,
- &roundedDelta,
- &spObjectInfo);
- v5 = v27;
- if ( v27 < 0 )
- {
- wil::details::in1diag3::Return_Hr(
- retaddr,
- 0x3C2u,
- "windows\\advcore\\winrt\\interactiveobject\\lib\\interactiveobject.cpp",
- v27);
- Microsoft::WRL::ComPtr<Windows::Foundation::Collections::IIterable<Windows::Devices::Input::PointerDevice *>>::InternalRelease((Microsoft::WRL::ComPtr<Windows::ApplicationModel::Core::ICoreApplicationViewInternal> *)&spDeltaArgs);
- goto LABEL_12;
- }
- v28 = this->_spDialCapabilities.ptr_;
- v64.arg1 = (CInteractiveObjectButtonEventArgs *)spDeltaArgs.ptr_;
- Microsoft::WRL::ComPtr<CInteractiveObjectButtonEventArgs>::InternalAddRef((Microsoft::WRL::ComPtr<InteractiveObjectDeviceManagerServer> *)&v64.arg1);
- v29 = v28->lpVtbl;
- v30 = v28;
- v31 = v28->lpVtbl[5].QueryInterface;
- __guard_check_icall_fptr(v29[5].QueryInterface);
- ((void (__stdcall *)(CInteractiveObjectDialCapabilities *, CInteractiveObjectButtonEventArgs *))v31)(
- v30,
- v64.arg1);
- Microsoft::WRL::ComPtr<Windows::Foundation::Collections::IIterable<Windows::Devices::Input::PointerDevice *>>::InternalRelease((Microsoft::WRL::ComPtr<Windows::ApplicationModel::Core::ICoreApplicationViewInternal> *)&spDeltaArgs);
- goto $LN5_3;
- case 0x2F0u:
- v32 = this->lpVtbl;
- HIDWORD(dialId) = (unsigned __int16)lParam;
- v64.arg1 = (CInteractiveObjectButtonEventArgs *)&spObjectInfo;
- __guard_check_icall_fptr(v32[8].QueryInterface);
- v5 = ((int (__stdcall *)(CInteractiveObjectDevice *, unsigned int, tagINTERACTIVECTRL_INFO *, signed int, Microsoft::WRL::ComPtr<CInteractiveObjectInfo> *))v32[8].QueryInterface)(
- this,
- v7,
- &info,
- 2,
- &spObjectInfo);
- if ( v5 < 0 )
- {
- v9 = 974;
- goto LABEL_89;
- }
- spButtonArgs.ptr_ = 0;
- arg3 = 0;
- v33 = Microsoft::WRL::Details::MakeAndInitialize<CInteractiveObjectButtonEventArgs,CInteractiveObjectButtonEventArgs,unsigned long &,unsigned int &,bool,Microsoft::WRL::ComPtr<CInteractiveObjectInfo> &>(
- (Microsoft::WRL::Details::ComPtrRef<Microsoft::WRL::ComPtr<CInteractiveObjectButtonEventArgs> >)&spButtonArgs,
- &deviceId,
- (unsigned int *)&dialId + 1,
- &arg3,
- &spObjectInfo);
- v5 = v33;
- if ( v33 < 0 )
- {
- wil::details::in1diag3::Return_Hr(
- retaddr,
- 0x3D5u,
- "windows\\advcore\\winrt\\interactiveobject\\lib\\interactiveobject.cpp",
- v33);
- v34 = (Microsoft::WRL::ComPtr<Windows::ApplicationModel::Core::ICoreApplicationViewInternal> *)&spButtonArgs;
- goto LABEL_63;
- }
- v35 = this->_spButtonCapabilities.ptr_;
- v64.arg1 = spButtonArgs.ptr_;
- Microsoft::WRL::ComPtr<CInteractiveObjectButtonEventArgs>::InternalAddRef((Microsoft::WRL::ComPtr<InteractiveObjectDeviceManagerServer> *)&v64.arg1);
- v36 = v35->lpVtbl;
- v37 = v35;
- v38 = v35->lpVtbl[4].Release;
- __guard_check_icall_fptr(v36[4].Release);
- ((void (__stdcall *)(CInteractiveObjectButtonCapabilities *, CInteractiveObjectButtonEventArgs *))v38)(
- v37,
- v64.arg1);
- v39 = (Microsoft::WRL::ComPtr<Windows::ApplicationModel::Core::ICoreApplicationViewInternal> *)&spButtonArgs;
- goto LABEL_65;
- case 0x2F1u:
- v40 = this->lpVtbl;
- arg2[0] = (unsigned __int16)lParam;
- v64.arg1 = (CInteractiveObjectButtonEventArgs *)&spObjectInfo;
- __guard_check_icall_fptr(v40[8].QueryInterface);
- v5 = ((int (__stdcall *)(CInteractiveObjectDevice *, unsigned int, tagINTERACTIVECTRL_INFO *, signed int, Microsoft::WRL::ComPtr<CInteractiveObjectInfo> *))v40[8].QueryInterface)(
- this,
- v7,
- &info,
- 1,
- &spObjectInfo);
- if ( v5 < 0 )
- {
- v9 = 994;
- goto LABEL_89;
- }
- v78.ptr_ = 0;
- v71 = 1;
- v41 = Microsoft::WRL::Details::MakeAndInitialize<CInteractiveObjectButtonEventArgs,CInteractiveObjectButtonEventArgs,unsigned long &,unsigned int &,bool,Microsoft::WRL::ComPtr<CInteractiveObjectInfo> &>(
- (Microsoft::WRL::Details::ComPtrRef<Microsoft::WRL::ComPtr<CInteractiveObjectButtonEventArgs> >)&v78,
- &deviceId,
- arg2,
- &v71,
- &spObjectInfo);
- v5 = v41;
- if ( v41 < 0 )
- {
- wil::details::in1diag3::Return_Hr(
- retaddr,
- 0x3E9u,
- "windows\\advcore\\winrt\\interactiveobject\\lib\\interactiveobject.cpp",
- v41);
- v34 = (Microsoft::WRL::ComPtr<Windows::ApplicationModel::Core::ICoreApplicationViewInternal> *)&v78;
- LABEL_63:
- Microsoft::WRL::ComPtr<Windows::Foundation::Collections::IIterable<Windows::Devices::Input::PointerDevice *>>::InternalRelease(v34);
- goto LABEL_12;
- }
- v42 = this->_spButtonCapabilities.ptr_;
- v64.arg1 = (CInteractiveObjectButtonEventArgs *)v78.ptr_;
- Microsoft::WRL::ComPtr<CInteractiveObjectButtonEventArgs>::InternalAddRef((Microsoft::WRL::ComPtr<InteractiveObjectDeviceManagerServer> *)&v64.arg1);
- v43 = v42->lpVtbl;
- v44 = v42;
- v45 = v42->lpVtbl[4].AddRef;
- __guard_check_icall_fptr(v43[4].AddRef);
- ((void (__stdcall *)(CInteractiveObjectButtonCapabilities *, CInteractiveObjectButtonEventArgs *))v45)(
- v44,
- v64.arg1);
- v39 = (Microsoft::WRL::ComPtr<Windows::ApplicationModel::Core::ICoreApplicationViewInternal> *)&v78;
- LABEL_65:
- Microsoft::WRL::ComPtr<Windows::Foundation::Collections::IIterable<Windows::Devices::Input::PointerDevice *>>::InternalRelease(v39);
- goto $LN5_3;
- case 0x2F2u:
- v46 = this->lpVtbl;
- v64.arg1 = (CInteractiveObjectButtonEventArgs *)&spObjectInfo;
- __guard_check_icall_fptr(v46[8].QueryInterface);
- v5 = ((int (__stdcall *)(CInteractiveObjectDevice *, unsigned int, tagINTERACTIVECTRL_INFO *, signed int, Microsoft::WRL::ComPtr<CInteractiveObjectInfo> *))v46[8].QueryInterface)(
- this,
- v7,
- &info,
- 12,
- &spObjectInfo);
- if ( v5 < 0 )
- {
- v9 = 1014;
- goto LABEL_89;
- }
- v79.ptr_ = 0;
- v5 = Microsoft::WRL::Details::MakeAndInitialize<CInteractiveObjectEventArgs,CInteractiveObjectEventArgs,unsigned long &,Microsoft::WRL::ComPtr<CInteractiveObjectInfo> &>(
- (Microsoft::WRL::Details::ComPtrRef<Microsoft::WRL::ComPtr<CInteractiveObjectEventArgs> >)&v79,
- &deviceId,
- &spObjectInfo);
- if ( v5 < 0 )
- {
- v47 = 1019;
- LABEL_77:
- wil::details::in1diag3::Return_Hr(
- retaddr,
- v47,
- "windows\\advcore\\winrt\\interactiveobject\\lib\\interactiveobject.cpp",
- v5);
- v11 = (Microsoft::WRL::ComPtr<Windows::ApplicationModel::Core::ICoreApplicationViewInternal> *)&v79;
- goto LABEL_95;
- }
- v48 = this->_spPointerCapabilities.ptr_;
- v64.arg1 = (CInteractiveObjectButtonEventArgs *)v79.ptr_;
- Microsoft::WRL::ComPtr<CInteractiveObjectButtonEventArgs>::InternalAddRef((Microsoft::WRL::ComPtr<InteractiveObjectDeviceManagerServer> *)&v64.arg1);
- v49 = v48->lpVtbl;
- v50 = v48;
- v51 = v48->lpVtbl[6].QueryInterface;
- __guard_check_icall_fptr(v49[6].QueryInterface);
- v5 = ((int (__stdcall *)(CInteractiveObjectPointerCapabilities *, CInteractiveObjectButtonEventArgs *))v51)(
- v50,
- v64.arg1);
- if ( v5 < 0 )
- {
- v47 = 1021;
- goto LABEL_77;
- }
- v12 = (Microsoft::WRL::ComPtr<Windows::ApplicationModel::Core::ICoreApplicationViewInternal> *)&v79;
- goto LABEL_97;
- case 0x2F3u:
- v52 = this->lpVtbl;
- v64.arg1 = (CInteractiveObjectButtonEventArgs *)&spObjectInfo;
- __guard_check_icall_fptr(v52[8].QueryInterface);
- v5 = ((int (__stdcall *)(CInteractiveObjectDevice *, unsigned int, tagINTERACTIVECTRL_INFO *, signed int, Microsoft::WRL::ComPtr<CInteractiveObjectInfo> *))v52[8].QueryInterface)(
- this,
- v7,
- &info,
- 13,
- &spObjectInfo);
- if ( v5 < 0 )
- {
- v9 = 1032;
- goto LABEL_89;
- }
- v80[0].ptr_ = 0;
- v5 = Microsoft::WRL::Details::MakeAndInitialize<CInteractiveObjectEventArgs,CInteractiveObjectEventArgs,unsigned long &,Microsoft::WRL::ComPtr<CInteractiveObjectInfo> &>(
- (Microsoft::WRL::Details::ComPtrRef<Microsoft::WRL::ComPtr<CInteractiveObjectEventArgs> >)v80,
- &deviceId,
- &spObjectInfo);
- if ( v5 < 0 )
- {
- v53 = 1037;
- LABEL_85:
- wil::details::in1diag3::Return_Hr(
- retaddr,
- v53,
- "windows\\advcore\\winrt\\interactiveobject\\lib\\interactiveobject.cpp",
- v5);
- v11 = v80;
- goto LABEL_95;
- }
- v54 = this->_spPointerCapabilities.ptr_;
- v64.arg1 = (CInteractiveObjectButtonEventArgs *)v80[0].ptr_;
- Microsoft::WRL::ComPtr<CInteractiveObjectButtonEventArgs>::InternalAddRef((Microsoft::WRL::ComPtr<InteractiveObjectDeviceManagerServer> *)&v64.arg1);
- v55 = v54->lpVtbl;
- v56 = v54;
- v57 = v54->lpVtbl[6].AddRef;
- __guard_check_icall_fptr(v55[6].AddRef);
- v5 = ((int (__stdcall *)(CInteractiveObjectPointerCapabilities *, CInteractiveObjectButtonEventArgs *))v57)(
- v56,
- v64.arg1);
- if ( v5 < 0 )
- {
- v53 = 1039;
- goto LABEL_85;
- }
- v12 = v80;
- LABEL_97:
- Microsoft::WRL::ComPtr<Windows::Foundation::Collections::IIterable<Windows::Devices::Input::PointerDevice *>>::InternalRelease(v12);
- $LN5_3:
- v5 = 0;
- LABEL_12:
- Microsoft::WRL::ComPtr<Windows::Foundation::Collections::IIterable<Windows::Devices::Input::PointerDevice *>>::InternalRelease((Microsoft::WRL::ComPtr<Windows::ApplicationModel::Core::ICoreApplicationViewInternal> *)&spObjectInfo);
- return v5;
- case 0x2F4u:
- v58 = this->lpVtbl;
- v64.arg1 = (CInteractiveObjectButtonEventArgs *)&spObjectInfo;
- __guard_check_icall_fptr(v58[8].QueryInterface);
- v5 = ((int (__stdcall *)(CInteractiveObjectDevice *, unsigned int, tagINTERACTIVECTRL_INFO *, signed int, Microsoft::WRL::ComPtr<CInteractiveObjectInfo> *))v58[8].QueryInterface)(
- this,
- v7,
- &info,
- 9,
- &spObjectInfo);
- if ( v5 >= 0 )
- {
- v80[1].ptr_ = 0;
- v5 = Microsoft::WRL::Details::MakeAndInitialize<CInteractiveObjectEventArgs,CInteractiveObjectEventArgs,unsigned long &,Microsoft::WRL::ComPtr<CInteractiveObjectInfo> &>(
- (Microsoft::WRL::Details::ComPtrRef<Microsoft::WRL::ComPtr<CInteractiveObjectEventArgs> >)&v80[1],
- &deviceId,
- &spObjectInfo);
- if ( v5 >= 0 )
- {
- v60 = this->_spPointerCapabilities.ptr_;
- v64.arg1 = (CInteractiveObjectButtonEventArgs *)v80[1].ptr_;
- Microsoft::WRL::ComPtr<CInteractiveObjectButtonEventArgs>::InternalAddRef((Microsoft::WRL::ComPtr<InteractiveObjectDeviceManagerServer> *)&v64.arg1);
- v61 = v60->lpVtbl;
- v62 = v60;
- v63 = v60->lpVtbl[6].Release;
- __guard_check_icall_fptr(v61[6].Release);
- v5 = ((int (__stdcall *)(CInteractiveObjectPointerCapabilities *, CInteractiveObjectButtonEventArgs *))v63)(
- v62,
- v64.arg1);
- if ( v5 >= 0 )
- {
- v12 = &v80[1];
- goto LABEL_97;
- }
- v59 = 1056;
- }
- else
- {
- v59 = 1054;
- }
- wil::details::in1diag3::Return_Hr(
- retaddr,
- v59,
- "windows\\advcore\\winrt\\interactiveobject\\lib\\interactiveobject.cpp",
- v5);
- v11 = &v80[1];
- LABEL_95:
- Microsoft::WRL::ComPtr<Windows::Foundation::Collections::IIterable<Windows::Devices::Input::PointerDevice *>>::InternalRelease(v11);
- }
- else
- {
- v9 = 1049;
- LABEL_89:
- wil::details::in1diag3::Return_Hr(
- retaddr,
- v9,
- "windows\\advcore\\winrt\\interactiveobject\\lib\\interactiveobject.cpp",
- v5);
- }
- goto LABEL_12;
- case 0x2EDu:
- case 0x2EEu:
- goto $LN5_3;
- }
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement