//
// cocos2d::CCTexture2D::bitsPerPixelForFormat_1 from 0x100479670 to 0x10047968e (30 bytes)
//
// 1 xrefs:
// > cocos2d::CCTextureCache::dumpCachedTextureInfo @ 0x1005eefa1
//
// 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
//
unsigned int __fastcall cocos2d::CCTexture2D::bitsPerPixelForFormat_1(cocos2d::CCTexture2D *a1)
{
unsigned __int64 m_ePixelFormat; // rcx
unsigned int result; // eax
m_ePixelFormat = a1->m_ePixelFormat;
result = -1;
if ( m_ePixelFormat <= 9 )
return dword_10081C8AC[m_ePixelFormat];
return result;
}