//
// png_permit_mng_features from 0x660804 to 0x660818 (20 bytes)
//
// 0 xrefs:
//
// 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_permit_mng_features(int result, char a2)
{
int v2; // r1
if ( result )
{
v2 = a2 & 5;
*(_DWORD *)(result + 808) = v2;
return v2;
}
return result;
}