//
// cocos2d::CCLayer::unregisterScriptAccelerateHandler from 0xd5d0e4 to 0xd5d114 (48 bytes)
//
// 3 xrefs:
// > cocos2d::CCLayer::registerScriptAccelerateHandler @ 0xd5d128
// > cocos2d::CCLayer::~CCLayer @ 0xd5d1d0
// > ??> @ 0xe8660
//
// 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
//
_DWORD *__fastcall cocos2d::CCLayer::unregisterScriptAccelerateHandler(_DWORD *this)
{
__int64 v1; // x19
if ( *((_QWORD *)this + 48) )
{
v1 = (__int64)this;
this = cocos2d::CCObject::release(*((_DWORD **)this + 48));
*(_QWORD *)(v1 + 384) = 0;
}
return this;
}