//
// cocos2d::ccpSegmentIntersect from 0x180094180 to 0x1800941d9 (89 bytes)
//
// 3 xrefs:
// > ??> @ 0x1801438a8
// > ??> @ 0x1801b669c
// > ??> @ 0x1801b66a8
//
// 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 __fastcall cocos2d::ccpSegmentIntersect(
cocos2d *this,
const struct cocos2d::CCPoint *a2,
const struct cocos2d::CCPoint *a3,
const struct cocos2d::CCPoint *a4)
{
struct cocos2d::CCPoint v5[3]; // [rsp+30h] [rbp-18h] BYREF
return cocos2d::ccpLineIntersect(this, a2, a3, a4, v5, &v5[0].y)
&& v5[0].x >= 0.0
&& v5[0].x <= 1.0
&& v5[0].y >= 0.0
&& v5[0].y <= 1.0;
}