//
// cocos2d::CCDrawNode::drawSegmentEx from 0x5c5840 to 0x5c588a (74 bytes)
//
// 7 xrefs:
// > drawTrace @ 0x378662
// > drawTrace @ 0x3786a8
// > drawTrace @ 0x3786ec
// > drawTrace @ 0x37872e
// > cocos2d::CCDrawNode::drawCubicBezier @ 0x5c59e8
// > cocos2d::CCDrawNode::drawCubicBezierDashed @ 0x5c5d4e
// > cocos2d::CCDrawNode::drawSegment @ 0x5c5eec
//
// 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::drawSegmentEx(
cocos2d::CCDrawNode *a1,
const cocos2d::CCPoint *a2,
const cocos2d::CCPoint *a3,
float a4,
const cocos2d::ccColor4F *a5,
bool a6,
bool a7)
{
int is_segment_on_screen; // r0
if ( !a1->m_bUseArea
|| (is_segment_on_screen = cocos2d::CCDrawNode::is_segment_on_screen(a1, &a1->m_rDrawArea, a2, a3)) != 0 )
{
LOBYTE(is_segment_on_screen) = sub_5C4ECC(a1, &a2->x, &a3->x, (int)a5, a6, a7);
}
return is_segment_on_screen;
}