//
// cocos2d::ccpSegmentIntersect from 0x7f65a4 to 0x7f660c (104 bytes)
//
// 0 xrefs:
//
// 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:01:09 +0000
//
bool __fastcall cocos2d::ccpSegmentIntersect(
cocos2d *this,
const cocos2d::CCPoint *a2,
const cocos2d::CCPoint *a3,
const cocos2d::CCPoint *a4,
const cocos2d::CCPoint *a5)
{
_BOOL4 result; // r0
float *v6; // [sp+8h] [bp-14h]
float v7; // [sp+Ch] [bp-10h] BYREF
float v8; // [sp+10h] [bp-Ch] BYREF
result = cocos2d::ccpLineIntersect(this, a2, a3, a4, (const cocos2d::CCPoint *)&v7, &v8, v6);
if ( result )
return v7 >= 0.0 && v7 <= 1.0 && v8 >= 0.0 && v8 <= 1.0;
return result;
}