{"type": "func", "start": 6443214160, "end": 6443214208, "name": "cocos2d::CCScriptEngineManager::setScriptEngine", "pseudocode": "// \n// cocos2d::CCScriptEngineManager::setScriptEngine from 0x1800ba550 to 0x1800ba580 (48 bytes)\n// \n// 2 xrefs:\n// > <???> @ 0x18014cf68\n// > <???> @ 0x1801c2ebc\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:23 +0000\n// \n\nvoid __fastcall cocos2d::CCScriptEngineManager::setScriptEngine(\n        cocos2d::CCScriptEngineManager *this,\n        struct cocos2d::CCScriptEngineProtocol *a2)\n{\n  void (__fastcall ***v4)(_QWORD, __int64); // rcx\n\n  v4 = *(void (__fastcall ****)(_QWORD, __int64))this;\n  if ( v4 )\n    (**v4)(v4, 1);\n  *(_QWORD *)this = a2;\n}", "assembly": "; \n; cocos2d::CCScriptEngineManager::setScriptEngine from 0x1800ba550 to 0x1800ba580 (48 bytes)\n; \n; 2 xrefs:\n; > <???> @ 0x18014cf68\n; > <???> @ 0x1801c2ebc\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:23 +0000\n; \nmov     [rsp+arg_0], rbx                                               ; +0x0, 0x1800ba550\npush    rdi                                                            ; +0x5, 0x1800ba555\nsub     rsp, 20h                                                       ; +0x6, 0x1800ba556\nmov     rbx, rcx                                                       ; +0xa, 0x1800ba55a\nmov     rdi, rdx                                                       ; +0xd, 0x1800ba55d\nmov     rcx, [rcx]                                                     ; +0x10, 0x1800ba560\ntest    rcx, rcx                                                       ; +0x13, 0x1800ba563\njz      short loc_1800BA572                                            ; +0x16, 0x1800ba566\nmov     rax, [rcx]                                                     ; +0x18, 0x1800ba568\nmov     edx, 1                                                         ; +0x1b, 0x1800ba56b\ncall    qword ptr [rax]                                                ; +0x20, 0x1800ba570\nmov     [rbx], rdi                                                     ; +0x22, 0x1800ba572\nmov     rbx, [rsp+28h+arg_0]                                           ; +0x25, 0x1800ba575\nadd     rsp, 20h                                                       ; +0x2a, 0x1800ba57a\npop     rdi                                                            ; +0x2e, 0x1800ba57e\nretn                                                                   ; +0x2f, 0x1800ba57f", "xrefs": ["<???> @ 0x18014cf68", "<???> @ 0x1801c2ebc"], "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"}