//
// cocos2d::CCDrawNode::draw from 0xd4c488 to 0xd4c4f4 (108 bytes)
//
// 3 xrefs:
// > ??> @ 0x41788
// > ??> @ 0x146df98
// > ??> @ 0x1516cb8
//
// 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::draw(cocos2d::CCDrawNode *this)
{
cocos2d::CCGLProgram *v2; // x0
cocos2d::CCGLProgram *v3; // x0
unsigned int v4; // w2
unsigned int v5; // w1
cocos2d::ccGLEnable(*((unsigned int *)this + 62));
(*(void (__fastcall **)(cocos2d::CCDrawNode *))(*(_QWORD *)this + 656LL))(this);
v2 = (cocos2d::CCGLProgram *)(*(__int64 (__fastcall **)(cocos2d::CCDrawNode *))(*(_QWORD *)this + 656LL))(this);
cocos2d::CCGLProgram::use(v2);
v3 = (cocos2d::CCGLProgram *)(*(__int64 (__fastcall **)(cocos2d::CCDrawNode *))(*(_QWORD *)this + 656LL))(this);
cocos2d::CCGLProgram::setUniformsForBuiltins(v3);
cocos2d::ccGLBlendFunc((cocos2d *)*((unsigned int *)this + 92), *((_DWORD *)this + 93), v4);
return cocos2d::CCDrawNode::render(this, v5);
}