{"type": "func", "start": 6442502320, "end": 6442502380, "name": "cocos2d::CCRect::containsPoint", "pseudocode": "// \n// cocos2d::CCRect::containsPoint from 0x18000c8b0 to 0x18000c8ec (60 bytes)\n// \n// 4 xrefs:\n// > cocos2d::CCMenu::itemForTouch @ 0x18005b815\n// > cocos2d::CCEGLView::pumpRawInput @ 0x18007b2fa\n// > cocos2d::CCEGLView::pumpRawInput @ 0x18007b3e9\n// > <???> @ 0x18014cf68\n// \n// This function is hookable on this platform (idp: pc, 32 bit: False, 64 bit: True!\n// \n// Using BromaIDA 8.3.0 @ https://github.com/Stazzical/BromaIDA\n// Using bindings at commit 1c6ec395 at Thu Nov 26 21:29:22 2026 from https://github.com/geode-sdk/bindings\n// Generated at Fri, 27 Nov 2026 11:21:20 +0000\n// \n\nbool __fastcall cocos2d::CCRect::containsPoint(cocos2d::CCRect *this, const struct cocos2d::CCPoint *a2)\n{\n  bool result; // al\n  float v3; // xmm0_4\n  float v4; // xmm1_4\n\n  result = 0;\n  if ( *(float *)a2 >= *(float *)this && (float)(*(float *)this + *((float *)this + 2)) >= *(float *)a2 )\n  {\n    v3 = *((float *)this + 1);\n    v4 = *((float *)a2 + 1);\n    if ( v4 >= v3 )\n      return (float)(v3 + *((float *)this + 3)) >= v4;\n  }\n  return result;\n}", "assembly": "; \n; cocos2d::CCRect::containsPoint from 0x18000c8b0 to 0x18000c8ec (60 bytes)\n; \n; 4 xrefs:\n; > cocos2d::CCMenu::itemForTouch @ 0x18005b815\n; > cocos2d::CCEGLView::pumpRawInput @ 0x18007b2fa\n; > cocos2d::CCEGLView::pumpRawInput @ 0x18007b3e9\n; > <???> @ 0x18014cf68\n; \n; This function is hookable on this platform (idp: pc, 32 bit: False, 64 bit: True!\n; \n; Using BromaIDA 8.3.0 @ https://github.com/Stazzical/BromaIDA\n; Using bindings at commit 1c6ec395 at Thu Nov 26 21:29:22 2026 from https://github.com/geode-sdk/bindings\n; Generated at Fri, 27 Nov 2026 11:21:20 +0000\n; \nmovss   xmm0, dword ptr [rcx]                                          ; +0x0, 0x18000c8b0\nxor     al, al                                                         ; +0x4, 0x18000c8b4\nmovss   xmm1, dword ptr [rdx]                                          ; +0x6, 0x18000c8b6\ncomiss  xmm1, xmm0                                                     ; +0xa, 0x18000c8ba\njb      short locret_18000C8EB                                         ; +0xd, 0x18000c8bd\naddss   xmm0, dword ptr [rcx+8]                                        ; +0xf, 0x18000c8bf\ncomiss  xmm0, xmm1                                                     ; +0x14, 0x18000c8c4\njb      short locret_18000C8EB                                         ; +0x17, 0x18000c8c7\nmovss   xmm0, dword ptr [rcx+4]                                        ; +0x19, 0x18000c8c9\nmovss   xmm1, dword ptr [rdx+4]                                        ; +0x1e, 0x18000c8ce\ncomiss  xmm1, xmm0                                                     ; +0x23, 0x18000c8d3\njb      short locret_18000C8EB                                         ; +0x26, 0x18000c8d6\naddss   xmm0, dword ptr [rcx+0Ch]                                      ; +0x28, 0x18000c8d8\nmovzx   eax, al                                                        ; +0x2d, 0x18000c8dd\nmov     ecx, 1                                                         ; +0x30, 0x18000c8e0\ncomiss  xmm0, xmm1                                                     ; +0x35, 0x18000c8e5\ncmovnb  eax, ecx                                                       ; +0x38, 0x18000c8e8\nretn                                                                   ; +0x3b, 0x18000c8eb", "xrefs": ["cocos2d::CCMenu::itemForTouch @ 0x18005b815", "cocos2d::CCEGLView::pumpRawInput @ 0x18007b2fa", "cocos2d::CCEGLView::pumpRawInput @ 0x18007b3e9", "<???> @ 0x18014cf68"], "is_objc": false, "is_32_bit": false, "is_64_bit": true, "idp_name": "pc", "bida_info": "8.3.0 @ https://github.com/Stazzical/BromaIDA", "bindings_info": "commit 1c6ec395 at Thu Nov 26 21:29:22 2026 from https://github.com/geode-sdk/bindings"}