the corpse was mangled and twisted grotesquely from the fall , and one of the legs had broken , the bone protruding up at just the right angle to catch the moonlight which spilled into that portion of the courtyard .