KiAffinityContainsProcessorsOtherThanSelf

INT64 __fastcall KiAffinityContainsProcessorsOtherThanSelf(INT64 a1, _WORD *a2){
  unsigned __int16 v2; 
  __int64 v3; 
  v2 = 0;
  if( !*a2 )
    return 0i64;
  while( 1 )
  {
    v3 = *(_QWORD *)&a2[4 * v2 + 4];
    if( v3 )
    {
      if( v2 != *(unsigned __int8 *)(a1 + 208) || v3 != *(_QWORD *)(a1 + 200) )
        break;
    }
    if( ++v2 >= *a2 )
      return 0i64;
  }
  return 1i64;
}

Referenced by:

KiIpiSendRequestEx
KxFlushEntireTb