//
// cocos2d::CCDrawNode::draw from 0x100045e30 to 0x100045e9c (108 bytes)
//
// 2 xrefs:
// > ??> @ 0x1008bb0b0
// > ??> @ 0x1008c0f60
//
// 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 10:57:38 +0000
//
void __fastcall cocos2d::CCDrawNode::draw(unsigned int *a1)
{
__int64 v2; // x0
__int64 v3; // x0
cocos2d::ccGLEnable(a1[62]);
(*(void (__fastcall **)(unsigned int *))(*(_QWORD *)a1 + 656LL))(a1);
v2 = (*(__int64 (__fastcall **)(unsigned int *))(*(_QWORD *)a1 + 656LL))(a1);
cocos2d::CCGLProgram::use(v2);
v3 = (*(__int64 (__fastcall **)(unsigned int *))(*(_QWORD *)a1 + 656LL))(a1);
cocos2d::CCGLProgram::setUniformsForBuiltins(v3);
cocos2d::ccGLBlendFunc(a1[92], a1[93]);
cocos2d::CCDrawNode::render((__int64)a1);
}