PYC files header bits varies across versions, most of the python3 versions follow 3*32 bit header format, there is a changed from python3.7 (from magic 3393). Not it is 4 * 32 bit, PEP552 explains this.
Pydis unmarshal should handle these cases while loading code objects or pyc files directly.