{"type": "func", "start": 6442479168, "end": 6442479252, "name": "cocos2d::CCArray::exchangeObject", "pseudocode": "// \n// cocos2d::CCArray::exchangeObject from 0x180006e40 to 0x180006e94 (84 bytes)\n// \n// 2 xrefs:\n// > <???> @ 0x1801438a8\n// > <???> @ 0x1801ad96c\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\nvoid __fastcall cocos2d::CCArray::exchangeObject(\n        cocos2d::CCArray *this,\n        struct cocos2d::CCObject *a2,\n        struct cocos2d::CCObject *a3)\n{\n  unsigned int v5; // edi\n  unsigned int v6; // eax\n\n  v5 = sub_18009DAC0(this->data, a2);\n  if ( v5 != -1 )\n  {\n    v6 = sub_18009DAC0(this->data, a3);\n    if ( v6 != -1 )\n      sub_18009E0B0(this->data, v5, v6);\n  }\n}", "assembly": "; \n; cocos2d::CCArray::exchangeObject from 0x180006e40 to 0x180006e94 (84 bytes)\n; \n; 2 xrefs:\n; > <???> @ 0x1801438a8\n; > <???> @ 0x1801ad96c\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     [rsp+arg_0], rbx                                               ; +0x0, 0x180006e40\nmov     [rsp+arg_8], rsi                                               ; +0x5, 0x180006e45\npush    rdi                                                            ; +0xa, 0x180006e4a\nsub     rsp, 20h                                                       ; +0xb, 0x180006e4b\nmov     rbx, rcx                                                       ; +0xf, 0x180006e4f\nmov     rsi, r8                                                        ; +0x12, 0x180006e52\nmov     rcx, [rcx+38h]                                                 ; +0x15, 0x180006e55\ncall    sub_18009DAC0                                                  ; +0x19, 0x180006e59\nmov     edi, eax                                                       ; +0x1e, 0x180006e5e\ncmp     eax, 0FFFFFFFFh                                                ; +0x20, 0x180006e60\njz      short loc_180006E84                                            ; +0x23, 0x180006e63\nmov     rcx, [rbx+38h]                                                 ; +0x25, 0x180006e65\nmov     rdx, rsi                                                       ; +0x29, 0x180006e69\ncall    sub_18009DAC0                                                  ; +0x2c, 0x180006e6c\ncmp     eax, 0FFFFFFFFh                                                ; +0x31, 0x180006e71\njz      short loc_180006E84                                            ; +0x34, 0x180006e74\nmov     rcx, [rbx+38h]                                                 ; +0x36, 0x180006e76\nmov     r8d, eax                                                       ; +0x3a, 0x180006e7a\nmov     edx, edi                                                       ; +0x3d, 0x180006e7d\ncall    sub_18009E0B0                                                  ; +0x3f, 0x180006e7f\nmov     rbx, [rsp+28h+arg_0]                                           ; +0x44, 0x180006e84\nmov     rsi, [rsp+28h+arg_8]                                           ; +0x49, 0x180006e89\nadd     rsp, 20h                                                       ; +0x4e, 0x180006e8e\npop     rdi                                                            ; +0x52, 0x180006e92\nretn                                                                   ; +0x53, 0x180006e93", "xrefs": ["<???> @ 0x1801438a8", "<???> @ 0x1801ad96c"], "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"}