{"type": "func", "start": 6442515504, "end": 6442515571, "name": "cocos2d::CCSet::containsObject", "pseudocode": "// \n// cocos2d::CCSet::containsObject from 0x18000fc30 to 0x18000fc73 (67 bytes)\n// \n// 2 xrefs:\n// > cocos2d::CCTouchDispatcher::touches @ 0x1800b702c\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:21 +0000\n// \n\nbool __fastcall cocos2d::CCSet::containsObject(cocos2d::CCSet *this, struct cocos2d::CCObject *a2)\n{\n  __int64 *v2; // rax\n  __int64 *v3; // r8\n  __int64 *i; // rcx\n\n  v2 = **((__int64 ***)this + 7);\n  v3 = v2;\n  for ( i = (__int64 *)v2[1]; !*((_BYTE *)i + 25); i = (__int64 *)*i )\n  {\n    if ( i[4] >= (unsigned __int64)a2 )\n      v3 = i;\n    else\n      i += 2;\n  }\n  if ( *((_BYTE *)v3 + 25) || (unsigned __int64)a2 < v3[4] )\n    v3 = v2;\n  return v3 != v2;\n}", "assembly": "; \n; cocos2d::CCSet::containsObject from 0x18000fc30 to 0x18000fc73 (67 bytes)\n; \n; 2 xrefs:\n; > cocos2d::CCTouchDispatcher::touches @ 0x1800b702c\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:21 +0000\n; \nmov     rax, [rcx+38h]                                                 ; +0x0, 0x18000fc30\nmov     rax, [rax]                                                     ; +0x4, 0x18000fc34\nmov     r8, rax                                                        ; +0x7, 0x18000fc37\nmov     rcx, [rax+8]                                                   ; +0xa, 0x18000fc3a\ncmp     byte ptr [rcx+19h], 0                                          ; +0xe, 0x18000fc3e\njnz     short loc_18000FC5C                                            ; +0x12, 0x18000fc42\ncmp     [rcx+20h], rdx                                                 ; +0x14, 0x18000fc44\njnb     short loc_18000FC50                                            ; +0x18, 0x18000fc48\nadd     rcx, 10h                                                       ; +0x1a, 0x18000fc4a\njmp     short loc_18000FC53                                            ; +0x1e, 0x18000fc4e\nmov     r8, rcx                                                        ; +0x20, 0x18000fc50\nmov     rcx, [rcx]                                                     ; +0x23, 0x18000fc53\ncmp     byte ptr [rcx+19h], 0                                          ; +0x26, 0x18000fc56\njz      short loc_18000FC44                                            ; +0x2a, 0x18000fc5a\ncmp     byte ptr [r8+19h], 0                                           ; +0x2c, 0x18000fc5c\njnz     short loc_18000FC69                                            ; +0x31, 0x18000fc61\ncmp     rdx, [r8+20h]                                                  ; +0x33, 0x18000fc63\njnb     short loc_18000FC6C                                            ; +0x37, 0x18000fc67\nmov     r8, rax                                                        ; +0x39, 0x18000fc69\ncmp     r8, rax                                                        ; +0x3c, 0x18000fc6c\nsetnz   al                                                             ; +0x3f, 0x18000fc6f\nretn                                                                   ; +0x42, 0x18000fc72", "xrefs": ["cocos2d::CCTouchDispatcher::touches @ 0x1800b702c", "<???> @ 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"}