//
// cocos2d::CCScriptHandlerEntry::create from 0xb10414 to 0xb10478 (100 bytes)
//
// 3 xrefs:
// > cocos2d::CCLayer::registerScriptAccelerateHandler @ 0xaeb3d4
// > cocos2d::CCLayer::registerScriptKeypadHandler @ 0xaeb730
// > ??> @ 0xbb938
//
// This function is hookable on this platform!
//
// Using BromaIDA 8.0.0 @ https://github.com/Stazzical/BromaIDA
// Using bindings at commit ba9f177b at Thu Jul 16 22:52:06 2026 from https://github.com/geode-sdk/bindings
//
cocos2d::CCScriptHandlerEntry *cocos2d::CCScriptHandlerEntry::create(int a1)
{
cocos2d::CCScriptHandlerEntry *v2; // x19
int v3; // w2
v2 = (cocos2d::CCScriptHandlerEntry *)operator new(0x40u);
cocos2d::CCObject::CCObject(v2);
v2->m_nHandler = a1;
v2->__vftable = (cocos2d::CCScriptHandlerEntry_vtbl *)&off_1218140;
v3 = cocos2d::CCScriptHandlerEntry::CCScriptHandlerEntry(int)::newEntryId + 1;
v2->m_nEntryId = cocos2d::CCScriptHandlerEntry::CCScriptHandlerEntry(int)::newEntryId + 1;
cocos2d::CCScriptHandlerEntry::CCScriptHandlerEntry(int)::newEntryId = v3;
cocos2d::CCObject::autorelease(v2);
return v2;
}