//
// cocos2d::ccGLBindVAO from 0x100221ad4 to 0x100221af0 (28 bytes)
//
// 15 xrefs:
// > cocos2d::CCDrawNode::dCCDrawNode @ 0x100045ba0
// > cocos2d::CCDrawNode::init @ 0x100045cfc
// > cocos2d::CCDrawNode::init @ 0x100045d8c
// > cocos2d::CCDrawNode::render @ 0x100045df0
// > cocos2d::CCParticleSystemQuad::setupVBOandVAO @ 0x1002f0620
// > cocos2d::CCParticleSystemQuad::setupVBOandVAO @ 0x1002f0634
// > cocos2d::CCParticleSystemQuad::setupVBOandVAO @ 0x1002f0704
// > cocos2d::CCParticleSystemQuad::dCCParticleSystemQuad @ 0x1002f080c
// > cocos2d::CCParticleSystemQuad::draw @ 0x1002f0f80
// > cocos2d::CCParticleSystemQuad::setBatchNode @ 0x1002f1248
// > cocos2d::CCTextureAtlas::dCCTextureAtlas @ 0x100307c08
// > cocos2d::CCTextureAtlas::setupVBOandVAO @ 0x100307e3c
// > cocos2d::CCTextureAtlas::setupVBOandVAO @ 0x100307f0c
// > cocos2d::CCTextureAtlas::mapBuffers @ 0x100307f44
// > cocos2d::CCTextureAtlas::drawNumberOfQuads @ 0x100308308
//
// This function is hookable on this platform (idp: arm, 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:01:08 +0000
//
__int64 __fastcall cocos2d::ccGLBindVAO(__int64 result)
{
if ( dword_1009F4AC4 != (_DWORD)result )
{
dword_1009F4AC4 = result;
return glBindVertexArrayOES();
}
return result;
}