AlpcpValidateConnectionMessage

INT64 __fastcall AlpcpValidateConnectionMessage(INT64 a1, UINT16 *a2, CHAR a3){
  if( !a3 )
    return AlpcpValidateMessage(a2, 0);
  if( *a2 > (unsigned __int64)(*(_QWORD *)(a1 + 272) - 40i64) )
    *a2 = *(_WORD *)(a1 + 272) - 40;
  return 0i64;
}

Referenced by:

AlpcpAcceptConnectPort
AlpcpFormatConnectionRequest