{"type": "func", "start": 6443111856, "end": 6443111924, "name": "sub_1800A15B0", "pseudocode": "// \n// sub_1800A15B0 from 0x1800a15b0 to 0x1800a15f4 (68 bytes)\n// \n// 2 xrefs:\n// > cocos2d::CCArray::fastRemoveObjectAtIndex @ 0x180007014\n// > <???> @ 0x1801c16ec\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_1800A15B0(unsigned int *a1, unsigned int a2)\n{\n  __int64 v3; // rdi\n  cocos2d::CCObject *v4; // rcx\n  __int64 v5; // rcx\n  __int64 result; // rax\n\n  v3 = 8LL * a2;\n  v4 = *(cocos2d::CCObject **)(v3 + *((_QWORD *)a1 + 2));\n  if ( v4 )\n    cocos2d::CCObject::release(v4);\n  --*a1;\n  v5 = *((_QWORD *)a1 + 2);\n  result = *(_QWORD *)(v5 + 8LL * *a1);\n  *(_QWORD *)(v5 + v3) = result;\n  return result;\n}", "assembly": "; \n; sub_1800A15B0 from 0x1800a15b0 to 0x1800a15f4 (68 bytes)\n; \n; 2 xrefs:\n; > cocos2d::CCArray::fastRemoveObjectAtIndex @ 0x180007014\n; > <???> @ 0x1801c16ec\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, 0x1800a15b0\npush    rdi                                                            ; +0x5, 0x1800a15b5\nsub     rsp, 20h                                                       ; +0x6, 0x1800a15b6\nmov     eax, edx                                                       ; +0xa, 0x1800a15ba\nmov     rbx, rcx                                                       ; +0xc, 0x1800a15bc\nlea     rdi, ds:0[rax*8]                                               ; +0xf, 0x1800a15bf\nmov     rax, [rcx+10h]                                                 ; +0x17, 0x1800a15c7\nmov     rcx, [rdi+rax]; this                                           ; +0x1b, 0x1800a15cb\ntest    rcx, rcx                                                       ; +0x1f, 0x1800a15cf\njz      short loc_1800A15D9                                            ; +0x22, 0x1800a15d2\ncall    ?release@CCObject@cocos2d@@QEAAXXZ; cocos2d::CCObject::release(void) ; +0x24, 0x1800a15d4\ndec     dword ptr [rbx]                                                ; +0x29, 0x1800a15d9\nmov     eax, [rbx]                                                     ; +0x2b, 0x1800a15db\nmov     rcx, [rbx+10h]                                                 ; +0x2d, 0x1800a15dd\nmov     rbx, [rsp+28h+arg_0]                                           ; +0x31, 0x1800a15e1\nmov     rax, [rcx+rax*8]                                               ; +0x36, 0x1800a15e6\nmov     [rcx+rdi], rax                                                 ; +0x3a, 0x1800a15ea\nadd     rsp, 20h                                                       ; +0x3e, 0x1800a15ee\npop     rdi                                                            ; +0x42, 0x1800a15f2\nretn                                                                   ; +0x43, 0x1800a15f3", "xrefs": ["cocos2d::CCArray::fastRemoveObjectAtIndex @ 0x180007014", "<???> @ 0x1801c16ec"], "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"}