//
// png_set_gAMA_fixed from 0xe59a08 to 0xe59a4c (68 bytes)
//
// 4 xrefs:
// > png_set_gAMA @ 0xe59a80
// > sub_E5EAE4 @ 0xe5ebf4
// > sub_E5EAE4 @ 0xe5ed54
// > ??> @ 0x93568
//
// 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:19 +0000
//
__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;
}