SQUASH/write_reg_contents_ex: revert (max)len