//
// cocos2d::CCLayer::unregisterScriptTouchHandler from 0x180051240 to 0x18005126b (43 bytes)
//
// 8 xrefs:
// > ??> @ 0x1800ed268
// > ??> @ 0x1800ed728
// > ??> @ 0x1800edc60
// > ??> @ 0x1800ee1c8
// > ??> @ 0x1800ee7a0
// > ??> @ 0x1800f7070
// > ??> @ 0x1801438a8
// > ??> @ 0x1801b21cc
//
// 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::unregisterScriptTouchHandler(cocos2d::CCLayer *this)
{
cocos2d::CCTouchScriptHandlerEntry *m_pScriptTouchHandlerEntry; // rcx
m_pScriptTouchHandlerEntry = this->m_pScriptTouchHandlerEntry;
if ( m_pScriptTouchHandlerEntry )
{
cocos2d::CCObject::release(m_pScriptTouchHandlerEntry);
this->m_pScriptTouchHandlerEntry = nullptr;
}
}