//
// png_set_sRGB from 0xe5a398 to 0xe5a3dc (68 bytes)
//
// 2 xrefs:
// > sub_E5EAE4 @ 0xe5ed98
// > ??> @ 0xe9590
//
// 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:20 +0000
//
__int64 __fastcall png_set_sRGB(__int64 result, __int64 a2, unsigned int a3)
{
__int64 v4; // x20
if ( result )
{
if ( a2 )
{
v4 = result;
png_colorspace_set_sRGB(result, a2 + 52, a3);
return png_colorspace_sync_info(v4, a2);
}
}
return result;
}