//
// cocos2d::CCLayerColor::draw from 0x7d7000 to 0x7d708c (140 bytes)
//
// 5 xrefs:
// > CCBlockLayer::draw @ 0x3c5b26
// > LoadingCircle::draw @ 0x3d4c40
// > SlideInLayer::draw @ 0x3da814
// > GJDropDownLayer::draw @ 0x52c150
// > ParticlePreviewLayer::draw @ 0x663f3e
//
// 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:40 +0000
//
void __fastcall cocos2d::CCLayerColor::draw(cocos2d::CCLayerColor *this)
{
cocos2d::CCGLProgram *v2; // r0
cocos2d::CCGLProgram *v3; // r0
unsigned int v4; // r1
unsigned int v5; // r2
cocos2d::ccGLEnable(*((_DWORD *)this + 53));
(*(void (__fastcall **)(cocos2d::CCLayerColor *))(*(_DWORD *)this + 328))(this);
v2 = (cocos2d::CCGLProgram *)(*(int (__fastcall **)(cocos2d::CCLayerColor *))(*(_DWORD *)this + 328))(this);
cocos2d::CCGLProgram::use(v2);
v3 = (cocos2d::CCGLProgram *)(*(int (__fastcall **)(cocos2d::CCLayerColor *))(*(_DWORD *)this + 328))(this);
cocos2d::CCGLProgram::setUniformsForBuiltins(v3);
cocos2d::ccGLEnableVertexAttribs((cocos2d *)((char *)&dword_0 + 3), v4);
glVertexAttribPointer();
glVertexAttribPointer();
cocos2d::ccGLBlendFunc(*((cocos2d **)this + 108), *((_DWORD *)this + 109), v5);
glDrawArrays(5u, 0, 4);
++g_uNumberOfDraws;
}