//
// cocos2d::ccGLBindTexture2DN from 0x180088020 to 0x180088061 (65 bytes)
//
// 2 xrefs:
// > ??> @ 0x1801438a8
// > ??> @ 0x1801b5880
//
// 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 __fastcall cocos2d::ccGLBindTexture2DN(cocos2d *this, GLuint a2)
{
if ( *((_DWORD *)&qword_1801A2FF0 + (unsigned int)this) != a2 )
{
*((_DWORD *)&qword_1801A2FF0 + (unsigned int)this) = a2;
_glewActiveTexture((unsigned int)((_DWORD)this + 33984));
glBindTexture(0xDE1u, a2);
}
}