//
// cocos2d::ccDrawSolidPoly from 0x10024c4bc to 0x10024c56c (176 bytes)
//
// 1 xrefs:
// > CCLightStrip::draw @ 0x100031770
//
// This function is hookable on this platform!
//
// Using BromaIDA 8.0.0 @ https://github.com/Stazzical/BromaIDA
// Using bindings at commit ba9f177b at Thu Jul 16 22:52:06 2026 from https://github.com/geode-sdk/bindings
//
void __fastcall cocos2d::ccDrawSolidPoly(const cocos2d::CCPoint *a1, unsigned int a2, cocos2d::ccColor4F a3)
{
cocos2d::ccColor4F v5; // [xsp+0h] [xbp-30h] BYREF
v5 = a3;
cocos2d::ccDrawInit();
cocos2d::CCGLProgram::use((cocos2d::CCGLProgram *)qword_10086D370);
cocos2d::CCGLProgram::setUniformsForBuiltins((cocos2d::CCGLProgram *)qword_10086D370);
cocos2d::CCGLProgram::setUniformLocationWith4fv((cocos2d::CCGLProgram *)qword_10086D370, dword_10084C140, &v5.r, 1u);
cocos2d::ccGLEnableVertexAttribs(1u);
glVertexAttribPointer(0, 2, 0x1406u, 0, 0, a1);
glDrawArrays(6u, 0, a2);
++dword_100885D50;
}