"Senior Brother Jiang… managed to take control of the third Inspector when he was pursuing us. We thought that Senior Brother Jiang had succumbed to the third Inspector, but it was the third Inspector who had become Senior Brother Jiang's puppet!"
Yuchi Wei recollected the sequences of the masked man's pursuit of them. The surging killing intent emitted by the masked man when he chased after them was not something that could be faked. There was no need for Yi Yun to have done that.
Later on, they were sealed in the large array, with their perception cut off. It prevented them from knowing anything that happened outside. When they came out, they received the news that Yi Yun had signed a soul contract. Furthermore, Yi Yun got them to sign the soul contract as well.
From the looks of it, Yi Yun had managed to gain control of the masked man outside the array.
How did Jiang Yidao have the means to control a top expert?