/Engine/Plugins/Runtime/GeometryCache/Source/GeometryCache/Public/GeometryCacheHelpers.h
Use this instead of fmod when working with looping animations as fmod gives incorrect results when using negative times.
static float WrapAnimationTime ( float Time, float Duration )