//
// GameLevelManager::resetCommentTimersForLevelID from 0x3c2420 to 0x3c24aa (138 bytes)
//
// 2 xrefs:
// > InfoLayer::onRefreshComments @ 0x42ff2c
// > InfoLayer::toggleSmallCommentMode @ 0x4316dc
//
// 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::resetCommentTimersForLevelID(GameLevelManager *a1, int a2, CommentKeyType a3)
{
int i; // r8
int v7; // r7
GameLevelManager *v8; // r0
int v9; // r5
char *v10; // [sp+8h] [bp-Ch] BYREF
for ( i = 0; ; i = 1 )
{
v7 = 0;
do
{
v8 = GameLevelManager::sharedState();
GameLevelManager::getCommentKey((int)&v10, (int)v8, (const char *)a2, v7, i, a3);
if ( GameLevelManager::keyHasTimer(a1, v10) )
{
GameLevelManager::resetTimerForKey(a1, v10);
v9 = 1;
}
else
{
v9 = 0;
}
if ( ++v7 == 101 )
{
sub_774008(&v10);
return;
}
sub_774008(&v10);
}
while ( v9 );
if ( i )
break;
}
}