{"type": "func", "start": 6442502288, "end": 6442502348, "name": "cocos2d::CCRect::containsPoint", "pseudocode": "// \n// cocos2d::CCRect::containsPoint from 0x18000c890 to 0x18000c8cc (60 bytes)\n// \n// 3 xrefs:\n// > cocos2d::CCMenu::itemForTouch @ 0x1800597ff\n// > cocos2d::CCEGLView::pumpRawInput @ 0x180078536\n// > <???> @ 0x1801438a8\n// \n// This function is hookable on this platform!\n// \n// Using BromaIDA 8.0.0 @ https://github.com/Stazzical/BromaIDA\n// Using bindings at commit ba9f177b at Thu Jul 16 22:52:06 2026 from https://github.com/geode-sdk/bindings\n// \n\nbool __fastcall cocos2d::CCRect::containsPoint(cocos2d::CCRect *this, const struct cocos2d::CCPoint *a2)\n{\n  bool result; // al\n  float y; // xmm1_4\n  float v4; // xmm0_4\n\n  result = 0;\n  if ( a2->x >= this->origin.x && (float)(this->origin.x + this->size.width) >= a2->x )\n  {\n    y = a2->y;\n    v4 = this->origin.y;\n    if ( y >= v4 )\n      return (float)(v4 + this->size.height) >= y;\n  }\n  return result;\n}", "assembly": "; \n; cocos2d::CCRect::containsPoint from 0x18000c890 to 0x18000c8cc (60 bytes)\n; \n; 3 xrefs:\n; > cocos2d::CCMenu::itemForTouch @ 0x1800597ff\n; > cocos2d::CCEGLView::pumpRawInput @ 0x180078536\n; > <???> @ 0x1801438a8\n; \n; This function is hookable on this platform!\n; \n; Using BromaIDA 8.0.0 @ https:;github.com/Stazzical/BromaIDA\n; Using bindings at commit ba9f177b at Thu Jul 16 22:52:06 2026 from https:;github.com/geode-sdk/bindings\n; \n\nmovss   xmm1, dword ptr [rdx]                                          ; +0x0, 0x18000c890\nxor     al, al                                                         ; +0x4, 0x18000c894\nmovss   xmm0, dword ptr [rcx]                                          ; +0x6, 0x18000c896\ncomiss  xmm1, xmm0                                                     ; +0xa, 0x18000c89a\njb      short locret_18000C8CB                                         ; +0xd, 0x18000c89d\naddss   xmm0, dword ptr [rcx+8]                                        ; +0xf, 0x18000c89f\ncomiss  xmm0, xmm1                                                     ; +0x14, 0x18000c8a4\njb      short locret_18000C8CB                                         ; +0x17, 0x18000c8a7\nmovss   xmm1, dword ptr [rdx+4]                                        ; +0x19, 0x18000c8a9\nmovss   xmm0, dword ptr [rcx+4]                                        ; +0x1e, 0x18000c8ae\ncomiss  xmm1, xmm0                                                     ; +0x23, 0x18000c8b3\njb      short locret_18000C8CB                                         ; +0x26, 0x18000c8b6\naddss   xmm0, dword ptr [rcx+0Ch]                                      ; +0x28, 0x18000c8b8\nmovzx   eax, al                                                        ; +0x2d, 0x18000c8bd\nmov     ecx, 1                                                         ; +0x30, 0x18000c8c0\ncomiss  xmm0, xmm1                                                     ; +0x35, 0x18000c8c5\ncmovnb  eax, ecx                                                       ; +0x38, 0x18000c8c8\nretn                                                                   ; +0x3b, 0x18000c8cb", "xrefs": ["cocos2d::CCMenu::itemForTouch @ 0x1800597ff", "cocos2d::CCEGLView::pumpRawInput @ 0x180078536", "<???> @ 0x1801438a8"], "is_objc": false, "is_arm32": false, "is_arm64": false, "bida_info": "8.0.0 @ https://github.com/Stazzical/BromaIDA", "bindings_info": "commit ba9f177b at Thu Jul 16 22:52:06 2026 from https://github.com/geode-sdk/bindings"}