ASCII!! That didn't even occur to me as this portion of the function is entirely numeric. I suspect that the way this was implemented in the original script was incorrectly understood. Thank you for the clarification. One additional question, if I could...
Since it returns only a portion of the result, I attempted to modify the snippet a little bit, but it still produced the same result. See below.
my $input = 0x916CD; #595661
my @unpacked = unpack "VV", $input;
print(join ", ", @unpacked);
From your reply, I was expecting to have the following.
Dec: 825_636_405, 14_645
Hex: 0x31363635, 0x3935
Could you help me understand why this doesn't unpack into the array like I thought it would? Thanks for the help!