CmSetDevicePanelMappedProperty

NTSTATUS __stdcall CmSetDevicePanelMappedProperty(INT64 a1, INT64 a2, INT64 a3, INT64 a4, INT64 a5){
  NTSTATUS v5; 
  __int64 **v6; 
  unsigned int v7; 
  __int64 *v8; 
  __int64 v9; 

  v5 = -1073741802;
  if( !a4 )
  {
    v6 = &off_140009970;
    v7 = 0;
    while( 1 )
    {
      v8 = *v6;
      if( *(_DWORD *)(a5 + 16) == *((_DWORD *)*v6 + 4) )
      {
        v9 = *(_QWORD *)a5 - *v8;
        if( *(_QWORD *)a5 == *v8 )
          v9 = *(_QWORD *)(a5 + 8) - v8[1];
        if( !v9 )
          break;
      }
      ++v7;
      v6 += 2;
      if( v7 >= 3 )
        return v5;
    }
    return -1073741790;
  }
  return v5;
}

Referenced by:

CmDeleteDevicePanelWorker
PnpDispatchDevicePanel