// // cocos2d::CCKeypadDispatcher::addDelegate from 0x1800b43d0 to 0x1800b4414 (68 bytes) // // 4 xrefs: // > cocos2d::CCLayer::onEnter @ 0x180050605 // > cocos2d::CCLayer::setKeypadEnabled @ 0x180050ce2 // > @ 0x1801438a8 // > @ 0x1801b885c // // 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::addDelegate(cocos2d::CCKeypadDispatcher *this, cocos2d::CCObject_vtbl *a2) { struct cocos2d::CCKeypadHandler *v3; // rax if ( a2 ) { if ( this->m_bLocked ) { sub_18009E170((__int64)this->m_pHandlersToAdd, (__int64)a2); this->m_bToAdd = 1; } else { v3 = cocos2d::CCKeypadHandler::handlerWithDelegate(a2); if ( v3 ) cocos2d::CCArray::addObject(this->m_pDelegates, v3); } } }