Pre–post intervention exploring cognitive function and relationships with weight loss, intervention adherence and dropout · Study