jaywalking is still an offence punishable by the highway traffic act & cops are dicks

What about section 144 (22)?

This is, of course, presuming that there is a crosswalk at the end of the block, marked for pedestrian use. If that is the case, the officer may very well have marked your ticket incorrectly, which gives you an easy out, but he may have been correct that you were crossing illegally.