//
// png_set_gAMA_fixed from 0xbe3848 to 0xbe388c (68 bytes)
//
// 4 xrefs:
// > png_set_gAMA @ 0xbe38c0
// > sub_BE8924 @ 0xbe8a34
// > sub_BE8924 @ 0xbe8b94
// > ??> @ 0x6d2a8
//
// 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_set_gAMA_fixed(__int64 result, __int64 a2, int a3)
{
__int64 v4; // x20
if ( result )
{
if ( a2 )
{
v4 = result;
png_colorspace_set_gamma(result, a2 + 52, a3);
return png_colorspace_sync_info(v4, a2);
}
}
return result;
}