//
// MPLobbyLayer::updateComments from 0x10048b440 to 0x10048b548 (264 bytes)
//
// 2 xrefs:
// > sub_10048B550 @ 0x10048b55c
// > ??> @ 0x100b4e060
//
// This function is hookable on this platform (idp: pc, 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 12:30:44 +0000
//
void __fastcall MPLobbyLayer::updateComments(__int64 a1)
{
__int64 v1; // rax
__int64 v2; // rax
__int64 v3; // r14
__int64 v4; // r15
char v5; // cl
unsigned int v6; // r12d
__int64 v7; // r13
unsigned int v8; // eax
char v9; // [rsp+0h] [rbp-2Ch]
v1 = GJMultiplayerManager::sharedState(a1);
v2 = cocos2d::CCDictionary::objectForKey_1(*(_QWORD *)(v1 + 344), *(int *)(a1 + 448));
if ( v2 )
{
v3 = v2;
if ( (unsigned int)sub_1007FEF90(v2) )
{
v4 = *(_QWORD *)(*(_QWORD *)(a1 + 472) + 544LL);
if ( (unsigned int)sub_1007FEF90(v3) )
{
v5 = 0;
v6 = 0;
LABEL_5:
v9 = v5;
do
{
v7 = sub_1007FEFE0(v3, v6);
if ( !(unsigned __int8)sub_1007FF080(*(_QWORD *)(v4 + 432), v7) )
{
BoomListView::addObjectToList(v4, v7);
++v6;
v8 = sub_1007FEF90(v3);
v5 = 1;
if ( v6 < v8 )
goto LABEL_5;
goto LABEL_12;
}
++v6;
}
while ( v6 < (unsigned int)sub_1007FEF90(v3) );
if ( (v9 & 1) == 0 )
return;
LABEL_12:
TableView::reloadData(*(_QWORD *)(v4 + 424));
CCScrollLayerExt::doConstraintContent(*(_QWORD *)(v4 + 424), 1);
*(_BYTE *)(a1 + 492) = 1;
}
}
}
}