//
// cocos2d::CCTexture2D::bitsPerPixelForFormat from 0x7ff75c to 0x7ff76e (18 bytes)
//
// 2 xrefs:
// > cocos2d::CCTexture2D::initWithData @ 0x7ff78e
// > cocos2d::CCTexture2D::bitsPerPixelForFormat @ 0x7fff3e
//
// This function is hookable on this platform (idp: arm, 32 bit: True, 64 bit: False!
//
// 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:01:19 +0000
//
int __fastcall cocos2d::CCTexture2D::bitsPerPixelForFormat(int a1, unsigned int a2)
{
if ( a2 > 9 )
return -1;
else
return byte_BF40D0[a2];
}