overwrite a plugin function in functions.php

I’m afraid you cannot alter the output of this function unless you directly modify the plugin code. The plugin author hasn’t given you any filter to use.

So what can you do about it?

  1. Continue to alter the plugin file and update each time the plugin updates.
  2. Ask the plugin author nicely to add a filter to this function.
  3. Make a fork of the plugin.