//
// cocos2d::CCKeypadDispatcher::removeDelegate from 0x1001ad610 to 0x1001ad658 (72 bytes)
//
// 2 xrefs:
// > cocos2d::CCLayer::setKeypadEnabled @ 0x100148ae4
// > cocos2d::CCLayer::onExit @ 0x100148e48
//
// 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::CCKeypadDispatcher::removeDelegate(
cocos2d::CCKeypadDispatcher *a1,
cocos2d::CCKeypadDelegate *a2)
{
if ( a2 )
{
if ( a1->m_bLocked )
{
sub_100353C08(a1->m_pHandlersToRemove, a2);
a1->m_bToRemove = 1;
}
else
{
cocos2d::CCKeypadDispatcher::forceRemoveDelegate(a1, a2);
}
}
}