//
// cocos2d::CCTouchScriptHandlerEntry::create from 0xd81e30 to 0xd81ed8 (168 bytes)
//
// 2 xrefs:
// > cocos2d::CCLayer::registerScriptTouchHandler @ 0xd5bf4c
// > ??> @ 0xad2d8
//
// 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 13:08:10 +0000
//
__int64 __fastcall cocos2d::CCTouchScriptHandlerEntry::create(
cocos2d::CCTouchScriptHandlerEntry *this,
char a2,
int a3,
char a4)
{
int v4; // w20
__int64 v7; // x19
v4 = (int)this;
v7 = operator new(0x50u);
cocos2d::CCObject::CCObject(v7);
*(_DWORD *)(v7 + 56) = v4;
*(_QWORD *)v7 = &off_152DF80;
*(_DWORD *)(v7 + 60) = ++cocos2d::CCScriptHandlerEntry::CCScriptHandlerEntry(int)::newEntryId;
*(_BYTE *)(v7 + 64) = 0;
*(_DWORD *)(v7 + 68) = 0;
*(_QWORD *)v7 = &off_152E040;
*(_BYTE *)(v7 + 72) = 0;
cocos2d::CCTouchScriptHandlerEntry::init((cocos2d::CCTouchScriptHandlerEntry *)v7, a2, a3, a4);
cocos2d::CCObject::autorelease((cocos2d::CCObject *)v7);
return v7;
}