code: def get_jump_targets(code, opc):
      
      offsets = []
      for offset, op, arg in unpack_opargs_wordcode(code, opc):
          if arg is not None:
              if op in opc.JREL_OPS:
                  jump_offset = offset + 2 + arg
              elif op in opc.JABS_OPS:
                  jump_offset = arg
              else:
                  continue
              if jump_offset not in offsets:
                  offsets.append(jump_offset)
      return offsets
docs: Returns a list of instruction offsets in the supplied bytecode
      which are the targets of some sort of jump instruction.