Of course, this may be made up by the author. Not to mention that killing pigs for entertainment is a bit outrageous. Pork was not a noble thing to entertain people in the Han Dynasty. What's more, the pig's cry when killing the pig would be known to the neighbors, and Cao Cao was still on the run at that time....