//
// png_get_gAMA_fixed from 0xbcdec4 to 0xbcdef0 (44 bytes)
//
// 1 xrefs:
// > ??> @ 0x66b10
//
// 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_get_gAMA_fixed(__int64 a1, __int64 a2, _DWORD *a3)
{
if ( !a1 || !a2 || !a3 || (*(_BYTE *)(a2 + 126) & 1) == 0 )
return 0;
*a3 = *(_DWORD *)(a2 + 52);
return 1;
}