//
// cocos2d::CCNode::unregisterScriptHandler from 0x180005510 to 0x180005546 (54 bytes)
//
// 87 xrefs:
// > ??> @ 0x1800eb6c0
// > ??> @ 0x1800ebd30
// > ??> @ 0x1800ec0b0
// > ??> @ 0x1800eca08
// > ??> @ 0x1800ecf18
// > ??> @ 0x1800f1730
// > ??> @ 0x1800f1c20
// > ??> @ 0x1800f2108
// > ??> @ 0x1800f2640
// > ??> @ 0x1800f2cb8
// > ??> @ 0x1800f32f0
// > ??> @ 0x1800f37d0
// > ??> @ 0x1800f3d28
// > ??> @ 0x1800f42b0
// > ??> @ 0x1800f48a8
// > ??> @ 0x1800f4d88
// > ??> @ 0x1800f5120
// > ??> @ 0x1800f54b0
// > ??> @ 0x1800f5848
// > ??> @ 0x1800f5bd8
// > ??> @ 0x1800f5f68
// > ??> @ 0x1800f6318
// > ??> @ 0x1800f66c8
// > ??> @ 0x1800f6a78
// > ??> @ 0x1800f6e28
// > ??> @ 0x1800f71d8
// > ??> @ 0x1800f7588
// > ??> @ 0x1800f7938
// > ??> @ 0x1800f7ce8
// > ??> @ 0x1800f8088
// > ??> @ 0x1800f8420
// > ??> @ 0x1800f87b8
// > ??> @ 0x1800f8b50
// > ??> @ 0x1800f8ee8
// > ??> @ 0x1800f9280
// > ??> @ 0x1800f9618
// > ??> @ 0x1800f99b0
// > ??> @ 0x1800f9d40
// > ??> @ 0x1800fa0e0
// > ??> @ 0x1800fa488
// > ??> @ 0x1800fa830
// > ??> @ 0x1800fabd8
// > ??> @ 0x1800faf80
// > ??> @ 0x1800fb328
// > ??> @ 0x1800fb6e8
// > ??> @ 0x1800fba80
// > ??> @ 0x1800fbe20
// > ??> @ 0x1800fc1c0
// > ??> @ 0x1800fc560
// > ??> @ 0x1800fc900
// > ??> @ 0x1800fcca0
// > ??> @ 0x1800fd040
// > ??> @ 0x1800fd3e0
// > ??> @ 0x1800fd978
// > ??> @ 0x1800fddb0
// > ??> @ 0x1800fe208
// > ??> @ 0x1800fe660
// > ??> @ 0x1800feab8
// > ??> @ 0x1800fef28
// > ??> @ 0x1800ff398
// > ??> @ 0x1800ff7f8
// > ??> @ 0x1800ffbc8
// > ??> @ 0x1800ffff8
// > ??> @ 0x180100418
// > ??> @ 0x180100858
// > ??> @ 0x180100ee0
// > ??> @ 0x180101560
// > ??> @ 0x180101be0
// > ??> @ 0x180102260
// > ??> @ 0x1801028e0
// > ??> @ 0x180102f60
// > ??> @ 0x1801035e0
// > ??> @ 0x180103c60
// > ??> @ 0x1801042e0
// > ??> @ 0x180104960
// > ??> @ 0x180104fe0
// > ??> @ 0x1801056b0
// > ??> @ 0x180106338
// > ??> @ 0x18010a0f8
// > ??> @ 0x18010a5f8
// > ??> @ 0x18010bb40
// > ??> @ 0x18010bf20
// > ??> @ 0x18010c388
// > ??> @ 0x18010c7e8
// > ??> @ 0x18010d110
// > ??> @ 0x18014cf68
// > ??> @ 0x1801b76d8
//
// This function is hookable on this platform (idp: pc, 32 bit: False, 64 bit: True!
//
// Using BromaIDA 8.3.0 @ https://github.com/Stazzical/BromaIDA
// Using bindings at commit 1c6ec395 at Thu Nov 26 21:29:22 2026 from https://github.com/geode-sdk/bindings
// Generated at Fri, 27 Nov 2026 11:21:18 +0000
//
void __fastcall cocos2d::CCNode::unregisterScriptHandler(cocos2d::CCNode *this)
{
struct cocos2d::CCScriptEngineManager *v2; // rax
if ( *((_DWORD *)this + 73) )
{
v2 = cocos2d::CCScriptEngineManager::sharedManager();
(*(void (__fastcall **)(_QWORD, _QWORD))(**(_QWORD **)v2 + 24LL))(*(_QWORD *)v2, *((unsigned int *)this + 73));
*((_DWORD *)this + 73) = 0;
}
}