The reason for the search was simple. The officers just arrived at the scene where a person was killed. A person on a bike was standing right next to it. At this point, the person is detained under suspicion of having murdered this person. The CCOP and PDA give him the right to conduct a search at this point.
I quote, Article 7, 7.1 of the CCOP:
"Any individual may be subjected to a search of their person, this may take place as part of the detention and arresting procedure, as described in the Procedure for detention and arrests act".
The Procedure for Detention and Arrest act, further states:
"The detaining officer may, if deemed relevant by the detaining law enforcement officer, or officer appointed by, or superior, to the detaining officer, carry out a search of the detainee in order to support the potential allegations"
The bike clearly backed up into the path of the officer. There was no VDM.