Problem obtaining the reference of an array

Everything’s hunky dory if you do something with the array inside the function

Then, the reference comes out of the other end correctly.