//
// png_permit_mng_features from 0xbe4d60 to 0xbe4d84 (36 bytes)
//
// 1 xrefs:
// > ??> @ 0x36a50
//
// 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_permit_mng_features(__int64 a1, char a2)
{
unsigned int v2; // w1
if ( !a1 )
return 0;
v2 = a2 & 5;
*(_DWORD *)(a1 + 1104) = v2;
return v2;
}