//
// png_image_error from 0xe42a20 to 0xe42a68 (72 bytes)
//
// 18 xrefs:
// > sub_E4BFB0 @ 0xe4bfd0
// > sub_E4BFB0 @ 0xe4c0a4
// > png_image_begin_read_from_stdio @ 0xe4c344
// > png_image_begin_read_from_stdio @ 0xe4c3a4
// > png_image_begin_read_from_file @ 0xe4c3d8
// > png_image_begin_read_from_file @ 0xe4c470
// > png_image_begin_read_from_file @ 0xe4c484
// > png_image_begin_read_from_memory @ 0xe4c4c0
// > png_image_begin_read_from_memory @ 0xe4c50c
// > png_image_finish_read @ 0xe4c580
// > png_image_finish_read @ 0xe4c6a8
// > png_image_finish_read @ 0xe4c6e4
// > png_image_write_to_stdio @ 0xe5f1e8
// > png_image_write_to_stdio @ 0xe5f224
// > png_image_write_to_stdio @ 0xe5f308
// > png_image_write_to_file @ 0xe5f358
// > png_image_write_to_file @ 0xe5f408
// > ??> @ 0x71920
//
// 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_error(__int64 a1, __int64 a2)
{
png_safecat(a1 + 36, 64, 0, a2);
*(_DWORD *)(a1 + 32) |= 2u;
png_image_free(a1);
return 0;
}