Extract C++ sourceCode?

I was just wondering if there was a way to extract the C++ source code from Game editor... (if you already made a game with game editor)
to allow it to compile elsewhere? i highly doubt it. but im just wondering just in case
to allow it to compile elsewhere? i highly doubt it. but im just wondering just in case