//
// png_app_warning from 0x861168 to 0x86117e (22 bytes)
//
// 9 xrefs:
// > png_chunk_report @ 0x8611e8
// > png_set_rgb_to_gray_fixed @ 0x8696e0
// > png_handle_unknown @ 0x86e8a0
// > png_set_unknown_chunks @ 0x870776
// > png_write_info_before_PLTE @ 0x871a02
// > png_write_tRNS @ 0x874f22
// > png_write_tRNS @ 0x874f3e
// > png_write_tRNS @ 0x874f5a
// > png_write_tRNS @ 0x8750c4
//
// 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_warning(int a1, const char *a2)
{
if ( (*(_DWORD *)(a1 + 312) & 0x200000) == 0 )
png_error(a1, a2);
return png_warning(a1, a2);
}