//
// cocos2d::CCNode::unregisterScriptHandler from 0x180005410 to 0x180005446 (54 bytes)
//
// 87 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
//
// This function is hookable on this platform!
//
// Using BromaIDA 8.0.0 @ https://github.com/Stazzical/BromaIDA
// Using bindings at commit ba9f177b at Thu Jul 16 22:52:06 2026 from https://github.com/geode-sdk/bindings
//
void __fastcall cocos2d::CCNode::unregisterScriptHandler(cocos2d::CCNode *this)
{
struct cocos2d::CCScriptEngineManager *v2; // rax
if ( this->m_nScriptHandler )
{
v2 = cocos2d::CCScriptEngineManager::sharedManager();
(*(void (__fastcall **)(_QWORD, _QWORD))(**(_QWORD **)v2 + 24LL))(
*(_QWORD *)v2,
(unsigned int)this->m_nScriptHandler);
this->m_nScriptHandler = 0;
}
}