Ok try opening content-single.php in your generatepress theme folder.
There you’ll find the hook names such as the above ‘generate_before_entry_title’ that I used.
You can then replace the hook name in my code above, and try the hooks one by one until you find the right one that inserts the content in the position you want. That’s how I did it.