• impossible_silver@programming.dev
      link
      fedilink
      English
      arrow-up
      1
      ·
      1 year ago

      PA_ prefixed functions seem to be from palibds, which is a Nintendo DS homebrew development library.

      DS being a constrained device it is logical that whoever wrote this code packed multiple byte-sized info into a bigger 16-bit short and using bit shifting to extract a specific byte