added 3dsx support

This adds 3dsx support
Please rename the loop variable to something more descriptive. I guess "reloc_table" might be appriate?