Ahh, that's right. I was under the impression that, well... I don't know what I thought really, something along the lines of it literally having ??? somewhere on the card xDthats the OT gender. its like impossible to determine OT gender in XY.
It's totally legit, not hacked at all. Asmo is right that it the Pokeball used to catch it could be hacked, but so could any other ball. It is not a hacked Pokémon, as far as the data goes. The ball doesn't even matter in the end, either.