/Engine/Source/Runtime/GeometryCore/Public/Util/SmallListSet.h
Search the list at ListIndex for a value where PredicateFunc(value) returns true, and replace it with NewValue
true if the value was found and replaced
bool Replace ( int32 ListIndex, const [TFunction](API\Runtime\Core\GenericPlatform\TFunction)< bool(int32)> & PredicateFunc, int32 NewValue )