//
// cocos2d::CCDirector::setKeyboardDispatcher from 0x1800bf680 to 0x1800bf6c0 (64 bytes)
//
// 4 xrefs:
// > ??> @ 0x180107328
// > ??> @ 0x180107438
// > ??> @ 0x1801438a8
// > ??> @ 0x1801b9318
//
// 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 *this,
struct cocos2d::CCKeyboardDispatcher *a2)
{
cocos2d::CCKeyboardDispatcher *m_pKeyboardDispatcher; // rcx
if ( a2 )
cocos2d::CCObject::retain(a2);
m_pKeyboardDispatcher = this->m_pKeyboardDispatcher;
if ( m_pKeyboardDispatcher )
cocos2d::CCObject::release(m_pKeyboardDispatcher);
this->m_pKeyboardDispatcher = a2;
}