//
// GameLevelManager::resetAccountComments from 0x3c1920 to 0x3c199e (126 bytes)
//
// 1 xrefs:
// > ProfilePage::onUpdate @ 0x4c7270
//
// 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
//
void GameLevelManager::resetAccountComments(GameLevelManager *a1, int a2)
{
int v4; // r7
char *AccountCommentKey; // r0
int v6; // r5
char *v7; // [sp+8h] [bp-8h] BYREF
v4 = 0;
while ( 1 )
{
AccountCommentKey = (char *)GameLevelManager::getAccountCommentKey(a1, a2, v4);
sub_776584((int)&v7, AccountCommentKey);
if ( GameLevelManager::getStoredOnlineLevels(a1, v7) )
{
cocos2d::CCDictionary::removeObjectForKey(a1->m_storedLevels);
v6 = 1;
}
else
{
v6 = 0;
}
if ( ++v4 == 101 )
break;
sub_774008(&v7);
if ( !v6 )
return;
}
sub_774008(&v7);
}