//
// png_destroy_png_struct from 0xbce8a4 to 0xbce934 (144 bytes)
//
// 3 xrefs:
// > png_destroy_read_struct @ 0xbd5dac
// > png_destroy_write_struct @ 0xbe8144
// > ??> @ 0x84d20
//
// 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_destroy_png_struct(void *a1)
{
_QWORD v3[172]; // [xsp+38h] [xbp+38h] BYREF
if ( a1 )
{
memcpy(v3, a1, sizeof(v3));
memset(a1, 0, 0x560u);
png_free((__int64)v3, a1);
png_free_jmpbuf(v3);
}
return _stack_chk_guard;
}