//
// png_image_error from 0x860b54 to 0x860b76 (34 bytes)
//
// 17 xrefs:
// > sub_867600 @ 0x86760e
// > sub_867600 @ 0x86768c
// > png_image_begin_read_from_stdio @ 0x867846
// > png_image_begin_read_from_stdio @ 0x86787e
// > png_image_begin_read_from_file @ 0x8678a2
// > png_image_begin_read_from_file @ 0x867902
// > png_image_begin_read_from_file @ 0x86790e
// > png_image_begin_read_from_memory @ 0x867936
// > png_image_begin_read_from_memory @ 0x86795a
// > png_image_finish_read @ 0x8679b6
// > png_image_finish_read @ 0x867a88
// > png_image_finish_read @ 0x867aac
// > png_image_write_to_stdio @ 0x873398
// > png_image_write_to_stdio @ 0x873444
// > png_image_write_to_stdio @ 0x873456
// > png_image_write_to_file @ 0x8734a4
// > png_image_write_to_file @ 0x87350c
//
// 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_error(int a1, int a2)
{
png_safecat(a1 + 32, 64, 0, a2);
*(_DWORD *)(a1 + 28) |= 2u;
png_image_free(a1);
return 0;
}