//
// cocos2d::extension::CCControl::dispatchListforControlEvent from 0xa998e4 to 0xa99954 (112 bytes)
//
// 4 xrefs:
// > cocos2d::extension::CCControl::addTargetWithActionForControlEvent @ 0xa9998c
// > cocos2d::extension::CCControl::removeTargetWithActionForControlEvent @ 0xa99b3c
// > cocos2d::extension::CCControl::sendActionsForControlEvents @ 0xa99f7c
// > ??> @ 0x91320
//
// 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
//
cocos2d::CCObject *__fastcall cocos2d::extension::CCControl::dispatchListforControlEvent(
cocos2d::extension::CCControl *this,
unsigned int a2)
{
cocos2d::CCObject *result; // x0
unsigned int v5; // w1
cocos2d::CCObject *v6; // x19
result = cocos2d::CCDictionary::objectForKey(this->m_pDispatchTable, (int)a2);
if ( !result )
{
v6 = (cocos2d::CCObject *)cocos2d::CCArray::createWithCapacity((cocos2d::CCArray *)((char *)&dword_0 + 1), v5);
cocos2d::CCDictionary::setObject(this->m_pDispatchTable, v6, a2);
return v6;
}
return result;
}