//
// cocos2d::ccpSegmentIntersect from 0x1800978e0 to 0x180097939 (89 bytes)
//
// 3 xrefs:
// > ??> @ 0x18014cf68
// > ??> @ 0x1801c093c
// > ??> @ 0x1801c0948
//
// This function is hookable on this platform (idp: pc, 32 bit: False, 64 bit: True!
//
// 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 11:22:10 +0000
//
bool __fastcall cocos2d::ccpSegmentIntersect(
cocos2d *this,
const struct cocos2d::CCPoint *a2,
const struct cocos2d::CCPoint *a3,
const struct cocos2d::CCPoint *a4)
{
float v5; // [rsp+30h] [rbp-18h] BYREF
float v6[5]; // [rsp+34h] [rbp-14h] BYREF
return cocos2d::ccpLineIntersect(this, a2, a3, a4, (const struct cocos2d::CCPoint *)&v5, v6)
&& v5 >= 0.0
&& v5 <= 1.0
&& v6[0] >= 0.0
&& v6[0] <= 1.0;
}