// // cocos2d::CCRect::containsPoint from 0x18000c8b0 to 0x18000c8ec (60 bytes) // // 4 xrefs: // > cocos2d::CCMenu::itemForTouch @ 0x18005b815 // > cocos2d::CCEGLView::pumpRawInput @ 0x18007b2fa // > cocos2d::CCEGLView::pumpRawInput @ 0x18007b3e9 // > @ 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::containsPoint(cocos2d::CCRect *this, const struct cocos2d::CCPoint *a2) { bool result; // al float v3; // xmm0_4 float v4; // xmm1_4 result = 0; if ( *(float *)a2 >= *(float *)this && (float)(*(float *)this + *((float *)this + 2)) >= *(float *)a2 ) { v3 = *((float *)this + 1); v4 = *((float *)a2 + 1); if ( v4 >= v3 ) return (float)(v3 + *((float *)this + 3)) >= v4; } return result; }
GD Web Decomp Icon

GD Web Decomp

Raw Source