//
// cocos2d::CCDrawNode::render from 0x100042000 to 0x10004208c (140 bytes)
//
// 1 xrefs:
// > cocos2d::CCDrawNode::draw @ 0x1000420f4
//
// 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::CCDrawNode::render(cocos2d::CCDrawNode *a1)
{
if ( a1->m_bDirty )
{
glBindBuffer(0x8892u, a1->m_uVbo);
glBufferData(0x8892u, 20LL * a1->m_uBufferCapacity, a1->m_pBuffer, 0x88E0u);
a1->m_bDirty = 0;
}
cocos2d::ccGLBindVAO(a1->m_uVao);
glDrawArrays(4u, 0, a1->m_nBufferCount);
glBindBuffer(0x8892u, 0);
++dword_100885D50;
}