{"type": "func", "start": 6443198864, "end": 6443198912, "name": "cocos2d::CCScriptEngineManager::setScriptEngine", "pseudocode": "// \n// cocos2d::CCScriptEngineManager::setScriptEngine from 0x1800b6990 to 0x1800b69c0 (48 bytes)\n// \n// 2 xrefs:\n// > <???> @ 0x1801438a8\n// > <???> @ 0x1801b8ba4\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::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 0x1800b6990 to 0x1800b69c0 (48 bytes)\n; \n; 2 xrefs:\n; > <???> @ 0x1801438a8\n; > <???> @ 0x1801b8ba4\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, 0x1800b6990\npush    rdi                                                            ; +0x5, 0x1800b6995\nsub     rsp, 20h                                                       ; +0x6, 0x1800b6996\nmov     rbx, rcx                                                       ; +0xa, 0x1800b699a\nmov     rdi, rdx                                                       ; +0xd, 0x1800b699d\nmov     rcx, [rcx]                                                     ; +0x10, 0x1800b69a0\ntest    rcx, rcx                                                       ; +0x13, 0x1800b69a3\njz      short loc_1800B69B2                                            ; +0x16, 0x1800b69a6\nmov     rax, [rcx]                                                     ; +0x18, 0x1800b69a8\nmov     edx, 1                                                         ; +0x1b, 0x1800b69ab\ncall    qword ptr [rax]                                                ; +0x20, 0x1800b69b0\nmov     [rbx], rdi                                                     ; +0x22, 0x1800b69b2\nmov     rbx, [rsp+28h+arg_0]                                           ; +0x25, 0x1800b69b5\nadd     rsp, 20h                                                       ; +0x2a, 0x1800b69ba\npop     rdi                                                            ; +0x2e, 0x1800b69be\nretn                                                                   ; +0x2f, 0x1800b69bf", "xrefs": ["<???> @ 0x1801438a8", "<???> @ 0x1801b8ba4"], "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"}