jailbreaking itself legal but... cracking the apps that are for pay is not since you should have to pay for them first before you can get them.
If you get them via illegal sites then its the same as downloading anything thats not legal to own without paying for it.

use common sense. most simple games that are beingpirated are the .99-2.99 games which are cheap and worth paying for.