Fix MAGIC_CONCAT and guess MAGIC_UNK5