//
// MPLobbyLayer::updateComments from 0xb054fc to 0xb055f0 (244 bytes)
//
// 3 xrefs:
// > `non-virtual thunk to'MPLobbyLayer::updateComments @ 0xb055f4
// > ??> @ 0x9c448
// > ??> @ 0x14b11a0
//
// This function is hookable on this platform (idp: arm, 32 bit: False, 64 bit: True!
//
// 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 13:01:23 +0000
//
cocos2d::CCArray *__fastcall MPLobbyLayer::updateComments(MPLobbyLayer *this)
{
__int64 v2; // x0
cocos2d::CCArray *result; // x0
cocos2d::CCArray *v4; // x20
unsigned int v5; // w19
int v6; // w23
TableView **v7; // x22
bool v8; // cf
unsigned int v9; // w1
cocos2d::CCObject *v10; // x21
v2 = GJMultiplayerManager::sharedState(this);
result = (cocos2d::CCArray *)cocos2d::CCDictionary::objectForKey(
*(cocos2d::CCDictionary **)(v2 + 344),
*((int *)this + 112));
v4 = result;
if ( result )
{
result = (cocos2d::CCArray *)cocos2d::CCArray::count(result);
if ( (_DWORD)result )
{
v5 = 0;
v6 = 0;
v7 = *(TableView ***)(*((_QWORD *)this + 59) + 544LL);
while ( 1 )
{
v8 = v5 >= (unsigned int)cocos2d::CCArray::count(v4);
v9 = v5;
result = v4;
++v5;
if ( v8 )
break;
while ( 1 )
{
v10 = (cocos2d::CCObject *)cocos2d::CCArray::objectAtIndex(result, v9);
if ( (unsigned __int8)cocos2d::CCArray::containsObject(v7[54], v10) )
break;
v6 = 1;
BoomListView::addObjectToList((BoomListView *)v7, v10);
v8 = v5 >= (unsigned int)cocos2d::CCArray::count(v4);
v9 = v5;
result = v4;
++v5;
if ( v8 )
goto LABEL_8;
}
}
LABEL_8:
if ( v6 )
{
TableView::reloadData(v7[53]);
CCScrollLayerExt::doConstraintContent(v7[53], 1u);
*((_BYTE *)this + 492) = 1;
return (cocos2d::CCArray *)(&dword_0 + 1);
}
}
}
return result;
}