//
// cocos2d::CCDrawNode::drawLines from 0x100042fc0 to 0x100043048 (136 bytes)
//
// 2 xrefs:
// > LevelEditorLayer::updateDebugDraw @ 0x1003683c0
// > LevelEditorLayer::updateDebugDraw @ 0x1003688d4
//
// 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
//
bool __fastcall cocos2d::CCDrawNode::drawLines(
cocos2d::CCDrawNode *a1,
cocos2d::CCPoint *a2,
unsigned int a3,
float a4,
const cocos2d::ccColor4F *a5)
{
unsigned int i; // w23
if ( (a3 & 1) != 0 )
sub_10062ECA8(a1, a2, a4);
if ( a3 )
{
for ( i = 0; i < a3; i += 2 )
cocos2d::CCDrawNode::drawSegmentEx(a1, &a2[i], &a2[i + 1], a4, a5, 1, 1);
}
return 1;
}