//
// cocos2d::ccDrawSolidPoly from 0x180011d70 to 0x180011e35 (197 bytes)
//
// 2 xrefs:
// > ??> @ 0x18014cf68
// > ??> @ 0x1801b83e0
//
// This function is hookable on this platform (idp: pc, 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 11:21:22 +0000
//
void __fastcall cocos2d::ccDrawSolidPoly(cocos2d *a1, unsigned int a2, float *a3)
{
unsigned __int64 v4; // rsi
unsigned int v6; // edx
void *v7; // rbx
v4 = a2;
cocos2d::ccDrawInit(a1);
cocos2d::CCGLProgram::use(qword_1801B2358);
cocos2d::CCGLProgram::setUniformsForBuiltins(qword_1801B2358);
cocos2d::CCGLProgram::setUniformLocationWith4fv(qword_1801B2358, dword_1801ACB58, a3, 1u);
cocos2d::ccGLEnableVertexAttribs((cocos2d *)1, v6);
v7 = (void *)sub_1800E4C6C(saturated_mul(v4, 8u));
_glewVertexAttribPointer(0, 2, 5126, 0, 0, a1);
glDrawArrays(6u, 0, v4);
if ( v7 )
j_j_free_0(v7);
++g_uNumberOfDraws;
}