//
// cocos2d::CCDrawNode::drawLines from 0xd4db54 to 0xd4dc00 (172 bytes)
//
// 3 xrefs:
// > LevelEditorLayer::updateDebugDraw @ 0x7be8ec
// > LevelEditorLayer::updateDebugDraw @ 0x7bf170
// > ??> @ 0x932c8
//
// 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:39 +0000
//
__int64 __fastcall cocos2d::CCDrawNode::drawLines(
cocos2d::CCDrawNode *a1,
__int64 a2,
unsigned int a3,
float *a4,
float a5)
{
unsigned int v10; // w19
cocos2d::CCPoint *v11; // x2
cocos2d::CCPoint *v12; // x1
if ( (a3 & 1) != 0 )
{
__android_log_print(
6,
"cocos2d-x assert",
"%s function:%s line:%d",
"/Users/robert/Developer/GeometryDash/cocos2d-x/projects/GeometryJump/proj.android-studio.gj/app/jni/../../../../.."
"/cocos2dx/draw_nodes/CCDrawNode.cpp",
"drawLines",
805);
}
else if ( !a3 )
{
return 1;
}
v10 = 0;
do
{
v11 = (cocos2d::CCPoint *)(a2 + 8LL * (v10 + 1));
v12 = (cocos2d::CCPoint *)(a2 + 8LL * v10);
v10 += 2;
cocos2d::CCDrawNode::drawSegment(a1, v12, v11, a4, a5);
}
while ( a3 > v10 );
return 1;
}