//
// cocos2d::CCSchedulerScriptHandlerEntry::create from 0x100306d00 to 0x100306dab (171 bytes)
//
// 1 xrefs:
// > cocos2d::CCScheduler::scheduleScriptFunc @ 0x1004378ae
//
// 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 12:28:34 +0000
//
_DWORD *__fastcall cocos2d::CCSchedulerScriptHandlerEntry::create(int a1, char a2, float a3)
{
_DWORD *v3; // rbx
void *v4; // r15
v3 = operator new(0x50u);
cocos2d::CCObject::CCObject(v3);
v3[14] = a1;
v3[15] = ++cocos2d::CCScriptHandlerEntry::CCScriptHandlerEntry(int)::newEntryId;
*(_QWORD *)v3 = off_100B19A08;
*((_QWORD *)v3 + 8) = 0;
*((_WORD *)v3 + 36) = 0;
v4 = operator new(0x70u);
cocos2d::CCTimer::CCTimer(v4);
*((_QWORD *)v3 + 8) = v4;
cocos2d::CCTimer::initWithScriptHandler(v4, (unsigned int)v3[14], a3);
cocos2d::CCObject::autorelease(*((_QWORD *)v3 + 8));
cocos2d::CCObject::retain(*((_QWORD *)v3 + 8));
*((_BYTE *)v3 + 72) = a2;
cocos2d::CCObject::autorelease(v3);
return v3;
}