//
// cocos2d::CCComponentContainer::visit from 0x180097020 to 0x180097080 (96 bytes)
//
// 5 xrefs:
// > ??> @ 0x1801045c0
// > ??> @ 0x18013e784
// > ??> @ 0x18013e794
// > ??> @ 0x1801438a8
// > ??> @ 0x1801b696c
//
// 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::CCComponentContainer::visit(cocos2d::CCComponentContainer *this, float a2)
{
cocos2d::CCDictionary *m_pComponents; // rcx
cocos2d::CCDictElement *m_pElements; // rcx
cocos2d::CCDictElement *i; // rbx
m_pComponents = this->m_pComponents;
if ( m_pComponents )
{
m_pElements = m_pComponents->m_pElements;
if ( m_pElements )
{
for ( i = (cocos2d::CCDictElement *)m_pElements->hh.next; ; i = (cocos2d::CCDictElement *)i->hh.next )
{
((void (__fastcall *)(cocos2d::CCObject *))m_pElements->m_pObject->update)(m_pElements->m_pObject);
m_pElements = i;
if ( !i )
break;
}
}
}
}