//
// cocos2d::CCComponentContainer::visit from 0x5f24ce to 0x5f2506 (56 bytes)
//
// 0 xrefs:
//
// 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::CCComponentContainer::visit(cocos2d::CCComponentContainer *a1, float a2)
{
cocos2d::CCDictionary *m_pComponents; // r3
cocos2d::CCDictElement *m_pElements; // r3
cocos2d::CCDictElement *next; // r4
cocos2d::CCDictElement *v6; // r2
m_pComponents = a1->m_pComponents;
if ( m_pComponents )
{
m_pElements = m_pComponents->m_pElements;
if ( m_pElements )
next = (cocos2d::CCDictElement *)m_pElements->hh.next;
else
next = nullptr;
while ( m_pElements )
{
((void (__fastcall *)(cocos2d::CCObject *, _DWORD))m_pElements->m_pObject->update)(
m_pElements->m_pObject,
LODWORD(a2));
if ( next )
v6 = (cocos2d::CCDictElement *)next->hh.next;
else
v6 = nullptr;
m_pElements = next;
next = v6;
}
}
}