//
// cocos2d::CCScheduler::scheduleScriptFunc from 0x1800c1b20 to 0x1800c1b75 (85 bytes)
//
// 2 xrefs:
// > ??> @ 0x1801438a8
// > ??> @ 0x1801b9528
//
// 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
//
__int64 __fastcall cocos2d::CCScheduler::scheduleScriptFunc(cocos2d::CCScheduler *this, int a2, float a3, char a4)
{
cocos2d::CCObject *v5; // rdi
cocos2d::CCArray *v6; // rax
v5 = sub_1800B6730(a2, a3, a4);
if ( !this->m_pScriptHandlerEntries )
{
v6 = cocos2d::CCArray::createWithCapacity(0x14u);
this->m_pScriptHandlerEntries = v6;
cocos2d::CCObject::retain(v6);
}
cocos2d::CCArray::addObject(this->m_pScriptHandlerEntries, v5);
return HIDWORD(v5[1].__vftable);
}