A muzzle device for a firearm may include an additively manufactured body having a first end, a second end opposite the first end, and a central bore extending from the first end to the second end. The body may include a lattice of triply periodic minimal surfaces that define an interconnected network of channels extending through the body such that gases produced by the firearm may flow in a random pattern from the central bore through the interconnected network of channels to cool the gases.