PspUnlockJobMemoryLimitsShared
void __fastcall PspUnlockJobMemoryLimitsShared(__int64 a1, __int64 a2){
void *v2;
v2 = (void *)(a1 + 1032);
if( _InterlockedCompareExchange64((volatile signed __int64 *)(a1 + 1032), 0i64, 17i64) != 17 )
ExfReleasePushLockShared((INT64 *)(a1 + 1032));
KeAbPostRelease(v2);
if( a2 )
KiLeaveGuardedRegionUnsafe(a2);
}Referenced by:
NtQueryInformationJobObject
NtSetInformationJobObject
PsReportProcessMemoryLimitViolation
PspApplyJobLimitsToProcess
PspEnforceLimitsJobPostCallback