similar to ARRAY(0xFFC16), which made me think that it was a reference for some reason
This thought was correct; that is what happens when you try to print a reference. There's really not much we can do to help you with this part, though, because the code you pasted doesn't create a reference anywhere.