//
// cocos2d::ccGLBindTexture2DN from 0x100346d30 to 0x100346d67 (55 bytes)
//
// 2 xrefs:
// > sub_1003918F0 @ 0x100391988
// > sub_1003918F0 @ 0x1003919b8
//
// 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 12:28:45 +0000
//
void __fastcall cocos2d::ccGLBindTexture2DN(unsigned int a1, GLuint a2)
{
if ( *((_DWORD *)&xmmword_100BDEA30 + a1) != a2 )
{
*((_DWORD *)&xmmword_100BDEA30 + a1) = a2;
glActiveTexture(a1 + 33984);
glBindTexture(0xDE1u, a2);
}
}