How do I generate the source code for my Blueprint project?

I believe this is what you’re after:

How can I convert a blueprint project to C++ project in ue5? - Development / Programming & Scripting - Epic Developer Community Forums