{"type": "func", "start": 6443096032, "end": 6443096076, "name": "sub_18009D7E0", "pseudocode": "// \n// sub_18009D7E0 from 0x18009d7e0 to 0x18009d80c (44 bytes)\n// \n// 5 xrefs:\n// > cocos2d::CCArray::containsObject @ 0x1800068c4\n// > cocos2d::CCActionManager::addAction @ 0x180037df8\n// > cocos2d::CCActionManager::removeAllActions @ 0x1800387db\n// > cocos2d::CCActionManager::removeAllActionsFromTarget @ 0x18003895f\n// > cocos2d::CCScheduler::unscheduleAllForTarget @ 0x1800c2685\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 sub_18009D7E0(__int64 a1, __int64 a2)\n{\n  unsigned int v2; // eax\n  _QWORD *v3; // r8\n\n  v2 = 0;\n  v3 = *(_QWORD **)(a1 + 16);\n  if ( *(_DWORD *)a1 )\n  {\n    while ( *v3 != a2 )\n    {\n      ++v2;\n      ++v3;\n      if ( v2 >= *(_DWORD *)a1 )\n        goto LABEL_4;\n    }\n  }\n  else\n  {\nLABEL_4:\n    v2 = -1;\n  }\n  return v2 != -1;\n}", "assembly": "; \n; sub_18009D7E0 from 0x18009d7e0 to 0x18009d80c (44 bytes)\n; \n; 5 xrefs:\n; > cocos2d::CCArray::containsObject @ 0x1800068c4\n; > cocos2d::CCActionManager::addAction @ 0x180037df8\n; > cocos2d::CCActionManager::removeAllActions @ 0x1800387db\n; > cocos2d::CCActionManager::removeAllActionsFromTarget @ 0x18003895f\n; > cocos2d::CCScheduler::unscheduleAllForTarget @ 0x1800c2685\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\nmov     r9d, [rcx]                                                     ; +0x0, 0x18009d7e0\nxor     eax, eax                                                       ; +0x3, 0x18009d7e3\nmov     r8, [rcx+10h]                                                  ; +0x5, 0x18009d7e5\ntest    r9d, r9d                                                       ; +0x9, 0x18009d7e9\njz      short loc_18009D800                                            ; +0xc, 0x18009d7ec\nxchg    ax, ax                                                         ; +0xe, 0x18009d7ee\ncmp     [r8], rdx                                                      ; +0x10, 0x18009d7f0\njz      short loc_18009D805                                            ; +0x13, 0x18009d7f3\ninc     eax                                                            ; +0x15, 0x18009d7f5\nadd     r8, 8                                                          ; +0x17, 0x18009d7f7\ncmp     eax, r9d                                                       ; +0x1b, 0x18009d7fb\njb      short loc_18009D7F0                                            ; +0x1e, 0x18009d7fe\nmov     eax, 0FFFFFFFFh                                                ; +0x20, 0x18009d800\ncmp     eax, 0FFFFFFFFh                                                ; +0x25, 0x18009d805\nsetnz   al                                                             ; +0x28, 0x18009d808\nretn                                                                   ; +0x2b, 0x18009d80b", "xrefs": ["cocos2d::CCArray::containsObject @ 0x1800068c4", "cocos2d::CCActionManager::addAction @ 0x180037df8", "cocos2d::CCActionManager::removeAllActions @ 0x1800387db", "cocos2d::CCActionManager::removeAllActionsFromTarget @ 0x18003895f", "cocos2d::CCScheduler::unscheduleAllForTarget @ 0x1800c2685"], "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"}