//
// cocos2d::CCKeyboardDispatcher::forceAddDelegate from 0x5fb14c to 0x5fb166 (26 bytes)
//
// 2 xrefs:
// > cocos2d::CCKeyboardDispatcher::addDelegate @ 0x5fb176
// > cocos2d::CCKeyboardDispatcher::dispatchKeyboardMSG @ 0x5fb306
//
// 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::CCKeyboardDispatcher::forceAddDelegate(
cocos2d::CCKeyboardDispatcher *a1,
cocos2d::CCKeyboardDelegate *a2)
{
cocos2d::CCKeyboardHandler *v3; // r1
cocos2d::CCObject *v4; // r2
v3 = cocos2d::CCKeyboardHandler::handlerWithDelegate(a2);
if ( v3 )
cocos2d::CCArray::addObject(a1->m_pDelegates, (cocos2d::_ccArray *)v3, v4);
}