//
// sub_1800B64C0 from 0x1800b64c0 to 0x1800b6520 (96 bytes)
//
// 3 xrefs:
// > sub_1800B65B0 @ 0x1800b65d5
// > Concurrency::details::_Condition_variable::`scalar deleting destructor' @ 0x1800b660f
// > ??> @ 0x1801b8b2c
//
// 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 sub_1800B64C0(cocos2d::CCObject *this)
{
_QWORD *v2; // rax
this->__vftable = (cocos2d::CCObject_vtbl *)&cocos2d::CCScriptHandlerEntry::`vftable';
if ( *((_DWORD *)this + 14) )
{
v2 = qword_1801A9B00;
if ( !qword_1801A9B00 )
{
v2 = operator new(8u);
if ( v2 )
*v2 = 0;
qword_1801A9B00 = v2;
}
(*(void (__fastcall **)(_QWORD, _QWORD))(*(_QWORD *)*v2 + 24LL))(*v2, *((unsigned int *)this + 14));
*((_DWORD *)this + 14) = 0;
}
cocos2d::CCObject::~CCObject(this);
}