/Engine/Source/Editor/GameProjectGeneration/Public/GameProjectUtils.h
Checks out the current project file (or prompts to make writable)
static void TryMakeProjectFileWriteable ( const [FString](API\Runtime\Core\Containers\FString) & ProjectFile )