//
// cocos2d::ccGLBindTexture2DN from 0x7ef40c to 0x7ef43a (46 bytes)
//
// 3 xrefs:
// > cocos2d::extension::CCControlSwitchSprite::draw @ 0x7a9eee
// > cocos2d::extension::CCControlSwitchSprite::draw @ 0x7a9f12
// > cocos2d::ccGLBindTexture2D @ 0x7ef444
//
// 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:02 +0000
//
void __fastcall cocos2d::ccGLBindTexture2DN(cocos2d *this, GLuint a2, unsigned int a3)
{
int *v3; // r3
v3 = &dword_D1FE98[(_DWORD)this];
if ( v3[2] != a2 )
{
v3[2] = a2;
glActiveTexture((GLenum)this + 33984);
j_glBindTexture(0xDE1u, a2);
}
}