//
// cocos2d::CCTouchScriptHandlerEntry::create from 0x10031bd00 to 0x10031bd73 (115 bytes)
//
// 1 xrefs:
// > cocos2d::CCLayer::registerScriptTouchHandler @ 0x1004b0821
//
// 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::CCTouchScriptHandlerEntry *__fastcall cocos2d::CCTouchScriptHandlerEntry::create(
int a1,
bool a2,
int a3,
bool a4)
{
cocos2d::CCTouchScriptHandlerEntry *v6; // rbx
v6 = (cocos2d::CCTouchScriptHandlerEntry *)operator new(0x50u);
cocos2d::CCObject::CCObject(v6);
v6->m_nHandler = a1;
v6->m_nEntryId = ++cocos2d::CCScriptHandlerEntry::CCScriptHandlerEntry(int)::newEntryId;
v6->__vftable = (cocos2d::CCTouchScriptHandlerEntry_vtbl *)off_100911DE0;
v6->m_bIsMultiTouches = a2;
v6->m_nPriority = a3;
v6->m_bSwallowsTouches = a4;
cocos2d::CCObject::autorelease(v6);
return v6;
}