{"type": "func", "start": 6443112272, "end": 6443112310, "name": "sub_1800A1750", "pseudocode": "// \n// sub_1800A1750 from 0x1800a1750 to 0x1800a1776 (38 bytes)\n// \n// 4 xrefs:\n// > cocos2d::CCArray::exchangeObject @ 0x180006fa9\n// > cocos2d::CCArray::exchangeObject @ 0x180006fbc\n// > cocos2d::CCArray::indexOfObject @ 0x180007044\n// > cocos2d::CCActionManager::removeAction @ 0x180038b94\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:22:13 +0000\n// \n\n__int64 __fastcall sub_1800A1750(__int64 a1, __int64 a2)\n{\n  __int64 result; // rax\n  _QWORD *v3; // r8\n\n  result = 0;\n  v3 = *(_QWORD **)(a1 + 16);\n  if ( !*(_DWORD *)a1 )\n    return 0xFFFFFFFFLL;\n  while ( *v3 != a2 )\n  {\n    result = (unsigned int)(result + 1);\n    ++v3;\n    if ( (unsigned int)result >= *(_DWORD *)a1 )\n      return 0xFFFFFFFFLL;\n  }\n  return result;\n}", "assembly": "; \n; sub_1800A1750 from 0x1800a1750 to 0x1800a1776 (38 bytes)\n; \n; 4 xrefs:\n; > cocos2d::CCArray::exchangeObject @ 0x180006fa9\n; > cocos2d::CCArray::exchangeObject @ 0x180006fbc\n; > cocos2d::CCArray::indexOfObject @ 0x180007044\n; > cocos2d::CCActionManager::removeAction @ 0x180038b94\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:22:13 +0000\n; \nmov     r9d, [rcx]                                                     ; +0x0, 0x1800a1750\nxor     eax, eax                                                       ; +0x3, 0x1800a1753\nmov     r8, [rcx+10h]                                                  ; +0x5, 0x1800a1755\ntest    r9d, r9d                                                       ; +0x9, 0x1800a1759\njz      short loc_1800A1770                                            ; +0xc, 0x1800a175c\nxchg    ax, ax                                                         ; +0xe, 0x1800a175e\ncmp     [r8], rdx                                                      ; +0x10, 0x1800a1760\njz      short locret_1800A1775                                         ; +0x13, 0x1800a1763\ninc     eax                                                            ; +0x15, 0x1800a1765\nadd     r8, 8                                                          ; +0x17, 0x1800a1767\ncmp     eax, r9d                                                       ; +0x1b, 0x1800a176b\njb      short loc_1800A1760                                            ; +0x1e, 0x1800a176e\nmov     eax, 0FFFFFFFFh                                                ; +0x20, 0x1800a1770\nretn                                                                   ; +0x25, 0x1800a1775", "xrefs": ["cocos2d::CCArray::exchangeObject @ 0x180006fa9", "cocos2d::CCArray::exchangeObject @ 0x180006fbc", "cocos2d::CCArray::indexOfObject @ 0x180007044", "cocos2d::CCActionManager::removeAction @ 0x180038b94"], "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"}