//
// cocos2d::CCDrawNode::render from 0xd4c3bc to 0xd4c488 (204 bytes)
//
// 2 xrefs:
// > cocos2d::CCDrawNode::draw @ 0xd4c4f0
// > ??> @ 0xe9428
//
// 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 13:07:38 +0000
//
int *__fastcall cocos2d::CCDrawNode::render(cocos2d::CCDrawNode *this, unsigned int a2)
{
if ( *((_BYTE *)this + 376) )
{
glBindBuffer();
glBufferData();
*((_BYTE *)this + 376) = 0;
}
cocos2d::ccGLEnableVertexAttribs((cocos2d *)((char *)&dword_0 + 3), a2);
glBindBuffer();
glVertexAttribPointer();
glVertexAttribPointer();
glDrawArrays();
glBindBuffer();
++g_uNumberOfDraws;
return &g_uNumberOfDraws;
}