//
// cocos2d::ccGLBindTexture2DN from 0xb121e4 to 0xb12230 (76 bytes)
//
// 4 xrefs:
// > cocos2d::extension::CCControlSwitchSprite::draw @ 0xa9f0ec
// > cocos2d::extension::CCControlSwitchSprite::draw @ 0xa9f120
// > cocos2d::ccGLBindTexture2D @ 0xb12238
// > ??> @ 0x4e7c8
//
// 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
//
void cocos2d::ccGLBindTexture2DN(unsigned int a1, unsigned int a2)
{
if ( *((_DWORD *)&xmmword_1230DA0 + a1) != a2 )
{
*((_DWORD *)&xmmword_1230DA0 + a1) = a2;
glActiveTexture();
glBindTexture();
}
}