//
// cocos2d::CCTouchScriptHandlerEntry::create from 0x100311474 to 0x1003114f8 (132 bytes)
//
// 1 xrefs:
// > cocos2d::CCLayer::registerScriptTouchHandler @ 0x1001c7074
//
// 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 11:03:13 +0000
//
_DWORD *__fastcall cocos2d::CCTouchScriptHandlerEntry::create(int a1, char a2, int a3, char a4)
{
_DWORD *v8; // x20
int v9; // w9
v8 = operator new(0x50u);
cocos2d::CCObject::CCObject((__int64)v8);
v9 = ++cocos2d::CCScriptHandlerEntry::CCScriptHandlerEntry(int)::newEntryId;
v8[14] = a1;
v8[15] = v9;
*(_QWORD *)v8 = off_10092C8D0;
*((_BYTE *)v8 + 64) = a2;
v8[17] = a3;
*((_BYTE *)v8 + 72) = a4;
cocos2d::CCObject::autorelease((__int64)v8);
return v8;
}