//
// cocos2d::CCTexture2D::bitsPerPixelForFormat_1 from 0x10046dfd0 to 0x10046dfee (30 bytes)
//
// 1 xrefs:
// > cocos2d::CCTextureCache::dumpCachedTextureInfo @ 0x1006c20e1
//
// This function is hookable on this platform (idp: pc, 32 bit: False, 64 bit: True!
//
// Using BromaIDA 8.3.0 @ https://github.com/Stazzical/BromaIDA
// Using bindings at commit 1c6ec395 at Thu Nov 26 21:29:22 2026 from https://github.com/geode-sdk/bindings
// Generated at Fri, 27 Nov 2026 12:30:32 +0000
//
__int64 __fastcall cocos2d::CCTexture2D::bitsPerPixelForFormat_1(__int64 a1)
{
unsigned __int64 v1; // rcx
__int64 result; // rax
v1 = *(unsigned int *)(a1 + 60);
result = 0xFFFFFFFFLL;
if ( v1 <= 9 )
return dword_100A0AEEC[v1];
return result;
}