//
// cocos2d::CCLayer::unregisterScriptAccelerateHandler from 0x1004b0340 to 0x1004b036c (44 bytes)
//
// 0 xrefs:
//
// This function is hookable on this platform!
//
// Using BromaIDA 8.0.0 @ https://github.com/Stazzical/BromaIDA
// Using bindings at commit ba9f177b at Thu Jul 16 22:52:06 2026 from https://github.com/geode-sdk/bindings
//
void __fastcall cocos2d::CCLayer::unregisterScriptAccelerateHandler(cocos2d::CCLayer *a1)
{
cocos2d::CCScriptHandlerEntry *m_pScriptAccelerateHandlerEntry; // rdi
m_pScriptAccelerateHandlerEntry = a1->m_pScriptAccelerateHandlerEntry;
if ( m_pScriptAccelerateHandlerEntry )
{
cocos2d::CCObject::release(m_pScriptAccelerateHandlerEntry);
a1->m_pScriptAccelerateHandlerEntry = nullptr;
}
}