I don’t know how IP law works.
but if a company wants to reverse engineer an item from another company, i don’t see the problem.
it’s only a problem if they “copy & paste” that code and then put their name on the work.
carbon copy reverse engineering: illegal/immoral.
reverse engineering to see why your competitor is…