//
// png_write_sig from 0xbeb210 to 0xbeb29c (140 bytes)
//
// 2 xrefs:
// > png_write_info_before_PLTE @ 0xbe6c34
// > ??> @ 0xa6d70
//
// 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
//
__int64 __fastcall png_write_sig(__int64 a1)
{
*(_DWORD *)(a1 + 1252) = 18;
png_write_data(a1);
if ( *(unsigned __int8 *)(a1 + 693) <= 2u )
*(_DWORD *)(a1 + 356) |= 0x1000u;
return _stack_chk_guard;
}