//
// cocos2d::CCScriptHandlerEntry::dCCScriptHandlerEntry from 0x1800ba070 to 0x1800ba0d2 (98 bytes)
//
// 3 xrefs:
// > sub_1800BA170 @ 0x1800ba195
// > sub_1800BA1C0 @ 0x1800ba1cf
// > ??> @ 0x1801c2e44
//
// 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:22:23 +0000
//
void __fastcall cocos2d::CCScriptHandlerEntry::dCCScriptHandlerEntry(cocos2d::CCObject *this)
{
_QWORD *v2; // rax
*(_QWORD *)this = &cocos2d::CCScriptHandlerEntry::`vftable';
if ( *((_DWORD *)this + 14) )
{
v2 = qword_1801B3B78;
if ( !qword_1801B3B78 )
{
v2 = (_QWORD *)sub_1800E4AC0(8u);
if ( v2 )
*v2 = 0;
qword_1801B3B78 = v2;
}
(*(void (__fastcall **)(_QWORD, _QWORD))(*(_QWORD *)*v2 + 24LL))(*v2, *((unsigned int *)this + 14));
*((_DWORD *)this + 14) = 0;
}
cocos2d::CCObject::~CCObject(this);
}