NTSTATUS __stdcall PspSetProcessBackgroundCountCallback(_EPROCESS *Process, UINT8 *Enable){
int v2;
UINT64 v3;
if( (Process->Flags2 & 1) == 0 )
{
v2 = *((_DWORD *)Process->Job + 215);
if( *Enable )
{
if( v2 != 1 )
return 0;
v3 = 1i64;
goto LABEL_5;
}
if( !v2 )
{
v3 = 0i64;
LABEL_5:
PspNotifyProcessBackgroundTransition(Process, v3);
}
}
return 0;
}