//
// GJMultiplayerManager::getLastCommentIDForGame from 0x10073a100 to 0x10073a173 (115 bytes)
//
// 0 xrefs:
//
// 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:36:26 +0000
//
__int64 __fastcall GJMultiplayerManager::getLastCommentIDForGame(__int64 a1, int a2)
{
__int64 v2; // rax
unsigned int v3; // ebx
__int64 v4; // r14
unsigned int v5; // r15d
int v6; // eax
v2 = cocos2d::CCDictionary::objectForKey_1(*(_QWORD *)(a1 + 344), a2);
v3 = 0;
if ( v2 )
{
v4 = v2;
if ( (unsigned int)sub_1007FEF90(v2) )
{
if ( (unsigned int)sub_1007FEF90(v4) )
{
v5 = 0;
v3 = 0;
do
{
v6 = *(_DWORD *)(sub_1007FEFE0(v4, v5) + 368);
if ( v6 > (int)v3 )
v3 = v6;
++v5;
}
while ( v5 < (unsigned int)sub_1007FEF90(v4) );
}
}
}
return v3;
}