//
// cocos2d::CCLayer::unregisterScriptKeypadHandler from 0x5cfa4c to 0x5cfa62 (22 bytes)
//
// 2 xrefs:
// > cocos2d::CCLayer::~CCLayer @ 0x5cfaa2
// > cocos2d::CCLayer::registerScriptKeypadHandler @ 0x5cfc40
//
// 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::unregisterScriptKeypadHandler(cocos2d::CCLayer *a1)
{
cocos2d::CCScriptHandlerEntry *m_pScriptKeypadHandlerEntry; // r0
m_pScriptKeypadHandlerEntry = a1->m_pScriptKeypadHandlerEntry;
if ( m_pScriptKeypadHandlerEntry )
{
cocos2d::CCObject::release(m_pScriptKeypadHandlerEntry);
a1->m_pScriptKeypadHandlerEntry = nullptr;
}
}