/Engine/Source/Runtime/CoreUObject/Public/UObject/PackageResourceManager.h
Search the given subdirectory of a package mount for all packages with the given package basename in the package repository
void FindPackagesRecursive ( [TArray](API\Runtime\Core\Containers\TArray)< [FPackagePath](API\Runtime\CoreUObject\Misc\FPackagePath) > & OutPackages, FStringView PackageMount, FStringView FileMount, FStringView RootRelPath, FStringView BasenameWildcard )