//
// png_image_free from 0x860b30 to 0x860b50 (32 bytes)
//
// 4 xrefs:
// > png_image_error @ 0x860b6e
// > png_safe_execute @ 0x8613c6
// > png_image_finish_read @ 0x867a26
// > png_image_write_to_stdio @ 0x873426
//
// This function is hookable on this platform (idp: arm, 32 bit: True, 64 bit: False!
//
// 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 12:02:43 +0000
//
int __fastcall png_image_free(int result)
{
_DWORD *v1; // r4
if ( result && *(_DWORD *)result && !*(_DWORD *)(*(_DWORD *)result + 8) )
{
v1 = (_DWORD *)result;
result = png_safe_execute();
*v1 = 0;
}
return result;
}