C++ Sequencer Reassign Actor

Hello everyone,
for a while I’ve been trying to figure out of what exactly happens during the button press of “Assign Actor” in the sequencer to recreate that via code.
Does anyone know the answer or at least where in Modules of the engine the actual code following the selection of an actor to that feature can be found?

If you search for “Assign Actor” in the codebase, it should point you to LevelSequenceEditorSubsystem:

	FFormatNamedArguments Args;
	MenuBuilder.AddSubMenu(
		FText::Format(LOCTEXT("AssignActor", "Assign Actor"), Args),
		FText::Format(LOCTEXT("AssignActorTooltip", "Assign an actor to this track"), Args),
		FNewMenuDelegate::CreateLambda([this](FMenuBuilder& SubMenuBuilder) { AddAssignActorMenu(SubMenuBuilder); } ));
	}));

You could set a breakpoint in AddAssignActorMenu and then start stepping through from there. Ultimately, you’re probably looking for FSequencerUtilities::AddActorsToBinding or FSequencerUtilities::ReplaceBindingWithActors