//
// png_app_error from 0x861180 to 0x861196 (22 bytes)
//
// 29 xrefs:
// > png_chunk_report @ 0x8611d8
// > png_read_update_info @ 0x865aac
// > png_start_read_image @ 0x865ada
// > png_set_background_fixed @ 0x868a36
// > png_set_scale_16 @ 0x868aa8
// > png_set_strip_16 @ 0x868ad4
// > png_set_strip_alpha @ 0x868b00
// > png_set_alpha_mode_fixed @ 0x868c64
// > png_set_quantize @ 0x869224
// > png_set_gamma_fixed @ 0x86940e
// > png_set_expand @ 0x869574
// > png_set_palette_to_rgb @ 0x8695a4
// > png_set_expand_gray_1_2_4_to_8 @ 0x8695d0
// > png_set_tRNS_to_alpha @ 0x869600
// > png_set_expand_16 @ 0x869630
// > png_set_gray_to_rgb @ 0x869668
// > png_set_rgb_to_gray_fixed @ 0x86970a
// > png_set_rgb_to_gray_fixed @ 0x869732
// > png_set_iCCP @ 0x8701d0
// > png_set_sPLT @ 0x87069e
// > png_set_unknown_chunk_location @ 0x870862
// > png_set_keep_unknown_chunks @ 0x8709c2
// > png_set_keep_unknown_chunks @ 0x8709fe
// > png_set_filler @ 0x870c60
// > png_set_filler @ 0x870c7c
// > png_set_user_transform_info @ 0x871214
// > png_set_filter @ 0x872876
// > png_write_png @ 0x8732f2
// > png_write_png @ 0x87336c
//
// 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_app_error(int a1, const char *a2)
{
if ( (*(_DWORD *)(a1 + 312) & 0x400000) == 0 )
png_error(a1, a2);
return png_warning(a1, a2);
}