//
// png_get_compression_buffer_size from 0xbce52c to 0xbce550 (36 bytes)
//
// 1 xrefs:
// > ??> @ 0x75030
//
// 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_get_compression_buffer_size(_DWORD *a1)
{
if ( !a1 )
return 0;
if ( (a1[89] & 0x8000) != 0 )
return (unsigned int)a1[312];
return (unsigned int)a1[124];
}