ps1_custget and associated helper functions are considerably faster now, due to the removal of for-loop based searches