//
// cocos2d::ccDrawLine from 0x5c4104 to 0x5c418e (138 bytes)
//
// 55 xrefs:
// > ListCell::draw @ 0x2e1386
// > GameCell::draw @ 0x2e13fe
// > GJUINode::draw @ 0x30ca1c
// > AchievementCell::draw @ 0x32e2a6
// > AchievementCell::draw @ 0x32e2ce
// > MapPackCell::draw @ 0x32e34e
// > MapPackCell::draw @ 0x32e376
// > StatsCell::draw @ 0x32e3f6
// > StatsCell::draw @ 0x32e41e
// > SongCell::draw @ 0x32e49e
// > SongCell::draw @ 0x32e4c6
// > CustomSongCell::draw @ 0x32e546
// > CustomSongCell::draw @ 0x32e56e
// > CustomSFXCell::draw @ 0x32e5ee
// > CustomSFXCell::draw @ 0x32e616
// > ArtistCell::draw @ 0x32e696
// > ArtistCell::draw @ 0x32e6be
// > CommentCell::draw @ 0x32e73e
// > CommentCell::draw @ 0x32e766
// > GJScoreCell::draw @ 0x32e7e6
// > GJScoreCell::draw @ 0x32e80e
// > GJLocalLevelScoreCell::draw @ 0x32e88e
// > GJLocalLevelScoreCell::draw @ 0x32e8b6
// > GJLevelScoreCell::draw @ 0x32e936
// > GJLevelScoreCell::draw @ 0x32e95e
// > GJUserCell::draw @ 0x32e9de
// > GJUserCell::draw @ 0x32ea06
// > GJRequestCell::draw @ 0x32ea86
// > GJRequestCell::draw @ 0x32eaae
// > GJMessageCell::draw @ 0x32eb2e
// > GJMessageCell::draw @ 0x32eb56
// > SmartTemplateCell::draw @ 0x32ebd6
// > SmartTemplateCell::draw @ 0x32ebfe
// > LevelListCell::draw @ 0x32ec7e
// > LevelListCell::draw @ 0x32eca6
// > URLCell::draw @ 0x32ed26
// > URLCell::draw @ 0x32ed4e
// > LevelCell::draw @ 0x33027c
// > LevelCell::draw @ 0x3302a4
// > DrawGridLayer::draw @ 0x36b0a6
// > DrawGridLayer::draw @ 0x36b1ea
// > DrawGridLayer::draw @ 0x36b760
// > DrawGridLayer::draw @ 0x36b8dc
// > DrawGridLayer::draw @ 0x36b97e
// > DrawGridLayer::draw @ 0x36ba6c
// > DrawGridLayer::draw @ 0x36bab0
// > DrawGridLayer::draw @ 0x36bd60
// > DrawGridLayer::draw @ 0x36bdf8
// > DrawGridLayer::draw @ 0x36be38
// > ParticlePreviewLayer::draw @ 0x52f8a8
// > ParticlePreviewLayer::draw @ 0x52f944
// > cocos2d::ccDrawRect @ 0x5c41d6
// > cocos2d::ccDrawRect @ 0x5c41f2
// > cocos2d::ccDrawRect @ 0x5c420e
// > cocos2d::ccDrawRect @ 0x5c422a
//
// 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)
{
cocos2d::ccDrawInit((cocos2d *)a1);
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::ccGLEnableVertexAttribs((unsigned int)&dword_0 + 1);
glVertexAttribPointer();
glDrawArrays(1u, 0, 2);
++g_uNumberOfDraws;
}