{"type": "func", "start": 6442472464, "end": 6442472518, "name": "cocos2d::CCNode::unregisterScriptHandler", "pseudocode": "// \n// cocos2d::CCNode::unregisterScriptHandler from 0x180005410 to 0x180005446 (54 bytes)\n// \n// 87 xrefs:\n// > <???> @ 0x1800e5680\n// > <???> @ 0x1800e5ce0\n// > <???> @ 0x1800e6050\n// > <???> @ 0x1800e69b0\n// > <???> @ 0x1800e6eb8\n// > <???> @ 0x1800eb680\n// > <???> @ 0x1800ebb20\n// > <???> @ 0x1800ebff8\n// > <???> @ 0x1800ec520\n// > <???> @ 0x1800ecb78\n// > <???> @ 0x1800ed190\n// > <???> @ 0x1800ed650\n// > <???> @ 0x1800edb88\n// > <???> @ 0x1800ee0f0\n// > <???> @ 0x1800ee6c8\n// > <???> @ 0x1800eeb88\n// > <???> @ 0x1800eef10\n// > <???> @ 0x1800ef290\n// > <???> @ 0x1800ef618\n// > <???> @ 0x1800ef998\n// > <???> @ 0x1800efd18\n// > <???> @ 0x1800f00b8\n// > <???> @ 0x1800f0458\n// > <???> @ 0x1800f07f8\n// > <???> @ 0x1800f0b98\n// > <???> @ 0x1800f0f38\n// > <???> @ 0x1800f12d8\n// > <???> @ 0x1800f1678\n// > <???> @ 0x1800f1a18\n// > <???> @ 0x1800f1da8\n// > <???> @ 0x1800f2130\n// > <???> @ 0x1800f24b8\n// > <???> @ 0x1800f2840\n// > <???> @ 0x1800f2bc8\n// > <???> @ 0x1800f2f50\n// > <???> @ 0x1800f32d8\n// > <???> @ 0x1800f3660\n// > <???> @ 0x1800f39e0\n// > <???> @ 0x1800f3d70\n// > <???> @ 0x1800f4108\n// > <???> @ 0x1800f44a0\n// > <???> @ 0x1800f4838\n// > <???> @ 0x1800f4bd0\n// > <???> @ 0x1800f4f68\n// > <???> @ 0x1800f5318\n// > <???> @ 0x1800f56a0\n// > <???> @ 0x1800f5a30\n// > <???> @ 0x1800f5dc0\n// > <???> @ 0x1800f6150\n// > <???> @ 0x1800f64e0\n// > <???> @ 0x1800f6870\n// > <???> @ 0x1800f6c00\n// > <???> @ 0x1800f6f98\n// > <???> @ 0x1800f7500\n// > <???> @ 0x1800f7928\n// > <???> @ 0x1800f7d70\n// > <???> @ 0x1800f81b8\n// > <???> @ 0x1800f8600\n// > <???> @ 0x1800f8a60\n// > <???> @ 0x1800f8ec0\n// > <???> @ 0x1800f9310\n// > <???> @ 0x1800f96d8\n// > <???> @ 0x1800f9af0\n// > <???> @ 0x1800f9f00\n// > <???> @ 0x1800fa330\n// > <???> @ 0x1800fa9a0\n// > <???> @ 0x1800fb010\n// > <???> @ 0x1800fb680\n// > <???> @ 0x1800fbcf0\n// > <???> @ 0x1800fc360\n// > <???> @ 0x1800fc9d0\n// > <???> @ 0x1800fd040\n// > <???> @ 0x1800fd6b0\n// > <???> @ 0x1800fdd20\n// > <???> @ 0x1800fe390\n// > <???> @ 0x1800fea00\n// > <???> @ 0x1800ff248\n// > <???> @ 0x1800ffce8\n// > <???> @ 0x180103a30\n// > <???> @ 0x180103f20\n// > <???> @ 0x180105458\n// > <???> @ 0x180105830\n// > <???> @ 0x180105c88\n// > <???> @ 0x1801060f0\n// > <???> @ 0x180106a28\n// > <???> @ 0x1801438a8\n// > <???> @ 0x1801ad6b4\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::CCNode::unregisterScriptHandler(cocos2d::CCNode *this)\n{\n  struct cocos2d::CCScriptEngineManager *v2; // rax\n\n  if ( this->m_nScriptHandler )\n  {\n    v2 = cocos2d::CCScriptEngineManager::sharedManager();\n    (*(void (__fastcall **)(_QWORD, _QWORD))(**(_QWORD **)v2 + 24LL))(\n      *(_QWORD *)v2,\n      (unsigned int)this->m_nScriptHandler);\n    this->m_nScriptHandler = 0;\n  }\n}", "assembly": "; \n; cocos2d::CCNode::unregisterScriptHandler from 0x180005410 to 0x180005446 (54 bytes)\n; \n; 87 xrefs:\n; > <???> @ 0x1800e5680\n; > <???> @ 0x1800e5ce0\n; > <???> @ 0x1800e6050\n; > <???> @ 0x1800e69b0\n; > <???> @ 0x1800e6eb8\n; > <???> @ 0x1800eb680\n; > <???> @ 0x1800ebb20\n; > <???> @ 0x1800ebff8\n; > <???> @ 0x1800ec520\n; > <???> @ 0x1800ecb78\n; > <???> @ 0x1800ed190\n; > <???> @ 0x1800ed650\n; > <???> @ 0x1800edb88\n; > <???> @ 0x1800ee0f0\n; > <???> @ 0x1800ee6c8\n; > <???> @ 0x1800eeb88\n; > <???> @ 0x1800eef10\n; > <???> @ 0x1800ef290\n; > <???> @ 0x1800ef618\n; > <???> @ 0x1800ef998\n; > <???> @ 0x1800efd18\n; > <???> @ 0x1800f00b8\n; > <???> @ 0x1800f0458\n; > <???> @ 0x1800f07f8\n; > <???> @ 0x1800f0b98\n; > <???> @ 0x1800f0f38\n; > <???> @ 0x1800f12d8\n; > <???> @ 0x1800f1678\n; > <???> @ 0x1800f1a18\n; > <???> @ 0x1800f1da8\n; > <???> @ 0x1800f2130\n; > <???> @ 0x1800f24b8\n; > <???> @ 0x1800f2840\n; > <???> @ 0x1800f2bc8\n; > <???> @ 0x1800f2f50\n; > <???> @ 0x1800f32d8\n; > <???> @ 0x1800f3660\n; > <???> @ 0x1800f39e0\n; > <???> @ 0x1800f3d70\n; > <???> @ 0x1800f4108\n; > <???> @ 0x1800f44a0\n; > <???> @ 0x1800f4838\n; > <???> @ 0x1800f4bd0\n; > <???> @ 0x1800f4f68\n; > <???> @ 0x1800f5318\n; > <???> @ 0x1800f56a0\n; > <???> @ 0x1800f5a30\n; > <???> @ 0x1800f5dc0\n; > <???> @ 0x1800f6150\n; > <???> @ 0x1800f64e0\n; > <???> @ 0x1800f6870\n; > <???> @ 0x1800f6c00\n; > <???> @ 0x1800f6f98\n; > <???> @ 0x1800f7500\n; > <???> @ 0x1800f7928\n; > <???> @ 0x1800f7d70\n; > <???> @ 0x1800f81b8\n; > <???> @ 0x1800f8600\n; > <???> @ 0x1800f8a60\n; > <???> @ 0x1800f8ec0\n; > <???> @ 0x1800f9310\n; > <???> @ 0x1800f96d8\n; > <???> @ 0x1800f9af0\n; > <???> @ 0x1800f9f00\n; > <???> @ 0x1800fa330\n; > <???> @ 0x1800fa9a0\n; > <???> @ 0x1800fb010\n; > <???> @ 0x1800fb680\n; > <???> @ 0x1800fbcf0\n; > <???> @ 0x1800fc360\n; > <???> @ 0x1800fc9d0\n; > <???> @ 0x1800fd040\n; > <???> @ 0x1800fd6b0\n; > <???> @ 0x1800fdd20\n; > <???> @ 0x1800fe390\n; > <???> @ 0x1800fea00\n; > <???> @ 0x1800ff248\n; > <???> @ 0x1800ffce8\n; > <???> @ 0x180103a30\n; > <???> @ 0x180103f20\n; > <???> @ 0x180105458\n; > <???> @ 0x180105830\n; > <???> @ 0x180105c88\n; > <???> @ 0x1801060f0\n; > <???> @ 0x180106a28\n; > <???> @ 0x1801438a8\n; > <???> @ 0x1801ad6b4\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\npush    rbx                                                            ; +0x0, 0x180005410\nsub     rsp, 20h                                                       ; +0x2, 0x180005412\ncmp     dword ptr [rcx+124h], 0                                        ; +0x6, 0x180005416\nmov     rbx, rcx                                                       ; +0xd, 0x18000541d\njz      short loc_180005440                                            ; +0x10, 0x180005420\ncall    ?sharedManager@CCScriptEngineManager@cocos2d@@SAPEAV12@XZ; cocos2d::CCScriptEngineManager::sharedManager(void) ; +0x12, 0x180005422\nmov     edx, [rbx+124h]                                                ; +0x17, 0x180005427\nmov     rcx, [rax]                                                     ; +0x1d, 0x18000542d\nmov     rax, [rcx]                                                     ; +0x20, 0x180005430\ncall    qword ptr [rax+18h]                                            ; +0x23, 0x180005433\nmov     dword ptr [rbx+124h], 0                                        ; +0x26, 0x180005436\nadd     rsp, 20h                                                       ; +0x30, 0x180005440\npop     rbx                                                            ; +0x34, 0x180005444\nretn                                                                   ; +0x35, 0x180005445", "xrefs": ["<???> @ 0x1800e5680", "<???> @ 0x1800e5ce0", "<???> @ 0x1800e6050", "<???> @ 0x1800e69b0", "<???> @ 0x1800e6eb8", "<???> @ 0x1800eb680", "<???> @ 0x1800ebb20", "<???> @ 0x1800ebff8", "<???> @ 0x1800ec520", "<???> @ 0x1800ecb78", "<???> @ 0x1800ed190", "<???> @ 0x1800ed650", "<???> @ 0x1800edb88", "<???> @ 0x1800ee0f0", "<???> @ 0x1800ee6c8", "<???> @ 0x1800eeb88", "<???> @ 0x1800eef10", "<???> @ 0x1800ef290", "<???> @ 0x1800ef618", "<???> @ 0x1800ef998", "<???> @ 0x1800efd18", "<???> @ 0x1800f00b8", "<???> @ 0x1800f0458", "<???> @ 0x1800f07f8", "<???> @ 0x1800f0b98", "<???> @ 0x1800f0f38", "<???> @ 0x1800f12d8", "<???> @ 0x1800f1678", "<???> @ 0x1800f1a18", "<???> @ 0x1800f1da8", "<???> @ 0x1800f2130", "<???> @ 0x1800f24b8", "<???> @ 0x1800f2840", "<???> @ 0x1800f2bc8", "<???> @ 0x1800f2f50", "<???> @ 0x1800f32d8", "<???> @ 0x1800f3660", "<???> @ 0x1800f39e0", "<???> @ 0x1800f3d70", "<???> @ 0x1800f4108", "<???> @ 0x1800f44a0", "<???> @ 0x1800f4838", "<???> @ 0x1800f4bd0", "<???> @ 0x1800f4f68", "<???> @ 0x1800f5318", "<???> @ 0x1800f56a0", "<???> @ 0x1800f5a30", "<???> @ 0x1800f5dc0", "<???> @ 0x1800f6150", "<???> @ 0x1800f64e0", "<???> @ 0x1800f6870", "<???> @ 0x1800f6c00", "<???> @ 0x1800f6f98", "<???> @ 0x1800f7500", "<???> @ 0x1800f7928", "<???> @ 0x1800f7d70", "<???> @ 0x1800f81b8", "<???> @ 0x1800f8600", "<???> @ 0x1800f8a60", "<???> @ 0x1800f8ec0", "<???> @ 0x1800f9310", "<???> @ 0x1800f96d8", "<???> @ 0x1800f9af0", "<???> @ 0x1800f9f00", "<???> @ 0x1800fa330", "<???> @ 0x1800fa9a0", "<???> @ 0x1800fb010", "<???> @ 0x1800fb680", "<???> @ 0x1800fbcf0", "<???> @ 0x1800fc360", "<???> @ 0x1800fc9d0", "<???> @ 0x1800fd040", "<???> @ 0x1800fd6b0", "<???> @ 0x1800fdd20", "<???> @ 0x1800fe390", "<???> @ 0x1800fea00", "<???> @ 0x1800ff248", "<???> @ 0x1800ffce8", "<???> @ 0x180103a30", "<???> @ 0x180103f20", "<???> @ 0x180105458", "<???> @ 0x180105830", "<???> @ 0x180105c88", "<???> @ 0x1801060f0", "<???> @ 0x180106a28", "<???> @ 0x1801438a8", "<???> @ 0x1801ad6b4"], "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"}