//
// cocos2d::CCRect::intersectsRect from 0x18000cc60 to 0x18000cca6 (70 bytes)
//
// 1 xrefs:
// > ??> @ 0x18014cf68
//
// 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:21:20 +0000
//
bool __fastcall cocos2d::CCRect::intersectsRect(cocos2d::CCRect *this, const struct cocos2d::CCRect *a2)
{
float v2; // xmm1_4
bool result; // al
result = false;
if ( *(float *)a2 <= (float)(*(float *)this + *((float *)this + 2))
&& *(float *)this <= (float)(*(float *)a2 + *((float *)a2 + 2)) )
{
v2 = *((float *)a2 + 1);
if ( v2 <= (float)(*((float *)this + 1) + *((float *)this + 3))
&& *((float *)this + 1) <= (float)(v2 + *((float *)a2 + 3)) )
{
return true;
}
}
return result;
}