//
// GJMultiplayerManager::getLastCommentIDForGame from 0x10065aaa0 to 0x10065ab13 (115 bytes)
//
// 0 xrefs:
//
// 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
//
int __fastcall GJMultiplayerManager::getLastCommentIDForGame(GJMultiplayerManager *a1, int a2)
{
cocos2d::CCObject *v2; // rax
int v3; // ebx
cocos2d::CCObject *v4; // r14
unsigned int v5; // r15d
int v6; // eax
v2 = cocos2d::CCDictionary::objectForKey(a1->m_lobbyComments, a2);
v3 = 0;
if ( v2 )
{
v4 = v2;
if ( (unsigned int)sub_100720070(v2) )
{
if ( (unsigned int)sub_100720070(v4) )
{
v5 = 0;
v3 = 0;
do
{
v6 = *(_DWORD *)(sub_1007200C0(v4, v5) + 368);
if ( v6 > v3 )
v3 = v6;
++v5;
}
while ( v5 < (unsigned int)sub_100720070(v4) );
}
}
}
return v3;
}