//
// png_save_uint_16 from 0x664080 to 0x664088 (8 bytes)
//
// 16 xrefs:
// > png_write_sPLT @ 0x664c32
// > png_write_sPLT @ 0x664c3c
// > png_write_sPLT @ 0x664c46
// > png_write_sPLT @ 0x664c50
// > png_write_sPLT @ 0x664c5a
// > png_write_sPLT @ 0x664cae
// > png_write_tRNS @ 0x664ef6
// > png_write_tRNS @ 0x664fb2
// > png_write_tRNS @ 0x664fbe
// > png_write_tRNS @ 0x664fc8
// > png_write_bKGD @ 0x66508c
// > png_write_bKGD @ 0x665166
// > png_write_bKGD @ 0x665170
// > png_write_bKGD @ 0x665178
// > png_write_hIST @ 0x665298
// > png_write_tIME @ 0x665bbe
//
// This function is hookable on this platform!
//
// Using BromaIDA 8.0.0 @ https://github.com/Stazzical/BromaIDA
// Using bindings at commit ba9f177b at Thu Jul 16 22:52:06 2026 from https://github.com/geode-sdk/bindings
//
_BYTE *__fastcall png_save_uint_16(_BYTE *result, __int16 a2)
{
result[1] = a2;
*result = HIBYTE(a2);
return result;
}