//
// png_get_sRGB from 0xbcdf30 to 0xbcdf5c (44 bytes)
//
// 1 xrefs:
// > ??> @ 0x2ba10
//
// 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_sRGB(__int64 a1, __int64 a2, _DWORD *a3)
{
if ( !a1 || !a2 || !a3 || (*(_DWORD *)(a2 + 8) & 0x800) == 0 )
return 0;
*a3 = *(unsigned __int16 *)(a2 + 124);
return 2048;
}