//
// png_colorspace_sync from 0x64dc1c to 0x64dc40 (36 bytes)
//
// 8 xrefs:
// > png_handle_gAMA @ 0x65cbf4
// > png_handle_cHRM @ 0x65cf7a
// > png_handle_cHRM @ 0x65cfb6
// > png_handle_sRGB @ 0x65d048
// > png_handle_sRGB @ 0x65d06a
// > png_handle_iCCP @ 0x65d0da
// > png_handle_iCCP @ 0x65d3ea
// > png_handle_iCCP @ 0x65d40e
//
// 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
//
int __fastcall png_colorspace_sync(int result, int a2)
{
int v2; // r5
if ( a2 )
{
v2 = result;
memcpy((void *)(a2 + 40), (const void *)(result + 924), 0x4Cu);
return png_colorspace_sync_info(v2, a2);
}
return result;
}