Some are weird but PID mismatch for Gen 4 doesn't always mean it's hacked. Also Greninja might give you a weird error, see the hack checkin thread. Haileo told me it's normal, it seems they didn't add the ash-greninja forme check in PKHeX so it comes flagged. Otherwise, nicknamed checks on Shiny if they don't have a nickname means they're hacked, but it doesn't flag it in PKHeX...(ex Bidoof nicknamed Bidoof).
I just asked on Discord, hopefully I'll get an answer ;^; EDIT:
Should be in luma => titles => ID of your game => code.bin