In addition, software is also copyrightable, which makes much more sense than patents for protecting unauthorized use. IMO, patents for software should be mostly eliminated, and even copyright terms should be much shorter.
5 years full copyright, 5 years noncommercial unrestricted fair use with mandatory attribution, then straight to public domain. Berne Convention be damned, and multigenerational copyrights can go straight to hell as well.
Software patents are stupid, and even more so with AI soon to be able to take arbitrary compiled code and produce readable, well composed source in a target language with documentation and optimizations.
Studios and platforms and funds and giant corporations that "own" terabytes of IP are a cancer.
We're going to have to fix copyright. Until then, pirate everything.