Complex sentence: Huang Gai was actually aware of what had been going on, as he invited all the local officials to attend a banquet later and exposed the two officers' misdeeds in front of everyone.
Split into simpler sentences: Huang Gai was actually aware of what had been going on. He invited all the local officials to attend a banquet later and exposed the two officers' misdeeds in front of everyone.