code: def _makeARGB(*args, **kwds):
      img, alpha = real_makeARGB(*args, **kwds)
      if kwds.get("useRGBA"):  # endian independent
          out = img
      elif sys.byteorder == "little":  # little-endian ARGB32 to B,G,R,A
          out = img
      else:  # big-endian ARGB32 to B,G,R,A
          out = img[..., [3, 2, 1, 0]]
      return out, alpha
  
file_path: pyqtgraph/tests/test_makeARGB.py
imports: import sys
  from typing import Any, Dict, Type, Union
  import numpy
  import pytest
  from pyqtgraph import getConfigOption, getCupy, setConfigOption
  from pyqtgraph.functions import makeARGB
label_desc: Use image node_id 3 for calling a global function with example usage: _makeARGB() and returns: out,  alpha