//
// cocos2d::CCDrawNode::drawSegmentEx from 0x7ccb54 to 0x7ccb9e (74 bytes)
//
// 4 xrefs:
// > drawTrace @ 0x47b838
// > cocos2d::CCDrawNode::drawCubicBezier @ 0x7cccfc
// > cocos2d::CCDrawNode::drawCubicBezierDashed @ 0x7cd062
// > cocos2d::CCDrawNode::drawSegment @ 0x7cd200
//
// 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::drawSegmentEx(
_BYTE *a1,
cocos2d::CCPoint *a2,
cocos2d::CCPoint *a3,
int a4,
int a5,
char a6,
char a7)
{
int result; // r0
if ( !a1[309] )
return sub_7CC1E0((int)a1, (float *)a2, (float *)a3, a5, a6, a7);
result = cocos2d::CCDrawNode::is_segment_on_screen(
(cocos2d::CCDrawNode *)a1,
(const cocos2d::CCRect *)(a1 + 312),
a2,
a3);
if ( result )
return sub_7CC1E0((int)a1, (float *)a2, (float *)a3, a5, a6, a7);
return result;
}