//
// cocos2d::CCScriptHandlerEntry::create from 0xd81cac to 0xd81d10 (100 bytes)
//
// 3 xrefs:
// > cocos2d::CCLayer::registerScriptAccelerateHandler @ 0xd5d134
// > cocos2d::CCLayer::registerScriptKeypadHandler @ 0xd5d490
// > ??> @ 0xf49a8
//
// 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
//
cocos2d::CCObject *__fastcall cocos2d::CCScriptHandlerEntry::create(cocos2d::CCScriptHandlerEntry *this)
{
int v1; // w20
cocos2d::CCObject *v2; // x19
int v3; // w2
v1 = (int)this;
v2 = (cocos2d::CCObject *)operator new(0x40u);
cocos2d::CCObject::CCObject((__int64)v2);
*((_DWORD *)v2 + 14) = v1;
*(_QWORD *)v2 = &off_152DF80;
v3 = cocos2d::CCScriptHandlerEntry::CCScriptHandlerEntry(int)::newEntryId + 1;
*((_DWORD *)v2 + 15) = cocos2d::CCScriptHandlerEntry::CCScriptHandlerEntry(int)::newEntryId + 1;
cocos2d::CCScriptHandlerEntry::CCScriptHandlerEntry(int)::newEntryId = v3;
cocos2d::CCObject::autorelease(v2);
return v2;
}