//
// png_image_free from 0xe429d8 to 0xe42a20 (72 bytes)
//
// 5 xrefs:
// > png_image_error @ 0xe42a54
// > png_safe_execute @ 0xe43744
// > png_image_finish_read @ 0xe4c62c
// > png_image_write_to_stdio @ 0xe5f2f4
// > ??> @ 0xec3e0
//
// 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:03 +0000
//
__int64 __fastcall png_image_free(__int64 result)
{
_QWORD *v1; // x19
if ( result && *(_QWORD *)result && !*(_QWORD *)(*(_QWORD *)result + 16LL) )
{
v1 = (_QWORD *)result;
result = png_safe_execute(result, sub_E3B368, result);
*v1 = 0;
}
return result;
}