//
// cocos2d::ccDrawLine from 0xad7ef0 to 0xad7fec (252 bytes)
//
// 59 xrefs:
// > ListCell::draw @ 0x56bde0
// > GameCell::draw @ 0x56be9c
// > GJUINode::draw @ 0x5c5e9c
// > AchievementCell::draw @ 0x60937c
// > AchievementCell::draw @ 0x6093ac
// > MapPackCell::draw @ 0x609464
// > MapPackCell::draw @ 0x609494
// > StatsCell::draw @ 0x60954c
// > StatsCell::draw @ 0x60957c
// > SongCell::draw @ 0x609634
// > SongCell::draw @ 0x609664
// > CustomSongCell::draw @ 0x60971c
// > CustomSongCell::draw @ 0x60974c
// > CustomSFXCell::draw @ 0x609804
// > CustomSFXCell::draw @ 0x609834
// > ArtistCell::draw @ 0x6098ec
// > ArtistCell::draw @ 0x60991c
// > CommentCell::draw @ 0x6099d4
// > CommentCell::draw @ 0x609a04
// > GJScoreCell::draw @ 0x609abc
// > GJScoreCell::draw @ 0x609aec
// > GJLocalLevelScoreCell::draw @ 0x609ba4
// > GJLocalLevelScoreCell::draw @ 0x609bd4
// > GJLevelScoreCell::draw @ 0x609c8c
// > GJLevelScoreCell::draw @ 0x609cbc
// > GJUserCell::draw @ 0x609d74
// > GJUserCell::draw @ 0x609da4
// > GJRequestCell::draw @ 0x609e5c
// > GJRequestCell::draw @ 0x609e8c
// > GJMessageCell::draw @ 0x609f44
// > GJMessageCell::draw @ 0x609f74
// > SmartTemplateCell::draw @ 0x60a02c
// > SmartTemplateCell::draw @ 0x60a05c
// > LevelListCell::draw @ 0x60a114
// > LevelListCell::draw @ 0x60a144
// > URLCell::draw @ 0x60a1fc
// > URLCell::draw @ 0x60a22c
// > LevelCell::draw @ 0x60ac2c
// > LevelCell::draw @ 0x60ac5c
// > DrawGridLayer::draw @ 0x665e04
// > DrawGridLayer::draw @ 0x665e4c
// > DrawGridLayer::draw @ 0x66640c
// > DrawGridLayer::draw @ 0x6668dc
// > DrawGridLayer::draw @ 0x66697c
// > DrawGridLayer::draw @ 0x666a20
// > DrawGridLayer::draw @ 0x666a5c
// > DrawGridLayer::draw @ 0x666aec
// > DrawGridLayer::draw @ 0x666c7c
// > DrawGridLayer::draw @ 0x666cd0
// > DrawGridLayer::draw @ 0x666e08
// > DrawGridLayer::draw @ 0x666e68
// > DrawGridLayer::draw @ 0x666eb8
// > ParticlePreviewLayer::draw @ 0x9c0fe4
// > ParticlePreviewLayer::draw @ 0x9c11d0
// > cocos2d::ccDrawRect @ 0xad8048
// > cocos2d::ccDrawRect @ 0xad8074
// > cocos2d::ccDrawRect @ 0xad80a0
// > cocos2d::ccDrawRect @ 0xad80cc
// > ??> @ 0x852c0
//
// 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::ccDrawLine(const cocos2d::CCPoint *a1, const cocos2d::CCPoint *a2)
{
if ( !byte_12451A0 )
sub_AD7B20();
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::ccGLEnableVertexAttribs((unsigned int)&dword_0 + 1);
glVertexAttribPointer();
glDrawArrays();
++g_uNumberOfDraws;
}