//
// cocos2d::CCDrawNode::drawLines from 0x100046ed4 to 0x100046f5c (136 bytes)
//
// 2 xrefs:
// > LevelEditorLayer::updateDebugDraw @ 0x10040a40c
// > LevelEditorLayer::updateDebugDraw @ 0x10040a9f8
//
// 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 10:57:39 +0000
//
__int64 __fastcall cocos2d::CCDrawNode::drawLines(__int64 a1, __int64 a2, unsigned int a3, float *a4, float a5)
{
unsigned int i; // w23
if ( (a3 & 1) != 0 )
sub_100754E10();
if ( a3 )
{
for ( i = 0; i < a3; i += 2 )
cocos2d::CCDrawNode::drawSegmentEx(a1, (float *)(a2 + 8LL * i), (float *)(a2 + 8LL * (i + 1)), a4, 1, 1, a5);
}
return 1;
}