MiIsActiveSystemHotPatch

BOOL __stdcall MiIsActiveSystemHotPatch(INT64 a1){
  __int64 v1; 
  BOOL result; 

  result = 0;
  if( (*(_DWORD *)(a1 + 196) & 0x20) != 0 )
  {
    v1 = *(_QWORD *)(a1 + 280);
    if( v1 )
    {
      if( *(_QWORD *)(v1 + 280) == a1 )
        return 1;
    }
  }
  return result;
}

Referenced by:

MiLogHotPatchRundown
MiQueryProcessActivePatches