//
// cocos2d::CCSchedulerScriptHandlerEntry::create from 0xd81d78 to 0xd81e18 (160 bytes)
//
// 2 xrefs:
// > cocos2d::CCScheduler::scheduleScriptFunc @ 0xd24964
// > ??> @ 0xc9b80
//
// This function is hookable on this platform (idp: arm, 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 13:08:10 +0000
//
__int64 __fastcall cocos2d::CCSchedulerScriptHandlerEntry::create(
cocos2d::CCSchedulerScriptHandlerEntry *this,
char a2,
float a3)
{
int v3; // w20
__int64 v5; // x19
v3 = (int)this;
v5 = operator new(0x50u);
cocos2d::CCObject::CCObject(v5);
*(_DWORD *)(v5 + 56) = v3;
*(_QWORD *)v5 = &off_152DF80;
*(_DWORD *)(v5 + 60) = ++cocos2d::CCScriptHandlerEntry::CCScriptHandlerEntry(int)::newEntryId;
*(_QWORD *)(v5 + 64) = 0;
*(_BYTE *)(v5 + 72) = 0;
*(_QWORD *)v5 = &off_152DFE0;
*(_BYTE *)(v5 + 73) = 0;
cocos2d::CCSchedulerScriptHandlerEntry::init((cocos2d::CCSchedulerScriptHandlerEntry *)v5, a3, a2);
cocos2d::CCObject::autorelease((cocos2d::CCObject *)v5);
return v5;
}