//
// cocos2d::CCDirector::setKeyboardDispatcher from 0x1001766dc to 0x100176718 (60 bytes)
//
// 2 xrefs:
// > ??> @ 0x10079fd88
// > ??> @ 0x10079feb8
//
// 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::CCDirector::setKeyboardDispatcher(cocos2d::CCDirector *a1, cocos2d::CCKeyboardDispatcher *a2)
{
cocos2d::CCKeyboardDispatcher *m_pKeyboardDispatcher; // x0
if ( a2 )
cocos2d::CCObject::retain(a2);
m_pKeyboardDispatcher = a1->m_pKeyboardDispatcher;
if ( m_pKeyboardDispatcher )
cocos2d::CCObject::release(m_pKeyboardDispatcher);
a1->m_pKeyboardDispatcher = a2;
}