//
// png_get_hIST from 0xbce000 to 0xbce02c (44 bytes)
//
// 1 xrefs:
// > ??> @ 0x4ce18
//
// 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_hIST(__int64 a1, __int64 a2, _QWORD *a3)
{
if ( !a1 || !a2 || !a3 || (*(_DWORD *)(a2 + 8) & 0x40) == 0 )
return 0;
*a3 = *(_QWORD *)(a2 + 240);
return 64;
}