//
// cocos2d::CCDrawNode::render from 0x7cc6dc to 0x7cc772 (150 bytes)
//
// 1 xrefs:
// > cocos2d::CCDrawNode::draw @ 0x7cc7bc
//
// This function is hookable on this platform (idp: arm, 32 bit: True, 64 bit: False!
//
// 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:00:31 +0000
//
int __fastcall cocos2d::CCDrawNode::render(cocos2d::CCDrawNode *this, unsigned int a2)
{
int result; // r0
if ( *((_BYTE *)this + 308) )
{
glBindBuffer();
glBufferData();
*((_BYTE *)this + 308) = 0;
}
cocos2d::ccGLEnableVertexAttribs((cocos2d *)((char *)&dword_0 + 3), a2);
glBindBuffer();
glVertexAttribPointer();
glVertexAttribPointer();
glDrawArrays(4u, 0, *((_DWORD *)this + 73));
result = glBindBuffer();
++g_uNumberOfDraws;
return result;
}