Cookie the dog was covered in excruciating sores