//
// png_chunk_benign_error from 0xbcd250 to 0xbcd26c (28 bytes)
//
// 71 xrefs:
// > png_chunk_report @ 0xbcd288
// > png_read_info @ 0xbd35bc
// > sub_BDE95C @ 0xbdec48
// > png_handle_PLTE @ 0xbdf454
// > png_handle_PLTE @ 0xbdf470
// > png_handle_PLTE @ 0xbdf4cc
// > png_handle_PLTE @ 0xbdf500
// > png_handle_PLTE @ 0xbdf540
// > png_handle_PLTE @ 0xbdf558
// > png_handle_IEND @ 0xbdf5e0
// > png_handle_gAMA @ 0xbdf630
// > png_handle_gAMA @ 0xbdf650
// > png_handle_sBIT @ 0xbdf7fc
// > png_handle_sBIT @ 0xbdf820
// > png_handle_sBIT @ 0xbdf858
// > png_handle_sBIT @ 0xbdf880
// > png_handle_cHRM @ 0xbdf908
// > png_handle_cHRM @ 0xbdf940
// > png_handle_cHRM @ 0xbdfb08
// > png_handle_cHRM @ 0xbdfb24
// > png_handle_sRGB @ 0xbdfba8
// > png_handle_sRGB @ 0xbdfbc8
// > png_handle_sRGB @ 0xbdfc1c
// > png_handle_iCCP @ 0xbdfcf0
// > png_handle_iCCP @ 0xbdfdb4
// > png_handle_iCCP @ 0xbdfde8
// > png_handle_sPLT @ 0xbe0394
// > png_handle_sPLT @ 0xbe0424
// > png_handle_tRNS @ 0xbe0534
// > png_handle_tRNS @ 0xbe05bc
// > png_handle_tRNS @ 0xbe05d8
// > png_handle_tRNS @ 0xbe06a4
// > png_handle_bKGD @ 0xbe0748
// > png_handle_bKGD @ 0xbe0774
// > png_handle_bKGD @ 0xbe07b8
// > png_handle_bKGD @ 0xbe08f0
// > png_handle_hIST @ 0xbe094c
// > png_handle_hIST @ 0xbe0a0c
// > png_handle_hIST @ 0xbe0a3c
// > png_handle_pHYs @ 0xbe0ac4
// > png_handle_pHYs @ 0xbe0b00
// > png_handle_pHYs @ 0xbe0b1c
// > png_handle_oFFs @ 0xbe0c04
// > png_handle_oFFs @ 0xbe0c40
// > png_handle_oFFs @ 0xbe0c5c
// > png_handle_pCAL @ 0xbe0e40
// > png_handle_pCAL @ 0xbe0fbc
// > png_handle_sCAL @ 0xbe108c
// > png_handle_sCAL @ 0xbe1104
// > png_handle_sCAL @ 0xbe1120
// > png_handle_sCAL @ 0xbe1150
// > png_handle_sCAL @ 0xbe11bc
// > png_handle_sCAL @ 0xbe123c
// > png_handle_sCAL @ 0xbe1250
// > png_handle_sCAL @ 0xbe128c
// > png_handle_sCAL @ 0xbe12bc
// > png_handle_tIME @ 0xbe132c
// > png_handle_tIME @ 0xbe13cc
// > png_handle_tEXt @ 0xbe1574
// > png_handle_tEXt @ 0xbe1598
// > png_handle_zTXt @ 0xbe16b8
// > png_handle_zTXt @ 0xbe1740
// > png_handle_zTXt @ 0xbe1768
// > png_handle_iTXt @ 0xbe190c
// > png_handle_iTXt @ 0xbe19a8
// > png_handle_iTXt @ 0xbe1af4
// > png_handle_unknown @ 0xbe1bc0
// > png_handle_unknown @ 0xbe1c74
// > png_read_IDAT_data @ 0xbe2c74
// > png_read_IDAT_data @ 0xbe2ca0
// > ??> @ 0x5f358
//
// 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_chunk_benign_error(__int64 a1, const char *a2)
{
if ( (*(_DWORD *)(a1 + 360) & 0x100000) == 0 )
png_chunk_error(a1, a2);
return png_chunk_warning(a1, a2);
}