//
// cocos2d::ccGLBindTexture2DN from 0x18008b1f0 to 0x18008b235 (69 bytes)
//
// 3 xrefs:
// > ??> @ 0x18014cf68
// > ??> @ 0x1801bfb44
// > ??> @ 0x1801bfb50
//
// 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 11:22:06 +0000
//
void __fastcall cocos2d::ccGLBindTexture2DN(cocos2d *this, GLuint a2)
{
if ( *((_DWORD *)&qword_1801ACFC0 + (unsigned int)this) != a2 )
{
*((_DWORD *)&qword_1801ACFC0 + (unsigned int)this) = a2;
_glewActiveTexture((unsigned int)((_DWORD)this + 33984));
glBindTexture(0xDE1u, a2);
}
}