//
// png_crc_read from 0xe54fac to 0xe55000 (84 bytes)
//
// 32 xrefs:
// > png_push_read_chunk @ 0xe45538
// > png_push_read_IDAT @ 0xe46380
// > sub_E55000 @ 0xe550dc
// > sub_E55000 @ 0xe551c0
// > png_crc_finish @ 0xe552bc
// > png_crc_finish @ 0xe552d8
// > png_handle_IHDR @ 0xe553a8
// > png_handle_PLTE @ 0xe555b0
// > png_handle_gAMA @ 0xe55824
// > png_handle_sBIT @ 0xe558f8
// > png_handle_cHRM @ 0xe55b0c
// > png_handle_sRGB @ 0xe55d9c
// > png_handle_iCCP @ 0xe55f00
// > png_handle_iCCP @ 0xe55f80
// > png_handle_sPLT @ 0xe563ec
// > png_handle_tRNS @ 0xe56758
// > png_handle_tRNS @ 0xe567b8
// > png_handle_tRNS @ 0xe56814
// > png_handle_bKGD @ 0xe56998
// > png_handle_hIST @ 0xe56b70
// > png_handle_pHYs @ 0xe56cec
// > png_handle_oFFs @ 0xe56e30
// > png_handle_pCAL @ 0xe56f10
// > png_handle_sCAL @ 0xe5728c
// > png_handle_tIME @ 0xe57514
// > png_handle_tEXt @ 0xe57618
// > png_handle_zTXt @ 0xe577f8
// > png_handle_iTXt @ 0xe57a44
// > png_handle_unknown @ 0xe57f84
// > png_handle_unknown @ 0xe57fe8
// > png_read_IDAT_data @ 0xe58cf0
// > ??> @ 0xe0770
//
// This function is hookable on this platform (idp: arm, 32 bit: False, 64 bit: True!
//
// 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 13:10:17 +0000
//
__int64 __fastcall png_crc_read(__int64 result, __int64 a2, unsigned int a3)
{
__int64 v3; // x19
_DWORD *v5; // x20
if ( result )
{
v3 = a3;
v5 = (_DWORD *)result;
png_read_data(result);
return png_calculate_crc(v5, a2, v3);
}
return result;
}