//
// MPLobbyLayer::updateComments from 0x535312 to 0x535392 (128 bytes)
//
// 1 xrefs:
// > `non-virtual thunk to'MPLobbyLayer::updateComments @ 0x535396
//
// 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 MPLobbyLayer::updateComments(MPLobbyLayer *a1)
{
GJMultiplayerManager *v2; // r0
cocos2d::CCArray *v3; // r0
cocos2d::CCArray *v4; // r8
unsigned int v5; // r4
int v6; // r7
BoomListView *m_list; // r5
cocos2d::CCNode *v8; // r9
v2 = GJMultiplayerManager::sharedState();
v3 = (cocos2d::CCArray *)cocos2d::CCDictionary::objectForKey(v2->m_lobbyComments, a1->m_lobbyID);
v4 = v3;
if ( v3 && cocos2d::CCArray::count(v3) )
{
v5 = 0;
v6 = 0;
m_list = a1->m_listLayer->m_list;
while ( v5 < cocos2d::CCArray::count(v4) )
{
v8 = (cocos2d::CCNode *)cocos2d::CCArray::objectAtIndex(v4, v5);
if ( !cocos2d::CCArray::containsObject(m_list->m_entries, v8) )
{
BoomListView::addObjectToList(m_list, v8);
v6 = 1;
}
++v5;
}
if ( v6 )
{
TableView::reloadData(m_list->m_tableView);
CCScrollLayerExt::doConstraintContent(m_list->m_tableView, 1);
a1->m_awaitingLobby = 1;
}
}
}