//
// cocos2d::CCDrawNode::drawLines from 0xadaef4 to 0xadafa0 (172 bytes)
//
// 3 xrefs:
// > LevelEditorLayer::updateDebugDraw @ 0x683e64
// > LevelEditorLayer::updateDebugDraw @ 0x684864
// > ??> @ 0x6d080
//
// 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 cocos2d::CCDrawNode::drawLines(
cocos2d::CCDrawNode *a1,
cocos2d::CCPoint *a2,
unsigned int a3,
float a4,
const cocos2d::ccColor4F *a5)
{
unsigned int v10; // w19
const cocos2d::CCPoint *v11; // x2
const cocos2d::CCPoint *v12; // x1
if ( (a3 & 1) != 0 )
{
__android_log_print(
6,
"cocos2d-x assert",
"%s function:%s line:%d",
"/Users/robert/Library/CloudStorage/Dropbox/Workspace/cocos2d-x/projects/GeometryJump/proj.android-studio.gj/app/jn"
"i/../../../../../cocos2dx/draw_nodes/CCDrawNode.cpp",
"drawLines",
804);
}
else if ( !a3 )
{
return 1;
}
v10 = 0;
do
{
v11 = &a2[v10 + 1];
v12 = &a2[v10];
v10 += 2;
cocos2d::CCDrawNode::drawSegment(a1, v12, v11, a4, a5);
}
while ( a3 > v10 );
return 1;
}