//
// cocos2d::CCLayer::unregisterScriptTouchHandler from 0x5cede2 to 0x5cedf8 (22 bytes)
//
// 1 xrefs:
// > cocos2d::CCLayer::~CCLayer @ 0x5cfa9c
//
// 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 cocos2d::CCLayer::unregisterScriptTouchHandler(cocos2d::CCLayer *a1)
{
cocos2d::CCTouchScriptHandlerEntry *m_pScriptTouchHandlerEntry; // r0
m_pScriptTouchHandlerEntry = a1->m_pScriptTouchHandlerEntry;
if ( m_pScriptTouchHandlerEntry )
{
cocos2d::CCObject::release(m_pScriptTouchHandlerEntry);
a1->m_pScriptTouchHandlerEntry = nullptr;
}
}