//
// cocos2d::CCScriptHandlerEntry::create from 0x100306bb0 to 0x100306bfd (77 bytes)
//
// 2 xrefs:
// > cocos2d::CCLayer::registerScriptAccelerateHandler @ 0x1004a9d3c
// > cocos2d::CCLayer::registerScriptKeypadHandler @ 0x1004a9eec
//
// 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::CCScriptHandlerEntry::create(int a1)
{
_DWORD *v1; // rbx
v1 = operator new(0x40u);
cocos2d::CCObject::CCObject(v1);
*(_QWORD *)v1 = off_100B199A8;
v1[14] = a1;
v1[15] = ++cocos2d::CCScriptHandlerEntry::CCScriptHandlerEntry(int)::newEntryId;
cocos2d::CCObject::autorelease(v1);
return v1;
}