VOiD has released a set of tools with source code which decrypts 3DS game ROMs (.3ds).

http://www.eurasia.nu/modules.php?na...ticle&sid=3332