//
// cocos2d::CCParticleSystemQuad::setupVBO from 0x18006aef0 to 0x18006afca (218 bytes)
//
// 6 xrefs:
// > cocos2d::CCParticleSystemQuad::initWithTotalParticles @ 0x18006aa4b
// > cocos2d::CCParticleSystemQuad::listenBackToForeground @ 0x18006aa80
// > cocos2d::CCParticleSystemQuad::setBatchNode @ 0x18006ab6c
// > cocos2d::CCParticleSystemQuad::setTotalParticles @ 0x18006ae79
// > ??> @ 0x1801438a8
// > ??> @ 0x1801b3d8c
//
// 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::CCParticleSystemQuad::setupVBO(cocos2d::CCParticleSystemQuad *this)
{
_glewDeleteBuffers(2, this->m_pBuffersVBO);
_glewGenBuffers(2, this->m_pBuffersVBO);
_glewBindBuffer(34962, this->m_pBuffersVBO[0]);
_glewBufferData(34962, 96LL * this->m_uTotalParticles, this->m_pQuads);
_glewBindBuffer(34962, 0);
_glewBindBuffer(34963, this->m_pBuffersVBO[1]);
_glewBufferData(34963, 12LL * this->m_uTotalParticles, this->m_pIndices);
_glewBindBuffer(34963, 0);
}