Function pointer return value extracted

Using tree functions to pop pointer+function from the return type