IvtUpdateRemappingDestination

INT64 __fastcall IvtUpdateRemappingDestination(INT64 a1, CHAR a2, _DWORD *a3, INT64 a4, INT64 a5){
  unsigned int i; 
  __int64 *v9; 
  __int64 updated; 
  UINT64 v12; 
  for( i = 0; i < *(_DWORD *)(a1 + 256); ++i )
  {
    v9 = (__int64 *)(*(_QWORD *)(a1 + 240) + 16i64 * i);
    if( (*v9 & 1) != 0 && (!a2 || (*v9 & 0x100) != 0) )
    {
      LODWORD(v12) = a5;
      updated = (unsigned int)IvtUpdateExtendedDestination(HIDWORD(*v9), (*v9 & 4) != 0, a3, a4, v12);
      if( HIDWORD(*v9) != updated )
        *v9 = (updated << 32) | (unsigned int)*v9;
    }
  }
  return IvtInvalidateRemappingTableEntries((_QWORD *)a1, 0i64);
}

Referenced by:

No references.