//
// cocos2d::CCSchedulerScriptHandlerEntry::init from 0xd81d10 to 0xd81d78 (104 bytes)
//
// 2 xrefs:
// > cocos2d::CCSchedulerScriptHandlerEntry::create @ 0xd81df8
// > ??> @ 0x83d28
//
// 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::init(
cocos2d::CCSchedulerScriptHandlerEntry *this,
float a2,
char a3)
{
cocos2d::CCTimer *v5; // x20
int v6; // w1
v5 = (cocos2d::CCTimer *)operator new(0x70u);
cocos2d::CCTimer::CCTimer(v5);
v6 = *((_DWORD *)this + 14);
*((_QWORD *)this + 8) = v5;
cocos2d::CCTimer::initWithScriptHandler(v5, v6, a2);
cocos2d::CCObject::autorelease(*((cocos2d::CCObject **)this + 8));
cocos2d::CCObject::retain(*((_QWORD *)this + 8));
*((_BYTE *)this + 72) = a3;
return 1;
}