//
// png_free_buffer_list from 0xe616ec to 0xe6172c (64 bytes)
//
// 4 xrefs:
// > png_set_compression_buffer_size @ 0xe5b2b4
// > png_destroy_write_struct @ 0xe5e21c
// > png_compress_IDAT @ 0xe61c94
// > ??> @ 0x7cc30
//
// This function is hookable on this platform (idp: arm, 32 bit: False, 64 bit: True!
//
// Using BromaIDA 8.3.0 @ https://github.com/Stazzical/BromaIDA
// Using bindings at commit 1c6ec395 at Thu Nov 26 21:29:22 2026 from https://github.com/geode-sdk/bindings
// Generated at Fri, 27 Nov 2026 13:10:23 +0000
//
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 );
}
}