FNAF SB?
It'd still be stealing. Making an imitator is legal, like how Words with Friends is 98% Scrabble. But the moment you start directly copying characters or music without permission? Technically theft.Unless it has no official port/spin off released on the 3DS.