//
// cocos2d::CCDirector::setMouseDispatcher from 0x1800bf6c0 to 0x1800bf700 (64 bytes)
//
// 5 xrefs:
// > ??> @ 0x180107338
// > ??> @ 0x180107448
// > ??> @ 0x1801438a8
// > ??> @ 0x1801b9318
// > ??> @ 0x1801b9324
//
// 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::setMouseDispatcher(
cocos2d::CCDirector *this,
struct cocos2d::CCMouseDispatcher *a2)
{
cocos2d::CCMouseDispatcher *m_pMouseDispatcher; // rcx
if ( a2 )
cocos2d::CCObject::retain(a2);
m_pMouseDispatcher = this->m_pMouseDispatcher;
if ( m_pMouseDispatcher )
cocos2d::CCObject::release(m_pMouseDispatcher);
this->m_pMouseDispatcher = a2;
}