//
// cocos2d::ccDrawLines from 0xad7e18 to 0xad7ef0 (216 bytes)
//
// 10 xrefs:
// > cocos2d::CCLightning::draw @ 0x575760
// > DrawGridLayer::draw @ 0x666048
// > DrawGridLayer::draw @ 0x66644c
// > DrawGridLayer::draw @ 0x66658c
// > DrawGridLayer::draw @ 0x6665b8
// > DrawGridLayer::draw @ 0x6665e4
// > DrawGridLayer::draw @ 0x6667bc
// > DrawGridLayer::draw @ 0x6667e8
// > DrawGridLayer::draw @ 0x666ba8
// > ??> @ 0x534c0
//
// 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::ccDrawLines(const cocos2d::CCPoint *a1, unsigned int a2)
{
void *v3; // x19
if ( !byte_12451A0 )
sub_AD7B20();
cocos2d::ccGLEnableVertexAttribs((unsigned int)&dword_0 + 1);
cocos2d::CCGLProgram::use((cocos2d::CCGLProgram *)qword_1245198);
cocos2d::CCGLProgram::setUniformsForBuiltins((cocos2d::CCGLProgram *)qword_1245198);
cocos2d::CCGLProgram::setUniformLocationWith4fv(
(cocos2d::CCGLProgram *)qword_1245198,
dword_1230CC8,
(float *)&dword_1230CD0,
1u);
cocos2d::CCGLProgram::setUniformLocationWith1f(
(cocos2d::CCGLProgram *)qword_1245198,
dword_1230CCC,
*(float *)&dword_1230CE0);
v3 = (void *)operator new[](8LL * a2);
glVertexAttribPointer();
glDrawArrays();
operator delete[](v3);
++g_uNumberOfDraws;
}