{"type": "func", "start": 6443112048, "end": 6443112146, "name": "sub_1800A1670", "pseudocode": "// \n// sub_1800A1670 from 0x1800a1670 to 0x1800a16d2 (98 bytes)\n// \n// 2 xrefs:\n// > cocos2d::CCArray::fastRemoveObjectAtIndexNew @ 0x180007034\n// > <???> @ 0x1801c1704\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_1800A1670(__int64 a1, unsigned int a2)\n{\n  __int64 v3; // rdi\n  __int64 v4; // rsi\n  cocos2d::CCObject *v5; // rcx\n  __int64 v6; // rcx\n  __int64 result; // rax\n\n  v3 = 8LL * (unsigned int)--*(_DWORD *)a1;\n  *(_DWORD *)(*(_QWORD *)(*(_QWORD *)(a1 + 16) + v3) + 32LL) = a2;\n  v4 = 8LL * a2;\n  v5 = *(cocos2d::CCObject **)(v4 + *(_QWORD *)(a1 + 16));\n  if ( v5 )\n    cocos2d::CCObject::release(v5);\n  v6 = *(_QWORD *)(a1 + 16);\n  result = *(_QWORD *)(v6 + v3);\n  *(_QWORD *)(v6 + v4) = result;\n  return result;\n}", "assembly": "; \n; sub_1800A1670 from 0x1800a1670 to 0x1800a16d2 (98 bytes)\n; \n; 2 xrefs:\n; > cocos2d::CCArray::fastRemoveObjectAtIndexNew @ 0x180007034\n; > <???> @ 0x1801c1704\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     [rsp+arg_0], rbx                                               ; +0x0, 0x1800a1670\nmov     [rsp+arg_8], rsi                                               ; +0x5, 0x1800a1675\npush    rdi                                                            ; +0xa, 0x1800a167a\nsub     rsp, 20h                                                       ; +0xb, 0x1800a167b\ndec     dword ptr [rcx]                                                ; +0xf, 0x1800a167f\nmov     rbx, rcx                                                       ; +0x11, 0x1800a1681\nmov     eax, [rcx]                                                     ; +0x14, 0x1800a1684\nlea     rdi, ds:0[rax*8]                                               ; +0x16, 0x1800a1686\nmov     rax, [rcx+10h]                                                 ; +0x1e, 0x1800a168e\nmov     r8, [rax+rdi]                                                  ; +0x22, 0x1800a1692\nmov     eax, edx                                                       ; +0x26, 0x1800a1696\nmov     [r8+20h], edx                                                  ; +0x28, 0x1800a1698\nlea     rsi, ds:0[rax*8]                                               ; +0x2c, 0x1800a169c\nmov     rax, [rcx+10h]                                                 ; +0x34, 0x1800a16a4\nmov     rcx, [rsi+rax]; this                                           ; +0x38, 0x1800a16a8\ntest    rcx, rcx                                                       ; +0x3c, 0x1800a16ac\njz      short loc_1800A16B6                                            ; +0x3f, 0x1800a16af\ncall    ?release@CCObject@cocos2d@@QEAAXXZ; cocos2d::CCObject::release(void) ; +0x41, 0x1800a16b1\nmov     rcx, [rbx+10h]                                                 ; +0x46, 0x1800a16b6\nmov     rbx, [rsp+28h+arg_0]                                           ; +0x4a, 0x1800a16ba\nmov     rax, [rcx+rdi]                                                 ; +0x4f, 0x1800a16bf\nmov     [rcx+rsi], rax                                                 ; +0x53, 0x1800a16c3\nmov     rsi, [rsp+28h+arg_8]                                           ; +0x57, 0x1800a16c7\nadd     rsp, 20h                                                       ; +0x5c, 0x1800a16cc\npop     rdi                                                            ; +0x60, 0x1800a16d0\nretn                                                                   ; +0x61, 0x1800a16d1", "xrefs": ["cocos2d::CCArray::fastRemoveObjectAtIndexNew @ 0x180007034", "<???> @ 0x1801c1704"], "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"}