//
// cocos2d::CCLayer::registerScriptAccelerateHandler from 0xd5d114 to 0xd5d148 (52 bytes)
//
// 1 xrefs:
// > ??> @ 0xd18d8
//
// 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:07:48 +0000
//
__int64 __fastcall cocos2d::CCLayer::registerScriptAccelerateHandler(cocos2d::CCLayer *this, unsigned int a2)
{
__int64 v3; // x0
cocos2d::CCLayer::unregisterScriptAccelerateHandler(this);
v3 = cocos2d::CCScriptHandlerEntry::create((cocos2d::CCScriptHandlerEntry *)a2, a2);
*((_QWORD *)this + 48) = v3;
return cocos2d::CCObject::retain(v3);
}