//
// png_save_uint_16 from 0xbeb1fc to 0xbeb20c (16 bytes)
//
// 17 xrefs:
// > png_write_sPLT @ 0xbec528
// > png_write_sPLT @ 0xbec534
// > png_write_sPLT @ 0xbec540
// > png_write_sPLT @ 0xbec54c
// > png_write_sPLT @ 0xbec558
// > png_write_sPLT @ 0xbec5c0
// > png_write_tRNS @ 0xbec9d4
// > png_write_tRNS @ 0xbecaf0
// > png_write_tRNS @ 0xbecb00
// > png_write_tRNS @ 0xbecb10
// > png_write_bKGD @ 0xbecc38
// > png_write_bKGD @ 0xbecd14
// > png_write_bKGD @ 0xbecd20
// > png_write_bKGD @ 0xbecd2c
// > png_write_hIST @ 0xbecf64
// > png_write_tIME @ 0xbede64
// > ??> @ 0x711f0
//
// 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;
}