The function signature would probably be better specified as `f: &fn(*ModEntry)` because that's what it actually is. The fewer transmutes the better!