Help with BuddyPress and rtMedia at Template Cinematix

I’m a themeforest customer and I wanted help with customizing a code for my page. I have purchased the “Cinematix” theme which has social networking features. In the “rtMEDIA” plugin in the content restriction section for registered users, members or friends, I would like to know how to modify this function so that instead of hiding the post from non-registered users, the post appears but with an advertisement that cap the content and a “Content for Registered Users” message. Example: Patreon and member content.

Does anyone know how to achieve this, or does anyone know in which line of code I can modify that function?