In this video I demonstrate how to create a new Blueprint Function Library plugin in your UE5 C++ Project, and then add a UFunction to that Library that can modify a UDynamicMesh, just like the BP Functions in the Geometry Scripting plugin.
(Apologies in advance for the too-high screen resolution and slight audio problems!)