//
// cocos2d::CCTouchScriptHandlerEntry::create from 0x100306fb0 to 0x100307023 (115 bytes)
//
// 1 xrefs:
// > cocos2d::CCLayer::registerScriptTouchHandler @ 0x1004a9a01
//
// 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::CCTouchScriptHandlerEntry::create(int a1, char a2, int a3, char a4)
{
_DWORD *v6; // rbx
v6 = operator new(0x50u);
cocos2d::CCObject::CCObject(v6);
v6[14] = a1;
v6[15] = ++cocos2d::CCScriptHandlerEntry::CCScriptHandlerEntry(int)::newEntryId;
*(_QWORD *)v6 = off_100B19A68;
*((_BYTE *)v6 + 64) = a2;
v6[17] = a3;
*((_BYTE *)v6 + 72) = a4;
cocos2d::CCObject::autorelease(v6);
return v6;
}