//
// png_free_buffer_list from 0xbeb52c to 0xbeb56c (64 bytes)
//
// 4 xrefs:
// > png_set_compression_buffer_size @ 0xbe50f4
// > png_destroy_write_struct @ 0xbe805c
// > png_compress_IDAT @ 0xbebad4
// > ??> @ 0x5aeb8
//
// 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
//
void __fastcall png_free_buffer_list(__int64 a1, _QWORD **a2)
{
_QWORD *v3; // x1
_QWORD *v5; // x19
v3 = *a2;
if ( v3 )
{
*a2 = nullptr;
do
{
v5 = (_QWORD *)*v3;
png_free(a1, v3);
v3 = v5;
}
while ( v5 );
}
}