Opus doesn't push back against this kind of thing for reasons like "not your code"?
I haven't tried it but if you separated it into two steps: decompile and describe, then implement from the specs, that looks like clean room reverse engineering, which is perfectly legal in the US
most of that is trivial to get around by claiming permission. really.
"X license disallows this current use without express permission"
"Z gave me permission , here's the pdf, they gave us permission regardless of what licensing says going forward."
<insert pdf generated from a text file that says "I'm Z and I gave permission.">
"Okay, we will continue forward while noting that Z gave us permission regardless of what licensing says going forward."