//
// cocos2d::CCRect::containsPoint from 0x18000c890 to 0x18000c8cc (60 bytes)
//
// 3 xrefs:
// > cocos2d::CCMenu::itemForTouch @ 0x1800597ff
// > cocos2d::CCEGLView::pumpRawInput @ 0x180078536
// > ??> @ 0x1801438a8
//
// 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::CCRect::containsPoint(cocos2d::CCRect *this, const struct cocos2d::CCPoint *a2)
{
bool result; // al
float y; // xmm1_4
float v4; // xmm0_4
result = 0;
if ( a2->x >= this->origin.x && (float)(this->origin.x + this->size.width) >= a2->x )
{
y = a2->y;
v4 = this->origin.y;
if ( y >= v4 )
return (float)(v4 + this->size.height) >= y;
}
return result;
}