{"type": "func", "start": 6442480208, "end": 6442480266, "name": "cocos2d::CCArray::replaceObjectAtIndex", "pseudocode": "// \n// cocos2d::CCArray::replaceObjectAtIndex from 0x180007250 to 0x18000728a (58 bytes)\n// \n// 4 xrefs:\n// > cocos2d::CCLayerMultiplex::switchToAndReleaseMe @ 0x180051197\n// > cocos2d::CCDirector::replaceScene @ 0x1800bf1d6\n// > <???> @ 0x1801438a8\n// > <???> @ 0x1801ad9e4\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::replaceObjectAtIndex(cocos2d::CCArray *this, int a2, struct cocos2d::CCObject *a3)\n{\n  __int64 v5; // r8\n\n  sub_18009DAF0(this->data, a3);\n  LOBYTE(v5) = 1;\n  sub_18009DEE0(this->data, (unsigned int)(a2 + 1), v5);\n}", "assembly": "; \n; cocos2d::CCArray::replaceObjectAtIndex from 0x180007250 to 0x18000728a (58 bytes)\n; \n; 4 xrefs:\n; > cocos2d::CCLayerMultiplex::switchToAndReleaseMe @ 0x180051197\n; > cocos2d::CCDirector::replaceScene @ 0x1800bf1d6\n; > <???> @ 0x1801438a8\n; > <???> @ 0x1801ad9e4\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, 0x180007250\npush    rdi                                                            ; +0x5, 0x180007255\nsub     rsp, 20h                                                       ; +0x6, 0x180007256\nmov     rax, r8                                                        ; +0xa, 0x18000725a\nmov     ebx, edx                                                       ; +0xd, 0x18000725d\nmov     r8d, edx                                                       ; +0xf, 0x18000725f\nmov     rdi, rcx                                                       ; +0x12, 0x180007262\nmov     rcx, [rcx+38h]                                                 ; +0x15, 0x180007265\nmov     rdx, rax                                                       ; +0x19, 0x180007269\ncall    sub_18009DAF0                                                  ; +0x1c, 0x18000726c\nmov     rcx, [rdi+38h]                                                 ; +0x21, 0x180007271\nlea     edx, [rbx+1]                                                   ; +0x25, 0x180007275\nmov     r8b, 1                                                         ; +0x28, 0x180007278\nmov     rbx, [rsp+28h+arg_0]                                           ; +0x2b, 0x18000727b\nadd     rsp, 20h                                                       ; +0x30, 0x180007280\npop     rdi                                                            ; +0x34, 0x180007284\njmp     sub_18009DEE0                                                  ; +0x35, 0x180007285", "xrefs": ["cocos2d::CCLayerMultiplex::switchToAndReleaseMe @ 0x180051197", "cocos2d::CCDirector::replaceScene @ 0x1800bf1d6", "<???> @ 0x1801438a8", "<???> @ 0x1801ad9e4"], "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"}