//
// cocos2d::ccDrawLine from 0xd4ab50 to 0xd4ac4c (252 bytes)
//
// 66 xrefs:
// > ListCell::draw @ 0x688088
// > GameCell::draw @ 0x688144
// > GJUINode::draw @ 0x6ee560
// > AchievementCell::draw @ 0x733e44
// > AchievementCell::draw @ 0x733e74
// > MapPackCell::draw @ 0x733f2c
// > MapPackCell::draw @ 0x733f5c
// > StatsCell::draw @ 0x734014
// > StatsCell::draw @ 0x734044
// > SongCell::draw @ 0x7340fc
// > SongCell::draw @ 0x73412c
// > CustomSongCell::draw @ 0x7341e4
// > CustomSongCell::draw @ 0x734214
// > CustomSFXCell::draw @ 0x7342cc
// > CustomSFXCell::draw @ 0x7342fc
// > ArtistCell::draw @ 0x7343b4
// > ArtistCell::draw @ 0x7343e4
// > CommentCell::draw @ 0x73449c
// > CommentCell::draw @ 0x7344cc
// > GJScoreCell::draw @ 0x734584
// > GJScoreCell::draw @ 0x7345b4
// > GJLocalLevelScoreCell::draw @ 0x73466c
// > GJLocalLevelScoreCell::draw @ 0x73469c
// > GJLevelScoreCell::draw @ 0x734754
// > GJLevelScoreCell::draw @ 0x734784
// > GJCompactUserCell::draw @ 0x73483c
// > GJCompactUserCell::draw @ 0x73486c
// > GJRequestCell::draw @ 0x734924
// > GJRequestCell::draw @ 0x734954
// > GJThreadCell::draw @ 0x734a0c
// > GJThreadCell::draw @ 0x734a3c
// > GJNotificationCell::draw @ 0x734af4
// > GJNotificationCell::draw @ 0x734b24
// > GJMessageCell::draw @ 0x734bdc
// > GJMessageCell::draw @ 0x734c0c
// > SmartTemplateCell::draw @ 0x734cc4
// > SmartTemplateCell::draw @ 0x734cf4
// > LevelListCell::draw @ 0x734dac
// > LevelListCell::draw @ 0x734ddc
// > URLCell::draw @ 0x734e94
// > URLCell::draw @ 0x734ec4
// > LevelCell::draw @ 0x73606c
// > LevelCell::draw @ 0x73609c
// > DrawGridLayer::draw @ 0x790dd8
// > DrawGridLayer::draw @ 0x790e24
// > DrawGridLayer::draw @ 0x7918cc
// > DrawGridLayer::draw @ 0x79196c
// > DrawGridLayer::draw @ 0x791a2c
// > DrawGridLayer::draw @ 0x791ad8
// > DrawGridLayer::draw @ 0x791b18
// > DrawGridLayer::draw @ 0x791b88
// > DrawGridLayer::draw @ 0x791d1c
// > DrawGridLayer::draw @ 0x791d70
// > DrawGridLayer::draw @ 0x791ebc
// > DrawGridLayer::draw @ 0x791f20
// > DrawGridLayer::draw @ 0x791f6c
// > DrawGridLayer::draw @ 0x7920e0
// > FriendRowEdges::draw @ 0xa4f878
// > FriendRowEdges::draw @ 0xa4f8a4
// > ParticlePreviewLayer::draw @ 0xafcdcc
// > ParticlePreviewLayer::draw @ 0xafcfb8
// > cocos2d::ccDrawRect @ 0xd4aca8
// > cocos2d::ccDrawRect @ 0xd4acd4
// > cocos2d::ccDrawRect @ 0xd4ad00
// > cocos2d::ccDrawRect @ 0xd4ad2c
// > ??> @ 0xb0db8
//
// This function is hookable on this platform (idp: arm, 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 13:07:37 +0000
//
int *__fastcall cocos2d::ccDrawLine(cocos2d *this, const cocos2d::CCPoint *a2, const cocos2d::CCPoint *a3)
{
unsigned int v3; // w1
if ( !byte_1560140 )
sub_D4A780(nullptr);
cocos2d::CCGLProgram::use((cocos2d::CCGLProgram *)qword_1560138);
cocos2d::CCGLProgram::setUniformsForBuiltins((cocos2d::CCGLProgram *)qword_1560138);
cocos2d::CCGLProgram::setUniformLocationWith4fv(
(cocos2d::CCGLProgram *)qword_1560138,
dword_154A088,
(float *)&dword_154A090,
1u);
cocos2d::ccGLEnableVertexAttribs((cocos2d *)((char *)&dword_0 + 1), v3);
glVertexAttribPointer();
glDrawArrays();
++g_uNumberOfDraws;
return &g_uNumberOfDraws;
}