Use the right analog stick to move the camera. Notice some sort of white arrow on the ball as you move the camera. It represent the direction of the ball when you release it. When it reach the green square, the hacking is complete. When you reach the blue square, the ball teleports.
The first hacking at the very beginning shouldn't have any negative effects when you miss. So gotta practice!
Bionic commando rearmed is also of them games that makes me happy to play live arcades.