MmAddPhysicalMemory

NTSTATUS __stdcall MmAddPhysicalMemory(_LARGE_INTEGER *StartAddress, _LARGE_INTEGER *NumberOfBytes){
  bool v2; 
  _LARGE_INTEGER StartAddressa; 

  v2 = (StartAddress->QuadPart & 0xFFF) == 0;
  StartAddressa = *StartAddress;
  if( (StartAddressa.anonymous_0.LowPart & 1) != 0 && !v2 )
    StartAddressa.anonymous_0.LowPart &= ~1u;
  return MiAddPhysicalMemoryChunks(&Irp, &StartAddressa, NumberOfBytes);
}

Referenced by:

WheapClearPoison