//
// cocos2d::ccDrawPoints from 0x5c3fe4 to 0x5c4066 (130 bytes)
//
// 0 xrefs:
//
// 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 cocos2d::ccDrawPoints(const cocos2d::CCPoint *a1, unsigned int a2)
{
unsigned int v3; // r0
void *v4; // r5
cocos2d::ccDrawInit((cocos2d *)a1);
cocos2d::ccGLEnableVertexAttribs((unsigned int)&dword_0 + 1);
cocos2d::CCGLProgram::use((cocos2d::CCGLProgram *)dword_AC8A40);
cocos2d::CCGLProgram::setUniformsForBuiltins((cocos2d::CCGLProgram *)dword_AC8A40);
cocos2d::CCGLProgram::setUniformLocationWith4fv(
(cocos2d::CCGLProgram *)dword_AC8A40,
dword_ABAC20,
(float *)&dword_ABAC28,
1u);
cocos2d::CCGLProgram::setUniformLocationWith1f(
(cocos2d::CCGLProgram *)dword_AC8A40,
dword_ABAC24,
*(float *)&dword_ABAC38);
if ( a2 > 0xFE00000 )
v3 = -1;
else
v3 = 8 * a2;
v4 = (void *)operator new[](v3);
glVertexAttribPointer();
glDrawArrays(0, 0, a2);
operator delete[](v4);
++g_uNumberOfDraws;
}