HalpIrtInitializeDeviceApertures

NTSTATUS __stdcall HalpIrtInitializeDeviceApertures(){
  NTSTATUS result; 
  int v1; 

  v1 = 0;
  *(&CmpDummyThreadEvent + 897) = (char *)&CmpDummyThreadEvent + 7168;
  *(&CmpDummyThreadEvent + 896) = (char *)&CmpDummyThreadEvent + 7168;
  *(&CmpDummyThreadEvent + 967) = (char *)&CmpDummyThreadEvent + 7728;
  *(&CmpDummyThreadEvent + 966) = (char *)&CmpDummyThreadEvent + 7728;
  result = HalpIrtAllocateDeviceAperture(-1, -1, 1, 0, &v1);
  if( result >= 0 )
    *(&CmpDummyThreadEvent + 980) = *(&CmpDummyThreadEvent + 896);
  return result;
}

Referenced by:

HalpInitializeInterruptRemappingBspLate