//
// cocos2d::ccDrawLine from 0x10024c314 to 0x10024c3f4 (224 bytes)
//
// 55 xrefs:
// > GJUINode::draw @ 0x10004b3b4
// > AchievementCell::draw @ 0x10010bfa8
// > AchievementCell::draw @ 0x10010bfd8
// > LevelCell::draw @ 0x10010f1e8
// > LevelCell::draw @ 0x10010f218
// > MapPackCell::draw @ 0x10010f788
// > MapPackCell::draw @ 0x10010f7b8
// > StatsCell::draw @ 0x1001100a0
// > StatsCell::draw @ 0x1001100d0
// > SongCell::draw @ 0x100110220
// > SongCell::draw @ 0x100110250
// > CustomSongCell::draw @ 0x100110490
// > CustomSongCell::draw @ 0x1001104c0
// > CustomSFXCell::draw @ 0x100110618
// > CustomSFXCell::draw @ 0x100110648
// > ArtistCell::draw @ 0x1001109d4
// > ArtistCell::draw @ 0x100110a04
// > CommentCell::draw @ 0x100110dbc
// > CommentCell::draw @ 0x100110dec
// > GJScoreCell::draw @ 0x100111284
// > GJScoreCell::draw @ 0x1001112b4
// > GJLocalLevelScoreCell::draw @ 0x100111374
// > GJLocalLevelScoreCell::draw @ 0x1001113a4
// > GJLevelScoreCell::draw @ 0x10011149c
// > GJLevelScoreCell::draw @ 0x1001114cc
// > GJUserCell::draw @ 0x100111a84
// > GJUserCell::draw @ 0x100111ab4
// > GJRequestCell::draw @ 0x100112250
// > GJRequestCell::draw @ 0x100112280
// > GJMessageCell::draw @ 0x100112904
// > GJMessageCell::draw @ 0x100112934
// > SmartTemplateCell::draw @ 0x100112d68
// > SmartTemplateCell::draw @ 0x100112d98
// > LevelListCell::draw @ 0x100112fc0
// > LevelListCell::draw @ 0x100112ff0
// > URLCell::draw @ 0x1001130c0
// > URLCell::draw @ 0x1001130f0
// > ListCell::draw @ 0x1001d066c
// > GameCell::draw @ 0x1001d0728
// > cocos2d::ccDrawRect @ 0x10024c430
// > cocos2d::ccDrawRect @ 0x10024c458
// > cocos2d::ccDrawRect @ 0x10024c480
// > cocos2d::ccDrawRect @ 0x10024c4a8
// > ParticlePreviewLayer::draw @ 0x1002d1768
// > ParticlePreviewLayer::draw @ 0x1002d1808
// > DrawGridLayer::draw @ 0x100369c18
// > DrawGridLayer::draw @ 0x100369cf4
// > DrawGridLayer::draw @ 0x10036a484
// > DrawGridLayer::draw @ 0x10036a4bc
// > DrawGridLayer::draw @ 0x10036a618
// > DrawGridLayer::draw @ 0x10036a694
// > DrawGridLayer::draw @ 0x10036a740
// > DrawGridLayer::draw @ 0x10036a770
// > DrawGridLayer::draw @ 0x10036a824
// > DrawGridLayer::draw @ 0x10036a858
//
// 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 __fastcall cocos2d::ccDrawLine(const cocos2d::CCPoint *a1, const cocos2d::CCPoint *a2)
{
__int128 v4; // q0
__int128 v5; // [xsp+0h] [xbp-30h] BYREF
cocos2d::ccDrawInit();
*(cocos2d::CCPoint *)&v4 = *a1;
*((cocos2d::CCPoint *)&v4 + 1) = *a2;
v5 = v4;
cocos2d::CCGLProgram::use((cocos2d::CCGLProgram *)qword_10086D370);
cocos2d::CCGLProgram::setUniformsForBuiltins((cocos2d::CCGLProgram *)qword_10086D370);
cocos2d::CCGLProgram::setUniformLocationWith4fv(
(cocos2d::CCGLProgram *)qword_10086D370,
dword_10084C140,
flt_10084C150,
1u);
cocos2d::ccGLEnableVertexAttribs(1u);
glVertexAttribPointer(0, 2, 0x1406u, 0, 0, &v5);
glDrawArrays(1u, 0, 2);
++dword_100885D50;
}