{"type": "func", "start": 6443113792, "end": 6443113833, "name": "sub_1800A1D40", "pseudocode": "// \n// sub_1800A1D40 from 0x1800a1d40 to 0x1800a1d69 (41 bytes)\n// \n// 3 xrefs:\n// > cocos2d::CCArray::exchangeObject @ 0x180006fcf\n// > cocos2d::CCArray::exchangeObjectAtIndex @ 0x180006ff4\n// > cocos2d::CCArray::reverseObjects @ 0x180007439\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_1800A1D40(__int64 a1, unsigned int a2, unsigned int a3)\n{\n  __int64 v3; // r10\n  __int64 v4; // r11\n  _QWORD *v5; // r9\n  __int64 v6; // rdx\n  __int64 result; // rax\n\n  v3 = *(_QWORD *)(a1 + 16);\n  v4 = *(_QWORD *)(v3 + 8LL * a2);\n  v5 = (_QWORD *)(v3 + 8LL * a2);\n  v6 = 8LL * a3;\n  *v5 = *(_QWORD *)(v6 + v3);\n  result = *(_QWORD *)(a1 + 16);\n  *(_QWORD *)(v6 + result) = v4;\n  return result;\n}", "assembly": "; \n; sub_1800A1D40 from 0x1800a1d40 to 0x1800a1d69 (41 bytes)\n; \n; 3 xrefs:\n; > cocos2d::CCArray::exchangeObject @ 0x180006fcf\n; > cocos2d::CCArray::exchangeObjectAtIndex @ 0x180006ff4\n; > cocos2d::CCArray::reverseObjects @ 0x180007439\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     r10, [rcx+10h]                                                 ; +0x0, 0x1800a1d40\nmov     eax, edx                                                       ; +0x4, 0x1800a1d44\nmov     r11, [r10+rax*8]                                               ; +0x6, 0x1800a1d46\nlea     r9, [r10+rax*8]                                                ; +0xa, 0x1800a1d4a\nmov     eax, r8d                                                       ; +0xe, 0x1800a1d4e\nlea     rdx, ds:0[rax*8]                                               ; +0x11, 0x1800a1d51\nmov     rax, [rdx+r10]                                                 ; +0x19, 0x1800a1d59\nmov     [r9], rax                                                      ; +0x1d, 0x1800a1d5d\nmov     rax, [rcx+10h]                                                 ; +0x20, 0x1800a1d60\nmov     [rdx+rax], r11                                                 ; +0x24, 0x1800a1d64\nretn                                                                   ; +0x28, 0x1800a1d68", "xrefs": ["cocos2d::CCArray::exchangeObject @ 0x180006fcf", "cocos2d::CCArray::exchangeObjectAtIndex @ 0x180006ff4", "cocos2d::CCArray::reverseObjects @ 0x180007439"], "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"}