//
// cocos2d::CCScheduler::scheduleScriptFunc from 0x7b5c1a to 0x7b5c46 (44 bytes)
//
// 0 xrefs:
//
// This function is hookable on this platform (idp: arm, 32 bit: True, 64 bit: False!
//
// 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 12:00:11 +0000
//
int __fastcall cocos2d::CCScheduler::scheduleScriptFunc(
cocos2d::CCScheduler *this,
cocos2d::CCSchedulerScriptHandlerEntry *a2,
int a3,
_BOOL4 a4)
{
unsigned int v5; // r1
cocos2d::CCObject *v6; // r5
cocos2d::CCObject *v7; // r0
v6 = (cocos2d::CCObject *)cocos2d::CCSchedulerScriptHandlerEntry::create(a2, a3, *(float *)&a4, a4);
if ( !*((_DWORD *)this + 21) )
{
v7 = (cocos2d::CCObject *)cocos2d::CCArray::createWithCapacity((cocos2d::CCArray *)&dword_14, v5);
*((_DWORD *)this + 21) = v7;
cocos2d::CCObject::retain(v7);
}
cocos2d::CCArray::addObject(*((cocos2d::CCArray **)this + 21), v6);
return *((_DWORD *)v6 + 14);
}