//
// cocos2d::CCDrawNode::drawLines from 0x1006ef8b0 to 0x1006ef92a (122 bytes)
//
// 2 xrefs:
// > LevelEditorLayer::updateDebugDraw @ 0x1000d3997
// > LevelEditorLayer::updateDebugDraw @ 0x1000d4199
//
// This function is hookable on this platform (idp: pc, 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 12:35:51 +0000
//
char __fastcall cocos2d::CCDrawNode::drawLines(__int64 a1, __int64 a2, unsigned int a3, unsigned __int64 *a4, float a5)
{
unsigned int i; // r13d
if ( (a3 & 1) != 0 )
sub_1009A7220(a1);
if ( a3 )
{
for ( i = 0; i < a3; i += 2 )
cocos2d::CCDrawNode::drawSegmentEx(
a1,
(unsigned __int64 *)(a2 + 8LL * i),
(unsigned __int64 *)(a2 + 8LL * (i + 1)),
a4,
1,
1,
(__m128)LODWORD(a5));
}
return 1;
}