{"type": "func", "start": 6442502480, "end": 6442502572, "name": "cocos2d::CCRect::equals", "pseudocode": "// \n// cocos2d::CCRect::equals from 0x18000c950 to 0x18000c9ac (92 bytes)\n// \n// 4 xrefs:\n// > cocos2d::CCFollow::initWithTarget @ 0x18002430e\n// > cocos2d::CCEGLView::pumpRawInput @ 0x180078503\n// > cocos2d::CCSprite::isFrameDisplayed @ 0x18008becf\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::equals(cocos2d::CCRect *this, const struct cocos2d::CCRect *a2)\n{\n  return fabs(this->origin.x - a2->origin.x) < 0.00000011920929\n      && fabs(this->origin.y - a2->origin.y) < 0.00000011920929\n      && fabs(this->size.width - a2->size.width) < 0.00000011920929\n      && fabs(this->size.height - a2->size.height) < 0.00000011920929;\n}", "assembly": "; \n; cocos2d::CCRect::equals from 0x18000c950 to 0x18000c9ac (92 bytes)\n; \n; 4 xrefs:\n; > cocos2d::CCFollow::initWithTarget @ 0x18002430e\n; > cocos2d::CCEGLView::pumpRawInput @ 0x180078503\n; > cocos2d::CCSprite::isFrameDisplayed @ 0x18008becf\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   xmm0, dword ptr [rcx]                                          ; +0x0, 0x18000c950\nsubss   xmm0, dword ptr [rdx]                                          ; +0x4, 0x18000c954\nmovss   xmm1, dword ptr cs:xmmword_1800E6560                           ; +0x8, 0x18000c958\nmovss   xmm2, cs:dword_1800E6554                                       ; +0x10, 0x18000c960\nandps   xmm0, xmm1                                                     ; +0x18, 0x18000c968\ncomiss  xmm2, xmm0                                                     ; +0x1b, 0x18000c96b\njbe     short loc_18000C9A9                                            ; +0x1e, 0x18000c96e\nmovss   xmm0, dword ptr [rcx+4]                                        ; +0x20, 0x18000c970\nsubss   xmm0, dword ptr [rdx+4]                                        ; +0x25, 0x18000c975\nandps   xmm0, xmm1                                                     ; +0x2a, 0x18000c97a\ncomiss  xmm2, xmm0                                                     ; +0x2d, 0x18000c97d\njbe     short loc_18000C9A9                                            ; +0x30, 0x18000c980\nmovss   xmm0, dword ptr [rcx+8]                                        ; +0x32, 0x18000c982\nsubss   xmm0, dword ptr [rdx+8]                                        ; +0x37, 0x18000c987\nandps   xmm0, xmm1                                                     ; +0x3c, 0x18000c98c\ncomiss  xmm2, xmm0                                                     ; +0x3f, 0x18000c98f\njbe     short loc_18000C9A9                                            ; +0x42, 0x18000c992\nmovss   xmm0, dword ptr [rcx+0Ch]                                      ; +0x44, 0x18000c994\nsubss   xmm0, dword ptr [rdx+0Ch]                                      ; +0x49, 0x18000c999\nandps   xmm0, xmm1                                                     ; +0x4e, 0x18000c99e\ncomiss  xmm2, xmm0                                                     ; +0x51, 0x18000c9a1\njbe     short loc_18000C9A9                                            ; +0x54, 0x18000c9a4\nmov     al, 1                                                          ; +0x56, 0x18000c9a6\nretn                                                                   ; +0x58, 0x18000c9a8\nxor     al, al                                                         ; +0x59, 0x18000c9a9\nretn                                                                   ; +0x5b, 0x18000c9ab", "xrefs": ["cocos2d::CCFollow::initWithTarget @ 0x18002430e", "cocos2d::CCEGLView::pumpRawInput @ 0x180078503", "cocos2d::CCSprite::isFrameDisplayed @ 0x18008becf", "<???> @ 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"}