//
// png_app_error from 0xbcd1f0 to 0xbcd20c (28 bytes)
//
// 30 xrefs:
// > png_chunk_report @ 0xbcd27c
// > png_read_update_info @ 0xbd3858
// > png_start_read_image @ 0xbd389c
// > png_set_background_fixed @ 0xbd78bc
// > png_set_scale_16 @ 0xbd794c
// > png_set_strip_16 @ 0xbd7980
// > png_set_strip_alpha @ 0xbd79b4
// > png_set_alpha_mode_fixed @ 0xbd7b80
// > png_set_quantize @ 0xbd8320
// > png_set_gamma_fixed @ 0xbd855c
// > png_set_expand @ 0xbd8690
// > png_set_palette_to_rgb @ 0xbd86cc
// > png_set_expand_gray_1_2_4_to_8 @ 0xbd8700
// > png_set_tRNS_to_alpha @ 0xbd873c
// > png_set_expand_16 @ 0xbd8778
// > png_set_gray_to_rgb @ 0xbd87cc
// > png_set_rgb_to_gray_fixed @ 0xbd88a8
// > png_set_rgb_to_gray_fixed @ 0xbd88dc
// > png_set_iCCP @ 0xbe43b0
// > png_set_sPLT @ 0xbe4a84
// > png_set_unknown_chunk_location @ 0xbe4d38
// > png_set_keep_unknown_chunks @ 0xbe4f64
// > png_set_keep_unknown_chunks @ 0xbe4fc0
// > png_set_filler @ 0xbe5314
// > png_set_filler @ 0xbe5338
// > png_set_user_transform_info @ 0xbe6244
// > png_set_filter @ 0xbe8248
// > png_write_png @ 0xbe8f40
// > png_write_png @ 0xbe8fdc
// > ??> @ 0x89df0
//
// This function is hookable on this platform!
//
// Using BromaIDA 8.0.0 @ https://github.com/Stazzical/BromaIDA
// Using bindings at commit ba9f177b at Thu Jul 16 22:52:06 2026 from https://github.com/geode-sdk/bindings
//
__int64 __fastcall png_app_error(__int64 a1, const char *a2)
{
if ( (*(_DWORD *)(a1 + 360) & 0x400000) == 0 )
png_error(a1, a2);
return png_warning(a1, a2);
}