//
// cocos2d::ccGLBindTexture2D from 0x18008b1b0 to 0x18008b1f0 (64 bytes)
//
// 16 xrefs:
// > cocos2d::CCGridBase::afterDraw @ 0x180022b9e
// > cocos2d::CCMotionStreak::draw @ 0x18005ed7f
// > cocos2d::CCProgressTimer::draw @ 0x18005fdce
// > cocos2d::CCParticleSystemQuad::draw @ 0x18006c7ef
// > cocos2d::CCSprite::draw @ 0x18008ebc2
// > cocos2d::CCTexture2D::drawAtPoint @ 0x1800a8aa4
// > cocos2d::CCTexture2D::drawInRect @ 0x1800a8beb
// > cocos2d::CCTexture2D::generateMipmap @ 0x1800a8ca6
// > cocos2d::CCTexture2D::initWithData @ 0x1800a91e3
// > cocos2d::CCTexture2D::setAliasTexParameters @ 0x1800a992c
// > cocos2d::CCTexture2D::setAntiAliasTexParameters @ 0x1800a997c
// > cocos2d::CCTexture2D::setTexParameters @ 0x1800a9a26
// > cocos2d::CCTextureAtlas::drawNumberOfQuads @ 0x1800a9e9b
// > cocos2d::CCTexturePVR::createGLTexture @ 0x1800ad77f
// > ??> @ 0x18014cf68
// > ??> @ 0x1801bfb44
//
// 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::ccGLBindTexture2D(cocos2d *this)
{
GLuint v1; // ebx
v1 = (unsigned int)this;
if ( (_DWORD)qword_1801ACFC0 != (_DWORD)this )
{
LODWORD(qword_1801ACFC0) = (_DWORD)this;
_glewActiveTexture(33984);
glBindTexture(0xDE1u, v1);
}
}