//
// cocos2d::CCScriptHandlerEntry::~CCScriptHandlerEntry from 0xd81fd4 to 0xd8202c (88 bytes)
//
// 6 xrefs:
// > cocos2d::CCScriptHandlerEntry::~CCScriptHandlerEntry @ 0xd8203c
// > cocos2d::CCSchedulerScriptHandlerEntry::~CCSchedulerScriptHandlerEntry @ 0xd82084
// > cocos2d::CCTouchScriptHandlerEntry::~CCTouchScriptHandlerEntry @ 0xd82100
// > ??> @ 0x633d0
// > ??> @ 0xb4958
// > ??> @ 0x152df88
//
// This function is hookable on this platform (idp: arm, 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 13:08:10 +0000
//
// Alternative name is '_ZN7cocos2d20CCScriptHandlerEntryD1Ev'
void __fastcall cocos2d::CCScriptHandlerEntry::~CCScriptHandlerEntry(cocos2d::CCScriptHandlerEntry *this)
{
int v2; // w1
_QWORD *v3; // x0
v2 = *((_DWORD *)this + 14);
*(_QWORD *)this = &off_152DF80;
if ( v2 )
{
v3 = cocos2d::CCScriptEngineManager::sharedManager((cocos2d::CCScriptEngineManager *)&off_152DF80);
(*(void (__fastcall **)(_QWORD, _QWORD))(*(_QWORD *)*v3 + 32LL))(*v3, *((unsigned int *)this + 14));
*((_DWORD *)this + 14) = 0;
}
cocos2d::CCObject::~CCObject(this);
}