//
// png_destroy_png_struct from 0xe44a64 to 0xe44af4 (144 bytes)
//
// 3 xrefs:
// > png_destroy_read_struct @ 0xe4bf6c
// > png_destroy_write_struct @ 0xe5e304
// > ??> @ 0xb0650
//
// 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:04 +0000
//
__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;
}