//
// cocos2d::CCDrawNode::draw from 0x7cc778 to 0x7cc7c0 (72 bytes)
//
// 0 xrefs:
//
// 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::draw(cocos2d::CCDrawNode *this)
{
cocos2d::CCGLProgram *v2; // r0
cocos2d::CCGLProgram *v3; // r0
unsigned int v4; // r2
unsigned int v5; // r1
cocos2d::ccGLEnable(*((_DWORD *)this + 53));
(*(void (__fastcall **)(cocos2d::CCDrawNode *))(*(_DWORD *)this + 328))(this);
v2 = (cocos2d::CCGLProgram *)(*(int (__fastcall **)(cocos2d::CCDrawNode *))(*(_DWORD *)this + 328))(this);
cocos2d::CCGLProgram::use(v2);
v3 = (cocos2d::CCGLProgram *)(*(int (__fastcall **)(cocos2d::CCDrawNode *))(*(_DWORD *)this + 328))(this);
cocos2d::CCGLProgram::setUniformsForBuiltins(v3);
cocos2d::ccGLBlendFunc(*((cocos2d **)this + 75), *((_DWORD *)this + 76), v4);
return cocos2d::CCDrawNode::render(this, v5);
}