//
// png_crc_read from 0x86c704 to 0x86c722 (30 bytes)
//
// 31 xrefs:
// > png_push_read_chunk @ 0x862784
// > png_push_read_IDAT @ 0x8631f0
// > sub_86C724 @ 0x86c7f8
// > sub_86C724 @ 0x86c804
// > png_crc_finish @ 0x86c8bc
// > png_crc_finish @ 0x86c8ce
// > png_handle_IHDR @ 0x86c93c
// > png_handle_PLTE @ 0x86cad2
// > png_handle_gAMA @ 0x86cc36
// > png_handle_sBIT @ 0x86cd10
// > png_handle_cHRM @ 0x86ce72
// > png_handle_sRGB @ 0x86d09c
// > png_handle_iCCP @ 0x86d17c
// > png_handle_iCCP @ 0x86d1d6
// > png_handle_sPLT @ 0x86d578
// > png_handle_tRNS @ 0x86d7be
// > png_handle_tRNS @ 0x86d7fa
// > png_handle_tRNS @ 0x86d880
// > png_handle_bKGD @ 0x86d962
// > png_handle_hIST @ 0x86dac0
// > png_handle_pHYs @ 0x86db9a
// > png_handle_oFFs @ 0x86dc6e
// > png_handle_pCAL @ 0x86dd24
// > png_handle_sCAL @ 0x86dfc0
// > png_handle_tIME @ 0x86e186
// > png_handle_tEXt @ 0x86e240
// > png_handle_zTXt @ 0x86e372
// > png_handle_iTXt @ 0x86e518
// > png_handle_unknown @ 0x86e8e2
// > png_handle_unknown @ 0x86e958
// > png_read_IDAT_data @ 0x86f28e
//
// 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:55 +0000
//
_DWORD *__fastcall png_crc_read(_DWORD *result, int a2, int a3)
{
_DWORD *v4; // r6
if ( result )
{
v4 = result;
png_read_data((int)result);
return png_calculate_crc(v4, a2, a3);
}
return result;
}