//
// cocos2d::CCDrawNode::drawLines from 0x7cd960 to 0x7cd9b6 (86 bytes)
//
// 2 xrefs:
// > LevelEditorLayer::updateDebugDraw @ 0x47fef8
// > LevelEditorLayer::updateDebugDraw @ 0x4805c2
//
// This function is hookable on this platform (idp: arm, 32 bit: True, 64 bit: False!
//
// 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:00:32 +0000
//
int __fastcall cocos2d::CCDrawNode::drawLines(_BYTE *a1, int a2, unsigned int a3, int a4, int a5)
{
unsigned int i; // r5
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);
for ( i = 0; i < a3; i += 2 )
{
cocos2d::CCDrawNode::drawSegment(a1, (cocos2d::CCPoint *)a2, (cocos2d::CCPoint *)(a2 + 8), a4, a5);
a2 += 16;
}
return 1;
}