Cream together the cocoa powder, butter, corn syrup, salt, and vanilla with the paddle attachment, starting on low speed and increasing to medium speed, until light and fluffy, about 5 minutes.
Add most of the water and mix well. Add the sugar and mix until smooth. Adjust the consistency with the remaining hot water as necessary.