//
// cocos2d::ccpSegmentIntersect from 0x5eb640 to 0x5eb6a8 (104 bytes)
//
// 0 xrefs:
//
// 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::ccpSegmentIntersect(
const cocos2d::CCPoint *a1,
const cocos2d::CCPoint *a2,
const cocos2d::CCPoint *a3,
const cocos2d::CCPoint *a4)
{
_BOOL4 v4; // r0
float v6; // [sp+Ch] [bp-10h] BYREF
float v7; // [sp+10h] [bp-Ch] BYREF
v4 = cocos2d::ccpLineIntersect(a1, a2, a3, a4, &v6, &v7);
if ( v4 )
LOBYTE(v4) = v6 >= 0.0 && v6 <= 1.0 && v7 >= 0.0 && v7 <= 1.0;
return v4;
}