//
// cocos2d::CCTouchScriptHandlerEntry::create from 0x100273614 to 0x100273698 (132 bytes)
//
// 1 xrefs:
// > cocos2d::CCLayer::registerScriptTouchHandler @ 0x100148780
//
// 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 *v8; // x20
int v9; // w9
v8 = (cocos2d::CCTouchScriptHandlerEntry *)operator new(0x50u);
cocos2d::CCObject::CCObject((__int64)v8);
v9 = ++cocos2d::CCScriptHandlerEntry::CCScriptHandlerEntry(int)::newEntryId;
v8->m_nHandler = a1;
v8->m_nEntryId = v9;
v8->__vftable = (cocos2d::CCTouchScriptHandlerEntry_vtbl *)off_1007D3B68;
v8->m_bIsMultiTouches = a2;
v8->m_nPriority = a3;
v8->m_bSwallowsTouches = a4;
cocos2d::CCObject::autorelease(v8);
return v8;
}