//
// sub_1800B65B0 from 0x1800b65b0 to 0x1800b65fb (75 bytes)
//
// 2 xrefs:
// > ??> @ 0x180106d80
// > ??> @ 0x1801b8b44
//
// 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
//
// Hidden C++ exception states: #wind=1
cocos2d::CCObject *__fastcall sub_1800B65B0(cocos2d::CCObject *this, char a2)
{
this->__vftable = (cocos2d::CCObject_vtbl *)&cocos2d::CCSchedulerScriptHandlerEntry::`vftable';
cocos2d::CCObject::release(*((cocos2d::CCObject **)this + 8));
sub_1800B64C0(this);
if ( (a2 & 1) != 0 )
j_j_free_0(this);
return this;
}