{"type": "func", "start": 6443214080, "end": 6443214153, "name": "cocos2d::CCScriptEngineManager::purgeSharedManager", "pseudocode": "// \n// cocos2d::CCScriptEngineManager::purgeSharedManager from 0x1800ba500 to 0x1800ba549 (73 bytes)\n// \n// 2 xrefs:\n// > <???> @ 0x18014cf68\n// > <???> @ 0x1801c2eb0\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::purgeSharedManager()\n{\n  _QWORD *v0; // rbx\n\n  v0 = qword_1801B3B78;\n  if ( qword_1801B3B78 )\n  {\n    if ( *(_QWORD *)qword_1801B3B78 )\n    {\n      (***(void (__fastcall ****)(_QWORD, __int64))qword_1801B3B78)(*(_QWORD *)qword_1801B3B78, 1);\n      *v0 = 0;\n    }\n    j_j_free_0(v0);\n    qword_1801B3B78 = nullptr;\n  }\n}", "assembly": "; \n; cocos2d::CCScriptEngineManager::purgeSharedManager from 0x1800ba500 to 0x1800ba549 (73 bytes)\n; \n; 2 xrefs:\n; > <???> @ 0x18014cf68\n; > <???> @ 0x1801c2eb0\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; \npush    rbx                                                            ; +0x0, 0x1800ba500\nsub     rsp, 20h                                                       ; +0x2, 0x1800ba502\nmov     rbx, cs:qword_1801B3B78                                        ; +0x6, 0x1800ba506\ntest    rbx, rbx                                                       ; +0xd, 0x1800ba50d\njz      short loc_1800BA543                                            ; +0x10, 0x1800ba510\nmov     rcx, [rbx]                                                     ; +0x12, 0x1800ba512\ntest    rcx, rcx                                                       ; +0x15, 0x1800ba515\njz      short loc_1800BA52B                                            ; +0x18, 0x1800ba518\nmov     rax, [rcx]                                                     ; +0x1a, 0x1800ba51a\nmov     edx, 1                                                         ; +0x1d, 0x1800ba51d\ncall    qword ptr [rax]                                                ; +0x22, 0x1800ba522\nmov     qword ptr [rbx], 0                                             ; +0x24, 0x1800ba524\nmov     edx, 8                                                         ; +0x2b, 0x1800ba52b\nmov     rcx, rbx; Block                                                ; +0x30, 0x1800ba530\ncall    j_j_free_0                                                     ; +0x33, 0x1800ba533\nmov     cs:qword_1801B3B78, 0                                          ; +0x38, 0x1800ba538\nadd     rsp, 20h                                                       ; +0x43, 0x1800ba543\npop     rbx                                                            ; +0x47, 0x1800ba547\nretn                                                                   ; +0x48, 0x1800ba548", "xrefs": ["<???> @ 0x18014cf68", "<???> @ 0x1801c2eb0"], "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"}