AlpcpDispatchMessage

INT64 __fastcall AlpcpDispatchMessage(INT64 a1){
  __int64 v1; 
  v1 = *(_QWORD *)(a1 + 8);
  if( !*(_QWORD *)(v1 + 24) )
    return AlpcpDispatchNewMessage(a1);
  if( *(_QWORD *)(v1 + 32) )
    return AlpcpDispatchReplyToWaitingThread(a1);
  return AlpcpDispatchReplyToPort(a1);
}

Referenced by:

AlpcpAcceptConnectPort