//
// MPLobbyLayer::updateComments from 0x66a32a to 0x66a3aa (128 bytes)
//
// 1 xrefs:
// > `non-virtual thunk to'MPLobbyLayer::updateComments @ 0x66a3ae
//
// This function is hookable on this platform (idp: arm, 32 bit: True, 64 bit: False!
//
// Using BromaIDA 8.3.0 @ https://github.com/Stazzical/BromaIDA
// Using bindings at commit 1c6ec395 at Thu Nov 26 21:29:22 2026 from https://github.com/geode-sdk/bindings
// Generated at Fri, 27 Nov 2026 11:55:45 +0000
//
cocos2d::CCArray *__fastcall MPLobbyLayer::updateComments(MPLobbyLayer *this)
{
int v2; // r0
cocos2d::CCArray *result; // r0
cocos2d::CCArray *v4; // r8
unsigned int v5; // r4
int v6; // r7
cocos2d::CCObject **v7; // r5
cocos2d::CCNode *v8; // r9
v2 = GJMultiplayerManager::sharedState(this);
result = (cocos2d::CCArray *)cocos2d::CCDictionary::objectForKey(
*(cocos2d::CCDictionary **)(v2 + 276),
*((_DWORD *)this + 84));
v4 = result;
if ( result )
{
result = (cocos2d::CCArray *)cocos2d::CCArray::count(result);
if ( result )
{
v5 = 0;
v6 = 0;
v7 = *(cocos2d::CCObject ***)(*((_DWORD *)this + 87) + 440);
while ( 1 )
{
result = (cocos2d::CCArray *)cocos2d::CCArray::count(v4);
if ( v5 >= (unsigned int)result )
break;
v8 = (cocos2d::CCNode *)cocos2d::CCArray::objectAtIndex(v4, v5);
if ( !cocos2d::CCArray::containsObject(v7[82], v8) )
{
BoomListView::addObjectToList((BoomListView *)v7, v8);
v6 = 1;
}
++v5;
}
if ( v6 )
{
TableView::reloadData(v7[81]);
result = (cocos2d::CCArray *)CCScrollLayerExt::doConstraintContent(v7[81], 1);
*((_BYTE *)this + 360) = 1;
}
}
}
return result;
}