/Engine/Source/Editor/UnrealEd/Public/Kismet2/ComponentEditorUtils.h
Tries to find a match for ComponentInstance in the ComponentList. First by name and then if multiple Components have a matching name try to match the SceneComponent hierarchy to find the best match.
Valid Component pointer if match was found. nullptr otherwise.
static [UActorComponent](API\Runtime\Engine\Components\UActorComponent) * FindMatchingComponent ( const [UActorComponent](API\Runtime\Engine\Components\UActorComponent) * ComponentInstance, const [TInlineComponentArray](API\Runtime\Engine\GameFramework\TInlineComponentArray)< [UActorComponent](API\Runtime\Engine\Components\UActorComponent) * > & ComponentList )