{"type": "func", "start": 6442503232, "end": 6442503302, "name": "cocos2d::CCRect::intersectsRect", "pseudocode": "// \n// cocos2d::CCRect::intersectsRect from 0x18000cc40 to 0x18000cc86 (70 bytes)\n// \n// 1 xrefs:\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::intersectsRect(cocos2d::CCRect *this, const struct cocos2d::CCRect *a2)\n{\n  float y; // xmm1_4\n  bool result; // al\n\n  result = false;\n  if ( a2->origin.x <= (float)(this->origin.x + this->size.width)\n    && this->origin.x <= (float)(a2->origin.x + a2->size.width) )\n  {\n    y = a2->origin.y;\n    if ( y <= (float)(this->origin.y + this->size.height) && this->origin.y <= (float)(y + a2->size.height) )\n      return true;\n  }\n  return result;\n}", "assembly": "; \n; cocos2d::CCRect::intersectsRect from 0x18000cc40 to 0x18000cc86 (70 bytes)\n; \n; 1 xrefs:\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   xmm2, dword ptr [rcx]                                          ; +0x0, 0x18000cc40\nmovss   xmm1, dword ptr [rdx]                                          ; +0x4, 0x18000cc44\nmovaps  xmm0, xmm2                                                     ; +0x8, 0x18000cc48\naddss   xmm0, dword ptr [rcx+8]                                        ; +0xb, 0x18000cc4b\ncomiss  xmm1, xmm0                                                     ; +0x10, 0x18000cc50\nja      short loc_18000CC83                                            ; +0x13, 0x18000cc53\naddss   xmm1, dword ptr [rdx+8]                                        ; +0x15, 0x18000cc55\ncomiss  xmm2, xmm1                                                     ; +0x1a, 0x18000cc5a\nja      short loc_18000CC83                                            ; +0x1d, 0x18000cc5d\nmovss   xmm2, dword ptr [rcx+4]                                        ; +0x1f, 0x18000cc5f\nmovss   xmm1, dword ptr [rdx+4]                                        ; +0x24, 0x18000cc64\nmovaps  xmm0, xmm2                                                     ; +0x29, 0x18000cc69\naddss   xmm0, dword ptr [rcx+0Ch]                                      ; +0x2c, 0x18000cc6c\ncomiss  xmm1, xmm0                                                     ; +0x31, 0x18000cc71\nja      short loc_18000CC83                                            ; +0x34, 0x18000cc74\naddss   xmm1, dword ptr [rdx+0Ch]                                      ; +0x36, 0x18000cc76\ncomiss  xmm2, xmm1                                                     ; +0x3b, 0x18000cc7b\nja      short loc_18000CC83                                            ; +0x3e, 0x18000cc7e\nmov     al, 1                                                          ; +0x40, 0x18000cc80\nretn                                                                   ; +0x42, 0x18000cc82\nxor     al, al                                                         ; +0x43, 0x18000cc83\nretn                                                                   ; +0x45, 0x18000cc85", "xrefs": ["<???> @ 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"}