Generate a function call to one of two functions. Document
Fix pointer formatting not cleaning up