//
// cocos2d::ccDrawPoints from 0x180011870 to 0x18001195c (236 bytes)
//
// 2 xrefs:
// > ??> @ 0x18014cf68
// > ??> @ 0x1801b8380
//
// 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::ccDrawPoints(cocos2d *this, const struct cocos2d::CCPoint *a2)
{
unsigned __int64 v2; // rdi
unsigned int v4; // edx
void *v5; // rsi
v2 = (unsigned int)a2;
cocos2d::ccDrawInit(this);
cocos2d::ccGLEnableVertexAttribs((cocos2d *)1, v4);
cocos2d::CCGLProgram::use(qword_1801B2358);
cocos2d::CCGLProgram::setUniformsForBuiltins(qword_1801B2358);
cocos2d::CCGLProgram::setUniformLocationWith4fv(qword_1801B2358, dword_1801ACB58, &flt_1801ACB60, 1u);
cocos2d::CCGLProgram::setUniformLocationWith1f(qword_1801B2358, dword_1801ACB5C, flt_1801ACB70);
v5 = (void *)sub_1800E4C6C(saturated_mul(v2, 8u));
_glewVertexAttribPointer(0, 2, 5126, 0, 0, this);
glDrawArrays(0, 0, v2);
if ( v5 )
j_j_free_0(v5);
++g_uNumberOfDraws;
}