//
// png_get_bit_depth from 0xbcd638 to 0xbcd650 (24 bytes)
//
// 2 xrefs:
// > cocos2d::CCImage::_initWithPngData @ 0xb0bfa4
// > ??> @ 0x53400
//
// 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_bit_depth(__int64 a1, __int64 a2)
{
if ( a1 && a2 )
return *(unsigned __int8 *)(a2 + 36);
else
return 0;
}