//
// InfoLayer::onRefreshComments from 0x7e366c to 0x7e36f0 (132 bytes)
//
// 3 xrefs:
// > ??> @ 0x3a578
// > InfoLayer::init @ 0x7e45d0
// > ??> @ 0x1229ce0
//
// 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 InfoLayer::onRefreshComments(InfoLayer *a1, cocos2d::CCObject *a2)
{
GameLevelManager *v3; // x0
GameLevelManager *v4; // x0
GameLevelManager *v5; // x19
int ID; // w0
v3 = GameLevelManager::sharedState();
if ( (unsigned int)(GameLevelManager::getTimeLeft(v3, "upd_comments", 5.0) - 1) > 4 )
{
v4 = GameLevelManager::sharedState();
GameLevelManager::makeTimeStamp(v4, "upd_comments");
v5 = GameLevelManager::sharedState();
ID = InfoLayer::getID(a1);
GameLevelManager::resetCommentTimersForLevelID(v5, ID, a1->m_mode);
InfoLayer::loadPage(a1, 0, 1);
}
}