PopDispatchStateCallout

NTSTATUS __stdcall PopDispatchStateCallout(VOID *Parms, UINT64 *SessionId){
  int v4; 
  int v6; 
  int v7; 
  int *v8; 
  int v9; 
  int v10; 
  int v11[4]; 

  if( (xmmword_140CFB490 & 0x8000) != 0 )
  {
    v6 = *((_DWORD *)Parms + 1);
    v10 = 0;
    v11[0] = v6;
    v11[1] = *((_DWORD *)Parms + 2);
    v11[2] = *((_DWORD *)Parms + 3);
    v11[3] = *((_DWORD *)Parms + 4);
    v8 = v11;
    v9 = 16;
    EtwTraceKernelEvent((__int64)&v8, 1u, 0x80008000, 0x1228u, 0x401802u);
  }
  v4 = PopInvokeWin32Callout(
         4i64,
         Parms,
         2 - (unsigned int)(SessionId != 0i64),
         (UINT64 *)((unsigned __int64)SessionId & -(__int64)(SessionId != 0i64)));
  if( (xmmword_140CFB490 & 0x8000) != 0 )
  {
    v10 = 0;
    v8 = &v7;
    v7 = v4;
    v9 = 4;
    EtwTraceKernelEvent((__int64)&v8, 1u, 0x80008000, 0x1229u, 0x401802u);
  }
  return v4;
}

Referenced by:

PoBlockConsoleSwitch
PoEndPartitionReplace
PoEndPowerStateTasks
PoPowerOffMonitor
PoStartPartitionReplace
PoStartPowerStateTasks
PoUnblockConsoleSwitch
PopBlockSessionSwitch
PopDirectedDripsNotifyAppsAndServices
PopPrepareSleep
PopReleaseAdaptiveLock
PopResumeApps
PopResumeServices
PopSuspendApps
PopSuspendServices